1 |
- <view class="luckyDraw"><image class="back" src="../../static/backImg.png" mode="widthFix"></image><view class="luckyDrawContent"><view class="luckyDrawTop"><view class="left"><view data-event-opts="{{[['tap',[['startAni',[3]]]]]}}" class="avatarView" bindtap="__e"><open-data class="avatar" type="userAvatarUrl"></open-data></view><view class="userInfo"><block wx:if="{{mpName}}"><view class="account">{{mpName}}</view></block><view class="ID">{{"ID:"+userId}}</view></view></view><navigator class="right" url="{{'../checkInRecord/checkInRecord'+$root.m0}}" hover-class="none"><text>中奖记录</text></navigator></view><view class="notice"><image class="horn" src="../../static/horn.png" mode="widthFix"></image><view class="txts"><u-notice-bar vue-id="8dd740cc-1" mode="vertical" volume-icon="{{false}}" color="#FFFFFF" type="none" list="{{list}}" bind:__l="__l"></u-notice-bar></view></view><view data-event-opts="{{[['tap',[['jumpSign',['$event']]]]]}}" class="qLuckDraw" bindtap="__e"><image src="../../static/redEnv.png" mode="widthFix"></image></view><view class="turntable"><view class="decorate"><image class="decorateBack" src="../../static/decorate.png" mode="widthFix"></image><image class="decorateChassis" src="../../static/chassis.png" mode="widthFix"></image></view><view class="turntableContent"><view class="al"><block wx:if="{{prizeList.length}}"><almost-lottery vue-id="8dd740cc-2" canvasId="{{canvasConfig.canvasId}}" canvasWidth="{{canvasConfig.width}}" canvasHeight="{{canvasConfig.height}}" outerWidth="{{canvasConfig.outerWidth}}" outerHeight="{{canvasConfig.outerHeight}}" colors="{{canvasConfig.colors}}" ringCount="{{8}}" duration="{{5}}" prizeList="{{prizeList}}" prizeIndex="{{prizeIndex}}" data-event-opts="{{[['^resetIndex',[['e0']]],['^drawStart',[['handleDrawStart']]],['^drawEnd',[['handleDrawEnd']]],['^finish',[['handleDrawFinish']]]]}}" bind:resetIndex="__e" bind:drawStart="__e" bind:drawEnd="__e" bind:finish="__e" bind:__l="__l"></almost-lottery></block></view><view class="bottom"><view class="cont">今日剩余抽奖次数:<text>{{freeNum}}</text></view></view></view></view><view style="margin:0 30rpx;"><ad-view vue-id="8dd740cc-3" unitId="{{adConfig.bannerAd}}" adIntervals="200" bind:__l="__l"></ad-view></view><view class="myPrize"><view class="title">我的奖品</view><view class="chips"><block wx:for="{{prizeCountDtoList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="chip"><block wx:if="{{item.prizeType===3}}"><image src="../../static/iPhone12Chip.png" mode="widthFix"></image></block><block wx:else><image src="../../static/vipChip.png" mode="widthFix"></image></block><view class="text">{{item.prizeName}}</view><view class="progress"><view class="value" style="{{'width:'+(item.prizeCount&&item.prizeCount>0?item.prizeCount/item.maxCount*100+'%':'0')+';'}}"></view><text>{{item.prizeCount+"/"+item.maxCount}}</text></view></view></block></view><block wx:if="{{clearTime}}"><view class="clearTime">{{"碎片有效期至:"+$root.f0+''}}</view></block></view><view class="activityRules"><view data-event-opts="{{[['tap',[['activityRulesHandle',['$event']]]]]}}" class="top" bindtap="__e"><text>活动规则</text><image src="{{!activityRules?'../../static/unfold.png':'../../static/retract.png'}}" mode="widthFix"></image></view><block wx:if="{{activityRules}}"><view class="bottom"><view>1、每个用户账户每天最多有10次抽奖机会,每天0点刷新。</view><view>2、每天前2次可直接领取抽奖奖品,其他8次抽奖机会需要通过观看激励视频来获得。</view><view>3、用户必须在对应公众号内登陆抽奖,否则书币将无法顺利领取。</view><view>4、书币及7天书城VIP会员抽中后自动发放至书城账号,可在中奖记录中查看,或进入书城的“个人中心-充值记录-赠送”查看。</view><view>5、用户可以通过完成本产品抽奖获得碎片,碎片种类由系统随机发放,兑换手机需集满50个碎片, 兑换书城VIP需集满30个碎片。碎片累计有效期为7天,在碎片超出有效期后或用户成功兑换奖品后,此前已获得的该奖品碎片都将清零。</view><view>6、实物奖品请联系公众号内客服领取,实物奖品颜色随机寄送,以中奖用户收到的实物为准。</view><view>7、若发现用户恶意违规行为,开发者有权取消其获奖资格。</view><view>8、本活动解释权由开发者所有,有任何疑问请联系公众号内客服。</view></view></block></view><block wx:if="{{popupShow}}"><view class="popup"><view class="popupContent"><view class="content"><image src="../../static/popupBack.png"></image><view class="textCon"><text class="ts">恭喜您获得</text><view class="_br"></view><text class="reward ts">{{luckyDay.name}}</text><view class="_br"></view><image class="doubleBt" style="{{'transform:'+('scale('+scale+')')+';'}}" src="../../static/doubleBt.png" mode="widthFix" data-event-opts="{{[['tap',[['lookVideo',['$event']]]]]}}" bindtap="__e"></image><view class="_br"></view><text data-event-opts="{{[['tap',[['receiveGold',[false]]]]]}}" class="bt" bindtap="__e">不了,单倍领取</text></view></view><image class="close" src="../../static/close.png" mode="widthFix" data-event-opts="{{[['tap',[['closeHandle',['$event']]]]]}}" bindtap="__e"></image></view></view></block><block wx:if="{{popupVIPShow}}"><view class="popupVIP popup"><view class="popupContent" style="width:524rpx;"><view class="content"><image src="../../static/vipBack.png"></image><view class="textCon" style="display:flex;align-items:flex-end;"><view data-event-opts="{{[['tap',[['againLuckDraw',['vip']],['startAni',[2]]]]]}}" class="againLuckDrawBt btVip" style="{{'transform:'+('scale('+scale+')')+';'}}" bindtap="__e">再次抽奖</view></view></view><image class="close" src="../../static/close.png" mode="widthFix" data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" bindtap="__e"></image></view></view></block><block wx:if="{{popup12Show}}"><view class="popup12 popup"><view class="popupContent" style="width:702rpx;"><view class="content"><image style="height:722rpx;" src="../../static/12Back.png"></image><view class="textCon" style="display:flex;align-items:flex-end;"><view data-event-opts="{{[['tap',[['againLuckDraw',['12']],['startAni',[3]]]]]}}" class="againLuckDrawBt" style="{{'transform:'+('scale('+scale+')')+';'+('margin-bottom:'+(0)+';')}}" bindtap="__e">再次抽奖</view></view></view><image class="close" src="../../static/close.png" mode="widthFix" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" bindtap="__e"></image></view></view></block><block wx:if="{{popupGoldShow}}"><view class="popup12 popup"><view class="popupContent" style="width:636rpx;"><view class="content"><image style="height:790rpx;" src="../../static/goldBack.png"></image><view class="textCon" style="display:flex;align-items:center;flex-direction:column;justify-content:flex-end;"><text class="goldText">恭喜您获得</text><view class="_br"></view><text class="goldText" style="margin-bottom:48rpx;">{{luckyDay.name}}</text><view data-event-opts="{{[['tap',[['againLuckDraw',['gold']],['startGold',[false]]]]]}}" class="againLuckDrawBt btGold" style="{{'transform:'+('translateX(12rpx) scale('+scale+')')+';'}}" bindtap="__e">再次抽奖</view></view></view><image class="close" src="../../static/close.png" mode="widthFix" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" bindtap="__e"></image></view></view></block><view class="fragmentAni" animation="{{animationData}}"><image src="{{prizeType===3?'../../static/turntable_iPhone12.png':'../../static/turntable_VIP.png'}}" mode="widthFix"></image></view><block wx:for="{{goldData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="fragmentGold" style="{{'top:'+(item.top)+';'+('left:'+(item.left)+';')}}" animation="{{animationDatas[index]}}"><image src="../../static/turntable_gold.png" mode="widthFix"></image></view></block><view class="receiveTs" animation="{{animationDataTs}}">{{''+tsTitle+''}}</view><view class="singleLattice"><ad-custom-view vue-id="8dd740cc-4" unit-id="{{adConfig.singleLatticeAd}}" adIntervals="200" bind:__l="__l"></ad-custom-view></view></view></view>
|