2 Commit-ok 82cfd52dfb ... 643ad23ac4

Szerző SHA1 Üzenet Dátum
  “hanlingqiang 643ad23ac4 蓝色预警图标改为绿色预警 2 hónapja
  “hanlingqiang 67ae1973a0 项目打包说明 2 hónapja

+ 3 - 0
README.md

@@ -4,3 +4,6 @@
 ### npm run build weibao 正式环境
 ### npm run serve 运行后为 http://localhost:12004/zhulao/ 想访问weibao目录就手动切换到 http://localhost:12004/weibao/
 
+## nvm ls : 检查node有哪些版本: v14.17.0 和 v22.18.0
+## nvm use 14 : 使用v14.17.0的node版本去打包,用高版本会出错
+

+ 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; // 更暖的黄色