1 |
- <app-layout vue-id="4d0cad46-1" overflow="{{false}}" class="data-v-f2c56880" bind:__l="__l" vue-slots="{{['default']}}"><view class="nav data-v-f2c56880"><image class="nav-bg data-v-f2c56880" load-lazy="true" src="/static/image/index_BG.png"></image><view class="nav-title data-v-f2c56880">我的积分</view><view class="nav-num data-v-f2c56880">{{userInfo?userInfo.integral:0}}</view><view data-event-opts="{{[['tap',[['toAbout',['$event']]]]]}}" class="about data-v-f2c56880" bindtap="__e"><image load-lazy="true" src="/static/image/about.png" class="data-v-f2c56880"></image></view><view data-event-opts="{{[['tap',[['router',['/plugins/integral_mall/exchange/exchange']]]]]}}" class="exchange data-v-f2c56880" bindtap="__e"><image load-lazy="true" src="/static/image/icon/exchange.png" class="data-v-f2c56880"></image><text class="data-v-f2c56880">我的兑换</text></view><view data-event-opts="{{[['tap',[['router',['/pages/user-center/integral-detail/integral-detail']]]]]}}" class="log data-v-f2c56880" bindtap="__e"><image load-lazy="true" src="/static/image/log.png" class="data-v-f2c56880"></image><text class="data-v-f2c56880">积分收支</text></view></view><block wx:if="{{banners&&banners.length}}"><view class="banner data-v-f2c56880" indicator-dots="true" autoplay="true"><swiper class="swiper data-v-f2c56880" indicator-dots="true" autoplay="true"><block wx:for="{{banners}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-f2c56880"><app-jump-button vue-id="{{('4d0cad46-2-'+index)+','+('4d0cad46-1')}}" open_type="{{item.open_type}}" url="{{item.page_url}}" params="{{item.params}}" class="data-v-f2c56880" bind:__l="__l" vue-slots="{{['default']}}"><image mode="aspectFill" src="{{item.pic_url}}" class="data-v-f2c56880"></image></app-jump-button></swiper-item></block></swiper></view></block><block wx:if="{{coupon.length>0}}"><view class="coupon data-v-f2c56880"><view class="coupon-title data-v-f2c56880">兑换优惠券</view><scroll-view class="coupon-list data-v-f2c56880" scroll-x="{{true}}"><block wx:for="{{coupon}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['router',['/plugins/integral_mall/coupon/coupon?id='+item.id]]]]]}}" class="coupon-item data-v-f2c56880" bindtap="__e"><image load-lazy="true" src="/static/image/coupon-bg.png" class="data-v-f2c56880"></image><block wx:if="{{item.coupon.type==2}}"><view class="coupon-name t-omit data-v-f2c56880">¥<text class="data-v-f2c56880">{{item.coupon.sub_price}}</text>优惠券</view></block><block wx:else><view class="coupon-name discount data-v-f2c56880"><text class="data-v-f2c56880">{{item.coupon.discount}}</text>优惠券</view></block><view class="coupon-user t-omit data-v-f2c56880">{{''+item.integral_num+"积分"}}<block wx:if="{{item.price>0}}"><label class="_span data-v-f2c56880">{{"+"+item.price+"元"}}</label></block>兑换</view><view class="coupon-exchange data-v-f2c56880"><view class="data-v-f2c56880">立即兑换</view></view></view></block></scroll-view></view></block><view class="goods data-v-f2c56880"><view class="goods-title data-v-f2c56880"><view class="coupon-title data-v-f2c56880">优惠购专区</view></view><scroll-view class="cat-list data-v-f2c56880" scroll-x="{{true}}"><view data-event-opts="{{[['tap',[['tab',[0]]]]]}}" class="{{['data-v-f2c56880','cat-item','t-omit',''+(_num==0?'active':'')]}}" style="{{'background-color:'+(_num==0?getTheme.background:'')+';'}}" bindtap="__e">全部</view><block wx:for="{{cats}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['tab',['$0'],[[['cats','id',item.id,'id']]]]]]]}}" class="{{['data-v-f2c56880','cat-item','t-omit',''+(_num==item.id?'active':'')]}}" style="{{'background-color:'+(_num==item.id?getTheme.background:'')+';'}}" bindtap="__e">{{item.name+''}}</view></block></scroll-view><view class="goods-list dir-left-wrap data-v-f2c56880"><block wx:for="{{goods}}" wx:for-item="item" wx:for-index="__i2__" wx:key="id"><view class="goods-item data-v-f2c56880" open-type="navigate" data-event-opts="{{[['tap',[['toGoods',['$0'],[[['goods','id',item.id]]]]]]]}}" bindtap="__e"><image class="goods-img data-v-f2c56880" load-lazy="true" mode="aspectFill" src="{{item.cover_pic}}"></image><block wx:if="{{item.goods_stock==0&&appSetting.is_show_stock=='1'}}"><view class="out-dialog data-v-f2c56880"><image src="{{appSetting.is_use_stock=='1'?appImg.plugins_out:appSetting.sell_out_pic}}" class="data-v-f2c56880"></image></view></block><view class="goods-name t-omit data-v-f2c56880">{{item.name}}</view><view class="goods-price data-v-f2c56880" style="{{'color:'+(getTheme.color)+';'}}">{{item.integralMallGoods.integral_num+"积分"}}<block wx:if="{{item.price>0}}"><text class="data-v-f2c56880">{{"+¥"+item.price}}</text></block></view><view class="goods-old data-v-f2c56880">{{"¥"+item.original_price}}</view><view class="goods-num data-v-f2c56880">{{"仅剩"+item.goods_stock+"件"}}</view><block wx:if="{{item.goods_stock>0}}"><button class="goods-exchange data-v-f2c56880" style="{{'background-color:'+(item.buy_goods_auth?getTheme.background:'#999999')+';'}}">立即兑换</button></block><block wx:else><button class="goods-exchange data-v-f2c56880" style="background:#CDCDCD;color:#fff;">已售罄</button></block></view></block></view></view><block wx:if="{{lose||success}}"><view class="dialog-bg data-v-f2c56880"><view class="dialog data-v-f2c56880"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e" class="data-v-f2c56880"><image class="close data-v-f2c56880" load-lazy="true" src="/static/image/icon/icon-close.png"></image></view><block wx:if="{{lose}}"><view class="lose data-v-f2c56880"><image class="lose-img data-v-f2c56880" load-lazy="true" src="/static/image/lose.png"></image><view class="lose-title data-v-f2c56880">兑换失败!</view><view class="data-v-f2c56880">当前积分不足</view></view></block><block wx:if="{{success}}"><view class="success data-v-f2c56880"><image class="success-head data-v-f2c56880" load-lazy="true" src="{{integralImg.app_image.success}}"></image><view class="data-v-f2c56880">恭喜您,兑换成功!</view><view class="main-between success-btn data-v-f2c56880"><view data-event-opts="{{[['tap',[['toList',['$event']]]]]}}" bindtap="__e" class="data-v-f2c56880"><button class="to-card data-v-f2c56880">去卡券包</button></view><view data-event-opts="{{[['tap',[['toList',['$event']]]]]}}" bindtap="__e" class="data-v-f2c56880"><button class="to-use data-v-f2c56880">立即使用</button></view></view></view></block></view></view></block></app-layout>
|