Quellcode durchsuchen

feat:修改报告文字大小

wangsisi vor 4 Tagen
Ursprung
Commit
60cd74e063

+ 1 - 1
src/views/old_mini/agri_file/index.vue

@@ -470,7 +470,7 @@ async function fetchReportList() {
             type: "abnormal_report",
             title: "异常农情诊断报告",
             desc: abnormalReports.explain_simple || "",
-            cover,
+            cover :abnormalReports.cover_url || cover,
         }]
         reportList.value = [...baseList, ...abnormalList];
     }else{

+ 9 - 9
src/views/old_mini/growth_report/alert_detail.vue

@@ -294,7 +294,7 @@ function applyRiskReport(data) {
     if (!data || typeof data !== "object") return;
     applyAnalysisPanel(data, {
         middleLabel: "气象预警",
-        middleValue: data.stress_desc,
+        middleValue: data.risk_desc,
     });
     applyResultAndAnalysis(data);
     importanceDesc.value = "";
@@ -476,7 +476,7 @@ onActivated(fetchAlertDetail);
         border-radius: 20px;
         background: #FF953D;
         color: #fff;
-        font-size: 12px;
+        font-size: 14px;
         line-height: 18px;
         white-space: nowrap;
     }
@@ -543,9 +543,9 @@ onActivated(fetchAlertDetail);
         background: #2199f8;
         backdrop-filter: blur(4px);
         color: #fff;
-        font-size: 12px;
-        height: 18px;
-        line-height: 18px;
+        font-size: 14px;
+        height: 20px;
+        line-height: 20px;
         flex-shrink: 0;
     }
 
@@ -634,8 +634,8 @@ onActivated(fetchAlertDetail);
 
     &__desc {
         margin-top: 4px;
-        font-size: 13px;
-        line-height: 20px;
+        font-size: 14px;
+        line-height: 22px;
         color: rgba(6, 6, 6, 0.55);
         word-break: break-all;
         white-space: pre-line;
@@ -682,8 +682,8 @@ onActivated(fetchAlertDetail);
     }
 
     &__desc {
-        font-size: 13px;
-        line-height: 20px;
+        font-size: 14px;
+        line-height: 22px;
         color: rgba(6, 6, 6, 0.55);
         word-break: break-all;
         white-space: pre-line;