|
|
@@ -182,6 +182,7 @@ async function handleSubCart(event: WechatMiniprogram.TouchEvent, item: Api.xsbC
|
|
|
await useSmqjhCartStore().addCart(item.skuList[0].skuId, -1, Number(item.shopId), 'XSB')
|
|
|
await getCartCategorList()
|
|
|
setProductNum()
|
|
|
+ totalProduct.value = undefined
|
|
|
},
|
|
|
})
|
|
|
}
|
|
|
@@ -540,7 +541,14 @@ function handlePay() {
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ <view v-if="!item.skuList.some((it) => it.saleStatus)" class="absolute left-0 top-0 z-1 h-full w-full flex items-center bg-[rgba(255,255,255,.6)]">
|
|
|
+ <view class="h172rpx w172rpx flex items-center justify-center">
|
|
|
+ <view class="h36rpx w112rpx flex items-center justify-center rounded-16rpx bg-[rgba(0,0,0,.6)] text-28rpx text-white">
|
|
|
+ 不可售
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>.
|
|
|
</view>
|
|
|
<wd-status-tip v-else image="content" tip="暂无内容" />
|
|
|
<view v-if="goodsLoading == 'finished' || isTopLoading" class="h-40vh" />
|