<view class="content"><view class="rowlist"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{$root.g0>0}}"><label><view class="li"><view><view class="name fsz28 flex" style="justify-content:space-between;"><view class="flex"><block wx:if="{{item.is_def===1}}"><view data-event-opts="{{[['tap',[['xuanze',['$0'],[[['list','',index]]]]]]]}}" class="tishi" bindtap="__e">默认</view></block><view data-event-opts="{{[['tap',[['xuanze',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e">{{item.name}}</view></view><view data-event-opts="{{[['tap',[['editaddress',['$0'],[[['list','',index,'id']]]]]]]}}" bindtap="__e"><uni-icons vue-id="{{'43a30cf4-1-'+index}}" type="compose" size="26" color="#828282" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['xuanze',['$0'],[[['list','',index]]]]]]]}}" class="idcard" bindtap="__e">{{''+item.address+","+item.room_number+''}}</view></view></view></label></block></block><block wx:if="{{$root.g1==0}}"><view class="zanwuimg"><image src="/static/img/null.png" mode="widthFix"></image><view>暂无数据</view></view></block></view><view class="btn"><view data-event-opts="{{[['tap',[['addaddress']]]]}}" class="fsz28" bindtap="__e">新增地址</view></view></view>