week.vue 902 B

1234567891011121314151617181920212223
  1. <!--
  2. * @Author: NMTuan
  3. * @Email: NMTuan@qq.com
  4. * @Date: 2024-02-18 20:00:36
  5. * @LastEditTime: 2024-02-20 16:15:23
  6. * @LastEditors: NMTuan
  7. * @Description:
  8. * @FilePath: \timeNow\components\clock\week.vue
  9. -->
  10. <template>
  11. <div class="text-zinc-600 font-digital-dismay text-[1.2vw] flex gap-[3vw]">
  12. <div :class="[dateStore.day === 1 && 'text-zinc-300']">MON.</div>
  13. <div :class="[dateStore.day === 2 && 'text-zinc-300']">TUE.</div>
  14. <div :class="[dateStore.day === 3 && 'text-zinc-300']">WED.</div>
  15. <div :class="[dateStore.day === 4 && 'text-zinc-300']">THU.</div>
  16. <div :class="[dateStore.day === 5 && 'text-zinc-300']">FRI.</div>
  17. <div :class="[dateStore.day === 6 && 'text-zinc-300']">SAT.</div>
  18. <div :class="[dateStore.day === 7 && 'text-zinc-300']">SUN.</div>
  19. </div>
  20. </template>
  21. <script setup>
  22. const dateStore = useDateStore()
  23. </script>