From 13d6db895f7e8a605384145fb4baa8a95fe4e0af Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Thu, 18 Jul 2024 14:54:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20box-shadow=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/App.vue | 7 +++++++ hx-ai-intelligent/src/view/equipmentManage/group/index.vue | 7 +++++++ hx-ai-intelligent/src/view/equipmentManage/ledger/index.vue | 8 +++++++- .../src/view/organizationManage/departmentManage/index.vue | 2 +- .../src/view/organizationManage/usermanage/index.vue | 6 ++++++ lib/saas/view/system/application.vue | 2 +- 6 files changed, 29 insertions(+), 3 deletions(-) diff --git a/hx-ai-intelligent/src/App.vue b/hx-ai-intelligent/src/App.vue index 1b31526..9d71885 100644 --- a/hx-ai-intelligent/src/App.vue +++ b/hx-ai-intelligent/src/App.vue @@ -48,11 +48,18 @@ height: 100%; } } + // 树组件 :deep(.ant-tree-node-content-wrapper) { overflow: hidden; text-overflow: ellipsis; text-wrap: nowrap; } + + :deep(.ant-tree-node-selected) { + color: @primary-color !important; + } + + // ns-view-list-table 搜索区域 :deep(.ns-table-search) { .ns-flexv2-form { .ns-operate { diff --git a/hx-ai-intelligent/src/view/equipmentManage/group/index.vue b/hx-ai-intelligent/src/view/equipmentManage/group/index.vue index 0ee490a..597d1cf 100644 --- a/hx-ai-intelligent/src/view/equipmentManage/group/index.vue +++ b/hx-ai-intelligent/src/view/equipmentManage/group/index.vue @@ -237,4 +237,11 @@ .common-style; } } + + .tree, + :deep(.ns-table-search), + // :deep(.ns-list-table), + :deep(.ns-table-main) { + box-shadow: @ns-content-box-shadow; + } diff --git a/hx-ai-intelligent/src/view/equipmentManage/ledger/index.vue b/hx-ai-intelligent/src/view/equipmentManage/ledger/index.vue index 4a35850..2cd33ec 100644 --- a/hx-ai-intelligent/src/view/equipmentManage/ledger/index.vue +++ b/hx-ai-intelligent/src/view/equipmentManage/ledger/index.vue @@ -13,4 +13,10 @@ name: 'LedgerIndex', // 与页面路由name一致缓存才可生效 }); - + diff --git a/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue index e7be87b..a49011b 100644 --- a/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue +++ b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue @@ -816,7 +816,7 @@ padding: @ns-gap; background-color: @white; border-radius: @ns-border-radius; - // box-shadow: @ns-content-box-shadow; + box-shadow: @ns-content-box-shadow; } .tree { diff --git a/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue b/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue index 9528e9e..79613a5 100644 --- a/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue +++ b/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue @@ -652,4 +652,10 @@ } } } + + .top, + :deep(.ns-table-search), + :deep(.ns-table-main) { + box-shadow: @ns-content-box-shadow; + } diff --git a/lib/saas/view/system/application.vue b/lib/saas/view/system/application.vue index 3b432cf..76a7517 100644 --- a/lib/saas/view/system/application.vue +++ b/lib/saas/view/system/application.vue @@ -337,7 +337,7 @@ height: 100%; background-color: @white; border-radius: @ns-border-radius; - overflow-y: auto; + // overflow-y: auto; // overflow-x: hidden; // margin: 0 16px 16px 16px; }