From 12c35e39db0cad13f79f8ffcee0fc535a4cff5c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B2=E8=BE=B0=E7=94=9F=E4=BA=A7?= Date: Sat, 11 Apr 2026 18:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E6=88=91=E7=9A=84=E8=A1=8C?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2=E6=90=9C=E7=B4=A2=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/List.jsx | 20 ++++++++++++++++++++ frontend/src/pages/News.jsx | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/frontend/src/pages/List.jsx b/frontend/src/pages/List.jsx index ba6d3d8..27b9a15 100644 --- a/frontend/src/pages/List.jsx +++ b/frontend/src/pages/List.jsx @@ -651,6 +651,26 @@ export default function List() { {/* 行情tab内容 */} {activeTab === 'deals' && (
+ {/* 行情搜索框 */} +
+ setDealSearch(e.target.value)} + style={{ + width: '100%', + background: 'rgba(255,255,255,0.05)', + border: '1px solid rgba(255,255,255,0.1)', + color: '#fff', + padding: '10px 12px', + borderRadius: '8px', + fontSize: '14px', + outline: 'none', + boxSizing: 'border-box' + }} + /> +
+ {dealsLoading ? (
加载中...
) : filteredDeals.length === 0 ? ( diff --git a/frontend/src/pages/News.jsx b/frontend/src/pages/News.jsx index 7d2472b..d469195 100644 --- a/frontend/src/pages/News.jsx +++ b/frontend/src/pages/News.jsx @@ -482,6 +482,11 @@ export default function News() { ) : (
{infoList.map(item => { + // 成交行情 tab - 暂时不显示内容 + if (activeTab === 'deal') { + return null + } + // 解析正文中的号码特征和联系方式 const content = item.content || '' const featuresMatch = content.match(/号码特征[:\s]*(.+?)(?:\n|$)/)