diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/dashboard/workbench/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/dashboard/workbench/index.vue index 6ebd1fae..c5d98d29 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/dashboard/workbench/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/dashboard/workbench/index.vue @@ -606,24 +606,7 @@ onUnmounted(() => { color: rgb(15 23 42) !important; } -html.dark - :deep( - .workbench-header-select.ant-select-single - .ant-select-selector - .ant-select-selection-item - ), -html.dark - :deep( - .workbench-header-select.ant-select-single - .ant-select-selector - .ant-select-selection-placeholder - ) { - color: hsl(0deg 0% 95%) !important; -} -html.dark :deep(.workbench-header-select .ant-select-selector) { - background-color: hsl(240deg 3.7% 15.9% / 55%) !important; -} /* 店铺:在通用样式之后覆盖,选中项可换行以显示完整店名 */ :deep(.workbench-header-select.workbench-shop-select.ant-select) { @@ -657,21 +640,6 @@ html.dark :deep(.workbench-header-select .ant-select-selector) { line-height: 1.35 !important; } -html.dark - :deep( - .workbench-header-select.workbench-shop-select.ant-select-single - .ant-select-selector - .ant-select-selection-item - ), -html.dark - :deep( - .workbench-header-select.workbench-shop-select.ant-select-single - .ant-select-selector - .ant-select-selection-placeholder - ) { - color: hsl(0deg 0% 95%) !important; -} - :deep(.tax-rate-input .ant-input-number-input) { height: 32px; line-height: 32px; @@ -685,4 +653,14 @@ html.dark .workbench-tabs.ant-tabs .ant-tabs-nav { background-color: hsl(222.34deg 10.43% 12.27%); border-bottom-color: hsl(240deg 3.7% 22%); } + +html.dark .workbench-header-select .ant-select-selector { + background-color: hsl(240deg 3.7% 18%) !important; +} + +html.dark .workbench-header-select.ant-select-single .ant-select-selector .ant-select-selection-item, +html.dark .workbench-header-select.ant-select-single .ant-select-selector .ant-select-selection-placeholder, +html.dark .workbench-header-select .ant-select-selection-search-input { + color: hsl(0deg 0% 95%) !important; +}