Kaynağa Gözat

蓝色预警图标改为绿色预警

“hanlingqiang 2 hafta önce
ebeveyn
işleme
643ad23ac4

+ 4 - 3
src/views/weibao/components/warningSheet.vue

@@ -48,7 +48,7 @@
     />
 
     <!-- 蓝色预警 -->
-    <div class="group-title blue">色预警</div>
+    <div class="group-title blue">绿色预警</div>
     <van-cell
       v-for="item in blueList"
       :key="item.value"
@@ -125,7 +125,7 @@ export default {
           if (this.currentItem.label.includes("(红)")) levelText = "红色预警";
           if (this.currentItem.label.includes("(橙)")) levelText = "橙色预警";
           if (this.currentItem.label.includes("(黄)")) levelText = "黄色预警";
-          if (this.currentItem.label.includes("(蓝)")) levelText = "色预警";
+          if (this.currentItem.label.includes("(蓝)")) levelText = "绿色预警";
 
           this.$emit("confirm", {
             item: this.currentItem,
@@ -168,7 +168,8 @@ export default {
   color: #faad14;
 }
 .blue {
-  color: #1890ff;
+  /* color: #1890ff; */
+  color: #52c41a;
 }
 
 .van-cell {

+ 3 - 2
src/views/weibao/views/followUp/history.vue

@@ -81,7 +81,7 @@ export default {
     getWarningText(level) {
       const levelNum = Number(level);
       const levelMap = {
-        1: "色预警",
+        1: "绿色预警",
         2: "黄色预警",
         3: "橙色预警",
         4: "红色预警",
@@ -205,7 +205,8 @@ export default {
 
     // 各级别颜色
     .level-1 {
-      background-color: #1890ff;
+      // background-color: #1890ff;
+      background-color: #52c41a;
     }
     .level-2 {
       background-color: #faad14;

+ 2 - 2
src/views/weibao/views/followUp/plan.vue

@@ -72,7 +72,7 @@ export default {
     getWarningText(level) {
       const levelNum = Number(level);
       const levelMap = {
-        1: "色预警",
+        1: "绿色预警",
         2: "黄色预警",
         3: "橙色预警",
         4: "红色预警",
@@ -193,7 +193,7 @@ export default {
 
     // 各级别颜色优化(更舒适的色调)
     .level-1 {
-      background-color: #1890ff; // 更柔和的蓝色
+      background-color: #52c41a; // 更柔和的蓝色
     }
     .level-2 {
       background-color: #faad14; // 更暖的黄色