Selaa lähdekoodia

fix: 表格处方

lxf 1 päivä sitten
vanhempi
commit
cbf2803e00

+ 43 - 43
src/views/old_mini/agri_work/components/priceTable.vue

@@ -173,59 +173,59 @@ const getTotal = (item) => {
     }
     .new-table-wrap {
         padding: 5px;
-        .new-prescription {
-            .new-table {
+    }
+    .new-prescription {
+        .new-table {
+            display: flex;
+            align-items: center;
+            background: #fff;
+            border-radius: 5px;
+            color: rgba(0, 0, 0, 0.6);
+            font-size: 11px;
+            min-height: 45px;
+            .line-l {
                 display: flex;
                 align-items: center;
-                background: #fff;
-                border-radius: 5px;
-                color: rgba(0, 0, 0, 0.6);
-                font-size: 11px;
-                min-height: 45px;
-                .line-l {
+                flex: 1;
+                .line-2 {
+                    flex: 1;
+                    padding: 0 2px;
+                }
+            }
+            .line-r {
+                &.has-border {
+                    border-left: 1px solid rgba(225, 225, 225, 0.8);
+                }
+                .line-3 {
                     display: flex;
                     align-items: center;
-                    flex: 1;
-                    .line-2 {
-                        flex: 1;
-                        padding: 0 2px;
-                    }
                 }
-                .line-r {
-                    &.has-border {
-                        border-left: 1px solid rgba(225, 225, 225, 0.8);
-                    }
-                    .line-3 {
-                        display: flex;
-                        align-items: center;
-                    }
-                    .sub-line {
-                        padding: 10px 0;
-                    }
-                    .line-4 {
-                        display: flex;
-                        align-items: center;
-                        border-top: 1px solid rgba(225, 225, 225, 0.8);
-                    }
-                    .execute-line {
-                        border-right: 1px solid rgba(225, 225, 225, 0.8);
-                    }
+                .sub-line {
+                    padding: 10px 0;
+                }
+                .line-4 {
+                    display: flex;
+                    align-items: center;
+                    border-top: 1px solid rgba(225, 225, 225, 0.8);
+                }
+                .execute-line {
+                    border-right: 1px solid rgba(225, 225, 225, 0.8);
                 }
-            }
-            .note-text {
-                margin: 8px 0 4px 0;
-                color: rgba(0, 0, 0, 0.4);
-                background: #fff;
-                padding: 6px 8px;
-                border-radius: 5px;
-                text-align: left;
-                font-size: 11px;
             }
         }
-        .new-prescription + .new-prescription {
-            padding-top: 8px;
+        .note-text {
+            margin: 8px 0 4px 0;
+            color: rgba(0, 0, 0, 0.4);
+            background: #fff;
+            padding: 6px 8px;
+            border-radius: 5px;
+            text-align: left;
+            font-size: 11px;
         }
     }
+    .new-prescription + .new-prescription {
+        padding-top: 8px;
+    }
     .new-table-wrap + .new-table-wrap {
         border-top: 1px solid rgba(0, 0, 0, 0.08);
     }

+ 1 - 1
src/views/old_mini/home/components/AgriculturalDynamics.vue

@@ -151,7 +151,7 @@ const unansweredList = ref([]);
 const getUnansweredFarms = async () => {
     const params = {
         page: 0,
-        limit: 3,
+        limit: 50,
         flowStatus: 5,
     };
     const res = await VE_API.home.listUnansweredFarms(params);