You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
4.7 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<nav-bar navbar-data='{{nvabarData}}'></nav-bar>
<view class="lucky_draw">
<view class="lucky_draw_title">
<view class="lucky_draw_record" bindtap="luckyDrawRecord">中奖记录</view>
</view>
<view class="lucky_draw_items">
<view class="lucky_draw_items_title">今天还剩
<text class="num">{{count}}</text>次抽奖机会</view>
<view class="lucky_draw_item">
<view class="items">
<view class="item {{index == prizes[0].index ? 'active' : ''}}" data-index="{{prizes[0].index}}">
<image src="{{prizes[0].img}}"></image>
<view class="item_text1">{{prizes[0].name}}</view>
</view>
<view class="item {{index == prizes[1].index ? 'active' : ''}} " data-index="{{prizes[1].index}}">
<image src="{{prizes[1].img}}"></image>
<view class="item_text1">{{prizes[1].name}}</view>
</view>
<view class="item {{index == prizes[2].index ? 'active' : ''}} " data-index="{{prizes[2].index}}">
<image src="{{prizes[2].img}}"></image>
<view class="item_text1">{{prizes[2].name}}</view>
</view>
<view class="item {{index ==prizes[7].index ? 'active' : ''}} " data-index="{{prizes[7].index}}">
<image src="{{prizes[7].img}}"></image>
<view class="item_text1">{{prizes[7].name}}</view>
</view>
<view class="item zj" bindtap="{{click?'lucky_draw':''}}">
<view class="item_text2" style="font-size:38rpx;font-weight:bold;">立即抽奖</view>
<view class="item_text2">({{pointValue}}积分一次)</view>
</view>
<view class="item {{index ==prizes[3].index ? 'active' : ''}} " data-index="{{prizes[3].index}}">
<image src="{{prizes[3].img}}"></image>
<view class="item_text1">{{prizes[3].name}}</view>
</view>
<view class="item {{index == prizes[6].index ? 'active' : ''}} " data-index="{{prizes[6].index}}">
<image src="{{prizes[6].img}}"></image>
<view class="item_text1">{{prizes[6].name}}</view>
</view>
<view class="item {{index == prizes[5].index ? 'active' : ''}} " data-index="{{prizes[5].index}}">
<image src="{{prizes[5].img}}"></image>
<view class="item_text1">{{prizes[5].name}}</view>
</view>
<view class="item {{index == prizes[4].index ? 'active' : ''}} " data-index="{{prizes[4].index}}">
<image src="{{prizes[4].img}}"></image>
<view class="item_text1">{{prizes[4].name}}</view>
</view>
</view>
</view>
<image src="http://pos.juweiyun.cn/373001/file/wechatAppimg%402x.png"> </image>
</view>
<view class="lucky_draw_bottom">
<view class="lucky_draw_bottom_rule_y">
<view class="lucky_draw_bottom_rule">活动规则</view>
</view>
<view class="lucky_draw_bottom_items">
<block wx:if="{{ruleDesc.length>0}}">
<block wx:for="{{ruleDesc}}" wx:key="index" wx:for-index="index">
<block wx:if="{{index==0}}">
<view class="lucky_draw_bottom_item" style="margin-top:50rpx;">
{{item}}
</view>
</block>
<block wx:else>
<view class="lucky_draw_bottom_item">
{{item}}
</view>
</block>
</block>
</block>
<block wx:else>
<view class="lucky_draw_bottom_item center">暂无活动规则</view>
</block>
<!-- <view class="lucky_draw_bottom_item" style="margin-top:50rpx;">
1.用户每抽奖一次消耗100积分
</view>
<view class="lucky_draw_bottom_item">
2.同一用户每天可参与活动增加1次抽奖机会每 天最多可增加一次。
</view>
<view class="lucky_draw_bottom_item">
3.活动中奖采用随机中奖原则,中奖几率均等。 所有奖品在中奖后24小时内发入用户账户中。
</view>
<view class="lucky_draw_bottom_item">
4.活动时间2019.08.20-2019.10.01
</view> -->
</view>
</view>
</view>
<view class="mode_view" wx:if="{{showRemark}}" style="height:{{height}}rpx;">
<view bindtap="hideModeClick" class="phone_bg_view" style="height:{{height}}rpx;"></view>
<view class="phone_center_view">
<view class="up_window_view">
<view class="up_window_title">恭喜您</view>
<view class="up_window_content">{{upWindowTitle}}</view>
<view class="winning_item_view">
<text>{{couponContent}}</text>
<image class="winning_item" src="http://pos.juweiyun.cn/373001/file/wechatApp%E7%9F%A9%E5%BD%A24.png"></image>
</view>
<view class="up_window_out_time">奖品在中奖后24小时内发入用户账户中</view>
<view class="up_window_out_know" bindtap="my_know">我知道了</view>
</view>
</view>
</view>