address.wxml 2.4 KB

1
  1. <view class="address data-v-db675620"><view class="main data-v-db675620"><van-cell-group vue-id="91826bd4-1" data-com-type="wx" class="data-v-db675620" bind:__l="__l" vue-slots="{{['default']}}"><van-field vue-id="{{('91826bd4-2')+','+('91826bd4-1')}}" label="姓名" value="{{addressInfo.receiver}}" placeholder="收货人姓名" data-event-opts="{{[['^change',[['onChange1']]]]}}" data-com-type="wx" bind:change="__e" class="data-v-db675620" bind:__l="__l"></van-field><van-field vue-id="{{('91826bd4-3')+','+('91826bd4-1')}}" label="电话" value="{{addressInfo.mobile}}" placeholder="收货人手机号" data-com-type="wx" class="data-v-db675620" bind:__l="__l"></van-field><van-field vue-id="{{('91826bd4-4')+','+('91826bd4-1')}}" value="{{fieldValue}}" is-link="{{true}}" readonly="{{true}}" label="地区" placeholder="请选择所在地区" data-event-opts="{{[['^tap',[['onClick']]]]}}" data-com-type="wx" bind:tap="__e" class="data-v-db675620" bind:__l="__l"></van-field><van-popup vue-id="{{('91826bd4-5')+','+('91826bd4-1')}}" show="{{show}}" round="{{true}}" position="bottom" class="data-v-db675620" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{show}}"><van-cascader vue-id="{{('91826bd4-6')+','+('91826bd4-5')}}" field-names="{{fieldNames}}" value="{{cascaderValue}}" title="请选择所在地区" options="{{options}}" data-event-opts="{{[['^close',[['onClose']]],['^finish',[['onFinish']]]]}}" data-com-type="wx" bind:close="__e" bind:finish="__e" class="data-v-db675620" bind:__l="__l"></van-cascader></block></van-popup><van-field vue-id="{{('91826bd4-7')+','+('91826bd4-1')}}" label="详细地址" value="{{value}}" placeholder="街道门牌 楼层房间号等信息" data-com-type="wx" class="data-v-db675620" bind:__l="__l"></van-field><view class="switch data-v-db675620"><view class="default data-v-db675620">默认收货地址</view><van-switch vue-id="{{('91826bd4-8')+','+('91826bd4-1')}}" checked="{{checked}}" bind:change="onChange" data-com-type="wx" class="data-v-db675620" bind:__l="__l"></van-switch></view></van-cell-group></view><van-button class="btn1 data-v-db675620" vue-id="91826bd4-9" type="danger" round="{{true}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">保存</van-button><van-button class="btn2 data-v-db675620" vue-id="91826bd4-10" round="{{true}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">删除</van-button></view>