From bd89204dcacc9ba0948295a441cd939953b581dd Mon Sep 17 00:00:00 2001 From: lixiangyu <lixiangyu@xalxzn.com> Date: 星期四, 07 八月 2025 18:05:21 +0800 Subject: [PATCH] style(UserMenu): 调整搜索框文字颜色以适应主题- 将搜索框输入文字颜色设置为白色 - 将搜索框占位符文字颜色设置为白色 - 这些更改解决google浏览器中了无法看到搜索框输入文字 --- src/components/tools/UserMenu.vue | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/components/tools/UserMenu.vue b/src/components/tools/UserMenu.vue index a2a5cc6..9a8a204 100644 --- a/src/components/tools/UserMenu.vue +++ b/src/components/tools/UserMenu.vue @@ -257,16 +257,30 @@ <style lang="less" scoped> /* update_begin author:zhaoxin date:20191129 for: 璁╂悳绱㈡棰滆壊鑳介殢涓婚棰滆壊鍙樻崲*/ /* update-begin author:sunjianlei date:20191220 for: 瑙e喅鍏ㄥ眬鏍峰紡鍐茬獊闂 */ + //.user-wrapper .search-input { + // width: 180px; + // color: inherit; + // + // /deep/ .ant-select-selection { + // background-color: inherit; + // border: 0; + // border-bottom: 1px solid white; + // &__placeholder, &__field__placeholder { + // color: inherit; + // } + // } + //} + .user-wrapper .search-input { width: 180px; - color: inherit; + color: white; // 娣诲姞杩欒锛氳缃緭鍏ユ枃瀛楅鑹蹭负鐧借壊 /deep/ .ant-select-selection { background-color: inherit; border: 0; border-bottom: 1px solid white; &__placeholder, &__field__placeholder { - color: inherit; + color: white; // 淇敼杩欒锛氳缃崰浣嶇鏂囧瓧棰滆壊涓虹櫧鑹� } } } -- Gitblit v1.9.3