<view class='addressAdd-box mar-l20 mar-r20 f-s28'>
  <view class='add-list f-box'>
    <view class='add-label'>收货人</view>
    <view class='f-item'><input placeholder="收货人姓名" value='{{name}}' bindinput="nameChange"  /></view>
  </view>
  <view class='add-list f-box'>
    <view class='add-label'>手机号码</view>
    <view class='f-item'><input placeholder="收货人手机号码" type='number' value='{{phone}}' bindinput="phoneChange"  /></view>
  </view>
  <view class='add-list f-box'>
    <view class='add-label'>所在地区</view>
    <view class='f-item'>
    <picker mode="region"  bindchange="bindRegionChange" value="{{region}}" >
      <view class="picker">
        {{region[0]}} {{region[1]}} {{region[2]}}
      </view>
    </picker>
    </view>
  </view>
  <view class='add-textarea f-box'>
    <view class='add-label'>详细地址</view>
    <view class='f-item'>
      <textarea placeholder="详细地址~" value='{{detailAddress}}' bindinput="addressInput" placeholder-class="place-textarea"/>
    </view>
  </view>

  <view class='switch'>
    <view class="f-box f-align-items-center">
        <view class='f-item'>是否默认</view>
        <switch checked="{{switchChecked}}" color="#00af66" bindchange="switchChange"/>
    </view>
  </view>
</view>

<view class='footer'>
  <view class='footer-box'>
    <view class='bg-green c-white f-s32 f-box f-justify-content-center' bindtap='addAddress'>保存</view>
  </view>
</view>



  