address.wxml 4.5 KB

1
  1. <app-layout vue-id="7f7f84cf-1" class="data-v-fb03eeea" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{loading}}"><view class="address data-v-fb03eeea"><app-submit-address vue-id="{{('7f7f84cf-2')+','+('7f7f84cf-1')}}" previewData="{{previewData}}" theme="{{theme}}" address="{{address}}" name="{{name}}" mobile="{{mobile}}" goods_id="{{goods_id}}" user_order_id="{{user_order_id}}" store_list="{{store_list}}" store_index="{{store_index}}" send_type="{{send_type}}" goods="{{goods}}" remark="{{remark}}" store="{{store}}" mch="{{mch}}" dis_send_type="{{dis_send_type}}" diyForm="{{diyForm}}" template_message_captain="{{template_message_captain}}" data-event-opts="{{[['^setMethod',[['setMethod']]],['^city',[['city']]],['^delivery',[['delivery']]],['^express',[['express']]]]}}" bind:setMethod="__e" bind:city="__e" bind:delivery="__e" bind:express="__e" class="data-v-fb03eeea" bind:__l="__l"></app-submit-address><view class="some-good data-v-fb03eeea"><block wx:for="{{goods}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="goods dir-left-nowrap data-v-fb03eeea"><image class="pic data-v-fb03eeea" src="{{item.cover_pic}}"></image><view class="content dir-top-nowrap main-left data-v-fb03eeea"><text class="name t-omit-two data-v-fb03eeea">{{''+item.name+''}}</text><text class="attr t-omit data-v-fb03eeea">{{''+item.attr+''}}</text><text class="number data-v-fb03eeea">{{"×"+item.num}}</text></view></view></block></view><block wx:if="{{mch.express_price!=0}}"><view class="freight dir-left-nowrap main-between cross-center data-v-fb03eeea"><text class="text data-v-fb03eeea">运费</text><text class="{{['data-v-fb03eeea',theme+'-color']}}">{{"¥"+mch.express_price}}</text></view></block><block wx:if="{{mch.order_form&&mch.order_form.status=='1'}}"><view class="data-v-fb03eeea"><app-diy-form vue-id="{{('7f7f84cf-3')+','+('7f7f84cf-1')}}" title="{{mch.order_form.name}}" list="{{mch.order_form.value}}" sign="{{mchIndex}}" label-position="top" show-scroll-btn="{{mch.order_form.show_scroll}}" data-event-opts="{{[['^input',[['diyFormInput']]]]}}" bind:input="__e" class="data-v-fb03eeea" bind:__l="__l"></app-diy-form></view></block><block wx:else><block wx:if="{{mch.show_remark!==false&&mch.has_goods_form!==true}}"><view class="leave-message data-v-fb03eeea"><textarea class="textarea data-v-fb03eeea" placeholder-class="place" placeholder="备注留言" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view></block></block><block wx:if="{{mch.has_goods_form}}"><view style="padding:24rpx;color:#666666;" class="data-v-fb03eeea">自定义表单</view><block wx:for="{{mch.goods_list}}" wx:for-item="goodsItem" wx:for-index="goodsIndex" wx:key="goodsIndex"><block wx:if="{{goodsItem.form&&!goodsItem.form.same_form}}"><view style="margin-bottom:20rpx;" class="data-v-fb03eeea"><block wx:if="{{mch.diff_goods_form_count!==1}}"><view class="goods-list some-good data-v-fb03eeea"><block wx:for="{{mch.goods_list}}" wx:for-item="subGoodsItem" wx:for-index="subGoodsIndex" wx:key="subGoodsIndex"><block wx:if="{{subGoodsItem.form&&subGoodsItem.form.id==goodsItem.form.id}}"><view class="goods dir-left-nowrap data-v-fb03eeea"><image class="pic data-v-fb03eeea" src="{{subGoodsItem.goods_attr.pic_url?subGoodsItem.goods_attr.pic_url:subGoodsItem.cover_pic}}"></image><view class="box-grow-1 content data-v-fb03eeea"><view class="goods-name data-v-fb03eeea">{{subGoodsItem.name}}</view><view class="dir-left-wrap attr-list data-v-fb03eeea"><block wx:for="{{subGoodsItem.attr_list}}" wx:for-item="attrItem" wx:for-index="attrIndex" wx:key="attrIndex"><view class="attr-item attr data-v-fb03eeea">{{''+attrItem.attr_group_name+":"+attrItem.attr_name+''}}</view></block></view><view class="dir-left-nowrap data-v-fb03eeea"><view class="box-grow-1 goods-num number data-v-fb03eeea">{{"×"+subGoodsItem.num}}</view></view></view></view></block></block></view></block><app-diy-form vue-id="{{('7f7f84cf-4-'+goodsIndex)+','+('7f7f84cf-1')}}" list="{{goodsItem.form.value}}" sign="{{'0,'+goodsIndex+','+goodsItem.form.id}}" data-event-opts="{{[['^input',[['handleGoodsFormInput']]],['^validate',[['handleGoodsFormValidate']]]]}}" bind:input="__e" bind:validate="__e" class="data-v-fb03eeea" bind:__l="__l"></app-diy-form></view></block></block></block><view class="page-width empty data-v-fb03eeea"><app-empty-bottom vue-id="{{('7f7f84cf-5')+','+('7f7f84cf-1')}}" backgroundColor="#f7f7f7" height="{{$root.m0}}" class="data-v-fb03eeea" bind:__l="__l"></app-empty-bottom></view></view></block></app-layout>