1 |
- <view><view class="{{['address-action',(value==true)?'address-show':'']}}" style="background-color:#f8f8f8;"><view class="address-title">请选择地址</view><view class="address-body" style="{{'max-height:'+(maxHeight+'px')+';'}}"><block wx:if="{{$root.g0<=0}}"><view class="address-empty">{{''+tips+''}}</view></block><block wx:if="{{$root.g1}}"><view class="address-list"><block wx:for="{{array}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onSelect',['$0'],[[['array','',index]]]]]]]}}" class="address-box" bindtap="__e"><view class="address-r-box"><view class="address-name">{{item.name+" "+item.tel}}</view><view class="address-valid">{{item.address}}</view></view><view class="address-corner-checkbox"><text class="{{['iconfont',(active==item.id)?'active':'']}}"></text></view></view></block></view></block><view style="width:100%;height:60px;float:left;"></view></view><text data-event-opts="{{[['tap',[['onClose',['$event']]]]]}}" class="iconfont close" catchtap="__e"></text><block wx:if="{{add}}"><view data-event-opts="{{[['tap',[['onAddAddress',['$event']]]]]}}" class="address-button" bindtap="__e"><text>新增地址</text></view></block></view><popup bind:input="__e" vue-id="4557aabc-1" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></popup></view>
|