index.wxml 1.8 KB

1
  1. <view class="data-v-64ef78b0"><view class="{{['address-window','data-v-64ef78b0',display==true?'on':'']}}"><view class="title data-v-64ef78b0">请选择所在地区<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-64ef78b0" bindtap="__e"></text></view><view class="address-count data-v-64ef78b0"><view class="address-selected data-v-64ef78b0"><block wx:for="{{selectedArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['change',['$0',index],[[['selectedArr','',index,'pid']]]]]]]}}" class="{{['selected-list','data-v-64ef78b0',(index===selectedIndex)?'active':'']}}" bindtap="__e">{{''+item.label+''}}<text class="iconfont icon-xiangyou data-v-64ef78b0"></text></view></block><block wx:if="{{showMore}}"><view data-event-opts="{{[['tap',[['change',[-1,-1]]]]]}}" class="{{['selected-list','data-v-64ef78b0',(-1===selectedIndex)?'active':'']}}" bindtap="__e"><text class="iconfont icon-xiangyou data-v-64ef78b0"></text>请选择</view></block></view><scroll-view class="address-list data-v-64ef78b0" scroll-y="true" scroll-top="{{scrollTop}}" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" bindscroll="__e"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selected',['$0'],[[['addressList','',index]]]]]]]}}" class="{{['list','data-v-64ef78b0',(item.id===activeId)?'active':'']}}" bindtap="__e"><text class="item-name data-v-64ef78b0">{{item.label}}</text><block wx:if="{{item.id===activeId}}"><text class="iconfont icon-duihao2 data-v-64ef78b0"></text></block></view></block></scroll-view></view></view><view class="mask data-v-64ef78b0" catchtouchmove="true" hidden="{{display==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>