huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
1
<view><view class="top-title"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="f32 gray3 top-lottery-title" bindtap="__e">{{$root.m0+"规则"}}</view><view class="f28 gray9">{{"可兑换"+$root.m1+user_points}}</view></view><view class="bg-lottery" style="{{('background-image: url('+bg_image+');')}}"><view class="lottery-center-box"><view class="rule-title"><view class="tc mt20 f28" style="color:#A62A2A;">{{"每次抽奖消耗 "+points+" "+$root.m2+",今日剩余"+times+"次"}}</view></view><view class="lottery-title"><block wx:if="{{$root.g0}}"><almost-lottery vue-id="68cf4cdf-1" prizeList="{{prizeList}}" prizeIndex="{{prizeIndex}}" lotteryBg="/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__bg.png" actionBg="/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__action.png" data-event-opts="{{[['^resetIndex',[['e1']]],['^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><view class="ww100 mt30"><button data-event-opts="{{[['tap',[['getRecord']]]]}}" class="btn-red record" bindtap="__e">中奖记录</button></view><view class="special-box"><view class="{{['special-content','display_1']}}"><view class="special-content-list" style="{{('transform: translate(0,'+styleValue+'px);')}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="content-item text-ellipsis"><text>{{item.m3}}</text></view></block></view></view></view><popup vue-id="68cf4cdf-2" show="{{isRule}}" width="{{575}}" heigth="{{550}}" padding="{{0}}" backgroundColor="none" data-event-opts="{{[['^hidePopup',[['e2']]]]}}" bind:hidePopup="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="pop-center"><image class="bg-rule" src="/static/invite/bg-rule.png" mode></image><view class="pop-title">活动规则</view><scroll-view style="height:473rpx;" scroll-y="true"><view class="pop-title-box">{{content}}</view></scroll-view></view></popup><popup vue-id="68cf4cdf-3" show="{{isPopup}}" type="middle" backgroundColor="#ea564c" padding="{{40}}" width="{{638}}" data-event-opts="{{[['^hidePopup',[['hidePopup']]]]}}" bind:hidePopup="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="pr ww100 tc mb38"><view class="pop-tit-line"></view><view class="pop-tit-text">恭喜,中奖啦</view></view><view class="d-c-c d-c ww100 product-box pr"><view class="circular-left"></view><view class="circular-right"></view><view></view><view class="pop_img"><image src="{{result.image}}" mode></image></view><view><view class="f26 text-ellipsis fb">{{$root.m4}}</view></view></view></popup><popup vue-id="68cf4cdf-4" show="{{isRecord}}" type="bottom" padding="{{0}}" width="{{750}}" data-event-opts="{{[['^hidePopup',[['hideRecordPopup']]]]}}" bind:hidePopup="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="p30 record-box"><view class="pr ww100 tc mb38"><view class="pop-record-line"></view><view class="pop-record-text">我的记录</view></view><view><scroll-view style="max-height:600rpx;" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="d-b-c border-b-d9 p-20-0 box-s-b" style="min-height:70rpx;"><view style="line-height:1.5;">{{item.m5}}</view><view class="d-e-c ml20"><view class="gray9" style="white-space:nowrap;">{{item.$orig.create_time}}</view><block wx:if="{{item.$orig.status==0}}"><button data-event-opts="{{[['tap',[['gotoPage',['/pages/plus/lottery/receive?record_id='+item.$orig.record_id]]]]]}}" class="btn-red record-list-btn" bindtap="__e">领取</button></block><block wx:else><button class="btn-gray record-list-btn">已领取</button></block></view></view></block><block wx:if="{{$root.g1}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="{{('68cf4cdf-5')+','+('68cf4cdf-4')}}" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></scroll-view></view></view></popup></view></view>