From 9fc9b358d53080ea650079f8a832729b2db802df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Thu, 12 Oct 2023 11:11:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/diythem.scss | 29 ++++++++++--------- src/assets/styles/element-ui.scss | 4 +-- .../networkSecurity/DataSourceTj/index.vue | 11 +------ 3 files changed, 18 insertions(+), 26 deletions(-) diff --git a/src/assets/styles/diythem.scss b/src/assets/styles/diythem.scss index 42ba5de..d736bce 100644 --- a/src/assets/styles/diythem.scss +++ b/src/assets/styles/diythem.scss @@ -42,19 +42,19 @@ } // 表格 - .el-table .el-table__header-wrapper th { - font-size: 12px; - font-weight: 400; - // height: 35px; - color: #666; - background-color: #f2f2f2; - } - .el-table--medium .el-table__cell { - padding: 3px 0; - // height: 35px; - font-size: 12px; - color: #666; - } + // .el-table .el-table__header-wrapper th { + // font-size: 12px; + // font-weight: 400; + // // height: 35px; + // color: #666; + // background-color: #f2f2f2; + // } + // .el-table--medium .el-table__cell { + // padding: 3px 0; + // // height: 35px; + // font-size: 12px; + // color: #666; + // } .el-table .fixed-width .el-button--mini { font-size: 12px; @@ -80,7 +80,8 @@ color: white; } } - .el-select,.el-date-editor{ + .el-select, + .el-date-editor { width: 100%; } } diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss index 363092a..feb26c6 100644 --- a/src/assets/styles/element-ui.scss +++ b/src/assets/styles/element-ui.scss @@ -69,7 +69,7 @@ // dropdown .el-dropdown-menu { a { - display: block + display: block; } } @@ -89,4 +89,4 @@ > .el-submenu__title .el-submenu__icon-arrow { display: none; -} \ No newline at end of file +} diff --git a/src/views/tcZz/networkSecurity/DataSourceTj/index.vue b/src/views/tcZz/networkSecurity/DataSourceTj/index.vue index f65972b..a0584ed 100644 --- a/src/views/tcZz/networkSecurity/DataSourceTj/index.vue +++ b/src/views/tcZz/networkSecurity/DataSourceTj/index.vue @@ -76,7 +76,6 @@ @@ -257,15 +256,7 @@ export default { }; }, created() { - // //给表格一个固定值 - this.$nextTick(() => { - this.tableHeigth = - this.$refs.main.offsetHeight - - (this.$refs.topSearch.offsetHeight + - this.$refs.tableTool.offsetHeight) - - 46; - this.getList(); - }); + this.getList(); }, methods: { /** 查询数据来源统计tc_sjlytj 列表 */