1 |
- <app-layout vue-id="31695f76-1" class="data-v-6a8ecce1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!goods}}"><view class="u-goods-detail data-v-6a8ecce1"></view></block><block wx:if="{{goods}}"><view class="app-goods data-v-6a8ecce1"><view class="banner data-v-6a8ecce1"><app-banner vue-id="{{('31695f76-2')+','+('31695f76-1')}}" videoUrl="{{goods.video_url}}" share="{{goods.share}}" picList="{{goods.pic_url}}" goods_id="{{goods_id}}" sign="flash_sale" class="data-v-6a8ecce1" bind:__l="__l"></app-banner></view><view class="f-timing data-v-6a8ecce1"><view class="f-image data-v-6a8ecce1" style="{{'background-color:'+(getTheme.background)+';'}}"></view><view class="f-activity data-v-6a8ecce1" style="{{'color:'+(getTheme.color)+';'}}">{{''+(goods.discount_type===1?goods.min_discount+'折':'减'+goods.min_discount+'元')+''}}</view><view class="f-content dir-top-nowrap data-v-6a8ecce1"><block wx:if="{{activity_status===0}}"><view class="app-text data-v-6a8ecce1">距离开始仅剩</view></block><block wx:else><block wx:if="{{activity_status===1}}"><view class="app-text data-v-6a8ecce1">距离结束仅剩</view></block><block wx:else><block wx:if="{{activity_status===2}}"><view class="app-text over-text data-v-6a8ecce1">活动已结束</view></block></block></block><block wx:if="{{activity_status!==2}}"><view class="app-time cross-center main-around data-v-6a8ecce1"><text class="app-num app-right data-v-6a8ecce1">{{time_str.day}}</text><text class="data-v-6a8ecce1">天</text><text class="app-num app-right data-v-6a8ecce1">{{time_str.hou}}</text><text class="data-v-6a8ecce1">时</text><text class="app-num app-right data-v-6a8ecce1">{{time_str.min}}</text><text class="data-v-6a8ecce1">分</text><text class="app-num app-right data-v-6a8ecce1">{{time_str.sec}}</text><text class="data-v-6a8ecce1">秒</text></view></block></view></view><bd-info vue-id="{{('31695f76-3')+','+('31695f76-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}}" 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+'&goods_id='+goods.id}}" poster-generate="{{poster_generate+'&goods_id='+goods.id}}" has-poster-nav="{{true}}" goods="{{goods}}" min-number="{{goods.min_number}}" limit-buy="{{goods.limit_buy}}" data-event-opts="{{[['^quickShare',[['quickShare']]],['^share',[['hShareAppMessage']]]]}}" bind:quickShare="__e" bind:share="__e" class="data-v-6a8ecce1" bind:__l="__l"></bd-info><bd-coupon vue-id="{{('31695f76-4')+','+('31695f76-1')}}" theme="{{getTheme}}" coupons="{{goods.goods_coupon_center}}" data-event-opts="{{[['^change',[['setCoupon']]]]}}" bind:change="__e" class="data-v-6a8ecce1" bind:__l="__l"></bd-coupon><bd-xbc vue-id="{{('31695f76-5')+','+('31695f76-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}}" co-attr="{{activity_status}}" data-event-opts="{{[['^openAttr',[['joinCart']]]]}}" bind:openAttr="__e" class="data-v-6a8ecce1" bind:__l="__l"></bd-xbc><bd-hc vue-id="{{('31695f76-6')+','+('31695f76-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-6a8ecce1" bind:__l="__l"></bd-hc><bd-kb vue-id="{{('31695f76-7')+','+('31695f76-1')}}" limit="{{goods.goods_marketing.limit}}" express="{{goods.express}}" shipping="{{goods.goods_marketing.shipping}}" pickup="{{goods.goods_marketing.pickup}}" class="data-v-6a8ecce1" bind:__l="__l"></bd-kb><bd-comments vue-id="{{('31695f76-8')+','+('31695f76-1')}}" goods-id="{{goods.id}}" class="data-v-6a8ecce1" bind:__l="__l"></bd-comments><bd-detail vue-id="{{('31695f76-9')+','+('31695f76-1')}}" detail="{{goods.detail}}" class="data-v-6a8ecce1" bind:__l="__l"></bd-detail><block wx:if="{{list.length>0}}"><app-related-suggestion-product vue-id="{{('31695f76-10')+','+('31695f76-1')}}" theme="{{getTheme}}" list="{{list}}" class="data-v-6a8ecce1" bind:__l="__l"></app-related-suggestion-product></block><view class="safe-area-inset-bottom data-v-6a8ecce1"><view class="{{['u-bottom-height','data-v-6a8ecce1',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-6a8ecce1"><block wx:if="{{full_reduce}}"><view class="data-v-6a8ecce1"><app-goods-full-reduce vue-id="{{('31695f76-11')+','+('31695f76-1')}}" theme="{{getTheme}}" sign="flash_sale" full_reduce="{{full_reduce}}" class="data-v-6a8ecce1" bind:__l="__l"></app-goods-full-reduce></view></block><view class="bd-bottom dir-left-nowrap cross-center data-v-6a8ecce1"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="bd-back dir-top-nowrap main-center cross-center box-grow-0 data-v-6a8ecce1" bindtap="__e"><image class="bd-icon data-v-6a8ecce1" src="../../../static/image/icon/index.png"></image><text class="bd-text data-v-6a8ecce1">首页</text></view><bd-service vue-id="{{('31695f76-12')+','+('31695f76-1')}}" name="{{goods.name}}" url="{{webUrl}}" class="data-v-6a8ecce1" bind:__l="__l"></bd-service><block wx:if="{{goods.goods_stock==0}}"><view class="bd-button box-grow-1 bd-oversell-btn data-v-6a8ecce1">已售罄</view></block><block wx:else><block wx:if="{{activity_status===1}}"><view class="dir-left-nowrap box-grow-1 data-v-6a8ecce1"><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="bd-btn-half bd-button bd-btn-left data-v-6a8ecce1" style="{{'background:'+(!goods||goods.buy_goods_auth?getTheme.background_s_gradient_btn:'#999999')+';'+('color:'+(!goods||goods.buy_goods_auth?getTheme.secondary_text:'')+';')}}" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="bd-btn-half bd-button bd-btn-right data-v-6a8ecce1" 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:if="{{activity_status===0}}"><view class="dir-left-nowrap box-grow-1 data-v-6a8ecce1"><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="bd-btn-half bd-button bd-btn-left data-v-6a8ecce1" style="{{'background:'+(!goods||goods.buy_goods_auth?getTheme.background_s_gradient_btn:'#999999')+';'+('color:'+(!goods||goods.buy_goods_auth?getTheme.secondary_text:'')+';')}}" bindtap="__e">加入购物车</view><view class="dir-top-nowrap bd-button bd-btn-right bd-btn-half main-center cross-center data-v-6a8ecce1" style="background:#999999;line-height:1;"><view style="font-size:28rpx;" class="data-v-6a8ecce1">{{$root.f0}}</view><view style="font-size:20rpx;" class="data-v-6a8ecce1">{{$root.f1}}</view></view></view></block><block wx:if="{{activity_status===2}}"><view class="bd-button bd-oversell-btn box-grow-1 data-v-6a8ecce1">活动已结束</view></block></block></view></view></block><u-attr vue-id="{{('31695f76-13')+','+('31695f76-1')}}" goods="{{goods}}" theme="{{getTheme}}" checked="{{selectAttr}}" rightFunc="{{true}}" leftFunc="{{true}}" is_show_right="{{activity_status===1}}" value="{{show}}" data-event-opts="{{[['^check',[['onAttr']]],['^leftFunc',[['leftFunc']]],['^rightFunc',[['rightFunc']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:check="__e" bind:leftFunc="__e" bind:rightFunc="__e" bind:input="__e" class="data-v-6a8ecce1" bind:__l="__l"></u-attr></view></block><block wx:if="{{showClose}}"><app-close vue-id="{{('31695f76-14')+','+('31695f76-1')}}" modal="{{false}}" data-event-opts="{{[['^update',[['getMall']]]]}}" bind:update="__e" class="data-v-6a8ecce1" bind:__l="__l"></app-close></block></app-layout>
|