From a60476b5a0f2b1016c08d299e84093f44dad8939 Mon Sep 17 00:00:00 2001 From: pyt <626651354@qq.com> Date: 星期三, 26 三月 2025 11:44:16 +0800 Subject: [PATCH] feat --- src/components/datascreen/HeaderPanel.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/datascreen/HeaderPanel.vue b/src/components/datascreen/HeaderPanel.vue index 50d9675..5d52bfc 100644 --- a/src/components/datascreen/HeaderPanel.vue +++ b/src/components/datascreen/HeaderPanel.vue @@ -5,10 +5,10 @@ <!-- <img :src="require(`@/assets/weather/${weatherInfo.icon}.png`)" alt="weather" class="weather-icon"> --> <span class="weather-text">{{ weatherInfo.text }}</span> </div> - + <!-- 中间标题 --> <div class="title">崇州市自主安置购房信息化大数据平台</div> - + <!-- 右侧时间 --> <div class="datetime"> <img src="@/assets/027_日历@2x.png" alt="calendar" class="calendar-icon"> @@ -33,6 +33,7 @@ this.updateTime(); this.timer = setInterval(this.updateTime, 1000); this.getWeather(); + }, beforeDestroy() { if (this.timer) { @@ -74,7 +75,7 @@ .weather { display: flex; margin-top: 61px; - + .weather-icon { width: 30px; height: 30px; @@ -100,6 +101,7 @@ .datetime { display: flex; margin-top: 61px; + .calendar-icon { width: 22px; height: 21px; @@ -112,4 +114,4 @@ } } } -</style> \ No newline at end of file +</style> \ No newline at end of file -- Gitblit v1.7.1