大屏调整
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user