|
@@ -127,14 +127,19 @@
|
|
|
<view class="item" wx:for="{{goodsList}}" wx:for-index="index" wx:for-item="item" wx:key="{{item.id}}">
|
|
|
<navigator url="/pages/goods/goods?id={{item.id}}&&storeId={{item.storeId}}&¶mView=cateGoods">
|
|
|
<view class="left">
|
|
|
- <image lazy-load="true" class="img" wx:if="{{item.list_pic_url}}" src="{{item.list_pic_url}}"></image>
|
|
|
+ <image lazy-load="true" class="img {{item.stockNum==0?'touming-img':''}}" wx:if="{{item.list_pic_url}}" src="{{item.list_pic_url}}"></image>
|
|
|
+ <image lazy-load="true" style="width:50px;height:50px;position: absolute;" wx:if="{{item.stockNum==0}}" src="../../static/images/service-zswh.png"></image>
|
|
|
+
|
|
|
+ <!-- <view class='nav'>{{item.stockNum==0?'无货':''}}</view> -->
|
|
|
+ <!-- <text class='nav' style="color: #fff;font-size: 25rpx;background-color: #7c7b7b;border-radius: 40rpx;width: 82rpx;text-align: center;">{{item.stockNum==0?'无货':''}}</text> -->
|
|
|
</view>
|
|
|
</navigator>
|
|
|
<!-- 文字开始 -->
|
|
|
<view class="right">
|
|
|
<view class="text">
|
|
|
<navigator url="/pages/goods/goods?id={{item.id}}&&storeId={{item.storeId}}&¶mView=cateGoods">
|
|
|
- <text class="name" data-item-id="{{filterDiscount != 2?item.id:item.group_id}}">{{item.name?item.name:""}}</text>
|
|
|
+ <text class="name" data-item-id="{{filterDiscount != 2?item.id:item.group_id}}">{{item.name?item.name:""}}
|
|
|
+ </text>
|
|
|
<!-- <text class="name" bindtap="bindtapGoodsDetail" data-item-id="{{filterDiscount != 2?item.id:item.group_id}}">{{item.name?item.name:""}}</text> -->
|
|
|
<!-- <text class="desc" bindtap="bindtapGoodsDetail" data-item-id="{{filterDiscount != 2?item.id:item.group_id}}">{{item.goods_brief?item.goods_brief:""}}</text> -->
|
|
|
</navigator>
|
|
@@ -144,6 +149,7 @@
|
|
|
<navigator url="/pages/goods/goods?id={{item.id}}&&storeId={{item.storeId}}&¶mView=cateGoods">
|
|
|
<text class="price">{{item.retail_price?"¥"+item.retail_price:"¥0"}}</text>
|
|
|
<text class="org-price line-through">{{item.market_price?"¥"+item.market_price:""}}</text>
|
|
|
+ <!-- <text style="color: #fff;font-size: 25rpx;background-color: #b4282d;border-radius: 14rpx;width: 82rpx;text-align: center;">{{item.is_hot==1?'热销':''}}</text> -->
|
|
|
</navigator>
|
|
|
<!-- //数量加减 -->
|
|
|
<!-- <view class="number-item">
|