apply-leave.wxml 838 B

12345678910111213141516171819202122232425262728293031323334
  1. <view>
  2. <zan-cell-group>
  3. <zan-cell title="请假日期" is-link>
  4. <picker
  5. slot="footer"
  6. mode="date"
  7. value="{{date}}"
  8. bindchange="bindDateChange"
  9. >
  10. {{date}}
  11. </picker>
  12. </zan-cell>
  13. <zan-cell title="请假类型" is-link>
  14. <picker
  15. slot="footer"
  16. mode="selector"
  17. range="{{typeEnum}}"
  18. value="{{selectedType}}"
  19. >
  20. {{typeEnum[selectedType]}}
  21. </picker>
  22. </zan-cell>
  23. <zan-cell title="说明">
  24. <view class="section">
  25. <textarea placeholder="请输入请假说明" auto-height />
  26. </view>
  27. </zan-cell>
  28. </zan-cell-group>
  29. <zan-cell></zan-cell>
  30. <zan-cell></zan-cell>
  31. <zan-button-group>
  32. <zan-button type="primary" bindtap="onSubmit">提交</zan-button>
  33. </zan-button-group>
  34. </view>