diff --git a/src/page/index/components/AreaLegend/AreaLegend.less b/src/page/index/components/AreaLegend/AreaLegend.less
index 17532d5..dc0f4a9 100644
--- a/src/page/index/components/AreaLegend/AreaLegend.less
+++ b/src/page/index/components/AreaLegend/AreaLegend.less
@@ -9,32 +9,37 @@
width: 100%;
height: 100%;
display: flex;
+ justify-content: flex-start;
align-items: center;
+ flex-wrap: wrap;
+ /* 允许换行 */
+ }
- .AreaLegendBoxItem {
- display: flex;
- align-items: center;
- box-sizing: border-box;
- padding-left: 30px;
+ .AreaLegendBoxItem {
+ display: flex;
+ align-items: center;
+ box-sizing: border-box;
+ padding-left: 30px;
+ /* 每个项目占据20%的宽度,最多显示5个 */
+ min-width: 120px;
+ /* 确保每个项目有足够的空间 */
- .AreaLegendBoxItemIcon {
- width: 20px;
- height: 20px;
- margin-right: 8px;
- border-radius: 50%;
- }
-
- .AreaLegendBoxItemLabel {
- font-family: OPPOSans, OPPOSans;
- font-weight: normal;
- font-size: 14px;
- color: #E4F3FF;
- line-height: 18px;
- text-align: left;
- font-style: normal;
- }
+ .AreaLegendBoxItemIcon {
+ width: 20px;
+ height: 20px;
+ margin-right: 8px;
+ margin-bottom: 8px;
+ border-radius: 50%;
}
-
+ .AreaLegendBoxItemLabel {
+ font-family: OPPOSans, OPPOSans;
+ font-weight: normal;
+ font-size: 14px;
+ color: #E4F3FF;
+ line-height: 18px;
+ text-align: left;
+ font-style: normal;
+ }
}
}
\ No newline at end of file
diff --git a/src/page/index/components/AreaLegend/AreaLegend.vue b/src/page/index/components/AreaLegend/AreaLegend.vue
index c4a0c78..5363797 100644
--- a/src/page/index/components/AreaLegend/AreaLegend.vue
+++ b/src/page/index/components/AreaLegend/AreaLegend.vue
@@ -2,15 +2,13 @@
import { watch } from 'vue';
import './AreaLegend.less'
-
-// 配色方案一
+// 配色方案,扩展为30个颜色
let colorList1 = [
- "#4F83FA",
- "#A39BFF",
- "#63B6FC",
- "#88DFB2",
- "#88C3BF",
- "#d9dcf3",
+ "#4F83FA", "#A39BFF", "#63B6FC", "#88DFB2", "#88C3BF", "#d9dcf3",
+ "#FF7F50", "#87CEFA", "#8A2BE2", "#A52A2A", "#DEB887", "#5F9EA0",
+ "#7FFF00", "#D2691E", "#FF69B4", "#CD5C5C", "#8B0000", "#006400",
+ "#FFD700", "#DAA520", "#808080", "#F0E68C", "#ADFF2F", "#00008B",
+ "#008080", "#FF00FF", "#800080", "#FF6347", "#2E8B57", "#F4A460"
];
const props = defineProps<{
@@ -24,17 +22,17 @@ watch(
},
{ deep: true }
);
-
-
\ No newline at end of file
+
+
diff --git a/src/page/index/components/BusinessCase/BusinessCase.vue b/src/page/index/components/BusinessCase/BusinessCase.vue
index d39e297..e599327 100644
--- a/src/page/index/components/BusinessCase/BusinessCase.vue
+++ b/src/page/index/components/BusinessCase/BusinessCase.vue
@@ -1,553 +1,376 @@
-
+
\ No newline at end of file
diff --git a/src/page/index/components/PageMap/PageMap.vue b/src/page/index/components/PageMap/PageMap.vue
index 26fcb9f..9ffe4df 100644
--- a/src/page/index/components/PageMap/PageMap.vue
+++ b/src/page/index/components/PageMap/PageMap.vue
@@ -12,12 +12,11 @@ import YNHighWayLine from '../../../../options/YNHighWayLine.js'
const scene = ref();
// 配色方案一
let colorList1 = [
- "#4F83FA",
- "#A39BFF",
- "#63B6FC",
- "#88DFB2",
- "#88C3BF",
- "#d9dcf3",
+ "#4F83FA", "#A39BFF", "#63B6FC", "#88DFB2", "#88C3BF", "#d9dcf3",
+ "#FF7F50", "#87CEFA", "#8A2BE2", "#A52A2A", "#DEB887", "#5F9EA0",
+ "#7FFF00", "#D2691E", "#FF69B4", "#CD5C5C", "#8B0000", "#006400",
+ "#FFD700", "#DAA520", "#808080", "#F0E68C", "#ADFF2F", "#00008B",
+ "#008080", "#FF00FF", "#800080", "#FF6347", "#2E8B57", "#F4A460"
];
// 所有服务区的数据
let defaultServerPartList = reactive([]);
diff --git a/src/page/index/components/RegionalRevenue/RegionalRevenue.vue b/src/page/index/components/RegionalRevenue/RegionalRevenue.vue
index c7b2755..f5170b1 100644
--- a/src/page/index/components/RegionalRevenue/RegionalRevenue.vue
+++ b/src/page/index/components/RegionalRevenue/RegionalRevenue.vue
@@ -26,7 +26,13 @@ echarts.use([
let myChart: echarts.ECharts;
// 自定义颜色列表
-const colorList = ['#FF307C', '#FF9500', '#FFD900', '#00FFB7', '#0094FF', '#7D4CD2'];
+const colorList = [
+ "#4F83FA", "#A39BFF", "#63B6FC", "#88DFB2", "#88C3BF", "#d9dcf3",
+ "#FF7F50", "#87CEFA", "#8A2BE2", "#A52A2A", "#DEB887", "#5F9EA0",
+ "#7FFF00", "#D2691E", "#FF69B4", "#CD5C5C", "#8B0000", "#006400",
+ "#FFD700", "#DAA520", "#808080", "#F0E68C", "#ADFF2F", "#00008B",
+ "#008080", "#FF00FF", "#800080", "#FF6347", "#2E8B57", "#F4A460"
+];
let allServiceId: string = '1143,1144,1186,1188,1189,1190,1191,1192,1193,979,999,1023,1029,1030,1031,1033,1037,1041,1078,1087,1095,1137,1141,1147,1157,1159,1164,1165,1170,1174,981,985,987,994,1007,1009,1010,1012,1016,971,996,1002,1017,1018,1022,1027,1032,1073,1076,1099,1118,1122,1140,1142,1150,1171,970,969,978,1001,1005,1015,1050,1051,1052,1053,1064,1066,1096,1097,1101,1103,1104,1105,1106,1109,1112,1114,1115,1116,1117,991,995,1039,1080,1094,1100,1107,1123,1127,1133,1154,1155,1161,1163,1179,1180,1019,1021,1048,1049,1056,1059,1062,1063,1069,1093,1067,1228,1008,1070,1072,1166,1113,1148,1153,986,1086,1075,1182,1068,1226,1218,1088,1090,1058,1044,1084,1077,1089,1081,1091,1083,1162,1036,1092,988,993,1111,1158,1194,1202,1198,1207,1216,1221,1203,1206,1209,1215,1227,1201,1205,1208,1214,1217,1229,1212,1065,1085,1055,1071,982,1168,1185,1110,977,1169,973,974,1011,1151,1121,1046,1045,1172,1146,976,1187,1156,1181,1136,1138,1211,983,1195,1131,1176,1167,1223,997,1252,1225,1043,1129,992,1149,975,1382,989,1047,1197,1025,1199,1183,1222,1178,1003,1013,1224,1139,1125,1173,1135,1038,1177,1060,1175,1184,1035,1026,1028,1079,1119,1120,1489'
// 图例数据