selectDate.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view class="select-view" bindtap="showSelect">筛选</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}}" bindchange="bindBeginDateChange">
  8. <view class="picker">
  9. {{beginDate}}
  10. </view>
  11. </picker>
  12. <view> 至 </view>
  13. <picker mode="date" value="{{endDate}}" start="{{beginDate}}" end="{{initChangeDate}}" bindchange="bindEndDateChange">
  14. <view class="picker">
  15. {{endDate}}
  16. </view>
  17. </picker>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="type-view" wx:if="{{typeFlag}}">
  22. <view class="select-title">预约状态:</view>
  23. <view class="change-type">
  24. <picker bindchange="bindPickerChange" value="{{typeIndex}}" range="{{typeArr}}">
  25. <view class="picker change-view">
  26. {{typeArr[typeIndex]}}
  27. <view class="toDown"><image src="/images/toDown.png"></image></view>
  28. </view>
  29. </picker>
  30. </view>
  31. </view>
  32. <view class="search-btn-view">
  33. <view class="search-btn" bindtap="submitDate">确定</view>
  34. <view class="reset-btn" bindtap="resetDate">重置</view>
  35. </view>
  36. </view>
  37. <view class="select-box-bg" bindtap="showSelect" animation="{{animationBg}}" wx:if="{{yFlag == true}}"></view>
  38. <view class="height-view"></view>