Fix:2983 【商城小程序】被下架的商品在购物车中消失(改为前端数据保留,点击时提醒商品已下架或被删除)
This commit is contained in:
+3
-1
@@ -179,7 +179,7 @@
|
|||||||
class="sku ai-center"
|
class="sku ai-center"
|
||||||
@click="changeGoodAttrHandle(good)"
|
@click="changeGoodAttrHandle(good)"
|
||||||
>
|
>
|
||||||
规格:{{ good['productInfo']['attrInfo']['sku'] }}
|
规格:{{ good['productInfo']['attrInfo']['sku'] ? good['productInfo']['attrInfo']['sku'] : '' }}
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="v12-mt-1 v12-align-center">
|
<!-- <view class="v12-mt-1 v12-align-center">
|
||||||
<view class="v12-primary-text v12-primary-border v12-radius-8 v12-font-24 v12-px-1">
|
<view class="v12-primary-text v12-primary-border v12-radius-8 v12-font-24 v12-px-1">
|
||||||
@@ -192,6 +192,7 @@
|
|||||||
<view
|
<view
|
||||||
class="flex jc-between ai-center"
|
class="flex jc-between ai-center"
|
||||||
style="width: 100%;margin-top: 4rpx;"
|
style="width: 100%;margin-top: 4rpx;"
|
||||||
|
v-if="good['truePrice'] !== null"
|
||||||
>
|
>
|
||||||
<view
|
<view
|
||||||
class="v12-font-bold v12-primary-text"
|
class="v12-font-bold v12-primary-text"
|
||||||
@@ -225,6 +226,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</u-number-box>
|
</u-number-box>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-else class="v12-secondary-dark-text v12-font-24" style="padding: 0 10rpx">商品已下架</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user