初始化代码

This commit is contained in:
2025-12-22 17:13:05 +08:00
parent ed0de08e3a
commit 1f7e9d401b
2947 changed files with 526137 additions and 0 deletions

View File

@@ -0,0 +1 @@
<view class="shop-coupon"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item fill-base mg-big pd-lg radius-34"><view class="flex-between"><view class="flex-center flex-column"><view class="flex-y-baseline f-caption c-warning">¥<view class="f-large-title">{{item.discount+''}}</view></view><view class="f-caption c-title">优惠券</view></view><view class="flex-1 ml-lg flex-between"><view class="f-title c-title mr-lg"><view class="text-bold">{{item.title}}</view><view class="f-icontext mt-sm">{{item.type==0?'满'+item.full+'元可用':'无门槛'}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="flex-y-baseline f-icontext mt-sm" catchtap="__e">查看详情<view class="{{['iconfont','ml-sm','_i',[(!item.is_show)?'icon-down':''],[(item.is_show)?'icon-up':'']]}}" style="font-size:24rpx;"></view></view></view><auth class="use-btn" vue-id="{{'1aef93da-1-'+index}}" needAuth="{{userInfo&&(!userInfo.nickName||!userInfo.phone)}}" type="{{!userInfo.nickName?'userInfo':'phone'}}" content="{{!userInfo.nickName?'':configInfo.member_default_level?'尊贵的用户,成为'+configInfo.member_default_level+'需要获取授权,授权成功后可领取相关卡券优惠':''}}" must="{{!userInfo.nickName?true:false}}" data-event-opts="{{[['^go',[['toGetCoupon',[index]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="use-btn flex-center f-caption c-base radius" style="{{'background:'+(primaryColor)+';'}}">领取</view></auth></view></view><block wx:if="{{item.is_show}}"><view class="mt-lg pd-lg f-icontext c-title radius-16" style="background:#F9FAF9;"><view class="flex-warp"><view>使用时间:</view><view class="flex-1 c-desc">{{(item.time_limit==2?'自领取后'+item.day+'天内可用':item.start_time)+''}}</view></view><view class="flex-warp mt-md"><view>使用范围:</view><view class="flex-1 c-desc">{{item.use_range}}</view></view><view class="flex-warp mt-md"><view>使用规则:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.rule}}</text></view></view><view class="flex-warp mt-md"><view>优惠详情:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.text}}</text></view></view></view></block></view></block><block wx:if="{{loading}}"><load-more vue-id="1aef93da-2" noMore="{{$root.g0}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g1}}"><abnor vue-id="1aef93da-3" type="COUPON" bind:__l="__l"></abnor></block><view class="space-footer"></view><uni-popup class="vue-ref" vue-id="1aef93da-4" type="center" custom="{{true}}" maskClick="{{false}}" data-ref="show_coupon_succ_item" bind:__l="__l" vue-slots="{{['default']}}"><view style="height:100rpx;"></view><view class="popup-coupon fill-base flex-center flex-column pt-lg radius-24"><image class="success-img" src="https://lbqny.migugu.com/admin/farm/success.png"></image><view class="f-title c-title text-bold">恭喜您,领取成功</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="confirm-btn flex-center f-paragraph c-base mt-lg radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">确定</view></view></uni-popup></view>