瀏覽代碼

'详情布局修改'

zhangyu 5 年之前
父節點
當前提交
bba015c30f

+ 3 - 3
src/components/ledger/details/detail/exhibitionBaseInformation.vue

@@ -55,7 +55,7 @@
         <el-button slot="reference" type="text">{{value.Value ? '有' :'-'}}</el-button>
       </el-popover>
       <el-popover
-        v-else-if="value.Value && value.Value.length && `${value.InfoPointName}:${value.Value}`.length>23"
+        v-else-if="value.Value && value.Value.length && `${value.InfoPointName}:${value.Value}`.length>22"
         placement="top"
         width="160"
         trigger="hover">
@@ -95,7 +95,7 @@
       },
       handleName(infoPoint, val) {
         let text = `${infoPoint}:${val}`
-        return text.length > 23 ? val.substring(0, 23-`${infoPoint}:`.length) + '...' : val
+        return text.length > 22 ? val.substring(0, 22-`${infoPoint}:`.length) + '...' : val
       }
     }
   }
@@ -126,7 +126,7 @@
     }
 
     .infoPoint-item {
-      width: 350px;
+      width: 335px;
       display: inline-block;
       margin-left: 20px;
     }

+ 3 - 1
src/components/ledger/details/detail/exhibitionEnergy.vue

@@ -43,7 +43,9 @@
     .table-dynamic {
       height: 85px;
       width: 100%;
-      margin: 5px 5px 5px 20px;
+      margin: 5px 0;
+      padding-left: 20px;
+      box-sizing: border-box;
     }
 
     .table-title {

+ 1 - 1
src/views/ledger/facility/details/index.vue

@@ -492,7 +492,7 @@
           }
 
           .content-point-right {
-            width: 350px;
+            width: 300px;
             border-left: 1px solid #ccc;
           }
         }

+ 1 - 1
src/views/ledger/spacelist/spaceDetail/index.vue

@@ -525,7 +525,7 @@
             flex: 1;
           }
           .content-point-right {
-            width: 350px;
+            width: 300px;
             border-left: 1px solid #ccc;
           }
         }