|  |  | 
 |  |  |             if (item.status == 'UP') { | 
 |  |  |  | 
 |  |  |             } else { | 
 |  |  |                this.$message.showToast('已失效,无法查看详情') | 
 |  |  |                this.$message.showToast('商品已下架,无法查看详情') | 
 |  |  |                return | 
 |  |  |             } | 
 |  |  |             uni.navigateTo({ | 
 |  |  | 
 |  |  |             if (!item.stock) { | 
 |  |  |                item.stock = 0 | 
 |  |  |             } | 
 |  |  |             if (item.shopnum + addnum > item.stock) { | 
 |  |  |             if (addnum > 0 & item.shopnum + addnum > item.stock) { | 
 |  |  |                this.$message.showToast('库存不足,无法修改') | 
 |  |  |                return | 
 |  |  |             } | 
 |  |  | 
 |  |  |          @cancel="order_show=false"></u-picker> | 
 |  |  |  | 
 |  |  |       <view class="trade-list-container"> | 
 |  |  |          <view class="trade-info-container flex" v-for="(dto,index) of list" :key="index"> | 
 |  |  |          <view class="trade-info-container flex" :class="[dto.status]" v-for="(dto,index) of list" :key="index"> | 
 |  |  |             <image class="img img100 br-4 m-r-10" :src="dto.url||dto.cover" @click.stop="toDetail(dto)"></image> | 
 |  |  |             <view class="flex1"> | 
 |  |  |                <view class="flex" @click.stop="toDetail(dto)"> | 
 |  |  | 
 |  |  |  | 
 |  |  |       } | 
 |  |  |  | 
 |  |  |       .trade-info-container.UP { | 
 |  |  |          .title { | 
 |  |  |             color: #000000; | 
 |  |  |          } | 
 |  |  |       } | 
 |  |  |  | 
 |  |  |       .trade-info-container { | 
 |  |  |          background-color: #fff; | 
 |  |  |          border-radius: 40rpx; | 
 |  |  | 
 |  |  |             font-weight: 600; | 
 |  |  |             font-size: 28rpx; | 
 |  |  |  | 
 |  |  |             color: #000000; | 
 |  |  |             color: #333; | 
 |  |  |             line-height: 40rpx; | 
 |  |  |  | 
 |  |  |             .level { |