| | |
| | | </view> |
| | | <view class="commodity"> |
| | | <view class="commodity-wu" v-if="goodsList.length === 0"> |
| | | <image src="/static/images/default_nodata_white.png" mode="widthFix"></image> |
| | | <image src="/static/images/default_nodata_grey.png" mode="widthFix"></image> |
| | | </view> |
| | | <view class="commodity-item" v-else v-for="(item, i) in goodsList" :key="i" @click="jumpDetails(item.id)"> |
| | | <view class="commodity-item-image"> |
| | |
| | | <text>.{{item.minPrice[1]}}</text> |
| | | </view> |
| | | <view class="commodity-item-box-price-b"> |
| | | ¥{{item.price}} |
| | | ¥{{item.linePrice || 0}} |
| | | </view> |
| | | </view> |
| | | <view class="commodity-item-shou"> |
| | | <<<<<<< HEAD |
| | | <text>已售{{item.shou}}</text> |
| | | ======= |
| | | <text>已售{{(item.saleNum ||0)+ (item.realSaleNum||0)}}</text> |
| | | >>>>>>> 7b09a9950f13521190a4aef9bbc2a6163445566c |
| | | <view class="commodity-item-shou-add" @click.stop="addCard(item)">+</view> |
| | | </view> |
| | | </view> |
| | |
| | | font-weight: 400; |
| | | font-size: 22rpx; |
| | | color: #999999; |
| | | text-decoration: line-through; |
| | | } |
| | | } |
| | | .commodity-item-shou { |