goods.wxml 6.3 KB

1
  1. <app-layout vue-id="752d3fdc-1" class="data-v-8d15e32c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{goods.id==''}}"><view class="u-goods-detail data-v-8d15e32c"></view></block><block wx:else><view class="app-goods data-v-8d15e32c"><app-banner vue-id="{{('752d3fdc-2')+','+('752d3fdc-1')}}" videoUrl="{{goods.video_url}}" share="{{goods.share}}" picList="{{goods.pic_url}}" goods_id="{{goods_id}}" isCart="{{false}}" sign="community" class="data-v-8d15e32c" bind:__l="__l"></app-banner><app-goods-time vue-id="{{('752d3fdc-3')+','+('752d3fdc-1')}}" day="{{day}}" second="{{second}}" minute="{{minute}}" hour="{{hour}}" theme="{{getTheme}}" status="{{activity.status}}" goods="{{goods}}" class="data-v-8d15e32c" bind:__l="__l"></app-goods-time><view class="other-info data-v-8d15e32c"><view class="t-omit-two goods-name data-v-8d15e32c">{{goods.name}}</view><block wx:if="{{goods.subtitle}}"><view class="goods-subtitle data-v-8d15e32c"><view class="t-omit-three data-v-8d15e32c">{{goods.subtitle}}</view></view></block><view class="middleman dir-top-nowrap main-center data-v-8d15e32c"><block wx:if="{{middleman.id>0}}"><view class="middleman-info dir-left-nowrap data-v-8d15e32c"><image class="avatar data-v-8d15e32c" src="{{middleman.avatar}}"></image><view class="user-info data-v-8d15e32c"><view class="t-omit data-v-8d15e32c" style="width:80%;">{{middleman.name}}</view><view class="t-omit-two middleman-address data-v-8d15e32c"><image class="icon data-v-8d15e32c" src="./../image/add.png"></image><text class="data-v-8d15e32c">{{"提货地址:"+middleman.province}}<block wx:if="{{middleman.province!=middleman.city}}"><text class="data-v-8d15e32c">{{middleman.city}}</text></block>{{middleman.district+middleman.detail}}</text></view></view></view></block><block wx:if="{{activity.status!=2}}"><view class="app-share data-v-8d15e32c"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="app-share-box dir-left-nowrap main-center cross-center data-v-8d15e32c" style="{{'background-color:'+(getTheme.background)+';'}}" bindtap="__e"><image class="app-icon box-grow-0 data-v-8d15e32c" src="/static/image/icon/icon-share-white.png"></image><text class="app-text box-grow-0 data-v-8d15e32c">分享</text></view></view></block></view><view class="data-v-8d15e32c"><bd-info-extra vue-id="{{('752d3fdc-4')+','+('752d3fdc-1')}}" unit="{{goods.unit}}" goods="{{goods}}" theme="{{getTheme}}" min-number="{{goods.min_number}}" limit-buy="{{goods.limit_buy}}" class="data-v-8d15e32c" bind:__l="__l"></bd-info-extra></view></view><bd-coupon vue-id="{{('752d3fdc-5')+','+('752d3fdc-1')}}" theme="{{getTheme}}" coupons="{{goods.goods_coupon_center}}" data-event-opts="{{[['^change',[['setCoupon']]]]}}" bind:change="__e" class="data-v-8d15e32c" bind:__l="__l"></bd-coupon><block wx:if="{{goods}}"><bd-xbc vue-id="{{('752d3fdc-6')+','+('752d3fdc-1')}}" coAttr="{{is_open}}" attr-list="{{checked?checked.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',[['joinCart']]]]}}" bind:openAttr="__e" class="data-v-8d15e32c" bind:__l="__l"></bd-xbc></block><bd-hc vue-id="{{('752d3fdc-7')+','+('752d3fdc-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-8d15e32c" bind:__l="__l"></bd-hc><bd-kb vue-id="{{('752d3fdc-8')+','+('752d3fdc-1')}}" limit="{{goods.goods_marketing.limit}}" express="{{goods.express}}" shipping="{{goods.goods_marketing.shipping}}" pickup="{{goods.goods_marketing.pickup}}" class="data-v-8d15e32c" bind:__l="__l"></bd-kb><bd-comments vue-id="{{('752d3fdc-9')+','+('752d3fdc-1')}}" goods-id="{{goods.id}}" class="data-v-8d15e32c" bind:__l="__l"></bd-comments><bd-detail vue-id="{{('752d3fdc-10')+','+('752d3fdc-1')}}" detail="{{goods.detail}}" class="data-v-8d15e32c" bind:__l="__l"></bd-detail><view class="safe-area-inset-bottom data-v-8d15e32c"><view class="u-bottom-height data-v-8d15e32c"></view></view><block wx:if="{{is_open==1}}"><view class="safe-area-inset-bottom u-bottom-fixed data-v-8d15e32c"><view class="bd-bottom dir-left-nowrap data-v-8d15e32c"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="bd-back dir-top-nowrap main-center cross-center box-grow-0 data-v-8d15e32c" bindtap="__e"><image class="bd-icon data-v-8d15e32c" src="./../image/activity.png"></image><text class="bd-text data-v-8d15e32c">活动</text></view><block wx:if="{{goods&&goods.goods_stock>0&&activity.status===1}}"><view data-event-opts="{{[['tap',[['joinCart',['$event']]]]]}}" class="'bd-btn box-grow-1 bd-btn-color data-v-8d15e32c" style="{{'background:'+(goods.buy_goods_auth?getTheme.background_gradient_btn:'#999999')+';'}}" bindtap="__e">加入购物车</view></block><block wx:else><view class="box-grow-1 bd-btn bd-oversell-btn bd-btn-color data-v-8d15e32c">加入购物车</view></block></view></view></block></view></block><block wx:if="{{showClose}}"><app-close vue-id="{{('752d3fdc-11')+','+('752d3fdc-1')}}" modal="{{false}}" data-event-opts="{{[['^update',[['getMall']]]]}}" bind:update="__e" class="data-v-8d15e32c" bind:__l="__l"></app-close></block><block wx:if="{{goods&&goods.goods_stock>0&&activity.status===1}}"><u-attr vue-id="{{('752d3fdc-12')+','+('752d3fdc-1')}}" goods="{{goods}}" theme="{{getTheme}}" checked="{{checked}}" is_show_left="{{false}}" right-func="{{true}}" right-text="加入购物车" value="{{show}}" data-event-opts="{{[['^rightFunc',[['rightFunc']]],['^check',[['check']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:rightFunc="__e" bind:check="__e" bind:input="__e" class="data-v-8d15e32c" bind:__l="__l"></u-attr></block><app-share-qr-code vue-id="{{('752d3fdc-13')+','+('752d3fdc-1')}}" url="{{url}}" goods="{{goods}}" poster-config="{{posterConfig}}" poster-generate="{{posterGenerate}}" has-poster-nav="{{hasPosterNav}}" value="{{shareShow}}" data-event-opts="{{[['^share',[['hShareAppMessage']]],['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-8d15e32c" bind:__l="__l"></app-share-qr-code></app-layout>