<view class="address-manage"><view class="AddressTop"><view class="AddressTop-left"><image class="AddressTop-left-search" src="../../static/return/search.png"></image><input class="AddressTop-left-input" type="text" placeholder="输入姓名或手机号" data-event-opts="{{[['input',[['__set_model',['','search_name','$event',[]]]]]]}}" value="{{search_name}}" bindinput="__e"/><block wx:if="{{search_name}}"><image class="AddressTop-left-clear" src="../../static/return/search.png" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></block></view><view data-event-opts="{{[['tap',[['toSearchAddress',['$event']]]]]}}" class="AddressTop-right" bindtap="__e">查询</view></view><block wx:if="{{list.length}}"><scroll-view class="AddressList" scroll-y="true"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({index})}}" class="{{['AddressList-item',address_index===index?'active':'']}}" bindtap="__e"><view class="AddressList-item-title"><text class="color spec">{{item.g0}}</text><text class="color">{{item.$orig.con_mobile}}</text></view><block wx:if="{{item.$orig.nickname}}"><view class="AddressList-item-desc color">{{'昵称：'+item.g1+"/"+item.$orig.phone+''}}</view></block><view class="AddressList-item-info"><view class="info-text color">{{item.f0}}</view><image class="info-arrow" src="../../static/Buy_soap_tape/arrow.png"></image></view><view class="AddressList-item-set"><view data-event-opts="{{[['tap',[['editAddress',[index]]]]]}}" class="set-control" catchtap="__e">编辑</view><view data-event-opts="{{[['tap',[['delAddress',[index]]]]]}}" class="set-control" catchtap="__e">删除</view><block wx:if="{{item.$orig.type===1}}"><view class="get-used">常用地址</view></block></view><block wx:if="{{item.$orig.level}}"><view class="AddressList-item-level level">{{item.f1}}</view></block></view></block><view class="bottom"></view></scroll-view></block><block wx:else><view class="noaddress">还没有地址呢</view></block><view class="adress_bottom"><navigator class="add-address big-btn new_address" url="./address">新增地址</navigator><view data-event-opts="{{[['tap',[['chooseAddress',['$event']]]]]}}" class="add-address big-btn bg" bindtap="__e">使用此地址</view></view></view>