<!--pages/userlist/index.wxml-->
<view class="setup">
  <radio-group bindchange="radioChange">
    <!-- <t-swipe-cell wx:for="{{address}}" wx:key="addressId" bind:dragstart="handleDragStart" bind:dragend="handleDragEnd"> -->
  <view class="driver-info" wx:for="{{address}}" wx:key="addressId">
      <view class="driver-details">
      <view class="driver-name">项目地址:中原油田</view>
        <view class="driver-name">{{item.poiName||item.addressDetails}}</view>
        <view class="driver-car">{{item.addressDetails}}</view>
        <view class="driver-arrive"><radio value="{{item.addressId}}" checked="{{item.isDefault}}"/>{{item.receiver}} {{item.phone}}</view>
        <view class="driver-operation">
          <button class="cancel-btn1" data-item="{{item}}" bind:tap="onIconTap">编辑</button>
          <button class="cancel-btn1"  data-id="{{item.addressId}}" bind:tap="onDelete">删除</button>
        </view>
      
      </view>
      <!-- <t-icon name="edit-2" size="40rpx" data-name="edit-2" data-item="{{item}}" bind:tap="onIconTap" /> -->
    </view>
      <!-- <view slot="right" class="btn delete-btn" data-id="{{item.addressId}}" bind:tap="onDelete">删除</view> -->
    <!-- </t-swipe-cell> -->
  </radio-group>
</view>
<view class="address">
<view class="addressbox" data-item="add" bind:tap="onIconTap">新增地址</view>
</view>