weliam-smartcity智慧城市
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
13 KiB

<view class="lotteryIndex data-v-1cdb8ac2"><block wx:if="{{loadlogo}}"><loadlogo vue-id="40b59a47-1" class="data-v-1cdb8ac2" bind:__l="__l"></loadlogo></block><view class="title data-v-1cdb8ac2" style="{{'width:'+(imgstyle.width+'px')+';'+('height:'+($root.g0?imgstyle.height+'px':'35px')+';')}}"><block wx:if="{{$root.g1}}"><swiper class="swiper data-v-1cdb8ac2" indicator-color="rgba(255,255,255,.4)" indicator-active-color="rgba(255,255,255,.85)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" duration="{{500}}"><block wx:for="{{lotteryInfo.adv}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['goLink',['$0'],[[['lotteryInfo.adv','',index,'link']]]]]]]}}" bindtap="__e" class="data-v-1cdb8ac2"><image style="width:100%;height:100%;" src="{{item.thumb}}" mode="scaleToFill" class="data-v-1cdb8ac2"></image></swiper-item></block></swiper></block><block wx:if="{{lotteryInfo.supstatus==0&&!!time.timeobj}}"><view class="countDown data-v-1cdb8ac2"><view class="tag data-v-1cdb8ac2"></view><view class="tagText data-v-1cdb8ac2">距离开奖</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.day1}}</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.day2}}</view><view class="day data-v-1cdb8ac2">天</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.hous1}}</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.hous2}}</view><view class="douhao data-v-1cdb8ac2">:</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.min1}}</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.min2}}</view><view class="douhao data-v-1cdb8ac2">:</view><view class="numberBox data-v-1cdb8ac2">{{time.timeobj.sin1}}</view><view class="numberBox data-v-1cdb8ac2" style="margin:0;">{{time.timeobj.sin2}}</view></view></block><block wx:else><view class="countDown data-v-1cdb8ac2"><view class="tag data-v-1cdb8ac2" style="background-color:#398CFF;"></view><view class="tagText data-v-1cdb8ac2">剩余人数</view><view class="day f-w data-v-1cdb8ac2">还差</view><block wx:for="{{time.timeobj}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="bnumberBox data-v-1cdb8ac2">{{item}}</view></block><view class="day f-w data-v-1cdb8ac2">人次开奖,敬请期待!</view></view></block></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g2}}"><view class="{{['barrage','data-v-1cdb8ac2',(tipsShow)?'tipsShow':'']}}"><image src="{{item.$orig.avatar}}" mode class="data-v-1cdb8ac2"></image><view class="barrageText data-v-1cdb8ac2"><text style="padding-right:10rpx;" class="data-v-1cdb8ac2">{{item.$orig.nickname}}</text><text style="padding-right:10rpx;" class="data-v-1cdb8ac2">抽中</text><text class="data-v-1cdb8ac2">{{item.$orig.goodsname}}</text></view></view></block></block><view class="content data-v-1cdb8ac2"><view class="award data-v-1cdb8ac2"><view class="commodityList data-v-1cdb8ac2"><block wx:for="{{lotteryInfo.prize}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="commodityItem data-v-1cdb8ac2"><block wx:if="{{index==0}}"><image class="grade data-v-1cdb8ac2" src="{{imgfixUrls+'lotteryImg/fone.png'}}" mode></image></block><block wx:if="{{index==1}}"><image class="grade data-v-1cdb8ac2" src="{{imgfixUrls+'lotteryImg/ftwo.png'}}" mode></image></block><block wx:if="{{index==2}}"><image class="grade data-v-1cdb8ac2" src="{{imgfixUrls+'lotteryImg/fthree.png'}}" mode></image></block><image src="{{item.image}}" mode class="data-v-1cdb8ac2"></image><view class="commodityName data-v-1cdb8ac2">{{''+item.title+''}}</view><view class="awardNum data-v-1cdb8ac2">{{''+item.number+'份奖品'}}</view></view></block></view><view class="publicityText data-v-1cdb8ac2">{{''+lotteryInfo.tips+''}}</view><view class="participationNumber data-v-1cdb8ac2"><view class="imgbox data-v-1cdb8ac2"><block wx:for="{{lotteryInfo.headlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image class="clientTitle data-v-1cdb8ac2" src="{{item.avatar}}" mode></image></block></view><view class="numberText data-v-1cdb8ac2">{{''+lotteryInfo.joinnum+'人次正在参与'}}</view></view></view><block wx:if="{{$root.g3}}"><view class="winner data-v-1cdb8ac2"><view class="switchover data-v-1cdb8ac2"><v-tabs vue-id="40b59a47-2" lineScale="{{0.3}}" lineRadius="4px 4px 0px 0px" lineHeight="6rpx" height="100rpx" fontSize="30rpx" activeFontSize="30rpx" paddingItem="40rpx 22rpx 40rpx" activeColor="#ff4444" lineColor="#ff4444" scroll="{{false}}" bold="{{false}}" tabs="{{tabsList}}" value="{{sort}}" data-event-opts="{{[['^change',[['changeTab']]],['^input',[['__set_model',['','sort','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-1cdb8ac2" bind:__l="__l"></v-tabs></view><view class="winnerText data-v-1cdb8ac2">{{'中奖者名单('+codesMumber+'人)'}}</view><view class="winnerList data-v-1cdb8ac2"><block wx:for="{{codes}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="winnerItem data-v-1cdb8ac2"><view class="winnerImg data-v-1cdb8ac2"><image src="{{item.avatar}}" mode class="data-v-1cdb8ac2"></image><block wx:if="{{item.own==1}}"><view class="ibox data-v-1cdb8ac2">我</view></block></view><view class="winnerName data-v-1cdb8ac2">{{''+item.nickname+''}}</view><view class="winnerCode data-v-1cdb8ac2">{{''+item.codenum+''}}</view></view></block></view></view></block><block wx:if="{{$root.g4}}"><view class="LotteryYards data-v-1cdb8ac2"><view class="data-v-1cdb8ac2"><text class="col-3 f-32 f-w data-v-1cdb8ac2">我的抽奖码</text><text class="col-f4 f-24 data-v-1cdb8ac2">{{"("+($root.g5?$root.g6:0)+"张)"}}</text></view><view class="LotteryYardsList data-v-1cdb8ac2"><block wx:for="{{lotteryInfo.mycode}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<8}}"><view class="yardsItem data-v-1cdb8ac2" style="{{'background:'+('url('+imgfixUrls+'lotteryImg/jinkuang.png)')+';'+('background-size:'+('100% 100%')+';')+('background-repeat:'+('no-repeat')+';')}}">{{''+item.codenum+''}}</view></block></block><block wx:if="{{$root.g7>9}}"><view data-event-opts="{{[['tap',[['goCodeList',['$event']]]]]}}" class="yardsItem textmroe data-v-1cdb8ac2" style="{{'background:'+('url('+imgfixUrls+'lotteryImg/yinkang.png)')+';'+('background-size:'+('100% 100%')+';')+('background-repeat:'+('no-repeat')+';')}}" bindtap="__e">查看更多</view></block></view></view></block><block wx:if="{{$root.g8}}"><view class="merchandiseList data-v-1cdb8ac2"><view class="f-32 f-w col-3 m-btm30 data-v-1cdb8ac2">购买商品获得抽奖码</view><block wx:for="{{lotteryInfo.buygoodslist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-1cdb8ac2"><draw-commodity vue-id="{{'40b59a47-3-'+index}}" goodItem="{{item}}" class="data-v-1cdb8ac2" bind:__l="__l"></draw-commodity></view></block><view data-event-opts="{{[['tap',[['goshoping',['$event']]]]]}}" class="f-24 col-9 t-c data-v-1cdb8ac2" bindtap="__e"><text class="data-v-1cdb8ac2">查看更多</text><text class="iconfont icon-unfold data-v-1cdb8ac2" style="font-size:24rpx;"></text></view></view></block><view class="richText data-v-1cdb8ac2"><view class="f-32 f-w col-3 m-btm30 data-v-1cdb8ac2">抽奖说明</view><block wx:if="{{lotteryInfo.detail}}"><view class="data-v-1cdb8ac2"><jyf-parser vue-id="40b59a47-4" domain="https://6874-html-foe72-1259071903.tcb.qcloud.la" gesture-zoom="{{true}}" lazy-load="{{true}}" selectable="{{true}}" showWithAnimation="{{true}}" show-with-animation="{{true}}" use-anchor="{{true}}" html="{{lotteryInfo.detail}}" data-ref="article" class="data-v-1cdb8ac2 vue-ref" bind:__l="__l"></jyf-parser></view></block></view></view><view class="more data-v-1cdb8ac2"><view class="dis-flex flex-box data-v-1cdb8ac2"><view data-event-opts="{{[['tap',[['goIndex',['$event']]]]]}}" class="flex-box t-c data-v-1cdb8ac2" bindtap="__e"><image src="{{imgfixUrls+'lotteryImg/home.png'}}" mode class="data-v-1cdb8ac2"></image><view class="f-20 col-3 data-v-1cdb8ac2">首页</view></view><view data-event-opts="{{[['tap',[['goCodeList',['$event']]]]]}}" class="flex-box t-c data-v-1cdb8ac2" bindtap="__e"><image src="{{imgfixUrls+'lotteryImg/LotteryYards.png'}}" mode class="data-v-1cdb8ac2"></image><view class="f-20 col-3 data-v-1cdb8ac2">抽奖码</view></view><view data-event-opts="{{[['tap',[['goPrevious',['$event']]]]]}}" class="flex-box t-c data-v-1cdb8ac2" bindtap="__e"><image src="{{imgfixUrls+'lotteryImg/previous.png'}}" mode class="data-v-1cdb8ac2"></image><view class="f-20 col-3 data-v-1cdb8ac2">往期</view></view></view><block wx:if="{{lotteryInfo.status==0}}"><view data-event-opts="{{[['tap',[['openshow',['$event']]]]]}}" class="moreBtn data-v-1cdb8ac2" bindtap="__e">获取更多抽奖码</view></block><block wx:else><view data-event-opts="{{[['tap',[['openshow',['$event']]]]]}}" class="nomoreBtn data-v-1cdb8ac2" bindtap="__e">{{''+(lotteryInfo.status==1?'活动即将抽奖,敬请期待':'抽奖已结束,请关注其他活动')+''}}</view></block></view><pop-manager vue-id="40b59a47-5" show="{{showRule}}" type="bottom" data-event-opts="{{[['^clickmask',[['e0']]]]}}" bind:clickmask="__e" class="data-v-1cdb8ac2" bind:__l="__l" vue-slots="{{['default']}}"><view class="popShareBox data-v-1cdb8ac2"><view class="classShare data-v-1cdb8ac2"><block wx:if="{{$root.g9}}"><view data-event-opts="{{[['tap',[['goshoping',['$event']]]]]}}" class="classItem data-v-1cdb8ac2" bindtap="__e"><image src="{{imgfixUrls+'lotteryImg/shoping.png'}}" mode class="data-v-1cdb8ac2"></image><view class="className data-v-1cdb8ac2">购买商品</view></view></block><block wx:if="{{lotteryInfo.drawvideostatus==1}}"><view data-event-opts="{{[['tap',[['videoDarw',['$event']]]]]}}" class="classItem data-v-1cdb8ac2" bindtap="__e"><image src="{{imgfixUrls+'lotteryImg/lookvideo.png'}}" mode class="data-v-1cdb8ac2"></image><view class="className data-v-1cdb8ac2">视频广告</view></view></block><block wx:if="{{lotteryInfo.drawsharestatus==1&&lotteryInfo.nomobile==1}}"><view data-event-opts="{{[['tap',[['openShare',['$event']]]]]}}" class="classItem data-v-1cdb8ac2" bindtap="__e"><image src="{{imgfixUrls+'lotteryImg/shareDraw.png'}}" mode class="data-v-1cdb8ac2"></image><view class="className data-v-1cdb8ac2">好友分享</view></view></block><block wx:else><block wx:if="{{lotteryInfo.drawsharestatus==1&&lotteryInfo.nomobile!=1}}"><button class="classItem data-v-1cdb8ac2" open-type="share"><image src="{{imgfixUrls+'lotteryImg/shareDraw.png'}}" mode class="data-v-1cdb8ac2"></image><view class="className data-v-1cdb8ac2">好友分享</view></button></block></block></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="close data-v-1cdb8ac2" bindtap="__e">关闭</view></view></pop-manager><pop-manager vue-id="40b59a47-6" show="{{winner}}" type="center" overlay="false" showOverlay="false" data-event-opts="{{[['^clickmask',[['e2']]]]}}" bind:clickmask="__e" class="data-v-1cdb8ac2" bind:__l="__l" vue-slots="{{['default']}}"><view class="zjbj data-v-1cdb8ac2" style="{{'background:'+('url('+(imgfixUrls+'/kjbj2.png')+')')+';'+('background-size:'+('100% 100%')+';')}}"><text data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="iconfont icon-close dis-il-block t-c f-w closeBtn data-v-1cdb8ac2" bindtap="__e"></text><block wx:if="{{winner}}"><view class="zjbox data-v-1cdb8ac2" style="margin:auto;"><view class="f-w f-48 t-c data-v-1cdb8ac2" style="color:#FB2F24;padding-bottom:36rpx;">{{''+(lotteryInfo.mycodestatus==2?'一等奖':lotteryInfo.mycodestatus==3?'二等奖':'三等奖')+''}}</view><view class="data-v-1cdb8ac2"><image style="border-radius:50%;height:240rpx;width:240rpx;margin-left:20vw;border:2rpx solid #FFC853;" src="{{lotteryInfo.mygoodslogo}}" mode class="data-v-1cdb8ac2"></image></view><view style="padding:20rpx 0 50rpx;" class="data-v-1cdb8ac2"><view class="col-f f-40 data-v-1cdb8ac2" style="text-align:center;margin-bottom:10rpx;"><text style="color:#E5492C;" class="data-v-1cdb8ac2">恭喜你获得了</text></view><view class="col-f f-50 t-c data-v-1cdb8ac2" style="text-align:center;"><text style="color:#FF2D26;" class="data-v-1cdb8ac2">{{lotteryInfo.mygoodstitle}}</text></view></view><view class="dis-flex data-v-1cdb8ac2"><view style="flex:0.45;position:relative;height:90rpx;" class="data-v-1cdb8ac2"><image style="width:250rpx;height:90rpx;" src="{{imgfixUrls+'/hsbtn.png'}}" mode class="data-v-1cdb8ac2"></image><view data-event-opts="{{[['tap',[['myprize',['$event']]]]]}}" class="f-32 t-c data-v-1cdb8ac2" style="position:absolute;left:0;top:0;height:90rpx;line-height:80rpx;width:250rpx;color:#FF3D25;" bindtap="__e">查看奖品</view></view><view style="flex:0.1;width:30rpx;" class="data-v-1cdb8ac2"></view><view class="f-34 data-v-1cdb8ac2" style="flex:0.45;position:relative;height:90rpx;"><image style="width:250rpx;height:90rpx;" src="{{imgfixUrls+'/cjredbtn.png'}}" mode class="data-v-1cdb8ac2"></image><view data-event-opts="{{[['tap',[['getMyPrize',['$0'],['lotteryInfo.mycodeid']]]]]}}" class="f-32 t-c data-v-1cdb8ac2" style="position:absolute;left:0;top:0;height:90rpx;line-height:80rpx;width:250rpx;color:#FFFFFF;" bindtap="__e">领取奖品</view></view></view></view></block></view></pop-manager><phone-mask vue-id="40b59a47-7" show1="{{popShow}}" data-event-opts="{{[['^clickmask1',[['closePop']]]]}}" bind:clickmask1="__e" class="data-v-1cdb8ac2" bind:__l="__l"></phone-mask><getvxphone vue-id="40b59a47-8" show="{{vxshow}}" data-event-opts="{{[['^showFalse',[['showFalse']]]]}}" bind:showFalse="__e" class="data-v-1cdb8ac2" bind:__l="__l"></getvxphone></view>