zhuanqu.wxml
3.1 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
79
80
<view class='page'>
<view class='select_box'>
<view class='select_item {{c_index == 0?"active":""}}' data-index="0" bindtap='reorder'>默认</view>
<view class='select_item {{c_index == 1?"active":""}}' data-index="1" bindtap='reorder'>价格
<view class='select_img'>
<image src="{{c_index == 1?'/images/select_active.png':'/images/select.png'}}" class='select_img_no_choose' />
</view>
</view>
<view class='select_item {{c_index == 2?"active":""}}' data-index="2" bindtap='reorder'>销量
<view class='select_img'>
<image src="{{c_index == 2?'/images/select_active.png':'/images/select.png'}}" class='select_img_no_choose' />
</view>
</view>
</view>
<!-- 商品列表 -->
<view class='real_goods'>
<Model_item list="{{shop_arr}}" type='open' />
<view class='real_goods' wx:if="{{activelist.length>0}}">
<view class="real_goods_item" wx:for="{{activelist}}" wx:key="index" data-id="{{item.goods_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.goods.image}}' mode="aspectFill" />
<image src='/images/mei.png' class="tip" wx:if="{{item.goods.stock_num == 0}}" />
</view>
<view class='real_goods_bottom'>
<view class='goods_title'>{{item.goods.name}}</view>
<view class='goods_flex'>
<!-- <view class='score'>积分</view> -->
<view class='price'>¥{{item.goods_price}}</view>
<view class="huaxianprice">¥{{item.goods.line_price}}</view>
</view>
<view class='sell'>已卖出{{item.goods.sales}}件</view>
<!-- <view class='oldprice'>{{item.product.price}}</view> -->
</view>
<view class="pink_cover" wx:if="{{item.product.sold == 0}}" />
</view>
<view wx:else class="goodimgbox">
<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>