From 24e8d9a83681cefdc5988b0ee0097e2c6b079402 Mon Sep 17 00:00:00 2001
From: cjl <909710561@qq.com>
Date: Tue, 19 May 2026 16:47:40 +0800
Subject: [PATCH] 路由
---
src/views/O3/index.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/views/O3/index.vue b/src/views/O3/index.vue
index 9d2f9d3..6653148 100644
--- a/src/views/O3/index.vue
+++ b/src/views/O3/index.vue
@@ -41,8 +41,14 @@
class="spanDiv"
>
<span>������������:</span>
- <span @click="inputCityChange('210381')">������</span>
- <span @click="inputCityChange('320900')">������</span>
+ <span
+ :style="{color: inputCity == '210381' ? '#f30e0e' : '#2d8cf0'}"
+ @click="inputCityChange('210381')"
+ >������</span>
+ <span
+ :style="{color: inputCity == '320900' ? '#f30e0e' : '#2d8cf0'}"
+ @click="inputCityChange('320900')"
+ >������</span>
<!-- <span @click="inputCityChange('������')">���������</span>
<span @click="inputCityChange('������')">���������</span> -->
</div>
@@ -323,7 +329,6 @@
}
for (let i = 0; i < yuceList.length; i++) {
this.o3DataYuce.push(Math.abs(yuceList[i].O3))
- timeArray.push(yuceList[i].time)
}
this.newLineChartData.series[0].data = this.o3DataYuce
this.newLineChartData.series[1].data = this.o3DataShice
@@ -407,7 +412,6 @@
}
for (let i = 0; i < yuceList.length; i++) {
this.o38hDataYuce.push(Math.abs(yuceList[i].O3))
- timeArray.push(yuceList[i].time)
}
this.newLineChartData2.series[0].data = this.o38hDataYuce
this.newLineChartData2.series[1].data = this.o38hDataShice
--
Gitblit v1.8.0