selectDate.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <view class="select-view" bindtap="showSelect">{{title}}<image src="/images/toDown2.png" class="toDownImg"></image></view>
  2. <view class="select-box" animation="{{animationBox}}" style="top:{{toTop}}rpx">
  3. <view class="change-time">
  4. <view class="select-title">选择时间段:</view>
  5. <view class="select-date-view">
  6. <view class="section">
  7. <picker mode="date" value="{{beginDate}}" start="2000-01-01" end="{{initChangeDate}}"
  8. bindchange="bindBeginDateChange">
  9. <view class="picker">
  10. {{beginDate}}
  11. </view>
  12. </picker>
  13. <view> 至 </view>
  14. <picker mode="date" value="{{endDate}}" start="{{beginDate}}" end="{{initChangeDate}}"
  15. bindchange="bindEndDateChange">
  16. <view class="picker">
  17. {{endDate}}
  18. </view>
  19. </picker>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="type-view" wx:if="{{typeFlag}}">
  24. <view class="select-title">预约状态:</view>
  25. <view class="change-type">
  26. <picker bindchange="bindPickerChange" value="{{typeIndex}}" range="{{typeArr}}">
  27. <view class="picker change-view">
  28. {{typeArr[typeIndex]}}
  29. <view class="toDown">
  30. <image src="/images/toDown.png"></image>
  31. </view>
  32. </view>
  33. </picker>
  34. </view>
  35. </view>
  36. <view class="search-btn-view">
  37. <view class="search-btn" bindtap="submitDate">确定</view>
  38. <view class="reset-btn" bindtap="resetDate">重置</view>
  39. </view>
  40. </view>
  41. <view class="select-box-bg" bindtap="showSelect" animation="{{animationBg}}" wx:if="{{yFlag == true}}"></view>
  42. <view class="height-view"></view>