mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-23 10:56:52 +08:00
2
This commit is contained in:
@@ -65,15 +65,15 @@ methods:{
|
||||
}
|
||||
console.log(data);
|
||||
},
|
||||
usertiao(item,index){
|
||||
if(item.price=='登出'){
|
||||
this.$router.push({
|
||||
path: "/productdetails/userdetails",
|
||||
// usertiao(item,index){
|
||||
// if(item.price=='登出'){
|
||||
// this.$router.push({
|
||||
// path: "/productdetails/userdetails",
|
||||
|
||||
});
|
||||
this.usernewlist[0].price='登录/注册'
|
||||
}
|
||||
},
|
||||
// });
|
||||
// this.usernewlist[0].price='登录/注册'
|
||||
// }
|
||||
// },
|
||||
usertiao(item,index){
|
||||
if(item.price=='登录/注册' ||index==0){
|
||||
this.$router.push({
|
||||
@@ -92,7 +92,7 @@ if(item.price=='登录/注册' ||index==0){
|
||||
this.$router.push({
|
||||
path: "/productdetails/productlist/",
|
||||
query: {
|
||||
stype: 1,
|
||||
stype: 0,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -110,7 +110,7 @@ else if(item.price=='选购产品'){
|
||||
this.$router.push({
|
||||
path: "/productdetails/productlist/",
|
||||
query: {
|
||||
stype: 1,
|
||||
stype: '',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -157,9 +157,11 @@ Myheader
|
||||
<style lang="less" scoped >
|
||||
//手机端
|
||||
@media screen and (max-width: 768px) {
|
||||
|
||||
.rc-header{
|
||||
width: 92%;
|
||||
margin: 0 auto;
|
||||
|
||||
ul{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user