|
@@ -3,7 +3,14 @@
|
|
|
<view class="goods-item" v-for="item in list" :key="item.id">
|
|
|
<view class="goods-imgs" @click="toDetail(item)">
|
|
|
<view v-if="item.inventoryQty == 0" class="goods-staus">已售罄</view>
|
|
|
- <u-lazy-load img-mode="scaleToFill" :height="imgHeight" :image="item.homeImage" :loading-img="loadingImg" :error-img="errorImg"></u-lazy-load>
|
|
|
+ <view v-if="item.delFlage == 0 || item.state == 0" class="goods-staus">已失效</view>
|
|
|
+ <u-lazy-load
|
|
|
+ img-mode="scaleToFill"
|
|
|
+ :height="imgHeight"
|
|
|
+ :image="item.homeImage+'?x-oss-process=image/resize,m_pad,h_252,w_325,color_ffffff'"
|
|
|
+ :loading-img="loadingImg"
|
|
|
+ :error-img="errorImg">
|
|
|
+ </u-lazy-load>
|
|
|
</view>
|
|
|
<view class="name ellipsis-two" @click="toDetail(item)">{{item.name}}</view>
|
|
|
<view class="price">
|