Browse Source

bug修复

dengrui 10 months ago
parent
commit
5465f9997c
2 changed files with 8 additions and 6 deletions
  1. 1 0
      src/styles/reset.scss
  2. 7 6
      src/views/base/excel/template/index.vue

+ 1 - 0
src/styles/reset.scss

@@ -23,6 +23,7 @@ html {
 
 body {
   width: 100%;
+  overflow: hidden;
   height: 100%;
   margin: 0;
   font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",

+ 7 - 6
src/views/base/excel/template/index.vue

@@ -69,6 +69,7 @@
               :rules="rules"
               label-width="auto"
               :show-message="false"
+              style="padding-right: 10px"
               status-icon
             >
               <el-form-item label="表格名称" prop="formName">
@@ -131,7 +132,7 @@
                   label-width="auto"
                   status-icon
                   :show-message="false"
-                  style="width: 410px"
+                  style="width: 440px"
                 >
                   <el-form-item label="数据名称" prop="paramName">
                     <el-select
@@ -186,7 +187,7 @@
                 id="table"
                 border
                 :data="settings"
-                style="width: 430px; max-height: 240px"
+                style="width: 420px; max-height: 240px"
               >
                 <el-table-column prop="paramName" label="名称" />
                 <el-table-column prop="position" label="坐标" />
@@ -254,7 +255,7 @@
             <el-table
               border
               :data="settings"
-              style="width: 450px; max-height: 240px"
+              style="width: 440px; max-height: 240px"
             >
               <el-table-column prop="paramName" label="数据名称" />
               <el-table-column prop="position" label="同步坐标" />
@@ -773,13 +774,13 @@ onMounted?.(() => {
   }
 }
 .add {
-  width: 430px;
+  width: 420px;
   height: 220px;
   display: flex;
   flex-direction: column;
   .body {
     display: flex;
-    width: 430px;
+    width: 420px;
     flex: 1;
   }
 }
@@ -788,7 +789,7 @@ onMounted?.(() => {
 }
 .editView {
   width: 100%;
-  height: calc(100vh - 140px);
+  height: calc(100vh - 150px);
   display: flex;
 
   .exView {