goods.wxml 6.5 KB

1
  1. <app-layout vue-id="44981883-1" class="data-v-4c8904e3" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!goods}}"><view class="u-goods-detail data-v-4c8904e3"></view></block><block wx:if="{{goods}}"><app-banner vue-id="{{('44981883-2')+','+('44981883-1')}}" videoUrl="{{goods.video_url}}" share="{{goods.share}}" picList="{{goods.pic_url}}" goods_id="{{goods_id}}" sign="miaosha" class="data-v-4c8904e3" bind:__l="__l"></app-banner><app-goods-time vue-id="{{('44981883-3')+','+('44981883-1')}}" day="{{day}}" second="{{second}}" minute="{{minute}}" hour="{{hour}}" theme="{{getTheme}}" miaosha_status="{{miaosha_status}}" class="data-v-4c8904e3" bind:__l="__l"></app-goods-time><bd-info vue-id="{{('44981883-4')+','+('44981883-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="{{poster_config}}" poster-generate="{{poster_generate}}" has-poster-nav="{{true}}" goods="{{goods}}" share-url="{{url}}" limit-buy="{{goods.limit_buy}}" min-number="{{goods.min_number}}" data-event-opts="{{[['^share',[['hShareAppMessage']]]]}}" bind:share="__e" class="data-v-4c8904e3" bind:__l="__l"></bd-info><bd-coupon vue-id="{{('44981883-5')+','+('44981883-1')}}" theme="{{getTheme}}" coupons="{{goods.goods_coupon_center}}" data-event-opts="{{[['^change',[['setCoupon']]]]}}" bind:change="__e" class="data-v-4c8904e3" bind:__l="__l"></bd-coupon><bd-xbc vue-id="{{('44981883-6')+','+('44981883-1')}}" coAttr="{{is_open}}" attr-list="{{selectAttr&&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}}" data-event-opts="{{[['^openAttr',[['takeCart']]]]}}" bind:openAttr="__e" class="data-v-4c8904e3" bind:__l="__l"></bd-xbc><bd-hc vue-id="{{('44981883-7')+','+('44981883-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}}" class="data-v-4c8904e3" bind:__l="__l"></bd-hc><bd-kb vue-id="{{('44981883-8')+','+('44981883-1')}}" limit="{{goods.goods_marketing.limit}}" express="{{goods.express}}" shipping="{{goods.goods_marketing.shipping}}" pickup="{{goods.goods_marketing.pickup}}" class="data-v-4c8904e3" bind:__l="__l"></bd-kb><bd-comments vue-id="{{('44981883-9')+','+('44981883-1')}}" goods-id="{{goods.id}}" class="data-v-4c8904e3" bind:__l="__l"></bd-comments><bd-detail vue-id="{{('44981883-10')+','+('44981883-1')}}" detail="{{goods.detail}}" class="data-v-4c8904e3" bind:__l="__l"></bd-detail><app-related-suggestion-product vue-id="{{('44981883-11')+','+('44981883-1')}}" theme="{{getTheme}}" list="{{list}}" class="data-v-4c8904e3" bind:__l="__l"></app-related-suggestion-product><view class="safe-area-inset-bottom data-v-4c8904e3"><view class="{{['u-bottom-height','data-v-4c8904e3',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 data-v-4c8904e3"><block wx:if="{{full_reduce}}"><view class="data-v-4c8904e3"><app-goods-full-reduce vue-id="{{('44981883-12')+','+('44981883-1')}}" theme="{{getTheme}}" full_reduce="{{full_reduce}}" class="data-v-4c8904e3" bind:__l="__l"></app-goods-full-reduce></view></block><view class="bd-bottom dir-left-nowrap cross-center data-v-4c8904e3"><view data-event-opts="{{[['tap',[['router',['/pages/index/index']]]]]}}" class="bd-back dir-top-nowrap main-center cross-center box-grow-0 data-v-4c8904e3" bindtap="__e"><image class="bd-icon data-v-4c8904e3" src="../../../static/image/icon/index.png"></image><text class="bd-text data-v-4c8904e3">首页</text></view><bd-service vue-id="{{('44981883-13')+','+('44981883-1')}}" name="{{goods.name}}" url="{{webUrl}}" class="data-v-4c8904e3" bind:__l="__l"></bd-service><block wx:if="{{goods.goods_stock>0}}"><block wx:if="{{miaosha_status===1}}"><view class="box-grow-1 dir-left-nowrap data-v-4c8904e3"><view data-event-opts="{{[['tap',[['takeCart',['$event']]]]]}}" class="bd-btn bd-btn-left bd-btn-half data-v-4c8904e3" style="{{'background:'+(goods.buy_goods_auth?getTheme.background_s_gradient_btn:'#999999')+';'+('color:'+(goods.buy_goods_auth?getTheme.secondary_text:'')+';')}}" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['takeCart',['$event']]]]]}}" class="bd-btn bd-btn-half bd-btn-right bd-btn-color data-v-4c8904e3" style="{{'background:'+(goods.buy_goods_auth?getTheme.background_gradient_btn:'#999999')+';'+('color:'+(goods.buy_goods_auth?getTheme.main_text:'')+';')}}" bindtap="__e">立即购买</view></view></block><block wx:else><block wx:if="{{miaosha_status===2}}"><view class="bd-btn bd-oversell-btn box-grow-1 bd-btn-color data-v-4c8904e3">活动未开始</view></block><block wx:else><block wx:if="{{miaosha_status===0}}"><view class="bd-btn bd-oversell-btn box-grow-1 bd-btn-color data-v-4c8904e3">活动已结束</view></block></block></block></block><block wx:else><view class="box-grow-1 bd-btn bd-oversell-btn bd-btn-color data-v-4c8904e3">已售罄</view></block></view></view></block><block wx:if="{{miaosha_status===1}}"><u-attr vue-id="{{('44981883-14')+','+('44981883-1')}}" theme="{{getTheme}}" goods="{{goods}}" checked="{{selectAttr}}" leftFunc="{{true}}" rightFunc="{{true}}" value="{{show}}" data-event-opts="{{[['^check',[['attrtap']]],['^leftFunc',[['leftFunc']]],['^rightFunc',[['rightFunc']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:check="__e" bind:leftFunc="__e" bind:rightFunc="__e" bind:input="__e" class="data-v-4c8904e3" bind:__l="__l"></u-attr></block></block><block wx:if="{{showClose}}"><app-close vue-id="{{('44981883-15')+','+('44981883-1')}}" modal="{{false}}" data-event-opts="{{[['^update',[['getMall']]]]}}" bind:update="__e" class="data-v-4c8904e3" bind:__l="__l"></app-close></block></app-layout>