From 42f1b2f24e2beedad3ae6bb0ed3ecc93ecf5445b Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Thu, 6 Nov 2025 12:37:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=83=AD=E9=97=A8=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E8=AF=8D=E5=B1=95=E7=A4=BA=E4=B8=80=E8=A1=8C=EF=BC=8C=E4=B8=94?= =?UTF-8?q?=E4=B8=8D=E5=B1=95=E7=A4=BA=E8=82=A1=E7=A5=A8=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Community/components/PopularKeywords.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/Community/components/PopularKeywords.js b/src/views/Community/components/PopularKeywords.js index 4c115f6a..0b195ec7 100644 --- a/src/views/Community/components/PopularKeywords.js +++ b/src/views/Community/components/PopularKeywords.js @@ -122,7 +122,7 @@ const PopularKeywords = ({ onKeywordClick, keywords: propKeywords }) => { wrap style={{ alignItems: 'center', - maxHeight: '62px', // 约两行的高度 (每行约28-30px) + maxHeight: '29px', // 约两行的高度 (每行约28-30px) overflow: 'hidden', paddingRight: '90px' // 为右侧按钮留出空间 }} @@ -166,13 +166,13 @@ const PopularKeywords = ({ onKeywordClick, keywords: propKeywords }) => { }}> {formatChangePct(item.change_pct)} - - ({item.count}股) - + }}> */} + {/* ({item.count}股) */} + {/* */} ))} @@ -184,7 +184,7 @@ const PopularKeywords = ({ onKeywordClick, keywords: propKeywords }) => { onClick={handleMoreClick} style={{ position: 'absolute', - bottom: 0, + top: 0, right: 0, fontSize: 12, padding: '0 4px',