goods.wxml 4.8 KB

1
  1. <app-layout vue-id="ec050c6a-1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!goods||!getTheme}}"><view class="u-goods-detail"></view></block><block wx:if="{{goods&&getTheme.color}}"><view class="goods"><view class="page-width"><app-goods-banner vue-id="{{('ec050c6a-2')+','+('ec050c6a-1')}}" picList="{{goods.pic_url}}" videoUrl="{{goods.video_url}}" isCart="{{false}}" goods_id="{{goods_id}}" sign="gift" share="{{goods.share}}" bind:__l="__l"></app-goods-banner></view><bd-info vue-id="{{('ec050c6a-3')+','+('ec050c6a-1')}}" theme="{{getTheme}}" name="{{goods.name}}" is-negotiable="{{goods.is_negotiable}}" subtitle="{{goods.subtitle}}" level-show="{{goods.level_show}}" price="{{goods.price}}" original-price="{{goods.original_price}}" price-max="{{goods.price_max}}" price-min="{{goods.price_min}}" price-member-max="{{goods.price_member_max}}" price-member-min="{{goods.price_member_min}}" discount="{{discount}}" is-vip-card-user="{{is_vip_card_user}}" sales="{{goods.sales}}" unit="{{goods.unit}}" is-sales="{{goods.is_sales}}" is-vip="{{is_vip}}" flash-sale="{{flash_sale}}" goods-id="{{goods.id}}" extra-quick-share="{{goods.extra_quick_share}}" has-poster-nav="{{true}}" goods="{{goods}}" is-show-share="{{false}}" limit-buy="{{goods.limit_buy}}" min-number="{{goods.min_number}}" data-event-opts="{{[['^share',[['hShareAppMessage']]]]}}" bind:share="__e" bind:__l="__l" vue-slots="{{['share']}}"><button class="bd-share" slot="share" open-type="share"><image src="/plugins/gift/image/begging-gift.png"></image></button></bd-info><bd-coupon vue-id="{{('ec050c6a-4')+','+('ec050c6a-1')}}" theme="{{getTheme}}" coupons="{{goods.goods_coupon_center}}" data-event-opts="{{[['^change',[['setCoupon']]]]}}" bind:change="__e" bind:__l="__l"></bd-coupon><bd-xbc vue-id="{{('ec050c6a-5')+','+('ec050c6a-1')}}" coAttr="{{is_open}}" attr-list="{{selectAttr.attr_list}}" type="{{goods.type}}" guarantee-title="{{goods.guarantee_title}}" guarantee-pic="{{goods.guarantee_pic}}" param_content="{{goods.param_content}}" param_name="{{goods.param_name}}" services="{{goods.services}}" attr-groups="{{goods.attr_groups}}" goods-stock="{{goods.goods_stock}}" data-event-opts="{{[['^openAttr',[['clickAttr']]]]}}" bind:openAttr="__e" bind:__l="__l"></bd-xbc><bd-hc vue-id="{{('ec050c6a-6')+','+('ec050c6a-1')}}" integral="{{goods.goods_marketing_award&&goods.goods_marketing_award.integral}}" coupon="{{goods.goods_marketing_award&&goods.goods_marketing_award.coupon}}" card="{{goods.goods_marketing_award&&goods.goods_marketing_award.card}}" balance="{{goods.goods_marketing_award&&goods.goods_marketing_award.balance}}" theme="{{getTheme}}" bind:__l="__l"></bd-hc><bd-kb vue-id="{{('ec050c6a-7')+','+('ec050c6a-1')}}" limit="{{goods.goods_marketing&&goods.goods_marketing.limit}}" express="{{goods.express}}" shipping="{{goods.goods_marketing&&goods.goods_marketing.shipping}}" pickup="{{goods.goods_marketing&&goods.goods_marketing.pickup}}" bind:__l="__l"></bd-kb><bd-comments vue-id="{{('ec050c6a-8')+','+('ec050c6a-1')}}" goods-id="{{goods.id}}" bind:__l="__l"></bd-comments><bd-detail vue-id="{{('ec050c6a-9')+','+('ec050c6a-1')}}" detail="{{goods.detail}}" bind:__l="__l"></bd-detail><block wx:if="{{goods_list.length>0}}"><view class="app-recommend"><app-related-suggestion-product vue-id="{{('ec050c6a-10')+','+('ec050c6a-1')}}" list="{{goods_list}}" sign="gift" theme="{{getTheme}}" bind:__l="__l"></app-related-suggestion-product></view></block><view class="safe-area-inset-bottom"><view class="{{['u-bottom-height',full_reduce?'u-bottom-height-1':'u-bottom-height-0']}}"></view></view><block wx:if="{{is_open==1}}"><view class="safe-area-inset-bottom u-bottom-fixed"><block wx:if="{{full_reduce}}"><view><app-goods-full-reduce vue-id="{{('ec050c6a-11')+','+('ec050c6a-1')}}" theme="{{getTheme}}" full_reduce="{{full_reduce}}" sign="gift" bind:__l="__l"></app-goods-full-reduce></view></block><bottom-button vue-id="{{('ec050c6a-12')+','+('ec050c6a-1')}}" name="{{goods.name}}" url="{{webUrl}}" theme="{{getTheme}}" attr_bool="{{attr_bool}}" goods_stock="{{goods.goods_stock}}" join_disabled="{{join_disabled}}" data-event-opts="{{[['^attrSwitch',[['clickAttr']]]]}}" bind:attrSwitch="__e" bind:__l="__l"></bottom-button></view></block><u-attr vue-id="{{('ec050c6a-13')+','+('ec050c6a-1')}}" theme="{{getTheme}}" is_show_left="{{false}}" checked="{{selectAttr}}" rightFunc="{{true}}" goods="{{goods}}" sign="gift" rightText="加入礼包" value="{{attrShow}}" data-event-opts="{{[['^check',[['onAttr']]],['^rightFunc',[['pay']]],['^input',[['__set_model',['','attrShow','$event',[]]]]]]}}" bind:check="__e" bind:rightFunc="__e" bind:input="__e" bind:__l="__l"></u-attr></view></block><block wx:if="{{showClose}}"><app-close vue-id="{{('ec050c6a-14')+','+('ec050c6a-1')}}" modal="{{false}}" data-event-opts="{{[['^update',[['getMall']]]]}}" bind:update="__e" bind:__l="__l"></app-close></block></app-layout>