detail.wxml 8.7 KB

1
  1. <view class="app-layout data-v-71998da9"><app-layout vue-id="7cceaf06-1" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}"><view class="detail-bg data-v-71998da9"><view class="fxhb-bg data-v-71998da9" style="{{'background-image:'+('url('+appImg.bg+')')+';'}}"><view class="fxhb-right data-v-71998da9"><view data-event-opts="{{[['tap',[['rules',['$event']]]]]}}" bindtap="__e" class="data-v-71998da9">活动规则</view><view data-event-opts="{{[['tap',[['homes',['$event']]]]]}}" bindtap="__e" class="data-v-71998da9">返回首页</view></view></view><view class="fxhb-box data-v-71998da9"><block wx:if="{{status===0&&is_join==1}}"><view class="detail-info data-v-71998da9"><view class="user-list dir-left-wrap main-center data-v-71998da9"><block wx:for="{{list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><view class="user-item data-v-71998da9"><image src="{{v.avatar}}" load-lazy="{{true}}" class="data-v-71998da9"></image></view></block><block wx:for="{{user_num_list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><view class="user-item none data-v-71998da9"><image src="{{appImg.fxhb_none}}" load-lazy="{{true}}" class="data-v-71998da9"></image></view></block></view><view class="detail-info-text data-v-71998da9">{{"还差"+user_num+"人即可瓜分"+coupon_total_money+"元红包,快邀好友来拆"}}</view><view class="detail-time-text data-v-71998da9">{{time_str+"后结束"}}</view><view class="main-center data-v-71998da9"><app-jump-button vue-id="{{('7cceaf06-2')+','+('7cceaf06-1')}}" open_type="share" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}"><app-button vue-id="{{('7cceaf06-3')+','+('7cceaf06-2')}}" color="#FFFFFF" height="88" width="560" background="#ff4544" round="{{true}}" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}">邀请好友一起拆</app-button></app-jump-button></view></view></block><block wx:if="{{status===2}}"><view class="detail-info data-v-71998da9"><view class="detail-info-text cross-center dir-top-nowrap data-v-71998da9"><view class="data-v-71998da9">超过规定时间,该红包不能拆了</view><icon class="icon-detail-time data-v-71998da9" type="{{true}}"></icon></view><view class="main-center data-v-71998da9"><app-button vue-id="{{('7cceaf06-4')+','+('7cceaf06-1')}}" height="88" width="560" background="#ff4544" color="#FFFFFF" font-size="32" round="{{true}}" data-event-opts="{{[['^click',[['openNew']]]]}}" bind:click="__e" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}">拆一个新红包</app-button></view></view></block><block wx:if="{{status===1&&is_join==0}}"><view class="detail-info data-v-71998da9"><view class="user-list dir-left-wrap main-center data-v-71998da9"><block wx:for="{{list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><block class="data-v-71998da9"><view class="user-item data-v-71998da9"><image src="{{v.avatar}}" load-lazy="{{true}}" class="data-v-71998da9"></image></view></block></block></view><view class="detail-info-text data-v-71998da9">很遗憾,该红包已被瓜分完了</view><view class="main-center detail-error data-v-71998da9"><app-button vue-id="{{('7cceaf06-5')+','+('7cceaf06-1')}}" height="88" width="560" color="#FFFFFF" background="#ff4544" round="{{true}}" data-event-opts="{{[['^click',[['openNew']]]]}}" bind:click="__e" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}">拆一个新红包</app-button></view></view></block><block wx:if="{{status===1&&is_join==1}}"><view class="detail-info data-v-71998da9"><view class="detail-info-text data-v-71998da9">恭喜您,已成功瓜分红包</view><view class="dir-left-nowrap cross-center coupon data-v-71998da9"><view class="box-grow-1 data-v-71998da9"><view class="coupon-title data-v-71998da9">满减券</view><view class="coupon-desc data-v-71998da9">{{"满"+min_price+"可用"}}</view></view><view class="box-grow-0 dir-left-nowrap cross-bottom data-v-71998da9"><view class="coupon-unit cross-bottom data-v-71998da9">¥</view><view class="coupon-money data-v-71998da9">{{user_price}}</view></view></view><view class="main-center data-v-71998da9"><app-button vue-id="{{('7cceaf06-6')+','+('7cceaf06-1')}}" font-size="32" background="#ff4544" height="88" width="560" color="#FFFFFF" round="{{true}}" data-event-opts="{{[['^click',[['openNew']]]]}}" bind:click="__e" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}">拆一个新红包</app-button></view><view class="main-center coupon-set data-v-71998da9"><app-button vue-id="{{('7cceaf06-7')+','+('7cceaf06-1')}}" font-size="32" background="#ffb82f" height="88" width="560" color="#FFFFFF" round="{{true}}" data-event-opts="{{[['^click',[['goods']]]]}}" bind:click="__e" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}"><view class="main-center cross-center data-v-71998da9"><view style="margin-right:2px;" class="data-v-71998da9">立即使用</view><icon class="icon-right data-v-71998da9" type="{{true}}"></icon></view></app-button></view></view></block><block wx:if="{{status===1}}"><view class="detail-info award-list data-v-71998da9"><view class="dir-left dir-left-nowrap main-center cross-center data-v-71998da9"><view class="box-grow-0 list-line data-v-71998da9"></view><view class="box-grow-0 list-text data-v-71998da9">看看大家手气</view><view class="box-grow-0 list-line data-v-71998da9"></view></view><block wx:for="{{list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><view class="dir-left-nowrap cross-center list data-v-71998da9"><view class="box-grow-0 data-v-71998da9"><image class="user-avatar data-v-71998da9" src="{{v.avatar}}" load-lazy="{{true}}"></image></view><view class="box-grow-1 data-v-71998da9">{{v.nickname}}</view><view class="box-grow-0 dir-top-nowrap main-right data-v-71998da9"><view class="main-right data-v-71998da9">{{v.get_price+"元"}}</view><block wx:if="{{v.is_best}}"><view class="dir-left main-center best data-v-71998da9"><icon class="user-pond data-v-71998da9" type="{{true}}"></icon><view class="t-extra-small data-v-71998da9">手气最佳</view></view></block></view></view></block></view></block><block wx:if="{{goods_list&&goods_list.length}}"><view class="more-goods data-v-71998da9"><view class="tt-goods dir-left-nowrap cross-center main-center data-v-71998da9"><view class="line data-v-71998da9"></view><view class="dir-left-nowrap cross-center data-v-71998da9"><icon class="icon-love data-v-71998da9" type="{{true}}"></icon><view class="data-v-71998da9">商品推荐</view></view><view class="line data-v-71998da9"></view></view><u-ordinary-list vue-id="{{('7cceaf06-8')+','+('7cceaf06-1')}}" isShowAttr="{{true}}" list="{{goods_list}}" theme="{{getTheme}}" list-style="{{2}}" class="data-v-71998da9" bind:__l="__l"></u-ordinary-list></view></block><block wx:if="{{show_share_model&&user_num}}"><view class="act-modal data-v-71998da9"><view class="act-modal-bg data-v-71998da9"></view><view class="act-modal-pic cross-center main-center data-v-71998da9"><view class="modal-box data-v-71998da9" style="{{'background-image:'+('url('+appImg.share_modal_bg+')')+';'}}"><view data-event-opts="{{[['tap',[['closeShareModal',['$event']]]]]}}" class="modal-close data-v-71998da9" bindtap="__e"><icon class="icon-close data-v-71998da9" type="{{true}}"></icon></view><view class="modal-text dir-left-nowrap main-center cross-bottom data-v-71998da9"><view class="data-v-71998da9">还差</view><view class="bold-num data-v-71998da9">{{user_num}}</view><view class="data-v-71998da9">个人即可拆红包</view></view><view class="dir-left-nowrap main-center cross-bottom data-v-71998da9"><view class="data-v-71998da9">一起瓜分</view><view class="bold-money data-v-71998da9">{{coupon_total_money}}</view><view class="data-v-71998da9">元!</view></view><view class="main-center btn data-v-71998da9"><app-jump-button vue-id="{{('7cceaf06-9')+','+('7cceaf06-1')}}" open_type="share" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}"><app-button vue-id="{{('7cceaf06-10')+','+('7cceaf06-9')}}" height="80" width="440" color="#FFFFFF" font-size="28" background="#ff4544" round="{{true}}" class="data-v-71998da9" bind:__l="__l" vue-slots="{{['default']}}">邀请好友一起拆</app-button></app-jump-button></view></view></view></view></block><block wx:if="{{is_new}}"><view class="hongbao dir-left main-center data-v-71998da9"><view class="hongbao-content data-v-71998da9" style="{{'background-image:'+('url('+appImg.hongbao_bg+')')+';'}}"><view class="hongbao-desc data-v-71998da9"><view class="data-v-71998da9">{{config.count_price+"元红包已包好"}}</view><view class="data-v-71998da9">快拆开和小伙伴分红包</view></view><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" bindtap="__e" class="data-v-71998da9"><icon class="hongbao-btn data-v-71998da9" type="{{true}}"></icon></view></view></view></block></view></view></app-layout></view>