From b541e03cd3a1c7d73ed6b9dc55bd956f39e4108b Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期三, 08 一月 2025 15:44:16 +0800 Subject: [PATCH] 调整图标在树、列表中的显示,按钮配置修改样式 --- Source/plt-web/plt-web-ui/src/styles/ui.scss | 56 ++++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 38 insertions(+), 18 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/styles/ui.scss b/Source/plt-web/plt-web-ui/src/styles/ui.scss index 8798e74..1faae30 100644 --- a/Source/plt-web/plt-web-ui/src/styles/ui.scss +++ b/Source/plt-web/plt-web-ui/src/styles/ui.scss @@ -405,17 +405,29 @@ .avue--detail .el-col{ margin-bottom: 0; } +.avue-crud table td{ + line-height: 22px; +} +/**宸︿晶鎿嶄綔鏍�**/ +.avue-crud__left{ + display: flex; + align-items: center; +} +/**琛ㄥ唴鎿嶄綔鏍�**/ .avue-crud .avue-crud__menu{ - min-height: 26px; + min-height: 18px; + display: flex; + justify-content: space-around; } .avue-crud .avue-crud__menu .el-button{ - margin-bottom: 5px; + } .avue-crud .avue-crud__menu .el-button--text{ padding: 2px 6px; + display: flex; } -.avue-crud table td{ - line-height: 22px; +.avue-crud .avue-crud__menu .el-button--text > span { + display: flex; } .el-table--small, .el-table__expand-icon{ font-size: 14px; @@ -454,12 +466,29 @@ bottom: 0; } /****澶勭悊鍥哄畾鍒楅敊琛岄棶棰�****/ +.el-table th.el-table__cell .cell{ + display: flex; + justify-content:flex-start; +} +.el-table th.el-table__cell.is-center .cell{ + justify-content:center; +} + +.el-table th.el-table__cell.is-right .cell{ + justify-content: flex-end; +} +.el-table th.el-table__cell .cell span:first-child{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} .el-table .el-table__fixed,.el-table .el-table__fixed-right{ height: 100% !important; } .el-table__fixed .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-body-wrapper{ - height: calc(100% - 37px) !important; - top:37px !important; + height: calc(100% - 47px) !important; + top:35px !important; + padding-bottom: 12px !important; } /* 鍒嗛〉 @@ -576,10 +605,6 @@ margin-right: 3px; } -.avue-crud .avue-crud__menu .el-button--text >span { - display: flex; -} - /* 鏍� */ @@ -588,6 +613,9 @@ display: none !important; } /*鍥炬爣**/ +.el-tree-node__label > span{ + display: flex; +} .el-tree-node__label .iconShow{ display: inline-block; width: 14px !important; @@ -624,14 +652,6 @@ content: ''; } -.avue-crud .avue-crud__menu .el-button{ - margin-top: 5px; -} - -.avue-crud__left{ - display: flex; - align-items: center; -} .font14{font-size: 14px;width: 12px;height: 12px;display: inline-block;} .font16{font-size: 16px;width: 14px;height: 14px;display: inline-block;} -- Gitblit v1.9.3