You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
high-mini/unpackage/dist/dev/mp-weixin/pages/user/address/edit/edit.wxml

1 line
1.9 KiB

<view><view class="content"><view class="row"><view class="nominal">收件人</view><view class="input"><input placeholder="请输入收件人姓名" type="text" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" value="{{name}}" bindinput="__e"/></view></view><view class="row"><view class="nominal">电话号码</view><view class="input"><input placeholder="请输入收件人电话号码" type="text" data-event-opts="{{[['input',[['__set_model',['','tel','$event',[]]]]]]}}" value="{{tel}}" bindinput="__e"/></view></view><view class="row"><view class="nominal">所在地区</view><view data-event-opts="{{[['tap',[['chooseCity',['$event']]]]]}}" class="input" bindtap="__e">{{''+region.label+''}}</view></view><view class="row"><view class="nominal">详细地址</view><view class="input"><textarea auto-height="true" placeholder="输入详细地址" data-event-opts="{{[['input',[['__set_model',['','detailed','$event',[]]]]]]}}" value="{{detailed}}" bindinput="__e"></textarea></view></view><view class="row"><view class="nominal">设置默认地址</view><view class="input switch"><switch color="#f06c7a" checked="{{isDefault}}" data-event-opts="{{[['change',[['isDefaultChange',['$event']]]]]}}" bindchange="__e"></switch></view></view><block wx:if="{{editType=='edit'}}"><view data-event-opts="{{[['tap',[['del',['$event']]]]]}}" class="row" bindtap="__e"><view class="del">删除收货地址</view></view></block></view><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="save" bindtap="__e"><view class="btn">保存地址</view></view><mpvue-city-picker class="vue-ref" vue-id="5f6c7dc6-1" themeColor="{{themeColor}}" pickerValueDefault="{{cityPickerValue}}" data-ref="mpvueCityPicker" data-event-opts="{{[['^onCancel',[['onCancel']]],['^onConfirm',[['onConfirm']]]]}}" bind:onCancel="__e" bind:onConfirm="__e" bind:__l="__l"></mpvue-city-picker></view>