From 541fbb4b0a5382ce3ee0f345c0983cc128f4ca63 Mon Sep 17 00:00:00 2001 From: zk Date: Fri, 22 Dec 2023 17:42:54 +0800 Subject: [PATCH] update --- src/assets/less/index.less | 1 + src/assets/mapUtils/commonFun.ts | 2 +- src/components/body-d-left/twoL.vue | 4 ++-- src/views/indexSon.vue | 4 ++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/assets/less/index.less b/src/assets/less/index.less index 857c28f..74facab 100644 --- a/src/assets/less/index.less +++ b/src/assets/less/index.less @@ -69,6 +69,7 @@ // 下拉框样式-start .ant-select.bg-000 { + color: #fff !important; background-color: #000; } diff --git a/src/assets/mapUtils/commonFun.ts b/src/assets/mapUtils/commonFun.ts index b25fbe3..75d8b05 100644 --- a/src/assets/mapUtils/commonFun.ts +++ b/src/assets/mapUtils/commonFun.ts @@ -32,7 +32,7 @@ export function typeToIcon(type: string) { if (type == '3') { return createIcon({ icon: mapIcon2, iconSize, imageSize }); } - if (type == '5') { + if (type == '5' || type == '4') { return createIcon({ icon: mapIcon3, iconSize, imageSize }); } if (type == '6') { diff --git a/src/components/body-d-left/twoL.vue b/src/components/body-d-left/twoL.vue index 37b9f3d..0869932 100644 --- a/src/components/body-d-left/twoL.vue +++ b/src/components/body-d-left/twoL.vue @@ -184,7 +184,7 @@ //框背景色 .ant-select:not(.ant-select-customize-input) .ant-select-selector { - color: #1b7ef2 !important; + color: #1b7ef2; background-color: transparent !important; border: 1px solid #1b7ef2 !important; } @@ -214,4 +214,4 @@ .ant-select-item-option-selected:not(.ant-select-item-option-disabled) { background-color: #002e64 !important; } - + \ No newline at end of file diff --git a/src/views/indexSon.vue b/src/views/indexSon.vue index f936530..133c34a 100644 --- a/src/views/indexSon.vue +++ b/src/views/indexSon.vue @@ -192,6 +192,10 @@ .type-select { width: 140px; margin-right: 10px; + + :deep(.ant-select-selection-item) { + color: #fff !important; + } } }