newAddress.wxml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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!=0?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="section">
  24. <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
  25. <view class="newAddress-line">
  26. <view class="newAddress-title">所在地区</view>
  27. <view class="newAddress-picker ">
  28. <image class="newAddress-picker__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  29. <view class="ellipsis newAddress-picker__text">{{address}}</view>
  30. </view>
  31. <view class="clean"></view>
  32. </view>
  33. </picker>
  34. </view>
  35. <view class="newAddress-more">
  36. <view class="newAddress-more__title">详细地址</view>
  37. <textarea maxlength="120" class="textarea" auto-height placeholder="请填写详细的收件地址" placeholder-class="text-placeholder" bindinput="bindMore" value="{{more}}"/>
  38. </view>
  39. <view class="newAddress-tip">
  40. <view class="tip-title">温馨提示</view>
  41. <view class="tip-in">自2018年9月1日起,国家安全局规定禁用<text class="tip-color">X先生 、</text><text class="tip-color">X小姐</text>等模糊信息作为收件人,请填写完整的收件人信息,否则不允发货。</view>
  42. </view>
  43. <form bindsubmit="save" report-submit="{{true}}" class="newAddress-form">
  44. <button formType="submit" class="newAddress-btn">
  45. 保存
  46. </button>
  47. </form>
  48. </view>