mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-23 19:06:54 +08:00
2
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<Myheader></Myheader>
|
||||
|
||||
<div class="rc-top">
|
||||
|
||||
<div class="online" style="height:2px;width:100%;background:#DDDDDD;margin-top:0.23rem"></div>
|
||||
<div class="rc-main">
|
||||
<div class="usersearch">
|
||||
|
||||
@@ -70,6 +71,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="online" style="height:2px;width:100%;background:#DDDDDD;margin-top:0.23rem"></div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -200,7 +202,7 @@
|
||||
|
||||
<script>
|
||||
import Myheader from '~/components/header.vue'
|
||||
import { userstype,biaomessa } from "../../ajax/getData";
|
||||
import { userstype,biaomessa,biaomessage } from "../../ajax/getData";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -383,8 +385,17 @@ export default {
|
||||
Myheader,
|
||||
},
|
||||
mounted(){
|
||||
|
||||
let stype=this.$route.query.stype;
|
||||
this.activeIndex=stype;
|
||||
console.log(stype);
|
||||
if(stype!==''&&stype!==undefined){
|
||||
this.onmessage(stype)
|
||||
}else{
|
||||
this.usetmessage();
|
||||
this.stypemessage();
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
async usetmessage() {
|
||||
@@ -394,16 +405,17 @@ this.stypemessage();
|
||||
}
|
||||
console.log( this.rccontair);
|
||||
},
|
||||
//全部标签的查找
|
||||
async stypemessage() {
|
||||
let data = await userstype();
|
||||
async onmessage(stype) {
|
||||
let data = await biaomessage(stype);
|
||||
if(data){
|
||||
console.log(data);
|
||||
this.rccontair=data;
|
||||
}
|
||||
console.log( this.rccontair);
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
userbuy(){
|
||||
this.$router.push({
|
||||
path: "/myorder/userrecord",
|
||||
@@ -554,6 +566,10 @@ ul li ol li em strong i {
|
||||
|
||||
//手机端
|
||||
@media screen and (max-width: 768px) {
|
||||
.rc-top{
|
||||
position: relative;
|
||||
margin-top: 74px;
|
||||
}
|
||||
.usercontentshow{
|
||||
position: relative;
|
||||
z-index: 997;
|
||||
@@ -853,6 +869,7 @@ display: block;
|
||||
}
|
||||
.rc-click{
|
||||
max-height: 1.9rem;
|
||||
min-height: 1.9rem;
|
||||
}
|
||||
span{
|
||||
font-size: 0.16rem;
|
||||
|
||||
Reference in New Issue
Block a user