<view class="swiper-tab">
    <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">刮刮乐</view>
    <view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">砸金蛋</view>
</view>


<view class="weui-cells__title" hidden="{{currentTab==2 }}">
    <import src="../../../utils/scratch/scratch.wxml" />
    <view class='beijing'>
        <image class='img_box' src='../../../images/scraping.png'></image>
    </view>

    <view class='title_gua'>
        <image src='../../../images/title.png' class='img_box'></image>
    </view>
    <view class="index">

        <view class='bac_gua'>
            <template is="scratch" data="{{scratch, isScroll}}"></template>
            <button bindtap="onStart" class="btn_fl {{yinc==0?'show':'hide'}}">{{txt}}</button>
        </view>
        <!-- <view class='lists_of'>奖品</view>
        <swiper class="swiper" circular="flase" autoplay="true" interval="5000" duration="1000" indicator-active-color="#999" indicator-color="#fff">
            <block wx:for="{{carousel}}" wx:for-item="k" wx:for-index="index">
                <swiper-item>
                    <view class='item_moives'>
                        <image src="{{k.image_url}}" bindtap='fangImage' data-image='{{k.image_url}}' class="slide-image img_box" />
                    </view>
                </swiper-item>
            </block>
        </swiper> -->


        <view class='footer_gua'>
            <view class='gua_title'>刮刮乐说明</view>
            <view class='gua_list'>1、每刮一次消耗{{awards}}积分。</view>
            <view class='gua_list'>2、积分获取可见签到，推客分享。</view>
        </view>

        <view class='prize_can'>
            <view class='min_con'>参与即有机会获得</view>
            <view wx:for="{{carousel}}" wx:key="unique" class='prize_box'>
                {{item.name}}
            </view>
        </view>

    </view>

</view>
<view class="weui-cells__title" hidden="{{currentTab==1 }}">

    <view bindtap='xuzhi' class='xuzhi'>砸金蛋说明</view>
    <!-- <view class='model_con' hidden=''>
        <view class='dan_go'>砸金蛋规则说明:</view>
        <view>1、砸金蛋每次消耗50积分。</view>
        <view>2、积分可通过签到、推客分享获得。</view>
    </view> -->

    <view class='jindan'>
        <image src='../../../images/zajindan.png' class='img_box'></image>
    </view>
    <!-- 砸金蛋 -->
    <view class='egg'>
        <view class='eggList'>
            <view class="text_jiang {{reward==''?'active_1':''}}">{{reward}}
                <view class='btn_egg' bindtap='egg_go'>确定</view>
            </view>
            <view class='dan_container'>
                <view class='dan'>
                    <view class="cuizi {{showhide==1?'':'active_1'}}" animation="{{animationData}}">
                        <image class='img_box' src='../../../images/img-6.png'></image>
                    </view>
                    <image bindtap="zaeggtap" data-type="1" src="{{showhide==1?showimgaes:'../../../images/egg_1.png'}}" class='img_box'></image>
                </view>
                <view class='dan'>
                    <view class="cuizi {{showhide==2?'':'active_1'}}" animation="{{animationData}}">
                        <image class='img_box' src='../../../images/img-6.png'></image>
                    </view>
                    <image bindtap="zaeggtap" data-type="2" src="{{showhide==2?showimgaes:'../../../images/egg_1.png'}}" class='img_box'></image>
                </view>
                <view class='dan'>
                    <view class="cuizi {{showhide==3?'':'active_1'}}" animation="{{animationData}}">
                        <image class='img_box' src='../../../images/img-6.png'></image>
                    </view>
                    <image bindtap="zaeggtap" data-type="3" src="{{showhide==3?showimgaes:'../../../images/egg_1.png'}}" class='img_box'></image>
                </view>
            </view>
        </view>
    </view>












</view>