From 8df2c0c7a062455b03e10e83912cab5e221a2f10 Mon Sep 17 00:00:00 2001 From: 12451 <12451@example.com> Date: Mon, 21 Sep 2026 01:07:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(landing):=20=E5=AE=98=E7=BD=91=E9=A1=B5?= =?UTF-8?q?=E5=A4=B4=20logo=20=E6=8D=A2=E6=88=90=E5=93=81=E7=89=8C?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=EF=BC=88=E4=B8=8E=20favicon=20=E5=90=8C?= =?UTF-8?q?=E6=BA=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 背景 上一提交给全站上了 favicon(取自 `logo/圆切独立LOGO.svg`),但官网页头左上角 仍在用 `logo-1.png` —— 那是一套**不同的设计**(蓝圆角柜 + 6 节电池 + 侧把手/底脚), 与品牌图标(柜顶闪电 + 白色大圆弧)不是同一个图形,全站风格不统一。 ## 改动 `deploy/landing/index.html`: - `` → `` —— **直接用 favicon 同一个文件**,不再复制第二份,从机制上保证两处不会不一致; - `.logo` 加 `border-radius: 10px`:品牌图标是满幅方形(本身无圆角), 48px 下加一点圆角更像 app 图标,不至于是一块硬方块。 ## 顺带核对(未改动) - **管理端登录页** `web/public/logo.png` 是**横版锁标**(同一品牌图形 + "艾动智能"字样,蓝字白底)—— 与品牌图标同源,只是配色/版式不同; 登录页单独居中用横版合理,**保持不动**。 - **小程序**无 favicon/页头 logo 概念(tabBar 图标是另一套 PNG),不适用。 ## 实测 线上 HTML 已确认变更: ``` border-radius: 10px; ``` `favicon.svg` 仍 200 / 21.1KB;nginx `nginx -t` 通过后 reload。 ## 可选的后续清理(未做,等你决定) `deploy/landing/` 下这些文件**已无任何引用**(`index.html` 里只剩 `favicon.svg` 与 CSS 背景 `hero-bg.png`): `logo-1.png`(398KB) / `logo-2.png`(374KB) / `logo-3.png`(471KB) / `cabinet.png`(1MB) —— 要不要一并删掉(含线上 `/data/landing/`)? --- deploy/landing/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/landing/index.html b/deploy/landing/index.html index 49024a5..56dba07 100644 --- a/deploy/landing/index.html +++ b/deploy/landing/index.html @@ -40,6 +40,8 @@ a { color: inherit; text-decoration: none; } height: 48px; width: auto; display: block; + /* 品牌图标是满幅方形(本身无圆角),48px 下加一点圆角更像 app 图标,不至于是一块硬方块 */ + border-radius: 10px; } .top-name { font-size: 24px; font-weight: 800; color: #1A1C20; letter-spacing: 0.02em; } @@ -163,7 +165,8 @@ h1 .accent { color: #2563EB; }
- + + 艾动智能