Browse Source

样式修改

sunzehao 1 week ago
parent
commit
6c060e4eda

+ 2 - 2
src/components/windNeedCharts/dash-pie-chart.vue

@@ -101,11 +101,11 @@ export default {
                     new echarts.graphic.LinearGradient(0, 0, 1, 0, [
                       {
                         offset: 0,
-                        color: "#4b55ae",
+                        color: "#00E5FF",
                       },
                       {
                         offset: 1,
-                        color: "#4b55ae",
+                        color: "#00E5FF",
                       },
                     ]),
                   ],

+ 12 - 6
src/components/windNeedCharts/list-bar-chart2-home.vue

@@ -122,11 +122,13 @@ export default {
                     colorStops: [
                       {
                         offset: 0,
-                        color: partten.getColor(currColor), // 0% 处的颜色
+                        // color: partten.getColor(currColor), // 0% 处的颜色
+                        color: "#00E5FF"
                       },
                       {
                         offset: 1,
-                        color: partten.getColor(currColor), // 100% 处的颜色
+                        // color: partten.getColor(currColor), // 100% 处的颜色
+                        color: "#00E5FF"
                       },
                     ],
                   };
@@ -143,7 +145,8 @@ export default {
                   return param.data.value;
                 },
                 textStyle: {
-                  color: partten.getColor(currColor),
+                //   color: partten.getColor(currColor),
+                color: "#00E5FF",
                   // this.$store.state.themeName === "dark" ? "#ffffff" : "#000",
                   fontSize: 12,
                 },
@@ -167,7 +170,8 @@ export default {
               normal: {
                 borderWidth: 0,
                 color: function (params) {
-                  return partten.getColor(currColor);
+                //   return partten.getColor(currColor);
+                  return "#00E5FF";
                 },
                 // shadowBlur: 2,
                 // shadowColor: "rgba(255, 255, 255, 0.80)",
@@ -222,7 +226,8 @@ export default {
                     fontFamily: "Bicubik",
                   },
                   gm: {
-                    backgroundColor: partten.getColor(currColor),
+                    // backgroundColor: partten.getColor(currColor),
+                    backgroundColor: "#00E5FF",
                     width: 4,
                     height: 4,
                     lineHeight: 20,
@@ -249,7 +254,8 @@ export default {
                 itemStyle: {
                   normal: {
                     color: "transparent",
-                    borderColor: partten.getColor(currColor), // [, "#333"],
+                    // borderColor: partten.getColor(currColor), // [, "#333"],
+                    borderColor: "#00E5FF", // [, "#333"],
                     borderWidth: 1, // 边框宽度
                     // barBorderRadius: 0, //圆角半径
                     opacity: 0.5,

+ 2 - 2
src/components/windNeedCharts/pieChart.vue

@@ -176,8 +176,8 @@ export default {
             },
             splitLine: {
               lineStyle: {
-                color: "#0a389c",
-                shadowColor: "#0a389c",
+                color: "#00E5FF",
+                shadowColor: "#00E5FF",
                 shadowBlur: 10,
               },
             },

File diff suppressed because it is too large
+ 68 - 60
src/views/cesiumComponents/windView.vue


+ 3 - 3
src/views/weatherComponents/cesiumweatherView.vue

@@ -306,11 +306,11 @@ export default {
                     value: 10,
                     check: false
             }],
-            showCover: "风场",
+            showCover: "",
             coverArr: [
                 {
                     value: "风场",
-                    check: true
+                    check: false
                 },
                 {
                     value: "云层",
@@ -386,7 +386,7 @@ export default {
             this.coverArr.forEach(it => {
                 it.check = false
             })
-            it.check = true
+            it.check = !it.check
             this.showCover = it.value
             this.$emit("coverOnChange", it)
         },

Some files were not shown because too many files changed in this diff