This commit is contained in:
952108534@qq.com
2022-01-07 19:48:22 +08:00
parent bd6e653dc1
commit a49efd47b2
22 changed files with 2039 additions and 211 deletions

View File

@@ -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;