addHealth.wxml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <wxs src='../../../utils/formatFuc.wxs' module="utils"></wxs>
  2. <view class="container">
  3. <view class="add-top" >
  4. <van-cell-group>
  5. <!-- <van-cell title="证件类型">
  6. <view slot="">
  7. <van-radio-group value="{{ healthType }}" bind:change="onRadioChange" direction="horizontal">
  8. <van-radio name="1" icon-size="20px">健康证</van-radio>
  9. <van-radio name="2" icon-size="20px">技能证书</van-radio>
  10. </van-radio-group>
  11. </view>
  12. </van-cell> -->
  13. <van-field
  14. value="{{ certificateName }}"
  15. label="证件名称"
  16. placeholder="请输入证件名称"
  17. bind:change="onNameChange"
  18. />
  19. <van-field
  20. value="{{ certificateNo }}"
  21. label="证件编号"
  22. placeholder="请输入证件编号"
  23. bind:change="onNoChange"
  24. />
  25. </van-cell-group>
  26. </view>
  27. <view class="xnb-content">
  28. <view class="title">
  29. <text>*</text>
  30. 请上传健康证:
  31. </view>
  32. <view class="tips">请上传清晰,无遮挡的健康证照片</view>
  33. <van-uploader file-list="{{ fileList }}" max-count="{{max}}" bind:after-read="afterRead" bind:delete="deleteImage" />
  34. <view class="title" style="margin-bottom:30rpx;">
  35. <text>*</text>
  36. 请选择有效时间:
  37. </view>
  38. <view class="select-date" bindtap="issuancePicker">
  39. <view>发证日期:{{issuanceDate}}</view>
  40. <van-icon name="arrow" size="20px" color="#4371ED"/>
  41. </view>
  42. <view class="select-date" bindtap="startPicker">
  43. <view>开始时间:{{startDate}}</view>
  44. <van-icon name="arrow" size="20px" color="#4371ED"/>
  45. </view>
  46. <view class="select-date" bindtap="endPicker">
  47. <view>结束时间:{{endDate}}</view>
  48. <van-icon name="arrow" size="20px" color="#4371ED"/>
  49. </view>
  50. </view>
  51. <view class="submit-btn" bindtap="submit" >确认上传</view>
  52. </view>
  53. <van-popup
  54. show="{{ pickerShow }}"
  55. position="bottom"
  56. >
  57. <van-datetime-picker
  58. type="date"
  59. value="{{ currentDate }}"
  60. min-date="{{ minDate }}"
  61. bind:confirm="onConfirm"
  62. bind:cancel="onCancel"
  63. />
  64. </van-popup>