样式更改

This commit is contained in:
952108534@qq.com 2022-01-27 11:24:49 +08:00
parent 8b890c44d7
commit bf18eb7b1e
2 changed files with 6 additions and 3 deletions

View File

@ -1091,7 +1091,7 @@
}, },
on: { on: {
slideChange(Swiper) { slideChange(Swiper) {
console.log(this.realIndex);
}, },
tap() { tap() {
@ -1118,6 +1118,9 @@
slideChange(Swiper) { slideChange(Swiper) {
vm.useraindex=this.realIndex; vm.useraindex=this.realIndex;
}, },
click(Swiper){
console.log(Swiper);
},
tap() { tap() {
} }
} }
@ -1477,7 +1480,7 @@
} }
console.log(this.searchBar); console.log(this.searchBar);
if(this.searchBar==false && this.usertop==true){ if(this.searchBar==false && this.usertop==true){
this.usermargin={marginTop: '270px'}; this.usermargin={marginTop: '290px'};
}else{ }else{
this.usermargin={marginTop: '0px'}; this.usermargin={marginTop: '0px'};

View File

@ -279,7 +279,7 @@
<span @click="usertanchu(curItem, 0)">加入购物车</span> <span @click="usertanchu(curItem, 0)">加入购物车</span>
<span @click="usertanchu(curItem, 1)">立即购买</span> <span @click="usertanchu(curItem, 1)">立即购买</span>
</div> </div>
<div class="rc-button rc-md-down " v-if="(!userbuy)" style="justify-content: flex-end"> <div class="rc-button rc-md-down " v-if="(!userbuy)">
<span @click="chuafangbuy()" style="margin-right: 20px">立即购买</span> <span @click="chuafangbuy()" style="margin-right: 20px">立即购买</span>
</div> </div>