goods.wxml 3.7 KB

1
  1. <app-layout vue-id="ec050c6a-1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{loading}}"><view class="goods"><view class="page-width"><app-goods-banner vue-id="{{('ec050c6a-2')+','+('ec050c6a-1')}}" picList="{{goods_detail.pic_url}}" videoUrl="{{goods_detail.video_url}}" isCart="{{false}}" goods_id="{{goods_id}}" sign="gift" share="{{goods_detail.share}}" bind:__l="__l"></app-goods-banner></view><view class="page-width name"><app-name vue-id="{{('ec050c6a-3')+','+('ec050c6a-1')}}" name="{{goods_detail.name}}" bind:__l="__l"></app-name></view><view class="detail-parameter"><detail-parameter vue-id="{{('ec050c6a-4')+','+('ec050c6a-1')}}" price="{{goods_detail.price}}" price_min="{{goods_detail.price_min}}" price_max="{{goods_detail.price_max}}" price_member_max="{{goods_detail.price_member_max}}" price_member_min="{{goods_detail.price_member_min}}" original_price="{{goods_detail.original_price}}" sales="{{goods_detail.sales}}" unit="{{goods_detail.unit}}" level_show="{{goods_detail.level_show}}" vip_card_appoint="{{goods_detail.vip_card_appoint}}" theme="{{theme}}" bind:__l="__l"></detail-parameter></view><block wx:if="{{goods_detail.level_show==2}}"><view class="join-member"><app-join-member vue-id="{{('ec050c6a-5')+','+('ec050c6a-1')}}" member-min-price="{{''+goods_detail.price_member_min}}" member-max-price="{{''+goods_detail.price_member_max}}" price="{{''+goods_detail.price}}" bind:__l="__l"></app-join-member></view></block><block wx:if="{{goods_detail.vip_card_appoint.discount!=null}}"><view class="vip-card"><app-vip-card vue-id="{{('ec050c6a-6')+','+('ec050c6a-1')}}" isNormal="{{mall.setting.is_show_normal_vip==0?false:true}}" top="0" background="#fff" bind:__l="__l"></app-vip-card></view></block><block wx:if="{{goods_detail.services.length>0}}"><view class="commodity-service"><app-goods-service vue-id="{{('ec050c6a-7')+','+('ec050c6a-1')}}" list="{{goods_detail.services}}" border="{{false}}" setTheme="{{theme}}" bind:__l="__l"></app-goods-service></view></block><view data-event-opts="{{[['tap',[['clickAttr',['$event']]]]]}}" class="show-attr" bindtap="__e"><show-attr vue-id="{{('ec050c6a-8')+','+('ec050c6a-1')}}" selectAttr="{{$root.a0}}" attrGroups="{{goods_detail.attr_groups}}" bind:__l="__l"></show-attr></view><view class="detailed-evaluation"><app-goods-detail vue-id="{{('ec050c6a-9')+','+('ec050c6a-1')}}" goods="{{goods_detail}}" bind:__l="__l"></app-goods-detail></view><block wx:if="{{goods_lis.length>0}}"><view class="app-recommend"><app-related-suggestion-product vue-id="{{('ec050c6a-10')+','+('ec050c6a-1')}}" sign="gift" list="{{goods_list}}" bind:__l="__l"></app-related-suggestion-product></view></block><view class="empty"><app-empty-bottom vue-id="{{('ec050c6a-11')+','+('ec050c6a-1')}}" height="{{$root.m0}}" bind:__l="__l"></app-empty-bottom></view><view class="specification-selector"><app-attr vue-id="{{('ec050c6a-12')+','+('ec050c6a-1')}}" goods="{{goods_detail}}" attrGroupList="{{goods_detail.attr_groups}}" show="{{attrShow}}" cartShow="{{false}}" theme="{{theme}}" buyText="加入礼包" noPay="{{true}}" data-event-opts="{{[['^attrtap',[['onAttr']]],['^pay',[['pay']]]]}}" bind:attrtap="__e" bind:pay="__e" bind:__l="__l"></app-attr></view><view class="bottom-button"><app-iphone-x vue-id="{{('ec050c6a-13')+','+('ec050c6a-1')}}" bind:__l="__l" vue-slots="{{['empty-area']}}"><view slot="empty-area"><bottom-button vue-id="{{('ec050c6a-14')+','+('ec050c6a-13')}}" theme="{{theme}}" attr_bool="{{attr_bool}}" goods_stock="{{goods_detail.goods_stock}}" join_disabled="{{join_disabled}}" data-event-opts="{{[['^attrSwitch',[['clickAttr']]]]}}" bind:attrSwitch="__e" bind:__l="__l"></bottom-button></view></app-iphone-x></view></view></block></app-layout>