
<form bindsubmit="formSubmit" id="container" bindreset="formReset">
  <view class="section">
    <view>
      姓名：
    </view>
    <input placeholder="请填写收货人姓名" focus name="name" maxlength="20"/>
  </view>
  <view class="section">
    <view>
      电话：
    </view>
    <input type='number' placeholder="请填写收货人联系方式" name="phone" maxlength="15"/>
  </view>
  <view class="section">
    <view class="section__title">所在地区：</view>
    <picker mode="region" value="{{region}}" name="address" custom-item="{{customItem}}" bindchange="bindRegionChange">
      <view class="picker">
        {{region[0]}}，{{region[1]}}，{{region[2]}}
      </view>
    </picker>
  </view>
  <view class="section">
    <view>
      地址：
    </view>     
    <input placeholder="街道，楼牌号等" name="area" maxlength="255"/>
  </view>
  <view class="body-view section">
    <view>
      设为默认地址：
    </view>
    <switch checked='{{checked}}' name="checked"/>
  </view>
  <button type="warn" size="{{defaultSize}}" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}"  formType="submit" hover-class="other-button-hover" > 保存</button>
</form>
