|
|
@@ -478,15 +478,17 @@ export default {
|
|
|
},
|
|
|
tooltip: {
|
|
|
trigger: "axis",
|
|
|
- backgroundColor: "rgba(0, 0, 0, 0.8)",
|
|
|
+ // backgroundColor: "rgba(0, 0, 0, 0.8)",
|
|
|
+ backgroundColor: "rgba(5, 108, 187,0.35)",
|
|
|
+ borderColor: "#1a93cf",
|
|
|
formatter(params) {
|
|
|
const dom = `
|
|
|
<div class="weaterChartToolTipBox">
|
|
|
- <div class="item">${that.getWeatherChartIcon(
|
|
|
+ <div class="item"style="color: #fff">${that.getWeatherChartIcon(
|
|
|
that.weatherChartActiveTab,
|
|
|
oneDayTemperatureDescList[params[0].dataIndex]
|
|
|
)}</div>
|
|
|
- <div class="item">${that.getWeatherChartUnit(
|
|
|
+ <div class="item"style="color: #fff">${that.getWeatherChartUnit(
|
|
|
oneDayTemperatureDescList[params[0].dataIndex],
|
|
|
params[0].value
|
|
|
)}</div>
|
|
|
@@ -558,9 +560,10 @@ export default {
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
// 折点区域颜色
|
|
|
+ // color: "rgba(19, 74, 192, 0.1)",
|
|
|
color: "rgba(19, 74, 192, 0.1)",
|
|
|
// 折点的边线颜色
|
|
|
- borderColor: "#134ac0",
|
|
|
+ borderColor: "rgba(0, 171, 189, 0.5)",
|
|
|
// 折点的边线宽度
|
|
|
borderWidth: 2,
|
|
|
},
|
|
|
@@ -568,12 +571,13 @@ export default {
|
|
|
// 设置折线颜色
|
|
|
lineStyle: {
|
|
|
normal: {
|
|
|
- color: "#134ac0",
|
|
|
+ color: "#00e5ff",
|
|
|
},
|
|
|
},
|
|
|
areaStyle: {
|
|
|
normal: {
|
|
|
- color: "rgba(19, 74, 192, 0.5)",
|
|
|
+ // color: "rgba(19, 74, 192, 0.5)",
|
|
|
+ color: "rgba(0, 171, 189, 0.5)",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
@@ -647,7 +651,9 @@ export default {
|
|
|
inside: true,
|
|
|
length: 99999,
|
|
|
lineStyle: {
|
|
|
- color: "rgba(19, 74, 192, 0.15)", // 轴线颜色
|
|
|
+ // color: "rgba(19, 74, 192, 0.15)", // 轴线颜色
|
|
|
+ color: "rgba(0, 171, 189, 0.15)", // 轴线颜色
|
|
|
+
|
|
|
width: 2, // 轴线宽度
|
|
|
type: "solid", // 轴线类型
|
|
|
},
|
|
|
@@ -753,9 +759,9 @@ export default {
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
// 折点区域颜色
|
|
|
- color: "rgba(19, 74, 192, 0.1)",
|
|
|
+ color: "rgba(0, 171, 189, 0.1)",
|
|
|
// 折点的边线颜色
|
|
|
- borderColor: "#134ac0",
|
|
|
+ borderColor: "rgba(0, 171, 189, 0.8)",
|
|
|
// 折点的边线宽度
|
|
|
borderWidth: 2,
|
|
|
},
|
|
|
@@ -763,7 +769,7 @@ export default {
|
|
|
// 设置折线颜色
|
|
|
lineStyle: {
|
|
|
normal: {
|
|
|
- color: "#134ac0",
|
|
|
+ color: "rgba(0, 171, 189, 0.9)",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
@@ -779,9 +785,9 @@ export default {
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
// 折点区域颜色
|
|
|
- color: "rgba(19, 74, 192, 0.1)",
|
|
|
+ color: "rgba(0, 171, 189, 0.1)",
|
|
|
// 折点的边线颜色
|
|
|
- borderColor: "#134ac0",
|
|
|
+ borderColor: "rgba(0, 171, 189, 0.8)",
|
|
|
// 折点的边线宽度
|
|
|
borderWidth: 2,
|
|
|
},
|
|
|
@@ -789,7 +795,7 @@ export default {
|
|
|
// 设置折线颜色
|
|
|
lineStyle: {
|
|
|
normal: {
|
|
|
- color: "#134ac0",
|
|
|
+ color: "rgba(0, 171, 189, 0.9)",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
@@ -805,16 +811,18 @@ export default {
|
|
|
tooltip: {
|
|
|
trigger: "axis",
|
|
|
// backgroundColor: "rgba(255,255,255, 1)",
|
|
|
- backgroundColor: "rgba(0,0,0, 0.8)",
|
|
|
+ // backgroundColor: "rgba(0,0,0, 0.8)",
|
|
|
+ backgroundColor: "rgba(5, 108, 187,0.35)",
|
|
|
+ borderColor: "#1a93cf",
|
|
|
formatter(params) {
|
|
|
tqXData[params[0].dataIndex];
|
|
|
const dom = `
|
|
|
<div class="weaterChartToolTipBox">
|
|
|
- <div class="item">白天${tqXData[params[0].dataIndex]}</div>
|
|
|
- <div class="item" style="margin-top: 4px">夜晚${
|
|
|
+ <div class="item" style="color: #fff">白天${tqXData[params[0].dataIndex]}</div>
|
|
|
+ <div class="item" style="margin-top: 4px;color: #fff">夜晚${
|
|
|
tqxNightData[params[1].dataIndex]
|
|
|
}, ${params[1].value}℃</div>
|
|
|
- <div class="item" style="margin-top: 4px">早晚温差 ${
|
|
|
+ <div class="item" style="margin-top: 4px;color: #fff">早晚温差 ${
|
|
|
params[0].value - params[1].value
|
|
|
}℃</div>
|
|
|
</div>`;
|
|
|
@@ -959,7 +967,8 @@ export default {
|
|
|
// padding: 20px;
|
|
|
padding: 20px;
|
|
|
border-radius: 20px;
|
|
|
- background-color: rgba(25, 55, 40, 0.7);
|
|
|
+ // background-color: rgba(25, 55, 40, 0.7);
|
|
|
+ background-color: rgba(20, 29, 51, 0.3);
|
|
|
backdrop-filter: blur(15px);
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
|
|
|
@@ -1056,17 +1065,17 @@ display: block;border-right: 2px solid #fff; }
|
|
|
.weather-temp .value { font-size: 28px; font-weight: 500; }
|
|
|
.weather-temp .icon { font-size: 24px; }
|
|
|
.weather-info .condition { font-size: 12px; color: #fff; }
|
|
|
-.market-demand { background-color: #134ac0; color: white; padding: 15px 10px; border-radius: 8px; font-size: 14px; }
|
|
|
+.market-demand { background-color: #00abbd; color: white; padding: 15px 10px; border-radius: 8px; font-size: 14px; }
|
|
|
.info-section { font-size: 13px; }
|
|
|
.info-section h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; color: #fff; margin-bottom: 15px; }
|
|
|
.info-item { display: flex; justify-content: space-between; margin-bottom: 12px; }
|
|
|
.info-item .label { color: #fff; }
|
|
|
.info-item .value { color: #fff; display: flex; align-items: center; gap: 5px; }
|
|
|
.tag { font-size: 11px; padding: 2px 6px; border-radius: 4px; }
|
|
|
-.tag.blue { background-color: #e7f1ff; color: #134ac0; }
|
|
|
+.tag.blue { background-color: #e7f1ff; color: #00a4b6; }
|
|
|
.tag.green { background-color: #e6f7f0; color: #28a745; }
|
|
|
.op-progress-bar { height: 6px; background: #e9ecef; border-radius: 3px; margin-top: 5px; }
|
|
|
-.op-progress-bar-inner { height: 100%; background: #134ac0; border-radius: 3px; }
|
|
|
+.op-progress-bar-inner { height: 100%; background: #00e5ff; border-radius: 3px; }
|
|
|
.devBox{
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
@@ -1130,7 +1139,7 @@ display: block;border-right: 2px solid #fff; }
|
|
|
}
|
|
|
|
|
|
&.active {
|
|
|
- color: #134ac0;
|
|
|
+ color: #0093a3;
|
|
|
background-color: #f1f3f5;
|
|
|
border-radius: 10px;
|
|
|
transition: 0.2s;
|