|
|
@ -11,6 +11,11 @@ |
|
|
|
|
|
|
|
|
<!-- 顶部标题栏 --> |
|
|
<!-- 顶部标题栏 --> |
|
|
<div class="screen-header"> |
|
|
<div class="screen-header"> |
|
|
|
|
|
<!-- CCL Logo --> |
|
|
|
|
|
<div class="header-logo"> |
|
|
|
|
|
<img src="~@/assets/img/ccl.png" alt="CCL Logo" class="logo-img"> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="header-decoration left"></div> |
|
|
<div class="header-decoration left"></div> |
|
|
<div class="header-center"> |
|
|
<div class="header-center"> |
|
|
<div class="title-glow"></div> |
|
|
<div class="title-glow"></div> |
|
|
@ -235,10 +240,10 @@ export default { |
|
|
this.timeInterval = setInterval(() => { |
|
|
this.timeInterval = setInterval(() => { |
|
|
this.updateTime() |
|
|
this.updateTime() |
|
|
}, 1000) |
|
|
}, 1000) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 首次加载数据 |
|
|
// 首次加载数据 |
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 每10秒刷新一次数据 |
|
|
// 每10秒刷新一次数据 |
|
|
this.dataInterval = setInterval(() => { |
|
|
this.dataInterval = setInterval(() => { |
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
@ -335,6 +340,27 @@ export default { |
|
|
background: linear-gradient(180deg, rgba(23, 179, 163, 0.08) 0%, transparent 100%); |
|
|
background: linear-gradient(180deg, rgba(23, 179, 163, 0.08) 0%, transparent 100%); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* CCL Logo */ |
|
|
|
|
|
.header-logo { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
left: 20px; |
|
|
|
|
|
top: 50%; |
|
|
|
|
|
transform: translateY(-50%); |
|
|
|
|
|
z-index: 20; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.logo-img { |
|
|
|
|
|
height: 40px; |
|
|
|
|
|
width: auto; |
|
|
|
|
|
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)); |
|
|
|
|
|
transition: all 0.3s ease; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
filter: drop-shadow(0 4px 12px rgba(23, 179, 163, 0.5)); |
|
|
|
|
|
transform: scale(1.05); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.header-decoration { |
|
|
.header-decoration { |
|
|
display: none; |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
@ -369,7 +395,7 @@ export default { |
|
|
|
|
|
|
|
|
.header-time { |
|
|
.header-time { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
right: 40px; |
|
|
|
|
|
|
|
|
right: 20px; |
|
|
top: 50%; |
|
|
top: 50%; |
|
|
transform: translateY(-50%); |
|
|
transform: translateY(-50%); |
|
|
display: flex; |
|
|
display: flex; |
|
|
|