goods.wxml 4.0 KB

1
  1. <app-layout vue-id="6840c83e-1" class="data-v-4af112ae" bind:__l="__l" vue-slots="{{['default']}}"><view hidden="{{!(loading)}}" class="{{['data-v-4af112ae',shareShow?'preventTouchMove':'']}}"><view class="data-v-4af112ae"><app-goods-banner vue-id="{{('6840c83e-2')+','+('6840c83e-1')}}" pic-list="{{goods.pic_url}}" share="{{goods.share}}" goods_id="{{goods.id}}" video-url="{{goods.video_url}}" class="data-v-4af112ae" bind:__l="__l"></app-goods-banner></view><view class="goods-name data-v-4af112ae">{{goods.name}}</view><view class="price main-between data-v-4af112ae"><view class="data-v-4af112ae"><view class="data-v-4af112ae">{{goods.integralMallGoods.integral_num+"积分"}}<block wx:if="{{goods.price>0}}"><block class="data-v-4af112ae">{{"+"+goods.price+"元"}}</block></block></view><block wx:if="{{isUnderlinePrice==1}}"><view class="original data-v-4af112ae">{{"¥"+goods.original_price}}</view></block></view><view data-event-opts="{{[['tap',[['shareClick',['$event']]]]]}}" class="share data-v-4af112ae" bindtap="__e"><image src="/static/image/icon/icon-share.png" class="data-v-4af112ae"></image><view class="data-v-4af112ae">分享</view></view></view><view class="data-v-4af112ae"><app-share-qr-code bind:input="__e" vue-id="{{('6840c83e-3')+','+('6840c83e-1')}}" url="{{shareUrl}}" value="{{shareShow}}" data-event-opts="{{[['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" class="data-v-4af112ae" bind:__l="__l"></app-share-qr-code></view><view class="data-v-4af112ae"><app-service vue-id="{{('6840c83e-4')+','+('6840c83e-1')}}" list="{{goods.services}}" class="data-v-4af112ae" bind:__l="__l"></app-service></view><view class="attr data-v-4af112ae"><app-attr vue-id="{{('6840c83e-5')+','+('6840c83e-1')}}" goods="{{goods}}" attrGroupList="{{goods.attr_groups}}" show="{{attrShow}}" cartShow="{{false}}" buyText="立即兑换" previewUrl="{{previewUrl}}" submitUrl="{{submitUrl}}" data-event-opts="{{[['^attrtap',[['onAttr']]]]}}" bind:attrtap="__e" class="data-v-4af112ae" bind:__l="__l" vue-slots="{{['button']}}"><view slot="button" class="data-v-4af112ae"><app-goods-attr vue-id="{{('6840c83e-6')+','+('6840c83e-5')}}" attr-groups="{{goods.attr_groups}}" selectAttr="{{selectAttr}}" class="data-v-4af112ae" bind:__l="__l"></app-goods-attr></view></app-attr></view><block wx:if="{{goods}}"><view class="marketing data-v-4af112ae"><app-goods-marketing vue-id="{{('6840c83e-7')+','+('6840c83e-1')}}" limit="{{goods.goods_marketing.limit}}" shipping="{{goods.goods_marketing.shipping}}" pickup="{{goods.goods_marketing.pickup}}" card="{{goods.goods_marketing_award.card}}" integral="{{goods.goods_marketing_award.integral}}" class="data-v-4af112ae" bind:__l="__l"></app-goods-marketing></view></block><view class="detail data-v-4af112ae"><image src="/static/image/icon/goods-detail.png" class="data-v-4af112ae"></image><view class="data-v-4af112ae"><app-rich-text vue-id="{{('6840c83e-8')+','+('6840c83e-1')}}" content="{{goods.detail}}" class="data-v-4af112ae" bind:__l="__l"></app-rich-text></view></view><view class="bottom data-v-4af112ae"></view><view class="data-v-4af112ae"><app-jump-button vue-id="{{('6840c83e-9')+','+('6840c83e-1')}}" class="data-v-4af112ae" bind:__l="__l"></app-jump-button></view><view class="{{['data-v-4af112ae','app-bottom dir-left-nowrap',''+(iphone_x?'iphone_x':'')]}}"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="dir-top-nowrap main-center cross-center little box-grow-0 data-v-4af112ae" bindtap="__e"><image src="/static/image/icon/index.png" class="data-v-4af112ae"></image><view class="data-v-4af112ae">首页</view></view><block wx:if="{{goods.goods_stock==0}}"><view class="dir-left-nowrap data-v-4af112ae"><view class="main-center cross-center button data-v-4af112ae" style="background-color:#CDCDCD;color:#fff;">已售罄</view></view></block><view class="dir-left-nowrap data-v-4af112ae"><view data-event-opts="{{[['tap',[['clickAttr',['$event']]]]]}}" class="{{['main-center cross-center button data-v-4af112ae',theme+'-background']}}" bindtap="__e">立即兑换</view></view></view></view></app-layout>