zhuanqu.wxml
2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<view class='page'>
<!-- 商品列表 -->
<view class='real_goods'>
<Model_item list="{{shop_arr}}" />
<view class='real_goods' wx:if="{{activelist.length>0}}">
<view class="real_goods_item" wx:for="{{activelist}}" wx:key="index" data-id="{{item.type==1?item.product_id:item.combo.id}}" bindtap="{{item.product.sold==0?'':'look_more'}}" data-type="{{item.type}}">
<view wx:if="{{item.type==1}}">
<view class='real_goods_img'>
<image src='{{item.product.images[0]}}' mode="aspectFill" />
<image src='/images/mei.png' class="tip" wx:if="{{item.sold == 0}}" />
</view>
<view class='real_goods_bottom'>
<view class='goods_title'>{{item.product.name}}</view>
<view wx:if="{{item.product.price2!=null}}">
<view class='goods_flex'>
<view class='score'>积分</view>
<view class='price'>{{item.product.price2}}</view>
<view class='sell'>已卖出{{item.product.paynum}}件</view>
</view>
<view class='oldprice'>{{item.product.price}}</view>
</view>
<view class='goods_flex' wx:else>
<view class='score'>积分</view>
<view class='price'>{{item.product.price}}</view>
<view class='sell'>已卖出{{item.product.paynum}}件</view>
</view>
</view>
<view class="pink_cover" wx:if="{{item.product.sold == 0}}" />
</view>
<view wx:else>
<view class='real_goods_img'>
<image src='{{item.combo.image}}' mode="aspectFill" />
<image src='/images/mei.png' class="tip" wx:if="{{item.sold == 0}}" />
</view>
<view class='real_goods_bottom'>
<view class='goods_title'>{{item.combo.name}}</view>
<view wx:if="{{item.combo.price2!=null}}">
<view class='goods_flex'>
<view class='score'>积分</view>
<view class='price'>{{item.combo.price2}}</view>
<!-- <view class='sell'>已卖出{{item.combo.paynum}}件</view> -->
</view>
<view class='oldprice'>{{item.combo.price}}</view>
</view>
<view class='goods_flex' wx:else>
<view class='score'>积分</view>
<view class='price'>{{item.combo.price}}</view>
<!-- <view class='sell'>已卖出{{item.combo.paynum}}件</view> -->
</view>
</view>
</view>
</view>
</view>
<view class="empty" wx:else>暂无更多数据</view>
</view>
</view>