From f155d839f15ec58fd4a1736d9d03a2015d8887d6 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 22 Oct 2026 09:40:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=89=8D=E7=AB=AF):=20=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E5=95=86=E7=B3=BB=E7=BB=9F=E6=9B=B4=E6=8D=A2=E5=93=81=E7=89=8C?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=EF=BC=88=E7=94=A8=E6=88=B7=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E5=9B=BE=E4=B8=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 开发者提供新 logo 图(圆形渐变立体方块)要求替换系统图标。处理: - 原图裁成圆形、去白底,输出 512×512 透明 PNG 入库 src/assets/brand-logo.png; - 新增 BrandLogo 组件(侧边栏 38px / 登录页 64px 共用),替换原绿色渐变方块 + Package 图标; - index.html favicon 改为内联 PNG dataURI(顺带修掉 public/favicon 不会被打进生产 dist 的既有隐患); - 品牌文案(生鲜配送管理系统/副标题)未动;旧 public/favicon.svg|ico 不再引用但未删。 验证:typecheck 通过;webpack dev 编译成功;无头浏览器实测登录页新图标渲染成功 (naturalWidth=512)、无 JS 错误;前端单测 229 通过/4 既有红(menuCatalog、 QuoteVersionManagement.cardLayout、BidInvitations、CustomerOrder,与本次无关)。未部署。 --- .gitignore | 2 ++ index.html | 4 ++-- src/assets/brand-logo.png | Bin 0 -> 161763 bytes src/components/BrandLogo.tsx | 13 +++++++++++++ src/components/Layout.tsx | 6 +++--- src/pages/auth/Login.tsx | 7 ++++--- src/types/assets.d.ts | 8 ++++++++ 7 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 src/assets/brand-logo.png create mode 100644 src/components/BrandLogo.tsx create mode 100644 src/types/assets.d.ts diff --git a/.gitignore b/.gitignore index 59d9951..be09be3 100644 --- a/.gitignore +++ b/.gitignore @@ -208,6 +208,8 @@ server-go/server-go .go/ *.tar.gz *.png +# 应用内品牌/UI 图标属源码资源,需入库(2026-10-22 供应商系统换标) +!src/assets/brand-logo.png .log-analysis.txt .tablet-full-logcat.txt .tablet-full-logcat-utf8.txt diff --git a/index.html b/index.html index 288feee..ffda955 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ 供应商进销存配送管理系统 - - + +