1234567891011121314151617181920212223 |
- <view class="content">
- <view class="row b-b">
- <text class="tit">联系人</text>
- <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','name','$event',[] ],['addressData'] ] ] ] ]}}" placeholder="收货人姓名" placeholderClass="placeholder" type="text" value="{{addressData.name}}"></input>
- </view>
- <view class="row b-b">
- <text class="tit">手机号</text>
- <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','mobile','$event',[] ],['addressData'] ] ] ] ]}}" placeholder="收货人手机号码" placeholderClass="placeholder" type="number" value="{{addressData.mobile}}"></input>
- </view>
- <view class="row b-b">
- <text class="tit">地址</text>
- <picker-address bind:__l="__l" bind:change="__e" class="input" data-event-opts="{{[ [ '^change',[ ['onCityClick'] ] ] ]}}" vueId="0e0a4db1-1" vueSlots="{{['default']}}">{{addressDetail||'请选择地址'}}</picker-address>
- <text class="iconfont iconlocation"></text>
- </view>
- <view class="row b-b">
- <text class="tit">门牌号</text>
- <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','area','$event',[] ],['addressData'] ] ] ] ]}}" placeholder="楼号、门牌" placeholderClass="placeholder" type="text" value="{{addressData.area}}"></input>
- </view>
- <uni-list bind:__l="__l" class="margin-t-20" vueId="0e0a4db1-2" vueSlots="{{['default']}}">
- <uni-list-item bind:__l="__l" bind:switchChange="__e" data-event-opts="{{[ [ '^switchChange',[ ['switchChange'] ] ] ]}}" showArrow="{{false}}" showSwitch="{{true}}" switchChecked="{{addressData.default}}" switchColor="#5dbc7c" title="设为默认" vueId="{{'0e0a4db1-3'+','+'0e0a4db1-2'}}"></uni-list-item>
- </uni-list>
- <button bindtap="__e" class="add-btn" data-event-opts="{{[ [ 'tap',[ [ 'e0',['$event'] ] ] ] ]}}">提交</button>
- </view>
|