| | |
| | | </view> |
| | | </view> |
| | | <view class="list"> |
| | | <image class="list-notfund" src="/static/images/default_nodata_white.png" mode="widthFix" v-if="goodsList.length === 0"></image> |
| | | <image class="list-notfund" src="/static/images/default_nodata_grey.png" mode="widthFix" v-if="goodsList.length === 0"></image> |
| | | <view class="commodity-item" v-for="(item, i) in goodsList" :key="i" v-else @click="jumpDetails(item)"> |
| | | <view class="commodity-item-image"> |
| | | <image :src="item.imgurl" mode="widthFix"></image> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="commodity-item-shou"> |
| | | <text>已售{{item.saleNum + item.realSaleNum}}</text> |
| | | <text>已售{{(item.saleNum || 0) + (item.realSaleNum || 0) }}</text> |
| | | <view class="commodity-item-shou-add" @click.stop="addCard(item)">+</view> |
| | | </view> |
| | | </view> |
| | |
| | | justify-content: center; |
| | | image { |
| | | width: 100%; |
| | | max-height: 330rpx; |
| | | } |
| | | } |
| | | .commodity-item-box { |