大屏调整

This commit is contained in:
2025-12-12 11:01:19 +08:00
parent c49b23040c
commit 968cc98f55
6 changed files with 14 additions and 13 deletions

View File

@@ -1,15 +1,15 @@
<template>
<div class="weather-warning">
<span>天气预警:</span>
<!-- <span>天气预警:</span> -->
<!-- 预报内容 -->
<div class="weather-scroll-container" @mouseenter="stopWeatherScroll" @mouseleave="startWeatherScroll">
<!-- <div class="weather-scroll-container" @mouseenter="stopWeatherScroll" @mouseleave="startWeatherScroll">
<div class="weather-scroll-content" :style="{ transform: `translateX(${scrollPosition}px)` }">
<span v-for="(item, index) in weatherData" :key="index" class="weather-item"
:style="{ color: getLevelColor(item.level_code) }">
{{ item.content }}
</span>
</div>
</div>
</div> -->
</div>
</template>