【修复】商品详情页面加载后脚本异常错误,

【修复】当购物车为空脚本异常且页面部分区域不显示问题
pull/224/head
jianweie code 8 months ago
parent 5cfd872998
commit c5ebf6dda4

@ -397,7 +397,7 @@
bannerCur: 0,
current: 0, // init tab
goodsId: 0, // id
goodsInfo: {}, //
goodsInfo: { album: [] }, //
cartNums: 0, //
product: {}, //
shopRecommendData: [], //

@ -57,7 +57,7 @@
<view class="nobox"></view>
<view class="cart-nowrap cart-flex-vcenter cart-border-t" style="background-color: #FFFFFF; width: 100%; position: fixed; left: 0; bottom: 0; z-index: 99;" v-if="shoppingCard.list.length >= 1">
<view class="cart-nowrap cart-flex-vcenter cart-border-t" style="background-color: #FFFFFF; width: 100%; position: fixed; left: 0; bottom: 0; z-index: 99;" v-if="shoppingCard.list && shoppingCard.list.length >= 1">
<view class="cart-shoppingcard-checkbtn cart-nowrap cart-flex-vcenter">
<u-checkbox @change="itemChangeAll" v-model="selectAll" active-color="red">{{selectText}}</u-checkbox>
</view>

Loading…
Cancel
Save