소스 검색

优化处理关联表格样式

lph 1 년 전
부모
커밋
c8b9dc391a
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      zkqy-ui/src/views/relateTable/components/RelateTableCard.vue
  2. 2 0
      zkqy-ui/src/views/relateTable/relateTableEdit.vue

+ 6 - 1
zkqy-ui/src/views/relateTable/components/RelateTableCard.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card class="box-card" :body-style="{ padding: '0px' }">
+  <el-card class="box-card">
     <div slot="header" class="clearfix">
       <el-tag class="tag_NO">{{ dtName }}</el-tag>
       <!-- <span class="title">{{ cardData.title }}</span> -->
@@ -99,6 +99,7 @@ import { inputDisableComplete } from "@/utils/other";
 
 import { camelCase } from "@/utils";
 import { CloudFog } from "lucide-vue";
+import { bottom } from "@antv/x6/lib/registry/port-layout/line";
 export default {
   name: "RelateTableCard",
   props: ["cardData", "index", "tableKey", "sort"],
@@ -546,6 +547,10 @@ export default {
 </script>
 
 <style lang="scss" scoped>
+::v-deep .el-card__body {
+  padding: 0px;
+  padding-bottom: 10px;
+}
 .item {
   margin-bottom: 18px;
 }

+ 2 - 0
zkqy-ui/src/views/relateTable/relateTableEdit.vue

@@ -137,6 +137,8 @@ export default {
   display: flex;
   .card_wrap {
     // max-height: 400px;
+    display: flex;
+    flex-wrap: wrap;
     max-width: 400px;
     margin-right: 20px;
   }