From 2ac337a2ad19d2907d5a7d4022603b1dcce867a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sat, 15 Nov 2025 23:54:47 +0800 Subject: [PATCH] 1 --- src/components/HomeNavbar/index.scss | 5 +++-- src/game_pages/search/index.scss | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/HomeNavbar/index.scss b/src/components/HomeNavbar/index.scss index ee78448..fc6f910 100644 --- a/src/components/HomeNavbar/index.scss +++ b/src/components/HomeNavbar/index.scss @@ -119,7 +119,7 @@ letter-spacing: -0.22px; // -1.6428571734045228% min-width: 0; // 允许输入框缩小 height: 100%; // 输入框高度填满容器 - background: transparent; // 去掉输入框背景 + background: transparent !important; // 去掉输入框背景 :global(.nut-input-inner) { font-family: "PingFang SC"; @@ -129,7 +129,7 @@ letter-spacing: -0.22px; color: #000000; // 根据设计稿:文本颜色 fill_9WEVAH height: 100%; - background: transparent; // 去掉输入框内部背景 + background: transparent !important; // 去掉输入框内部背景 } :global(.nut-input-placeholder) { @@ -137,6 +137,7 @@ font-size: 13.66px; line-height: 17.57px; letter-spacing: -0.22px; + background: transparent !important; // 去掉placeholder背景 } } } diff --git a/src/game_pages/search/index.scss b/src/game_pages/search/index.scss index 8dbc222..bc2771c 100644 --- a/src/game_pages/search/index.scss +++ b/src/game_pages/search/index.scss @@ -23,6 +23,15 @@ .nut-input { padding: 0; height: 100%; + background: transparent !important; // 去掉输入框背景 + + :global(.nut-input-inner) { + background: transparent !important; // 去掉输入框内部背景 + } + + :global(.nut-input-placeholder) { + background: transparent !important; // 去掉placeholder背景 + } } }