goods.wxml 4.2 KB

1
  1. <app-layout vue-id="5a71b3b8-1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!goods}}"><view class="u-goods-detail"></view></block><block wx:if="{{goods}}"><view hidden="{{!(loading)}}" class="app-goods"><app-banner vue-id="{{('5a71b3b8-2')+','+('5a71b3b8-1')}}" videoUrl="{{goods.video_url}}" share="{{goods.share}}" picList="{{goods.pic_url}}" goods_id="{{goods_id}}" isCart="{{false}}" sign="exchange" bind:__l="__l"></app-banner><bd-info vue-id="{{('5a71b3b8-3')+','+('5a71b3b8-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}}" app-share-pic="{{goods.app_share_pic}}" app-share-title="{{goods.app_share_title}}" poster-config="{{posterConfig}}" poster-generate="{{posterGenerate}}" has-poster-nav="{{true}}" goods="{{goods}}" share-url="{{url}}" has-underline-price="{{false}}" min-number="{{0}}" limit-buy="{{goods.limit_buy}}" data-event-opts="{{[['^share',[['hShareAppMessage']]]]}}" bind:share="__e" bind:__l="__l"></bd-info><block wx:if="{{goods.goods_coupon_center}}"><bd-coupon vue-id="{{('5a71b3b8-4')+','+('5a71b3b8-1')}}" theme="{{getTheme}}" coupons="{{goods.goods_coupon_center}}" data-event-opts="{{[['^change',[['setCoupon']]]]}}" bind:change="__e" bind:__l="__l"></bd-coupon></block><block wx:if="{{goods}}"><bd-xbc vue-id="{{('5a71b3b8-5')+','+('5a71b3b8-1')}}" coAttr="{{false}}" guarantee-title="{{goods.guarantee_title}}" guarantee-pic="{{goods.guarantee_pic}}" param_content="{{goods.param_content}}" param_name="{{goods.param_name}}" services="{{goods.services}}" bind:__l="__l"></bd-xbc></block><block wx:if="{{goods.goods_marketing_award}}"><bd-hc vue-id="{{('5a71b3b8-6')+','+('5a71b3b8-1')}}" integral="{{goods.goods_marketing_award.integral}}" coupon="{{goods.goods_marketing_award.coupon}}" card="{{goods.goods_marketing_award.card}}" balance="{{goods.goods_marketing_award.balance}}" theme="{{getTheme}}" bind:__l="__l"></bd-hc></block><block wx:if="{{goods_id>0}}"><bd-comments vue-id="{{('5a71b3b8-7')+','+('5a71b3b8-1')}}" goods-id="{{goods_id}}" bind:__l="__l"></bd-comments></block><bd-detail vue-id="{{('5a71b3b8-8')+','+('5a71b3b8-1')}}" detail="{{goods.detail}}" bind:__l="__l"></bd-detail><view class="safe-area-inset-bottom"><view class="{{[uBottomHeight]}}"></view></view><block wx:if="{{is_open}}"><view class="safe-area-inset-bottom u-bottom-fixed"><block wx:if="{{full_reduce}}"><view><app-goods-full-reduce vue-id="{{('5a71b3b8-9')+','+('5a71b3b8-1')}}" theme="{{getTheme}}" full_reduce="{{full_reduce}}" bind:__l="__l"></app-goods-full-reduce></view></block><block wx:if="{{goods.sell_time>0}}"><view><app-sell-tip vue-id="{{('5a71b3b8-10')+','+('5a71b3b8-1')}}" time="{{goods.sell_time}}" data-event-opts="{{[['^changeTime',[['changeTime']]]]}}" bind:changeTime="__e" bind:__l="__l"></app-sell-tip></view></block><app-jump-button vue-id="{{('5a71b3b8-11')+','+('5a71b3b8-1')}}" form="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="buttons dir-left-nowrap"><view class="app-button main-center cross-center"><block wx:if="{{goods.goods_num>0&&!goods.is_finish_sell}}"><view data-event-opts="{{[['tap',[['toExchange',['$event']]]]]}}" class="app-exhange" style="{{'background:'+(!goods||goods.buy_goods_auth?getTheme.background_gradient_btn:'#999999')+';'}}" bindtap="__e">{{''+rightRemindText+''}}</view></block><block wx:else><view class="{{['app-over',disableBtn]}}">{{''+disableBtnText+''}}</view></block></view></view></app-jump-button></view></block></view></block><block wx:if="{{showClose}}"><app-close vue-id="{{('5a71b3b8-12')+','+('5a71b3b8-1')}}" modal="{{false}}" data-event-opts="{{[['^update',[['getMall']]]]}}" bind:update="__e" bind:__l="__l"></app-close></block></app-layout>