drawlottery.wxml
4.1 KB
<view class="content"><view class="container"><view class="drawtop flexone"><view class="{{['drawtopleft',tab==1?'drawtopleftactivek':'']}}" data-id="{{1}}" data-event-opts="{{[['tap',[['tabchange',['$event']]]]]}}" bindtap="__e">九宫格抽奖</view><view class="{{['drawtopleft',tab==2?'drawtopleftactivel':'']}}" data-id="{{2}}" data-event-opts="{{[['tap',[['tabchange',['$event']]]]]}}" bindtap="__e">幸运砸金蛋</view></view><view class="drawcontent"><view class="titledraw">欢乐大抽奖</view><view class="textdraw">活动文案活动文案活动文案</view></view><view class="activityrule"><view class="ruletitle">活动规则</view></view><block wx:if="{{tab==1}}"><view class="frame_view"><view class="frame_row"><view class="frame_item frame_item0" style="{{'opacity:'+(color[0].opa)+';'}}"><view class="img"><image src="../../static/jichange.png" mode></image></view><view class="title">{{''+color[0].name+''}}</view></view><view class="frame_item frame_item1" style="{{'opacity:'+(color[1].opa)+';'}}"><view class="img"><image src="../../static/presenty.png" mode></image></view><view class="title">{{''+color[1].name+''}}</view></view><view class="frame_item frame_item2" style="{{'opacity:'+(color[2].opa)+';'}}"><view class="img"><image src="../../static/presentkai.png" mode></image></view><view class="title">{{''+color[2].name+''}}</view></view></view><view class="frame_row"><view class="frame_item frame_item7" style="{{'opacity:'+(color[7].opa)+';'}}"><view class="img"><image src="../../static/presentm.png" mode></image></view><view class="title">{{''+color[7].name+''}}</view></view><view data-event-opts="{{[['tap',[['clickLucks']]]]}}" class=" chou" bindtap="__e"><view class="right">立即</view><view class="right rightchou">抽奖</view></view><view class="frame_item frame_item3" style="{{'opacity:'+(color[3].opa)+';'}}"><view class="img"><image src="../../static/presentxin.png" mode></image></view><view class="title">{{''+color[3].name+''}}</view></view></view><view class="frame_row"><view class="frame_item frame_item6" style="{{'opacity:'+(color[6].opa)+';'}}"><view class="img"><image src="../../static/presentf.png" mode></image></view><view class="title">{{''+color[6].name+''}}</view></view><view class="frame_item frame_item5" style="{{'opacity:'+(color[5].opa)+';'}}"><view class="img"><image src="../../static/presentred.png" mode></image></view><view class="title">{{''+color[5].name+''}}</view></view><view class="frame_item frame_item4" style="{{'opacity:'+(color[4].opa)+';'}}"><view class="img"><image src="../../static/presentf.png" mode></image></view><view class="title">{{''+color[4].name+''}}</view></view></view></view></block><block wx:if="{{tab==2}}"><view class="eggcontent"><view class="egglist flexone"><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view><view class="eggimg"><image src="../../static/zhengdan.png" mode></image></view></view><view class="everytime">每次砸金蛋将消耗5积分</view></view></block></view><view class="bottom flexthree"><view class="bottomleftk">返回首页</view><view data-event-opts="{{[['tap',[['mygift',['$event']]]]]}}" class="bottomleftl" bindtap="__e">我的奖品</view></view><block wx:if="{{giftshow}}"><view class="register"><view class="drawrap"><view class="zhongjiang">恭喜中奖</view><view class="gifimg"><image src="../../static/gift.png" mode></image></view><view class="giftname">零食大礼包</view><view data-event-opts="{{[['tap',[['clickLucks']]]]}}" class="containue" bindtap="__e">继续抽奖</view></view><view data-event-opts="{{[['tap',[['hidegift',['$event']]]]]}}" class="chahao" bindtap="__e"><image src="../../static/chahao.png" mode></image></view></view></block></view>