detail.wxml 5.8 KB

1
  1. <app-layout vue-id="a93318f0-1" class="data-v-662b5c72" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{loading}}"><view class="data-v-662b5c72"><view class="data-v-662b5c72"><app-quick-navigation vue-id="{{('a93318f0-2')+','+('a93318f0-1')}}" class="data-v-662b5c72" bind:__l="__l"></app-quick-navigation></view><view class="data-v-662b5c72"><app-goods-banner vue-id="{{('a93318f0-3')+','+('a93318f0-1')}}" pic-list="{{detail.pic_url}}" share="{{detail.share}}" video-url="{{detail.video_url}}" goods_id="{{detail.id}}" isCart="{{false}}" class="data-v-662b5c72" bind:__l="__l"></app-goods-banner></view><view class="goods-name t-omit-two data-v-662b5c72">{{detail.name}}</view><block wx:if="{{detail}}"><view class="price data-v-662b5c72"><app-goods-price vue-id="{{('a93318f0-4')+','+('a93318f0-1')}}" discount="{{discount}}" shareUrl="{{shareUrl}}" is_vip_card_user="{{is_vip_card_user}}" goods="{{detail}}" select-attr="{{selectAttr}}" is_show_member="{{false}}" data-event-opts="{{[['^quickShare',[['quickShare']]]]}}" bind:quickShare="__e" class="data-v-662b5c72" bind:__l="__l"></app-goods-price></view></block><block wx:if="{{is_vip}}"><view class="vip-card data-v-662b5c72"><app-vip-card vue-id="{{('a93318f0-5')+','+('a93318f0-1')}}" background="#fff" top="0" class="data-v-662b5c72" bind:__l="__l"></app-vip-card></view></block><view class="rule data-v-662b5c72"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="content dir-left-nowrap main-between data-v-662b5c72" bindtap="__e"><view class="dir-left-nowrap cross-center data-v-662b5c72"><view class="tag data-v-662b5c72">N元任选</view><view class="activity-price data-v-662b5c72">{{activity.rule_price+"元选"+activity.rule_num+"件"}}</view></view><view class="dir-left-nowrap go cross-center data-v-662b5c72"><view class="data-v-662b5c72">去凑单</view><image src="/static/image/icon/arrow-right.png" class="data-v-662b5c72"></image></view></view></view><block wx:if="{{detail.services.length>0}}"><view class="merchant-guarantee data-v-662b5c72"><app-goods-service vue-id="{{('a93318f0-6')+','+('a93318f0-1')}}" border="{{false}}" list="{{detail.services}}" class="data-v-662b5c72" bind:__l="__l"></app-goods-service></view></block><view class="attr data-v-662b5c72"><app-attr vue-id="{{('a93318f0-7')+','+('a93318f0-1')}}" goods="{{detail}}" attrGroupList="{{detail.attr_groups}}" show="{{attrShow}}" is_show_buy="{{false}}" addText="加入凑单池" data-event-opts="{{[['^attrtap',[['onAttr']]],['^add',[['add']]]]}}" bind:attrtap="__e" bind:add="__e" class="data-v-662b5c72" bind:__l="__l" vue-slots="{{['button']}}"><view slot="button" class="data-v-662b5c72"><app-goods-attr vue-id="{{('a93318f0-8')+','+('a93318f0-7')}}" attr-groups="{{detail.attr_groups}}" selectAttr="{{selectAttr}}" attr="{{detail.attr}}" class="data-v-662b5c72" bind:__l="__l"></app-goods-attr></view></app-attr></view><block wx:if="{{detail}}"><view class="marketing data-v-662b5c72"><app-goods-marketing vue-id="{{('a93318f0-9')+','+('a93318f0-1')}}" limit="{{detail.goods_marketing.limit}}" express="{{detail.express}}" shipping="{{detail.goods_marketing.shipping}}" pickup="{{detail.goods_marketing.pickup}}" card="{{detail.goods_marketing_award.card}}" integral="{{detail.goods_marketing_award.integral}}" class="data-v-662b5c72" bind:__l="__l"></app-goods-marketing></view></block><block wx:if="{{detail}}"><view class="data-v-662b5c72"><app-goods-detail vue-id="{{('a93318f0-10')+','+('a93318f0-1')}}" goods="{{detail}}" class="data-v-662b5c72" bind:__l="__l"></app-goods-detail></view></block><view class="recommend data-v-662b5c72"><app-goods-recommend vue-id="{{('a93318f0-11')+','+('a93318f0-1')}}" is_show_member="{{false}}" sureCart="{{false}}" goods-list="{{recommend_list}}" activity="{{activity}}" class="data-v-662b5c72" bind:__l="__l"></app-goods-recommend></view><view class="data-v-662b5c72"><app-empty-bottom vue-id="{{('a93318f0-12')+','+('a93318f0-1')}}" height="{{$root.m0}}" class="data-v-662b5c72" bind:__l="__l"></app-empty-bottom></view><view class="data-v-662b5c72"><app-iphone-x vue-id="{{('a93318f0-13')+','+('a93318f0-1')}}" class="data-v-662b5c72" bind:__l="__l" vue-slots="{{['empty-area']}}"><view class="app-bottom dir-left-nowrap data-v-662b5c72" slot="empty-area"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="dir-top-nowrap main-center cross-center little box-grow-0 data-v-662b5c72" bindtap="__e"><image src="/static/image/icon/index.png" class="data-v-662b5c72"></image><view class="data-v-662b5c72">首页</view></view><view data-event-opts="{{[['tap',[['favorite',['$event']]]]]}}" class="dir-top-nowrap main-center cross-center little box-grow-0 data-v-662b5c72" bindtap="__e"><image src="{{detail.favorite?'/static/image/icon/icon-favorite-active.png':'/static/image/icon/icon-favorite.png'}}" class="data-v-662b5c72"></image><view class="data-v-662b5c72">收藏</view></view><block wx:if="{{detail.goods_num==0}}"><view class="box-grow-1 dir-left-nowrap data-v-662b5c72" style="height:100%;"><view class="main-center cross-center button data-v-662b5c72" style="width:100%;background-color:#CDCDCD;color:#fff;">已售罄</view></view></block><block wx:else><view class="box-grow-1 dir-left-nowrap data-v-662b5c72" style="height:100%;"><block wx:if="{{activity_status===1}}"><view data-event-opts="{{[['tap',[['clickAttr',[1]]]]]}}" class="secondary-background main-center cross-center button data-v-662b5c72" style="background-color:#f39800;" bindtap="__e">加入凑单池</view><view data-event-opts="{{[['tap',[['clickAttr',['$event']]]]]}}" class="background main-center cross-center button data-v-662b5c72" style="background-color:#ff4544;" bindtap="__e">返回凑单池</view></block><block wx:else><view class="background main-center cross-center button data-v-662b5c72" style="background-color:#999999;width:100%;">活动已结束</view></block></view></block></view></app-iphone-x></view></view></block></app-layout>