line.vue 784 B

12345678910111213141516171819202122232425262728
  1. <!--
  2. * @Author: NMTuan
  3. * @Email: NMTuan@qq.com
  4. * @Date: 2024-02-18 22:03:42
  5. * @LastEditTime: 2024-02-18 22:23:21
  6. * @LastEditors: NMTuan
  7. * @Description:
  8. * @FilePath: \timeNow\components\time\line.vue
  9. -->
  10. <template>
  11. <div class="flex items-end justify-between w-full">
  12. <template v-for="hour in 25">
  13. <div class="flex flex-col items-center ">
  14. <div class="font-digital-dismay">{{ hour - 1 }}</div>
  15. <div class="w-[2px] h-[32px] bg-gray-400"></div>
  16. </div>
  17. <template v-if="hour !== 25" v-for="m in 3">
  18. <div class="w-[1px] h-[18px] bg-gray-400"></div>
  19. </template>
  20. </template>
  21. </div>
  22. </template>
  23. <script setup>
  24. </script>
  25. <style lang="scss" scoped>
  26. .hour {}
  27. </style>