addXnb.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <wxs src='../../../utils/formatFuc.wxs' module="utils"></wxs>
  2. <view class="container">
  3. <view class="add-top" bindtap="goDetail">
  4. <view>上传新农保,享受福利</view>
  5. <van-icon name="arrow" size="20px" color="#4371ED"/>
  6. </view>
  7. <view class="xnb-content">
  8. <view class="title">
  9. <text>*</text>
  10. 1. 请上传新农保:
  11. </view>
  12. <view class="tips">请上传清晰,无遮挡的新农保照片</view>
  13. <van-uploader file-list="{{ fileList }}" max-count="{{max}}" bind:after-read="afterRead" bind:delete="deleteImage" />
  14. <view class="title" style="margin-bottom:30rpx;">
  15. <text>*</text>
  16. 2. 请选择有效时间:
  17. </view>
  18. <view class="select-date" bindtap="startPicker">
  19. <view>开始时间:{{startDate}}</view>
  20. <van-icon name="arrow" size="20px" color="#4371ED"/>
  21. </view>
  22. <view class="select-date" bindtap="endPicker">
  23. <view>结束时间:{{endDate}}</view>
  24. <van-icon name="arrow" size="20px" color="#4371ED"/>
  25. </view>
  26. </view>
  27. <view class="submit-btn" bindtap="submit" >确认上传</view>
  28. </view>
  29. <van-popup
  30. show="{{ pickerShow }}"
  31. position="bottom"
  32. >
  33. <van-datetime-picker
  34. type="year-month"
  35. value="{{ currentDate }}"
  36. min-date="{{ minDate }}"
  37. bind:confirm="onConfirm"
  38. bind:cancel="onCancel"
  39. />
  40. </van-popup>