oil-station/gasStation-uni/unpackage/dist/dev/mp-weixin/pagesHome/PointsMall/PointsMall.wxml
2024-09-18 17:24:51 +08:00

1 line
5.6 KiB
Plaintext

<view class="content data-v-e70dcfb6"><view class="container data-v-e70dcfb6"><view class="my-header data-v-e70dcfb6"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="my-icons data-v-e70dcfb6" bindtap="__e"><uni-icons vue-id="02aa6d81-1" type="left" color="#ffffff" size="16" class="data-v-e70dcfb6" bind:__l="__l"></uni-icons></view><view class="my-text data-v-e70dcfb6">积分商城</view><view class="my-icons data-v-e70dcfb6"></view></view><view class="top-lanmu data-v-e70dcfb6"><view class="hby data-v-e70dcfb6"><view class="data-v-e70dcfb6"><view class="title-bai data-v-e70dcfb6">{{myPoints+''}}<text style="font-size:16px;" class="data-v-e70dcfb6">积分</text></view><view class="size-bai data-v-e70dcfb6"><uni-icons vue-id="02aa6d81-2" type="location" color="#ffffff" size="16" class="data-v-e70dcfb6" bind:__l="__l"></uni-icons><text class="data-v-e70dcfb6">{{storeName}}</text></view></view><view class="tp data-v-e70dcfb6"><image src="../../static/imgs/hby.png" mode="aspectFit" class="data-v-e70dcfb6"></image></view></view><view class="box-bai data-v-e70dcfb6"><view data-event-opts="{{[['tap',[['gojg',[1]]]]]}}" class="box-box data-v-e70dcfb6" bindtap="__e"><view class="img-jg data-v-e70dcfb6"><uni-icons vue-id="02aa6d81-3" type="calendar-filled" color="#ffffff" size="40" class="data-v-e70dcfb6" bind:__l="__l"></uni-icons></view><view class="data-v-e70dcfb6">积分签到</view></view><view data-event-opts="{{[['tap',[['gojg',[2]]]]]}}" class="box-box data-v-e70dcfb6" bindtap="__e"><view class="img-jg data-v-e70dcfb6" style="background:#fa801c;"><u-icon vue-id="02aa6d81-4" name="coupon-fill" color="#ffffff" size="40" class="data-v-e70dcfb6" bind:__l="__l"></u-icon></view><view class="data-v-e70dcfb6">积分明细</view></view><view data-event-opts="{{[['tap',[['gojg',[3]]]]]}}" class="box-box data-v-e70dcfb6" bindtap="__e"><view class="img-jg data-v-e70dcfb6" style="background:#1fcabc;"><u-icon vue-id="02aa6d81-5" name="info-circle-fill" color="#ffffff" size="40" class="data-v-e70dcfb6" bind:__l="__l"></u-icon></view><view class="data-v-e70dcfb6">积分规则</view></view><view data-event-opts="{{[['tap',[['gojg',[4]]]]]}}" class="box-box data-v-e70dcfb6" bindtap="__e"><view class="img-jg data-v-e70dcfb6" style="background:#f76b17;"><u-icon vue-id="02aa6d81-6" name="file-text-fill" color="#ffffff" size="40" class="data-v-e70dcfb6" bind:__l="__l"></u-icon></view><view class="data-v-e70dcfb6">我的订单</view></view></view><view class="bai-center data-v-e70dcfb6"><scroll-view class="tap-top data-v-e70dcfb6" scroll-x="true"><view data-event-opts="{{[['tap',[['transferIndex',[-1]]]]]}}" class="sz data-v-e70dcfb6" bindtap="__e"><view class="{{['box','data-v-e70dcfb6',(qhindex===-1)?'xztap':'']}}">全部</view><block wx:if="{{qhindex===-1}}"><view class="gang data-v-e70dcfb6"></view></block></view><block wx:for="{{categoryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['transferIndex',[index,'$0'],[[['categoryList','',index,'id']]]]]]]}}" class="sz data-v-e70dcfb6" bindtap="__e"><view class="{{['box','data-v-e70dcfb6',(qhindex===index)?'xztap':'']}}">{{item.categoryName}}</view><block wx:if="{{qhindex===index}}"><view class="gang data-v-e70dcfb6"></view></block></view></block></scroll-view><block wx:if="{{$root.g0==0}}"><u-empty style="margin:5px auto;" vue-id="02aa6d81-7" mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" class="data-v-e70dcfb6" bind:__l="__l"></u-empty></block><view class="wrap-box data-v-e70dcfb6"><block wx:for="{{integralGiftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['godetails',['$0'],[[['integralGiftList','',index]]]]]]]}}" class="box-goods data-v-e70dcfb6" bindtap="__e"><view class="goods-img data-v-e70dcfb6"><image src="{{baseUrl+item.coverImage}}" mode="aspectFit" class="data-v-e70dcfb6"></image></view><view class="goods-title data-v-e70dcfb6">{{''+item.giftName+''}}</view><view class="hui-time data-v-e70dcfb6">{{'库存:'+(item.remainingInventory===-1?"不限":item.remainingInventory)+''}}</view><view class="good-red data-v-e70dcfb6"><view style="display:flex;align-items:center;" class="data-v-e70dcfb6"><block wx:if="{{item.exchangeMethod!='金额'}}"><view class="bi data-v-e70dcfb6"><image src="../../static/imgs/jb.png" mode="aspectFit" class="data-v-e70dcfb6"></image></view></block><view style="color:#FC1708;font-weight:bold;" class="data-v-e70dcfb6"><block wx:if="{{item.exchangeMethod=='积分'||item.exchangeMethod=='积分+金额'||item.exchangeMethod=='积分+加钱购'}}"><label class="_span data-v-e70dcfb6">{{item.exchangePoints}}</label></block><block wx:if="{{item.exchangeMethod=='积分+金额'}}"><label class="_span data-v-e70dcfb6">+</label></block><block wx:if="{{item.exchangeMethod=='金额'||item.exchangeMethod=='积分+金额'}}"><label class="_span data-v-e70dcfb6">{{"¥"+item.exchangeAmount}}</label></block></view></view></view><view class="anniux data-v-e70dcfb6"><block wx:if="{{!item.remainingInventory||item.remainingInventory==0}}"><text style="color:darkgray;" class="data-v-e70dcfb6">库存不足</text></block><block wx:else><block wx:if="{{(item.exchangeMethod=='积分'||item.exchangeMethod=='积分+金额')&&item.exchangePoints>myPoints}}"><text style="color:darkgray;" class="data-v-e70dcfb6">积分不足</text></block><block wx:else><block wx:if="{{item.ifRedemptionIsOnline}}"><text style="color:darkgray;" class="data-v-e70dcfb6">达到兑换上限</text></block><block wx:else><text class="data-v-e70dcfb6">立即兑换</text></block></block></block></view></view></block></view></view></view></view></view>