1 |
- <app-layout vue-id="0c2511bc-1" class="data-v-3e3e7528" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!goods}}"><view class="u-goods-detail data-v-3e3e7528"></view></block><block wx:else><view class="goods-head-box data-v-3e3e7528"><app-goods-banner vue-id="{{('0c2511bc-2')+','+('0c2511bc-1')}}" pic-list="{{goods.pic_url}}" share="{{goods.share}}" goods_id="{{lottery_id}}" sign="lottery" video-url="{{goods.video_url}}" class="data-v-3e3e7528" bind:__l="__l"></app-goods-banner><view class="time main-center data-v-3e3e7528"><block wx:if="{{user_log===null||user_log.status<=1}}"><view class="time-info dir-left-nowrap cross-center data-v-3e3e7528"><icon class="icon data-v-3e3e7528" type="{{true}}"></icon><block wx:if="{{new_status==2}}"><view class="data-v-3e3e7528">距活动开始:</view></block><block wx:else><view class="data-v-3e3e7528">距活动结束:</view></block><block wx:if="{{times.day>0||times.hour>0}}"><text class="data-v-3e3e7528">{{times.day+"天"+times.hour+"小时"}}</text></block><block wx:if="{{times.day==0&×.hour==0}}"><text class="data-v-3e3e7528">{{times.minute+"分"+times.second+"秒"}}</text></block></view></block><block wx:else><view class="time-info time-error dir-left-nowrap cross-center data-v-3e3e7528"><icon class="icon data-v-3e3e7528" type="{{true}}"></icon><view class="data-v-3e3e7528">活动已结束</view></view></block></view></view><block wx:if="{{goods}}"><view class="goods data-v-3e3e7528"><view class="u-line-2 name data-v-3e3e7528">{{goods.name}}</view><block wx:if="{{goods.subtitle}}"><view class="goods-subtitle data-v-3e3e7528"><view class="t-omit-three data-v-3e3e7528">{{goods.subtitle}}</view></view></block><view class="dir-left-nowrap data-v-3e3e7528"><view class="detail box-grow-1 data-v-3e3e7528"><view class="dir-left-nowrap box-grow-0 data-v-3e3e7528"><text class="data-v-3e3e7528">共</text><text class="bold data-v-3e3e7528">{{lottery.stock}}</text><text class="data-v-3e3e7528">份</text><view class="num data-v-3e3e7528">{{goods.num+"人参与"}}</view></view><view class="price dir-left-nowrap box-grow-0 data-v-3e3e7528"><view class="box-grow-0 data-v-3e3e7528">免费</view><block wx:if="{{isUnderlinePrice}}"><view class="box-grow-0 del data-v-3e3e7528">{{"售价¥"+goods.original_price}}</view></block></view></view><view data-event-opts="{{[['tap',[['shareClick',['$event']]]]]}}" class="share dir-left-nowrap main-center cross-center data-v-3e3e7528" style="{{'background-color:'+(getTheme.background)+';'}}" bindtap="__e"><image class="share-icon box-grow-0 data-v-3e3e7528" src="/static/image/icon/icon-share-white.png"></image><text class="share-text box-grow-0 data-v-3e3e7528">分享</text></view><app-share-qr-code vue-id="{{('0c2511bc-3')+','+('0c2511bc-1')}}" url="{{poster+'&goods_id='+goods.id}}" has-poster-nav="{{true}}" poster-config="{{poster_config+'&goods_id='+goods.id}}" poster-generate="{{poster_generate+'&goods_id='+goods.id}}" goods="{{goods}}" value="{{shareShow}}" data-event-opts="{{[['^share',[['hShareAppMessage']]],['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-3e3e7528" bind:__l="__l"></app-share-qr-code></view></view></block><view class="lottery-attr data-v-3e3e7528"><view class="box cross-center data-v-3e3e7528"><view class="border box-grow-0 data-v-3e3e7528">商品信息</view><view class="text dir-left-wrap t-omit data-v-3e3e7528"><block wx:for="{{goods.attr_list}}" wx:for-item="value" wx:for-index="key" wx:key="key"><block class="data-v-3e3e7528"><text class="data-v-3e3e7528">{{value.attr_group_name+":"+value.attr_name}}</text></block></block></view></view></view><block wx:if="{{setting.cs_status===1&&setting.cs_prompt_pic}}"><view data-event-opts="{{[['tap',[['qrcode',['$event']]]]]}}" class="lottery-share data-v-3e3e7528" bindtap="__e"><image src="{{setting.cs_prompt_pic}}" mode="aspectFit" load-lazy="{{true}}" class="data-v-3e3e7528"></image></view></block><view data-event-opts="{{[['tap',[['rule',['$event']]]]]}}" class="step cross-center dir-left-nowrap data-v-3e3e7528" bindtap="__e"><view class="box-grow-1 data-v-3e3e7528">抽奖流程</view><view class="cross-center data-v-3e3e7528"><icon class="icon-right box-grow-0 data-v-3e3e7528" type="{{true}}"></icon></view></view><view class="step-info dir-left-nowrap data-v-3e3e7528"><block wx:for="{{rule_list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><block class="data-v-3e3e7528"><view class="box-grow-1 dir-left-nowrap main-center cross-center data-v-3e3e7528"><view class="label data-v-3e3e7528">{{v.key}}</view><text class="value data-v-3e3e7528">{{v.value}}</text></view></block></block></view><block wx:if="{{lucky_list}}"><view class="dir-top-nowrap lucky-all data-v-3e3e7528"><view class="box-grow-1 data-v-3e3e7528">实时幸运码</view><view class="box-grow-1 friend data-v-3e3e7528">邀请好友参与,额外获赠幸运码,提高中奖率哦!</view><block wx:if="{{lucky_list.length}}"><swiper class="{{['swiper','data-v-3e3e7528',lucky_list.length>1?'':'swiper-one']}}" display-multiple-items="{{lucky_list.length>1?2:1}}" vertical="true" autoplay="true" interval="2000" duration="500" circular="true"><block wx:for="{{lucky_list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><block class="data-v-3e3e7528"><swiper-item data-event-opts="{{[['touchmove',[['catchTouchMove',['$event']]]]]}}" style="height:50%;" bindtouchmove="__e" class="data-v-3e3e7528"><view class="dir-left cross-center lucky-code data-v-3e3e7528"><image class="box-grow-0 data-v-3e3e7528" src="{{v.user.userInfo.avatar}}" load-lazy="{{true}}"></image><view class="box-grow-1 t-omit nickname data-v-3e3e7528">{{v.user.nickname}}</view><view class="box-grow-0 font-normal data-v-3e3e7528">{{v.lucky_num+"个幸运码"}}</view></view></swiper-item></block></block></swiper></block></view></block><view class="goods-rule data-v-3e3e7528">商品详情</view><view class="rule-info data-v-3e3e7528"><app-rich-text vue-id="{{('0c2511bc-4')+','+('0c2511bc-1')}}" content="{{goods.detail}}" class="data-v-3e3e7528" bind:__l="__l"></app-rich-text></view><view class="safe-area-inset-bottom data-v-3e3e7528"><view class="u-bottom-height data-v-3e3e7528"></view></view><view class="safe-area-inset-bottom u-bottom-fixed data-v-3e3e7528"><view class="bd-bottom main-center cross-center data-v-3e3e7528"><view data-event-opts="{{[['tap',[['buyNow',['$event']]]]]}}" class="bd-btn bd-bottom-first data-v-3e3e7528" style="{{'background-color:'+(getTheme.background_s)+';'+('color:'+(getTheme.secondary_text)+';')}}" bindtap="__e">直接购买</view><block wx:if="{{new_status==2}}"><view class="bd-btn bd-btn-end bd-color data-v-3e3e7528">尚未开始</view></block><block wx:else><block wx:if="{{lottery.type==1}}"><view class="bd-btn bd-btn-end bd-color data-v-3e3e7528">已结束</view></block><block wx:else><block wx:if="{{lottery.status==0}}"><view class="bd-btn bd-btn-end bd-color data-v-3e3e7528">已关闭</view></block><block wx:else><block wx:if="{{user_log==null}}"><view data-event-opts="{{[['tap',[['validateIntegral',['$event']]]]]}}" class="bd-btn bd-color data-v-3e3e7528" style="{{'background-color:'+(getTheme.background)+';'+('color:'+(getTheme.main_text)+';')}}" bindtap="__e">立即抽奖</view></block><block wx:else><block wx:if="{{user_log.status<=1}}"><view class="bd-btn bd-btn-end bd-color data-v-3e3e7528">已参与</view></block><block wx:else><view class="bd-btn bd-btn-end bd-color data-v-3e3e7528">已结束</view></block></block></block></block></block></view></view><block wx:if="{{award_bg}}"><view class="animation-model main-center cross-center data-v-3e3e7528"><u-mask vue-id="{{('0c2511bc-5')+','+('0c2511bc-1')}}" maskClickAble="{{false}}" show="{{award_bg}}" class="data-v-3e3e7528" bind:__l="__l"></u-mask><view data-event-opts="{{[['tap',[['prize',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="main-center detaill data-v-3e3e7528" bindtap="__e" catchtouchmove="__e"><view class="ani_box data-v-3e3e7528" animation="{{animation_trans_lottery}}"><image src="{{appImg.lottery_box}}" class="data-v-3e3e7528"></image></view></view><image class="boxbg data-v-3e3e7528" src="{{appImg.lottery_boxbg}}" data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e"></image></view></block></block><integral-model vue-id="{{('0c2511bc-6')+','+('0c2511bc-1')}}" text="{{lottery.deplete_integral_num+'积分'}}" data-ref="integralModel" data-event-opts="{{[['^next',[['subscribe']]]]}}" bind:next="__e" class="data-v-3e3e7528 vue-ref" bind:__l="__l"></integral-model></app-layout>
|