From f36e210fe8288cbec58d314b67dca29c471fb3d5 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Thu, 18 Dec 2025 09:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Company=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84UI=E4=B8=BAFUI=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StockQuoteCard/components/CompareStockInput.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/Company/components/StockQuoteCard/components/CompareStockInput.tsx b/src/views/Company/components/StockQuoteCard/components/CompareStockInput.tsx index 92d9885e..da9e106b 100644 --- a/src/views/Company/components/StockQuoteCard/components/CompareStockInput.tsx +++ b/src/views/Company/components/StockQuoteCard/components/CompareStockInput.tsx @@ -45,8 +45,9 @@ const CompareStockInput: React.FC = ({ // 从 Redux 获取全部股票列表 const allStocks = useSelector((state: RootState) => state.stock.allStocks); - // 黑金主题颜色 - const borderColor = '#C9A961'; + // 黑金主题颜色(提高对比度) + const borderColor = '#E8C14D'; + const textColor = 'rgba(245, 240, 225, 0.95)'; const goldColor = '#F4D03F'; const bgColor = '#1A202C'; @@ -105,7 +106,7 @@ const CompareStockInput: React.FC = ({ - + = ({ fontSize="sm" borderColor={borderColor} bg="transparent" - _placeholder={{ color: borderColor, fontSize: 'sm' }} + _placeholder={{ color: textColor, fontSize: 'sm' }} _focus={{ borderColor: goldColor, boxShadow: `0 0 0 1px ${goldColor}`, @@ -190,7 +191,7 @@ const CompareStockInput: React.FC = ({ {stock.code} - + {stock.name}