toolbar.wxml 656 B

12345678910111213141516171819202122232425262728
  1. <template name="toolbar">
  2. <view
  3. wx:if="{{ showToolbar }}"
  4. class="van-picker__toolbar toolbar-class"
  5. >
  6. <view
  7. class="van-picker__cancel"
  8. hover-class="van-picker__cancel--hover"
  9. hover-stay-time="70"
  10. data-type="cancel"
  11. bindtap="emit"
  12. >
  13. {{ cancelButtonText }}
  14. </view>
  15. <view wx:if="{{ title }}" class="van-picker__title van-ellipsis">{{
  16. title
  17. }}</view>
  18. <view
  19. class="van-picker__confirm"
  20. hover-class="van-picker__confirm--hover"
  21. hover-stay-time="70"
  22. data-type="confirm"
  23. bindtap="emit"
  24. >
  25. {{ confirmButtonText }}
  26. </view>
  27. </view>
  28. </template>