xuxueyang
2024-09-11 0ab8c82c603f14cf69396b54b0471112b9de947b
sub_pages/customer/trade/list.vue
@@ -73,9 +73,21 @@
               <view @click.stop="toDetail(item)">
                  <view class="title">
                     {{item.name||'-'}}
                     <view class="price">
                        ¥{{item.price||0}}元/扎
                     </view>
                     <!-- #ifdef PUB_CUSTOMER_DEV -->
                     <view class="price component-price-new">
                        <span class="tip">会员价</span>¥<span class="p">{{item.priceMember||item.price}}</span>/扎
                        <view class="component-price-old">
                           ¥{{item.price}}/扎
                        </view>
                     </view>
                     <!-- #endif -->
                     <!-- #ifndef PUB_CUSTOMER_DEV -->
                     <view class="price">
                        ¥{{item.price||0}}元/扎
                     </view>
                     <!-- #endif -->
                  </view>
                  <view class="tags" v-if="item.tags">
                     <!--    <view class="tag red">限时抢购</view>
@@ -91,7 +103,7 @@
                  </view>
                  <view class="other-info flex">
                     <view class="m-r-15">
                        已售:{{item.sales||0}}
                        已售:{{ ((item.sales||0) +(item.realSales||0))   ||0}}
                     </view>
                     <view class="m-r-15">
                        剩余:{{item.stock||0}}
@@ -525,24 +537,24 @@
         margin-top: 12rpx;
         display: flex;
         .tag {
            min-width: 80rpx;
            padding-left: 20rpx;
            padding-right: 20rpx;
            line-height: 36rpx;
            background: #FEE6E6;
            border-radius: 21rpx;
            font-size: 24rpx;
            color: #CD1212;
            margin-right: 12rpx;
            text-align: center;
         }
         .tag.green {
            color: rgba(110, 159, 102, 1);
            background: rgba(202, 229, 214, 1);
            border-radius: 21rpx;
            // opacity: 0.57;
         .tag {
            // min-width: 60rpx;
            padding-left: 10rpx;
            padding-right: 10rpx;
            line-height: 30rpx;
            background: #FEE6E6;
            border-radius: 10rpx;
            font-size: 18rpx;
            color: #CD1212;
            margin-right: 6rpx;
            text-align: center;
         }
         .tag.green {
            color: rgba(110, 159, 102, 1);
            background: rgba(202, 229, 214, 1);
            border-radius: 10rpx;
            // opacity: 0.57;
         }
      }