| 1 |
- <view class="integral-mall"><mescroll-body class="vue-ref" vue-id="7bf08231-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="header bg-primary flex row-between white"><router-link vue-id="{{('7bf08231-2')+','+('7bf08231-1')}}" to="/bundle/pages/integral_sign/integral_sign" bind:__l="__l" vue-slots="{{['default']}}"><view class="user-integral flex"><u-icon class="m-r-16" vue-id="{{('7bf08231-3')+','+('7bf08231-2')}}" name="{{$root.m0}}" size="{{44}}" bind:__l="__l"></u-icon>我的券:<text class="xxl bold">{{integral}}</text></view></router-link><router-link vue-id="{{('7bf08231-4')+','+('7bf08231-1')}}" to="/bundle/pages/exchange_order/exchange_order" bind:__l="__l" vue-slots="{{['default']}}">兑换订单<u-icon vue-id="{{('7bf08231-5')+','+('7bf08231-4')}}" name="arrow-right" bind:__l="__l"></u-icon></router-link></view><view class="main"><view class="sort-bar flex bg-white"><block wx:for="{{sortConfig}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleSort',['$0'],[[['sortConfig','',index]]]]]]]}}" class="sort-bar-item flex-2 flex row-center" bindtap="__e"><text class="{{[item.value?'primary':'']}}">{{item.name}}</text><block wx:if="{{!item.setValue}}"><view class="arrow-icon flex-col col-center row-center"><u-icon vue-id="{{('7bf08231-6-'+index)+','+('7bf08231-1')}}" name="arrow-up-fill" color="{{item.value=='asc'?colorConfig.primary:colorConfig.normal}}" bind:__l="__l"></u-icon><u-icon vue-id="{{('7bf08231-7-'+index)+','+('7bf08231-1')}}" name="arrow-down-fill" color="{{item.value=='desc'?colorConfig.primary:colorConfig.normal}}" bind:__l="__l"></u-icon></view></block></view></block><view data-event-opts="{{[['tap',[['changeGoodsType',['$event']]]]]}}" class="flex-1 flex row-center" bindtap="__e"><image class="icon-sm" src="{{goodsType==='one'?'/static/images/icon_double.png':'/static/images/icon_one.png'}}"></image></view></view><view class="{{['goods-lists',(goodsType==='one')?'goods-lists--one':'']}}"><block wx:for="{{goodsLists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="goods-item"><router-link vue-id="{{('7bf08231-8-'+index)+','+('7bf08231-1')}}" to="{{'/bundle/pages/integral_goods_details/integral_goods_details?id='+item.id}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="goods-item-info"><view class="goods-image"><view class="image-wrap"><u-image vue-id="{{('7bf08231-9-'+index)+','+('7bf08231-8-'+index)}}" src="{{item.image}}" width="100%" height="100%" bind:__l="__l"></u-image></view></view><view class="goods-info"><view class="goods-name line-2">{{''+item.name+''}}</view><view class="goods-price primary m-t-10"><price-format vue-id="{{('7bf08231-10-'+index)+','+('7bf08231-8-'+index)}}" color="{{colorConfig.primary}}" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{item.need_integral}}" bind:__l="__l"></price-format><text class="xs">券</text><block wx:if="{{item.exchange_way===2}}"><block><text>+</text><price-format vue-id="{{('7bf08231-11-'+index)+','+('7bf08231-8-'+index)}}" color="{{colorConfig.primary}}" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{item.need_money}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view></view></view></router-link></view></block></view></view></mescroll-body></view>
|