Jelajahi Sumber

优化表单样式

iZaiZaiA 2 tahun lalu
induk
melakukan
e7eae95920
1 mengubah file dengan 11 tambahan dan 2 penghapusan
  1. 11 2
      src/components/table-form/index.vue

+ 11 - 2
src/components/table-form/index.vue

@@ -417,7 +417,9 @@ defineExpose({
         padding: 10px;
         justify-content: center;
         td {
+            position: relative;
             padding: 6px;
+            background-clip: padding-box;
             .el-input {
                 clear: both;
                 color: #606266;
@@ -484,10 +486,17 @@ defineExpose({
             }
             //表单上传
             .hc-upload-table-form {
-                width: 100%;
-                clear: both;
+                position: absolute;
+                top: 6px;
+                bottom: 6px;
+                left: 6px;
+                right: 6px;
+                .el-upload {
+                    height: 100%;
+                }
             }
         }
+        //列合并的单元格
         td[rowspan] {
             height: $initials;
         }