Commit 9625f587702c23c9f1d37e94017faea05fd47769
1 parent
8f28f385
点击链接跳转
Showing
1 changed file
with
24 additions
and
19 deletions
packageC/pages/group_list/group_list.wxml
1 | 1 | <view class="list"> |
2 | - <view class="list-item" wx:for="{{list.pageData}}"> | |
3 | - <view class="img-container"> | |
4 | - <image class="img-block" src="{{imghost + item.original_img}}" data-val="{{item.original_img}}" | |
5 | - data-errorimg="list.pageData[{{index}}].original_img" binderror="bind_bnerr2" lazy-load="true"></image> | |
6 | - </view> | |
7 | - <view class="mgl20 flex fdc f1 jc_sb"> | |
8 | - <view> | |
9 | - <view class="fs30">{{item.title}}</view> | |
10 | - <view class="flex ai_c"> | |
11 | - <view class="fs26 tag">{{item.rebate}}折</view> | |
12 | - <view class="rmb c-red fs30">{{item.price}}</view> | |
13 | - <view class="rmb del fs24 c-7b pdl10">{{item.market_price}}</view> | |
14 | - </view> | |
2 | + <block wx:for="{{list.pageData}}"> | |
3 | + <view class="list-item" bindtap="goto" data-url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}&prom_id={{item.id}}&prom_type=2"> | |
4 | + <view class="img-container"> | |
5 | + <image class="img-block" src="{{imghost + item.original_img}}" data-val="{{item.original_img}}" | |
6 | + data-errorimg="list.pageData[{{index}}].original_img" binderror="bind_bnerr2" lazy-load="true"></image> | |
15 | 7 | </view> |
16 | - <view class="flex jc_sb ai-center c-7b"> | |
17 | - <view class="fs24"> | |
18 | - <view>已售{{item.buy_num}}件</view> | |
19 | - <view class=""><text class="iconfont icon-shizhong fs24"></text>{{goodlist[index].djs.day}}天{{goodlist[index].djs.hou}}时{{goodlist[index].djs.min}}分{{goodlist[index].djs.sec}}秒</view> | |
8 | + <view class="mgl20 flex fdc f1 jc_sb"> | |
9 | + <view> | |
10 | + <view class="fs30">{{item.title}}</view> | |
11 | + <view class="flex ai_c"> | |
12 | + <view class="fs26 tag">{{item.rebate}}折</view> | |
13 | + <view class="rmb c-red fs30">{{item.price}}</view> | |
14 | + <view class="rmb del fs24 c-7b pdl10">{{item.market_price}}</view> | |
15 | + </view> | |
16 | + </view> | |
17 | + <view class="flex jc_sb ai-center c-7b"> | |
18 | + <view class="fs24"> | |
19 | + <view>已售{{item.buy_num}}件</view> | |
20 | + <view class=""><text class="iconfont icon-shizhong fs24"></text>{{goodlist[index].djs.day}}天{{goodlist[index].djs.hou}}时{{goodlist[index].djs.min}}分{{goodlist[index].djs.sec}}秒</view> | |
21 | + </view> | |
22 | + <view class="btn" >去团购</view> | |
20 | 23 | </view> |
21 | - <view class="btn" bindtap="goto" data-url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}&prom_id={{item.id}}&prom_type=2">去团购</view> | |
22 | 24 | </view> |
23 | 25 | </view> |
24 | - </view> | |
26 | + | |
27 | + </block> | |
28 | + | |
29 | + | |
25 | 30 | </view> |
26 | 31 | |
27 | 32 | <view class="no-more" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">—— 已经到底啦 ——</view> | ... | ... |