canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/template/tcyhq.wxml
2024-11-01 16:07:54 +08:00

1 line
7.2 KiB
Plaintext

<mg-modal bind:input="__e" vue-id="80c486e6-1" ismr="{{true}}" width="{{type==1?'632rpx':type==2?'632rpx':'562rpx'}}" z-index="{{3000}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-98cc90ce" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{type==1&&co.couponList}}"><view class="data-v-98cc90ce"><view class="tctop posi-r data-v-98cc90ce"><view class="tcimg data-v-98cc90ce"><mg-img vue-id="{{('80c486e6-2')+','+('80c486e6-1')}}" src="{{co.icon||onImgurl+'img/yhqbg.png'}}" class="data-v-98cc90ce" bind:__l="__l"></mg-img></view><view class="posi-a tctopbd f-col data-v-98cc90ce"><view class="f-g-0 tctopbdt t-c data-v-98cc90ce"><view class="f34 wei cf f-c data-v-98cc90ce"><view class="hx data-v-98cc90ce"></view><view class="zfls4 data-v-98cc90ce">{{co.name||'活动名称'}}</view><view class="hx data-v-98cc90ce"></view></view></view><scroll-view class="f-1 tctopbdb o-h data-v-98cc90ce" scroll-y="{{true}}"><block wx:for="{{co.couponList}}" wx:for-item="v" wx:for-index="i" wx:key="i"><view class="mb20 data-v-98cc90ce"><mg-coupon vue-id="{{('80c486e6-3-'+i)+','+('80c486e6-1')}}" ptype="2" color="{{color}}" cname="mb20" co="{{v}}" class="data-v-98cc90ce" bind:__l="__l"></mg-coupon></view></block></scroll-view></view><view class="posi-a w100 tctopft f-c f22 data-v-98cc90ce"><button class="lqbtn bs10 cf f28 f-c zfls4 wei bt data-v-98cc90ce" style="{{'background:'+(loading?'transparent':'')+';'}}" disabled="{{loading}}" data-event-opts="{{[['tap',[['ljlq',['$event']]]]]}}" bindtap="__e">立即领取</button></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="tcbtm f-c data-v-98cc90ce" bindtap="__e"><text class="iconfont iconx2 cf data-v-98cc90ce" style="font-size:66rpx;"></text></view></view></block><block wx:else><block wx:if="{{type==2&&co.couponArr}}"><block class="data-v-98cc90ce"><view class="tctop posi-r data-v-98cc90ce"><view class="tcimg2 data-v-98cc90ce"><mg-img vue-id="{{('80c486e6-4')+','+('80c486e6-1')}}" src="{{co.bgImg||onImgurl+'img/yhqbg.png'}}" class="data-v-98cc90ce" bind:__l="__l"></mg-img></view><view class="posi-a tctopbd2 f-col data-v-98cc90ce"><view class="f-g-0 tctopbdt t-c data-v-98cc90ce"><view class="f34 wei cf f-c data-v-98cc90ce"><view class="hx data-v-98cc90ce"></view><view class="zfls4 data-v-98cc90ce">{{co.name||'活动名称'}}</view><view class="hx data-v-98cc90ce"></view></view></view><scroll-view class="f-1 tctopbd2b o-h data-v-98cc90ce" scroll-y="{{true}}"><block wx:for="{{co.couponArr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><view class="mb20 data-v-98cc90ce"><mg-coupon vue-id="{{('80c486e6-5-'+i)+','+('80c486e6-1')}}" ptype="2" color="{{color}}" cname="mb20" co="{{v}}" class="data-v-98cc90ce" bind:__l="__l"></mg-coupon></view></block></scroll-view></view><view class="posi-a w100 tctopft f-c f22 data-v-98cc90ce"><button class="lqbtn bs10 cf f28 f-c zfls4 wei bt data-v-98cc90ce" style="{{'background:'+(loading?'transparent':'')+';'}}" disabled="{{loading}}" data-event-opts="{{[['tap',[['ljlq',['$event']]]]]}}" bindtap="__e">立即领取</button></view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="tcbtm2 f-c data-v-98cc90ce" bindtap="__e"><text class="iconfont iconx2 cf data-v-98cc90ce" style="font-size:66rpx;"></text></view></block></block><block wx:else><block wx:if="{{type==3}}"><block class="data-v-98cc90ce"><view class="tctop posi-r data-v-98cc90ce"><view class="tcimg3 data-v-98cc90ce"><mg-img vue-id="{{('80c486e6-6')+','+('80c486e6-1')}}" src="{{co.icon||onImgurl+'img/xrzxbg.png'}}" class="data-v-98cc90ce" bind:__l="__l"></mg-img></view><view class="posi-a tctopbd3 f-col data-v-98cc90ce"><scroll-view class="f-1 tctopbd3b o-h data-v-98cc90ce" scroll-y="{{true}}"><block wx:if="{{$root.g0}}"><block class="data-v-98cc90ce"><view class="jlbt f-y-c data-v-98cc90ce"><view class="xhx data-v-98cc90ce"></view><view class="f-g-0 data-v-98cc90ce">优惠券奖励</view><view class="xhx data-v-98cc90ce"></view></view><view class="jlic data-v-98cc90ce"><block wx:for="{{co.couponArr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><block class="data-v-98cc90ce"><mg-coupon vue-id="{{('80c486e6-7-'+i)+','+('80c486e6-1')}}" ptype="2" color="{{color}}" cname="mb20" co="{{v}}" class="data-v-98cc90ce" bind:__l="__l"></mg-coupon></block></block></view></block></block><block wx:if="{{co.balance>0}}"><block class="data-v-98cc90ce"><view class="jlbt f-y-c data-v-98cc90ce"><view class="xhx data-v-98cc90ce"></view><view class="f-g-0 data-v-98cc90ce">{{system.custom.balance+"奖励"}}</view><view class="xhx data-v-98cc90ce"></view></view><view class="jlic p-r data-v-98cc90ce"><view class="bgimg data-v-98cc90ce"><image class="wh data-v-98cc90ce" src="{{yhqbg}}"></image></view><view class="p-a coubd wh f-row data-v-98cc90ce"><view class="coubdl p20 f-c-c cf5 data-v-98cc90ce"><view class="data-v-98cc90ce"><text class="data-v-98cc90ce">{{sl}}</text><text class="f50 ml5 wei data-v-98cc90ce">{{co.balance}}</text></view></view><view class="p-10-30 f-1 f-y-c data-v-98cc90ce"><view class="f-g-1 f26 data-v-98cc90ce">{{"新人赠送"+system.custom.balance}}</view></view></view></view></block></block><block wx:if="{{co.integral>0}}"><block class="data-v-98cc90ce"><view class="jlbt f-y-c data-v-98cc90ce"><view class="xhx data-v-98cc90ce"></view><view class="f-g-0 data-v-98cc90ce">{{system.custom.integral+"奖励"}}</view><view class="xhx data-v-98cc90ce"></view></view><view class="jlic p-r data-v-98cc90ce"><view class="bgimg data-v-98cc90ce"><image class="wh data-v-98cc90ce" src="{{yhqbg}}"></image></view><view class="p-a coubd wh f-row data-v-98cc90ce"><view class="coubdl p20 f-c-c cf5 data-v-98cc90ce"><view class="f-y-c data-v-98cc90ce"><text class="f50 wei data-v-98cc90ce">{{co.integral}}</text><text class="f22 ml5 data-v-98cc90ce">{{system.custom.integral}}</text></view></view><view class="p-10-30 f-1 f-y-c data-v-98cc90ce"><view class="f-g-1 f26 data-v-98cc90ce">{{"新人赠送"+system.custom.integral}}</view></view></view></view></block></block><block wx:if="{{co.growth>0}}"><block class="data-v-98cc90ce"><view class="jlbt f-y-c data-v-98cc90ce"><view class="xhx data-v-98cc90ce"></view><view class="f-g-0 data-v-98cc90ce">成长值奖励</view><view class="xhx data-v-98cc90ce"></view></view><view class="jlic p-r data-v-98cc90ce"><view class="bgimg data-v-98cc90ce"><image class="wh data-v-98cc90ce" src="{{yhqbg}}"></image></view><view class="p-a coubd wh f-row data-v-98cc90ce"><view class="coubdl p20 f-c-c cf5 data-v-98cc90ce"><view class="f-y-c data-v-98cc90ce"><text class="f50 wei data-v-98cc90ce">{{co.growth}}</text><text class="f22 ml5 data-v-98cc90ce">成长值</text></view></view><view class="p-10-30 f-1 f-y-c data-v-98cc90ce"><view class="f-g-1 f26 data-v-98cc90ce">新人赠送成长值</view></view></view></view></block></block><button class="lqbtn bs10 cf f28 f-c zfls4 wei bt data-v-98cc90ce" style="{{'background:'+(tColor)+';'}}" disabled="{{loading}}" data-event-opts="{{[['tap',[['dllq',['$event']]]]]}}" bindtap="__e">登录领取</button></scroll-view></view></view><view data-event-opts="{{[['tap',[['$emit',['input',false]]]]]}}" class="tcbtm3 f-c data-v-98cc90ce" bindtap="__e"><text class="iconfont iconx2 cf f60 data-v-98cc90ce"></text></view></block></block></block></block></mg-modal>