infoPage.vue 505 B

123456789101112131415161718192021222324252627282930313233343536
  1. <!-- 进出记录 -->
  2. <template>
  3. <view class="record-list-page">
  4. <view>
  5. <uni-datetime-picker v-model="range" type="daterange" @maskClick="maskClick" />
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {
  13. range: ["2021-03-8", "2021-4-20"],
  14. }
  15. },
  16. onLoad(option) {
  17. },
  18. onShow() {
  19. },
  20. methods: {
  21. maskClick(e) {
  22. console.log('maskClick事件:', e);
  23. }
  24. }
  25. }
  26. </script>
  27. <style lang="stylus" scoped>
  28. .record-list-page {
  29. height: 100%;
  30. }
  31. </style>