|
@@ -14,7 +14,7 @@
|
|
|
<view class="goods-item">
|
|
|
<view class="item-wrap">
|
|
|
<view class="goods-msg">
|
|
|
- <u-checkbox @change="checkboxChange" style="width: 100%;" v-model="list[index].checked" shape="circle" :name="index">
|
|
|
+ <u-checkbox @change="checkboxChange" :disabled="item.goodsStatus == 0" style="width: 100%;" v-model="list[index].checked" shape="circle" :name="index">
|
|
|
<view class="flex">
|
|
|
<view class="goods-img">
|
|
|
<image :src="$method.splitImgHost(item.coverUrl, true)"></image>
|
|
@@ -22,6 +22,7 @@
|
|
|
<view class="flex__auto">
|
|
|
<view class="goods-title">{{ item.goodsName }}</view>
|
|
|
<view class="priceTag">¥ {{ item.standPrice }}</view>
|
|
|
+ <view class="priceTag" v-if="item.goodsStatus == 0">该商品已下架</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-checkbox>
|
|
@@ -617,15 +618,17 @@ page {
|
|
|
font-weight: bold;
|
|
|
text-align: right;
|
|
|
|
|
|
- .priceTag {
|
|
|
- font-size: 30rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
- color: #ff2d55;
|
|
|
- display: flex;
|
|
|
- flex-direction: row-reverse;
|
|
|
- margin-right: 8rpx;
|
|
|
- }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .priceTag {
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ff2d55;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ margin-right: 8rpx;
|
|
|
}
|
|
|
}
|
|
|
|