info.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view class="bj">
  2. <view class="title">监护对象信息完善</view>
  3. </view>
  4. <view class="home">
  5. <view class="tips">请如实填写以下信息,感谢您的支持。</view>
  6. <van-cell-group>
  7. <van-field value="{{info.name }}" error-message="{{errorinfo.nameerr}}" label="姓名" placeholder='请输入姓名'
  8. input-align="left" bind:change="nameChange" readonly="{{readonly}}"/>
  9. </van-cell-group>
  10. <van-cell-group>
  11. <van-field value="{{ info.idcard }}" error-message="{{errorinfo.idcarderr}}" label="身份证号" placeholder='请输入身份证号'
  12. input-align="left" type="idcard" bind:change="idCardChange" readonly="{{readonly}}"/>
  13. </van-cell-group>
  14. <van-cell-group>
  15. <van-field value="{{ info.area }}" error-message="{{errorinfo.areaerr}}" readonly clickable label="行政区划" placeholder='请选择行政区划' input-align="left"
  16. bind:click-input='areaClick'/>
  17. </van-cell-group>
  18. <van-popup show='{{showareaPicker}}' position='bottom'>
  19. <van-picker show-toolbar show='{{showareaPicker}}' columns="{{ areacolumns }}" bindchange="onareaChange"
  20. bind:cancel="onareaCancel" bind:confirm="onareaConfirm" />
  21. </van-popup>
  22. <van-cell-group>
  23. <van-field value="{{ info.adress }}" error-message="{{errorinfo.adresserr}}" readonly clickable label="小区/单位" placeholder='请选择小区/单位' input-align="left"
  24. bind:click-input='adressClick'/>
  25. </van-cell-group>
  26. <van-popup show='{{showadressPicker}}' position='bottom'>
  27. <van-picker show-toolbar show='{{showadressPicker}}' columns="{{ adresscolumns }}" bindchange="onadressChange"
  28. bind:cancel="onadressCancel" bind:confirm="onadressConfirm" />
  29. </van-popup>
  30. <van-cell-group>
  31. <van-field value="{{ info.adressDetails }}" error-message="{{errorinfo.adressDetailserr}}" label="详细地址" placeholder='请输入详细地址' input-align="left" bindinput="adressDetailsChange" readonly="{{readonly}}"/>
  32. </van-cell-group>
  33. <van-cell-group>
  34. <van-field type="number" value="{{ info.tel }}" error-message="{{errorinfo.telerr}}" label="手机号" placeholder='请输入手机号' input-align="left" bindinput="telChange" readonly="{{readonly}}"/>
  35. </van-cell-group>
  36. <view style="margin-top:30rpx" wx:if="{{!readonly}}">
  37. <button bindtap="submit" style="width:600rpx;background:#FFB943;color:#fff;margin-top:80rpx;font-size:30rpx" bindtap="submit">提交</button>
  38. </view>
  39. </view>
  40. <van-toast id="van-toast" />