<!--pages/luckydraw/luckydraw.wxml-->
<view class="container-out">
    <!-- 闪烁点 -->
    <view class="circle" wx:for="{{circleList}}" wx:key="unique" style="top:{{item.topCircle}}rpx;left:{{item.leftCircle}}rpx;background-color: {{(index%2==0)?colorCircleFirst:colorCircleSecond}};"></view>
    <!-- 奖品图片和开始按钮 -->
    <view class="container-in">
        <view class="content-out" wx:for="{{awardList}}" wx:key="unique" style="top:{{item.topAward}}rpx;left:{{item.leftAward}}rpx;background-color: {{(index==indexSelect)?colorAwardSelect:colorAwardDefault}};">
            <image class="award-image" src="{{item.imageAward}}"></image>
        </view>
        <view class="start-btn" bindtap="startGame" style="font-size: 38rpx; background-color:{{isRunning?'#e7930a':'#ffe400'}}">START</view>
    </view>      

</view>


<view class='winning' bindtap='get_record'>
    中奖记录
</view>

<view class='desc_text'>
    <view class='desc_title'>活动规则</view>
    <view class='desc_content'>1、每次抽奖需要消耗 {{acc}} 积分。</view>
    <view class='desc_content'>2、每天可无限次抽奖，积分不足不能抽奖。</view>
    <view class='desc_content'>3、积分将通过推客分享，每天签到获取。</view>
    <view class='desc_content'>4、可凭中奖纪录到店兑换相应礼品。</view>
</view>
