Files
mp-weixin-2811-xcx.aigc-qui…/components/ns-new-gift/ns-new-gift.wxml
2025-12-27 09:01:32 +08:00

1 line
3.9 KiB
Plaintext

<view class="data-v-c9e973d8"><block wx:if="{{newgift}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="reward-popup data-v-c9e973d8" catchtouchmove="__e"><uni-popup vue-id="3246c476-1" type="center" maskClick="{{false}}" data-ref="nsNewGift" class="data-v-c9e973d8 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="reward-wrap data-v-c9e973d8"><view class="newgift-content data-v-c9e973d8" style="{{'background-image:'+('url('+$root.g0+')')+';'}}"><view class="content-title-holiday data-v-c9e973d8"><image class="birthday-img-all data-v-c9e973d8" src="{{$root.g1}}" mode></image><view class="font-size-toolbar activity-name data-v-c9e973d8">{{newgift.activity_name}}</view><image class="birthday-img-all data-v-c9e973d8" src="{{$root.g2}}" mode></image></view><block wx:if="{{memberInfo}}"><view class="content-title-name data-v-c9e973d8">{{"Dear "+memberInfo.nickname}}</view></block><block wx:if="{{newgift.remark}}"><view class="content-title-hint data-v-c9e973d8">{{newgift.remark}}</view></block><block wx:else><view class="content-title-hint data-v-c9e973d8">{{"感谢您一直以来的支持,为回馈会员,商城"+(newgift.activity_name?newgift.activity_name:'xx')+"节日,为您提供以下福利"}}</view></block><scroll-view class="register-box data-v-c9e973d8" scroll-y="true"><view class="{{['data-v-c9e973d8',introduction>38?'reward-content':'reward-content-two']}}"><block wx:if="{{newgift.award_list.point>0}}"><view class="content data-v-c9e973d8"><view class="info data-v-c9e973d8"><text class="num data-v-c9e973d8">{{''+newgift.award_list.point+''}}<text class="type data-v-c9e973d8">积分</text></text><view class="desc data-v-c9e973d8">用于参与活动购买商品时抵扣</view></view><view data-event-opts="{{[['tap',[['closeRewardPopup',['1']]]]]}}" class="tip data-v-c9e973d8" bindtap="__e">立即查看</view></view></block><block wx:if="{{newgift.award_list.balance_type==0&&newgift.award_list.balance>0}}"><view class="content data-v-c9e973d8"><view class="info data-v-c9e973d8"><text class="num data-v-c9e973d8">{{''+$root.f0+''}}<text class="type data-v-c9e973d8">元红包</text></text><view class="desc data-v-c9e973d8">不可提现红包</view></view><view data-event-opts="{{[['tap',[['closeRewardPopup',['2']]]]]}}" class="tip data-v-c9e973d8" bindtap="__e">立即查看</view></view></block><block wx:if="{{newgift.award_list.balance_type==1&&newgift.award_list.balance_money>0}}"><view class="content data-v-c9e973d8"><view class="info data-v-c9e973d8"><text class="num data-v-c9e973d8">{{''+$root.f1+''}}<text class="type data-v-c9e973d8">元红包</text></text><view class="desc data-v-c9e973d8">可提现红包</view></view><view data-event-opts="{{[['tap',[['closeRewardPopup',['2']]]]]}}" class="tip data-v-c9e973d8" bindtap="__e">立即查看</view></view></block><block wx:if="{{$root.g3>0}}"><block class="data-v-c9e973d8"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-c9e973d8"><view class="content data-v-c9e973d8"><view class="info data-v-c9e973d8"><block wx:if="{{item.$orig.type=='reward'}}"><text class="num data-v-c9e973d8">{{''+item.m0+''}}<text class="type data-v-c9e973d8">元优惠劵</text></text></block><block wx:else><block wx:if="{{item.$orig.type=='discount'}}"><text class="num data-v-c9e973d8">{{''+item.f2+''}}<text class="type data-v-c9e973d8">折</text></text></block></block><view class="desc data-v-c9e973d8">用于下单时抵现或兑换商品等</view></view><view data-event-opts="{{[['tap',[['closeRewardPopup',['3']]]]]}}" class="tip data-v-c9e973d8" bindtap="__e">立即查看</view></view></block></block></block></block></view></scroll-view></view><view data-event-opts="{{[['tap',[['cancel']]]]}}" class="close-btn data-v-c9e973d8" bindtap="__e"><text class="iconfont icon-close btn data-v-c9e973d8"></text></view></view></uni-popup></view></block></view>