<!--subPackage/page/pages/exchangeAddress/exchangeAddress.wxml-->
<view class='exchange-info'>
  确认使用 <label>{{point}}</label>积分兑换礼物
</view>

<view class='address'>
  <view class='items'>
    <text>请填写正确的收货地址，填写后无法修改</text>
    <view class='choose-address' bindtap='chooseWxAddress'>获取微信地址</view>
  </view>
  <view class='address-form'>
    <input placeholder='请输入收货人真实姓名' value='{{form.name}}' data-prop="name" bindinput='onInput' maxlength='20'></input>
  </view>
  <view class='address-form'>
    <input placeholder='请输入收货人手机号'  value='{{form.mobile}}' data-prop="mobile" bindinput='onInput' maxlength='20'></input>
  </view>
  <view class='address-form'>
    <picker mode="region" bindchange="bindRegionChange" value="{{region}}">
      <view class="picker">
        {{form.distinct ? form.distinct : "请选择地区"}}
      </view>
    </picker>
  </view>
  <view class='address-form'>
    <input placeholder='请输入收货人地址' value='{{form.address}}' data-prop="address" bindinput='onInput' maxlength='40'></input>
  </view>

  <view class='sumbit' bindtap='onTapSubmit'>确认</view>

</view>

<dialog-stock-empty show="{{dialogStockEmpty}}" bind:btnClick="onDialogBtnCallBack"/>