3
0
Fork 0

fix(details): 商品详情购物车数量问题修复

This commit is contained in:
woody 2025-04-28 11:50:18 +08:00
parent 449015c33e
commit 8432603d76
1 changed files with 5 additions and 5 deletions

View File

@ -136,7 +136,8 @@
<view>{{ '购物车' }}</view>
</view>
</view>
<view class="footer_r" v-if="
<view class="footer_r"
v-if="
(specialArea == 31 && user.isMakerSpace == 0) ||
specialArea != 31
">
@ -145,7 +146,7 @@
@tap="goBuy"
shape="circle"
color="linear-gradient(to right, #005BAC, #005BAC )">{{'立即购买'}} </u-button> -->
<view class="btn1" @click="addCar()">{{ '加入购物车' }}</view>
<view class="btn1" @click="addCar()">加入购物车</view>
<!-- <view class="btn2">{{'立即购买'}}</view> -->
</view>
</view>
@ -252,9 +253,7 @@ export default {
countDown: "",
};
},
computed: {
...mapGetters(["user", "shopCarLength"]),
},
onLoad(options) {
this.pkCountry = uni.getStorageSync("pkCountry");
this.waresCode = options.waresCode;
@ -267,6 +266,7 @@ export default {
});
},
computed: {
...mapGetters(["user", "shopCarLength"]),
bannerImgList() {
const list = this.imgUrlList.map(item => item)
list.splice(1,1)