mini-program/pages/mall/mall.vue
@@ -78,7 +78,7 @@ </view> </view> <view class="commodity-item-shou"> <text>已售{{item.saleNum + item.realSaleNum}}</text> <text>已售{{(item.saleNum ||0)+ (item.realSaleNum||0)}}</text> <view class="commodity-item-shou-add" @click.stop="addCard(item)">+</view> </view> </view> @@ -422,6 +422,7 @@ justify-content: center; image { width: 100%; max-height:330rpx; } } .commodity-item-box {