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.

1 line
1.5 KiB

<view><view class="{{['address-window',value===true?'on':'']}}"><view class="title">选择地址<text data-event-opts="{{[['tap',[['closeAddress',['$event']]]]]}}" class="iconfont icon-guanbi" bindtap="__e"></text></view><block wx:if="{{addressList.length}}"><view class="list"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="addressIndex" wx:key="addressIndex"><view data-event-opts="{{[['tap',[['tapAddress',[addressIndex]]]]]}}" class="{{['item acea-row row-between-wrapper',item.id===checked?'font-color-red':'']}}" bindtap="__e"><text class="{{['iconfont icon-ditu',item.id===checked?'font-color-red':'']}}"></text><view class="addressTxt"><view class="{{['name',item.id===checked?'font-color-red':'']}}">{{''+item.realName+''}}<text class="phone">{{item.phone}}</text></view><view class="line1">{{''+item.province+item.city+item.district+item.detail+''}}</view></view><text class="{{['iconfont icon-complete',item.id===checked?'font-color-red':'']}}"></text></view></block></view></block><block wx:if="{{addressList.length<1}}"><view class="pictrue"><image class="image" src="{{$VUE_APP_RESOURCES_URL+'/images/noAddress.png'}}"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color-red" bindtap="__e">新加地址</view></view><view class="mask" hidden="{{value===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAddress',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>