1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <script setup lang="ts">
| import { useCommandCenterStore } from '@/store/commandCenter'
|
| const store = useCommandCenterStore()
| const reportTime = computed(() => store.weather?.currentTime ?? '')
| </script>
|
| <template>
| <div class="clock">
| {{ reportTime }}
| </div>
| </template>
|
| <style scoped lang="scss">
| .clock {
| color: rgba(0, 0, 0, 0.85);
| font-size: 14px;
| font-variant-numeric: tabular-nums;
| }
| </style>
|
|