serviceRelease.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <van-cell-group>
  2. <view class='cell-title'>请输入服务项信息</view>
  3. <van-field
  4. value="{{ description }}"
  5. label="服务类型"
  6. placeholder="请输入服务类型"
  7. bind:change="descriptionInput"
  8. />
  9. <van-field
  10. value="{{ price }}"
  11. label="价格"
  12. placeholder="请输入价格"
  13. border="{{ false }}"
  14. bind:change="priceInput"
  15. />
  16. <van-cell title="库存">
  17. <van-stepper name="repertory" value="{{repertory}}" bindchange="repertorySlide"></van-stepper>
  18. </van-cell>
  19. <van-cell title="选择日期">
  20. <picker
  21. mode="date"
  22. value="{{date}}"
  23. start="2018-01-01"
  24. end="2021-12-31"
  25. bindchange="dateChange"
  26. >
  27. <view class="picker">{{date}}</view>
  28. </picker>
  29. </van-cell>
  30. <van-cell title="选择开始时间">
  31. <picker
  32. mode="time"
  33. value="{{startTime}}"
  34. start="00:00"
  35. end="23:59"
  36. bindchange="startTimeChange"
  37. >
  38. <view class="picker">{{startTime}}</view>
  39. </picker>
  40. </van-cell>
  41. <van-cell title="选择结束时间">
  42. <picker
  43. mode="time"
  44. value="{{endTime}}"
  45. start="00:00"
  46. end="23:59"
  47. bindchange="endTimeChange"
  48. >
  49. <view class="picker">{{endTime}}</view>
  50. </picker>
  51. </van-cell>
  52. </van-cell-group>
  53. <view class='button-group'>
  54. <van-button size="small" type="primary" bind:click="submit" class='button'>提交</van-button>
  55. <van-button size="small" type="danger" bind:click="reset">重置</van-button>
  56. </view>