From e843d7556d302f5cf1eaed15f03f0fb54ab0d922 Mon Sep 17 00:00:00 2001 From: fish Date: Mon, 6 Jul 2026 12:08:53 +0800 Subject: [PATCH] =?UTF-8?q?serve=20=E5=93=81=E7=89=8C=E5=90=8D=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E3=80=8CA=E8=82=A1=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- serve/backend/app/__init__.py | 2 +- serve/backend/app/main.py | 4 ++-- serve/frontend/index.html | 2 +- serve/frontend/src/components/Logo.tsx | 2 +- serve/frontend/src/pages/Auth.tsx | 2 +- serve/frontend/src/pages/Branding.tsx | 12 ++++++------ serve/frontend/src/pages/Onboarding.tsx | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/serve/backend/app/__init__.py b/serve/backend/app/__init__.py index 9714d24..bc2c644 100644 --- a/serve/backend/app/__init__.py +++ b/serve/backend/app/__init__.py @@ -1,4 +1,4 @@ -"""TickFlow Stock Panel backend.""" +"""A股工作台 backend.""" import sys diff --git a/serve/backend/app/main.py b/serve/backend/app/main.py index a784cf5..b4cb706 100644 --- a/serve/backend/app/main.py +++ b/serve/backend/app/main.py @@ -29,7 +29,7 @@ logger = logging.getLogger(__name__) @asynccontextmanager async def lifespan(app: FastAPI): logger.info( - "TickFlow Stock Panel v%s starting (mode=%s)", + "A股工作台 v%s starting (mode=%s)", __version__, tf_client.current_mode(), ) @@ -96,7 +96,7 @@ async def lifespan(app: FastAPI): app = FastAPI( - title="TickFlow Stock Panel", + title="A股工作台", version=__version__, description="A 股选股 + 回测面板 — TickFlow 适配", lifespan=lifespan, diff --git a/serve/frontend/index.html b/serve/frontend/index.html index 7f38b92..f3bfcf1 100644 --- a/serve/frontend/index.html +++ b/serve/frontend/index.html @@ -5,7 +5,7 @@ - TickFlow Stock Panel · Quant Terminal + A股工作台 diff --git a/serve/frontend/src/components/Logo.tsx b/serve/frontend/src/components/Logo.tsx index cc4baff..b37346b 100644 --- a/serve/frontend/src/components/Logo.tsx +++ b/serve/frontend/src/components/Logo.tsx @@ -22,7 +22,7 @@ export function Logo({ className, size = 32, style }: LogoProps) { className={className} style={style} role="img" - aria-label="TickFlow Stock Panel" + aria-label="A股工作台" > {/* 左方括号 */} -

TickFlow Stock Panel

+

A股工作台

diff --git a/serve/frontend/src/pages/Branding.tsx b/serve/frontend/src/pages/Branding.tsx index 0dc350c..ff8371e 100644 --- a/serve/frontend/src/pages/Branding.tsx +++ b/serve/frontend/src/pages/Branding.tsx @@ -25,12 +25,12 @@ interface Variant { glow?: string // 名字下方的发光线条 hex } -// 同一个名字 "TickFlow Stock Panel" 在 4 种风格语言里的呈现 +// 同一个名字 "A股工作台" 在 4 种风格语言里的呈现 // 长字符串自动用更小字号 + 更窄字距,免得撑爆卡片;但风格语言(字体/字重/配色/图标)保持不变 const VARIANTS: Variant[] = [ { id: 'pulsar', - name: 'TickFlow Stock Panel', + name: 'A股工作台', tagline: 'A-SHARE · SIGNAL TERMINAL', hint: '脉冲星、雷达波纹 — 青绿强调色,字重黑体,中等字距', icon: RadioTower, @@ -40,7 +40,7 @@ const VARIANTS: Variant[] = [ }, { id: 'vanta', - name: 'TickFlow Stock Panel', + name: 'A股工作台', tagline: 'MARKET · INTELLIGENCE', hint: 'Vantablack — 纯白单色,字重最重,字距最宽,monochrome 高级感', icon: Square, @@ -50,7 +50,7 @@ const VARIANTS: Variant[] = [ }, { id: 'helix', - name: 'TickFlow Stock Panel', + name: 'A股工作台', tagline: 'QUANT · TERMINAL', hint: 'DNA 螺旋 — 紫色强调,等宽字体,赛博朋克经典意象', icon: GitFork, @@ -60,7 +60,7 @@ const VARIANTS: Variant[] = [ }, { id: 'aurora', - name: 'TickFlow Stock Panel', + name: 'A股工作台', tagline: 'A-SHARE · DASHBOARD', hint: '极光 — 青色强调,细字优雅,适中字距,与涨跌语义色不冲突', icon: Sparkles, @@ -85,7 +85,7 @@ export function Branding() { <>
diff --git a/serve/frontend/src/pages/Onboarding.tsx b/serve/frontend/src/pages/Onboarding.tsx index e9d9c03..25884c5 100644 --- a/serve/frontend/src/pages/Onboarding.tsx +++ b/serve/frontend/src/pages/Onboarding.tsx @@ -108,7 +108,7 @@ export function Onboarding() { className="shrink-0" style={{ color: BRAND, filter: `drop-shadow(0 0 8px ${BRAND}55)` }} /> - TickFlow Stock Panel + A股工作台
{/* 步骤进度条 —— 胶囊式 */}
@@ -179,7 +179,7 @@ function WelcomeStep({ onNext, onSkip }: { onNext: () => void; onSkip: () => voi

- 欢迎使用 TickFlow Stock Panel + 欢迎使用 A股工作台

一个本地化的 A 股量化分析面板 —— 行情、选股、回测、监控、财务一体化。