newAddress.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <view class="bg">
  2. <view class="newAddress-top"></view>
  3. <view class="newAddress-line">
  4. <view class="newAddress-title">收货人</view>
  5. <input maxlength="11" class="nameText" placeholder="请填写收件人姓名" placeholder-class="text-placeholder" bindinput="bindName" value="{{name}}"/>
  6. <view class="clean"></view>
  7. </view>
  8. <view class="newAddress-line">
  9. <view class="newAddress-title">联系电话</view>
  10. <input type="number" maxlength="12" class="nameText" placeholder="请填写收件人联系电话" placeholder-class="text-placeholder" bindinput="bindTel" value="{{tel}}"/>
  11. <view class="clean"></view>
  12. </view>
  13. <picker mode="region" bindchange="bindRegionChange" value="{{region}}" >
  14. <view class="newAddress-line">
  15. <view class="newAddress-title">所在地区</view>
  16. <view class="newAddress-picker ">
  17. <image class="newAddress-picker__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  18. <view class="ellipsis newAddress-picker__text">{{address}}</view>
  19. </view>
  20. <view class="clean"></view>
  21. </view>
  22. </picker>
  23. <view class="newAddress-more">
  24. <view class="newAddress-more__title">详细地址</view>
  25. <textarea maxlength="120" class="textarea" auto-height placeholder="请填写详细的收件地址" placeholder-class="text-placeholder" bindinput="bindMore" value="{{more}}"/>
  26. </view>
  27. <view class="newAddress-tip">
  28. <view class="tip-title">温馨提示</view>
  29. <view class="tip-in">自2018年9月1日起,国家安全局规定禁用<text class="tip-color">X先生 、</text><text class="tip-color">X小姐</text>等模糊信息作为收件人,请填写完整的收件人信息,否则不允发货。</view>
  30. </view>
  31. <form bindsubmit="save" report-submit="{{true}}" class="newAddress-form">
  32. <button formType="submit" class="newAddress-btn">
  33. 保存
  34. </button>
  35. </form>
  36. </view>