| 1 |
- <view class="takeaddress"><view class="part1"><view class="name"><u-field bind:input="__e" vue-id="49b6af89-1" placeholder="联系人姓名" icon="account-fill" icon-color="#979799" label-align="center" value="{{name}}" data-event-opts="{{[['^input',[['__set_model',['','name','$event',[]]]]]]}}" bind:__l="__l"></u-field></view><view class="mobile"><u-field bind:input="__e" vue-id="49b6af89-2" type="number" placeholder="联系电话" icon-color="#979799" icon="phone-fill" label-align="center" value="{{mobile}}" data-event-opts="{{[['^input',[['__set_model',['','mobile','$event',[]]]]]]}}" bind:__l="__l"></u-field></view><view data-event-opts="{{[['tap',[['bindmap',['$event']]]]]}}" class="address" bindtap="__e"><u-field bind:input="__e" vue-id="49b6af89-3" placeholder="选择地址" disabled="{{true}}" icon-color="#979799" icon="map-fill" label-align="center" value="{{cityaddress}}" data-event-opts="{{[['^input',[['__set_model',['','cityaddress','$event',[]]]]]]}}" bind:__l="__l"></u-field></view><view class="detailaddress"><u-field bind:input="__e" vue-id="49b6af89-4" placeholder="详细地址" icon="map-fill" icon-color="#979799" type="textarea" label-align="center" value="{{detailaddress}}" data-event-opts="{{[['^input',[['__set_model',['','detailaddress','$event',[]]]]]]}}" bind:__l="__l"></u-field></view><view data-event-opts="{{[['tap',[['bindtake',['$event']]]]]}}" class="btn" bindtap="__e">确定</view></view><view class="part2"><block wx:if="{{$root.g0>0}}"><view><view class="address1">常用地址</view><block wx:for="{{oldlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goBack',['$0'],[[['oldlist','',index,'addressId']]]]]]]}}" class="address_box" bindtap="__e"><view class="address_left"><u-icon vue-id="{{'49b6af89-5-'+index}}" name="map-fill" color="#979799" bind:__l="__l"></u-icon></view><view class="address_right"><view class="add">{{''+item.address+item.addressDetail+''}}</view><view class="num"><view class="name">{{item.userName}}</view><view class="number">{{item.userPhone}}</view></view></view><view data-event-opts="{{[['tap',[['deleteAddressList',['$0'],[[['oldlist','',index]]]]]]]}}" class="dete" catchtap="__e">删除</view></view></block></view></block></view></view>
|