瀏覽代碼

brand: 补齐 Steady Packaging logo 资源与样式(去水印裁切)

新增四种 logo 资源(深/浅底字标与完整锁定图)及站点图标,替换各页面与弹窗、
后台、订单页的旧 logo 样式,移除废弃的 favicon.svg。
wenhongquan 1 月之前
父節點
當前提交
05b25624c0

+ 5 - 4
assets/css/admin.css

@@ -18,17 +18,18 @@
   padding: 34px 34px 26px;
   box-shadow: 0 24px 60px rgba(23, 20, 15, 0.08);
 }
-.pl-admin-login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
-.pl-admin-login-brand .logo-mark { width: 30px; height: 30px; }
-.pl-admin-login-title { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
+.pl-admin-login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
+.pl-admin-login-logo { height: 36px; width: auto; display: block; }
+.pl-admin-login-title { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
 .pl-admin-login-sub { font-size: 12px; color: #a79d8d; margin: 4px 0 22px; }
 
 .pl-admin-sider { background: #17140f !important; }
 .pl-admin-sider .ant-layout-sider-trigger { background: #17140f; }
 .pl-admin-brand {
-  display: flex; align-items: center; gap: 9px;
+  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
   color: #fff; padding: 18px 20px 14px; font-weight: 750; font-size: 15px;
 }
+.pl-admin-brand-logo { height: 24px; width: auto; display: block; }
 .pl-admin-brand small { display: block; font-size: 10px; color: #a79d8d; font-weight: 500; letter-spacing: 0.14em; }
 .pl-admin-menu { background: transparent !important; border-inline-end: none !important; }
 

+ 1 - 0
assets/css/auth.css

@@ -48,6 +48,7 @@
   color: var(--accent, #ff5c2b);
   font-family: var(--font-mono, "SF Mono", Menlo, monospace);
 }
+.pl-auth-brand img { height: 20px; width: auto; display: block; }
 
 .pl-auth-brand em {
   font-style: normal;

+ 2 - 16
assets/css/base.css

@@ -146,20 +146,8 @@ ul, ol { margin: 0; padding: 0; list-style: none; }
   font-weight: 800;
   letter-spacing: -0.02em;
 }
-.logo-mark {
-  width: 36px;
-  height: 36px;
-  border-radius: 11px;
-  background: var(--accent);
-  display: grid;
-  place-items: center;
-  flex: none;
-  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
-}
-.logo-mark svg { width: 21px; height: 21px; }
-.logo-type { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
-.logo-type b { font-size: 17px; letter-spacing: 0.02em; }
-.logo-type span { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.22em; color: var(--muted); }
+.logo-img { display: block; width: auto; height: 34px; }
+.footer-brand .logo-img { height: 56px; }
 
 .site-header {
   position: sticky;
@@ -213,8 +201,6 @@ a.header-link { text-decoration: none; background: none; border: 0; cursor: poin
   gap: 50px;
   padding-bottom: 60px;
 }
-.footer-brand .logo-mark { background: var(--accent); }
-.footer-brand .logo-type span { color: rgba(255, 253, 248, 0.45); }
 .footer-brand p {
   margin-top: 22px;
   max-width: 300px;

+ 2 - 7
assets/css/box.css

@@ -42,12 +42,7 @@ html, body { height: 100%; }
 }
 .bx-brand { display: flex; align-items: center; gap: 10px; }
 .bx-brand .logo { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--bx-ink); }
-.bx-brand .logo-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; }
-.bx-brand .logo-mark svg { width: 20px; height: 20px; }
-.bx-brand .logo-mark svg { width: 26px; height: 26px; }
-.bx-brand .logo-type { display: flex; flex-direction: column; line-height: 1.05; }
-.bx-brand .logo-type b { font-size: 15px; }
-.bx-brand .logo-type span { font-size: 8.5px; letter-spacing: 1.6px; color: var(--bx-orange); font-weight: 700; }
+.bx-brand .logo-img { height: 28px; }
 
 .bx-file-menu-wrap { position: relative; }
 .bx-file-btn {
@@ -122,7 +117,7 @@ html, body { height: 100%; }
 
 @media (max-width: 1180px) {
   .bx-topbar { gap: 6px; padding: 0 10px; }
-  .bx-brand .logo-type { display: none; }
+  .bx-brand .logo-img { height: 22px; }
   .bx-mode-switch button { padding: 6px 10px; font-size: 13px; }
   .btn-print, .btn-plain, .btn-export { padding: 7px 10px; font-size: 13px; }
   .btn-print { gap: 4px; }

+ 1 - 2
assets/css/m.css

@@ -17,8 +17,7 @@
   padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
 }
 .m-logo { display: flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; }
-.m-logo svg { width: 22px; height: 22px; }
-.m-logo b { font-size: 15px; }
+.m-logo img { height: 22px; width: auto; display: block; }
 .m-quota { margin-left: auto; font-size: 10.5px; color: rgba(255,253,248,.72); }
 .m-login {
   border: 1px solid rgba(255,253,248,.4); background: none; color: #fffdf8;

+ 1 - 1
assets/css/orders.css

@@ -20,7 +20,7 @@
   align-items: center;
   gap: 14px;
 }
-.pl-orders-wrap .logo-type b, .pl-admin-wrap .logo-type b { font-size: 15px; letter-spacing: 0.02em; }
+.pl-orders-wrap .logo-img { height: 28px; }
 .pl-orders-wrap .spacer, .pl-admin-wrap .spacer { flex: 1; }
 .pl-orders-wrap a.pl-nav, .pl-admin-wrap a.pl-nav {
   font-size: 13px; font-weight: 550; color: #7d7466; text-decoration: none;

+ 2 - 4
assets/css/studio.css

@@ -17,9 +17,7 @@
   z-index: 70;
 }
 .studio-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
-.studio-brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
-.studio-brand .logo-type b { font-size: 15px; }
-.studio-brand .logo-type span { font-size: 7px; }
+.studio-brand .logo-img { height: 28px; }
 .studio-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
 .studio-title-wrap input {
   border: 0;
@@ -1091,7 +1089,7 @@
 }
 @media (max-width: 760px) {
   .studio-topbar { grid-template-columns: auto 1fr auto; height: 60px; padding: 0 12px; }
-  .studio-brand .logo-type { display: none; }
+  .studio-brand .logo-img { height: 24px; }
   .studio-steps { gap: 4px; }
   .studio-steps .sep { display: none; }
   .studio-actions .btn-ghost { display: none; }

+ 0 - 8
assets/favicon.svg

@@ -1,8 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
-  <rect width="32" height="32" rx="9" fill="#ff5c2b"/>
-  <path d="M9.5 10.9h13l1.3 13.1a3.6 3.6 0 0 1-3.6 4H11.8a3.6 3.6 0 0 1-3.6-4l1.3-13.1Z" fill="#fffdf8"/>
-  <path d="M10 14.5h12" stroke="#17140f" stroke-width="1.8" stroke-linecap="round"/>
-  <circle cx="18.9" cy="14.5" r="1.5" fill="#ff5c2b"/>
-  <path d="M12.8 18.8h6.4" stroke="#ff5c2b" stroke-width="1.8" stroke-linecap="round"/>
-  <path d="M23.6 6.8v3.2M22 8.4h3.2" stroke="#17140f" stroke-width="1.5" stroke-linecap="round"/>
-</svg>

二進制
assets/img/brand/favicon.png


二進制
assets/img/brand/steady-logo-full-light.png


二進制
assets/img/brand/steady-logo-full.png


二進制
assets/img/brand/steady-wordmark-light.png


二進制
assets/img/brand/steady-wordmark.png


+ 5 - 17
assets/js/admin.js

@@ -599,16 +599,10 @@
     return h('div', { className: 'pl-admin-login' },
       h('div', { className: 'pl-admin-login-card' },
         h('div', { className: 'pl-admin-login-brand' },
-          h('span', { className: 'logo-mark' },
-            h('svg', { viewBox: '0 0 24 24', fill: 'none', width: 30, height: 30 },
-              h('path', { d: 'M7 8.2h10l1 10.1a2.8 2.8 0 0 1-2.8 3H8.8A2.8 2.8 0 0 1 6 18.3L7 8.2Z', fill: '#fffdf8' }),
-              h('path', { d: 'M7.4 11.1h9.2', stroke: '#17140f', 'stroke-width': 1.4, 'stroke-linecap': 'round' }),
-              h('circle', { cx: 14.2, cy: 11.1, r: 1.15, fill: '#ff5c2b' }),
-              h('path', { d: 'M9.5 14.4h4.9', stroke: '#ff5c2b', 'stroke-width': 1.4, 'stroke-linecap': 'round' }),
-              h('path', { d: 'M17.8 5.2v2.4M16.6 6.4h2.4', stroke: '#17140f', 'stroke-width': 1.2, 'stroke-linecap': 'round' }))),
+          h('img', { className: 'pl-admin-login-logo', src: 'assets/img/brand/steady-logo-full.png', alt: 'Steady Packaging' }),
           h('div', null,
-            h('div', { className: 'pl-admin-login-title' }, '袋研社 · 后台管理'),
-            h('small', { style: { color: '#a79d8d', letterSpacing: '0.12em', fontSize: 10 } }, 'POUCHLAB ADMIN'))),
+            h('div', { className: 'pl-admin-login-title' }, '后台管理'),
+            h('small', { style: { color: '#a79d8d', letterSpacing: '0.12em', fontSize: 10 } }, 'ADMIN CONSOLE'))),
         h(A.Form, { layout: 'vertical', onFinish: doLogin },
           h(A.Form.Item, { label: '用户名', style: { marginBottom: 14 } },
             h(A.Input, {
@@ -1052,14 +1046,8 @@
     return h(A.Layout, { style: { minHeight: '100vh' } },
       h(A.Layout.Sider, { width: 208, className: 'pl-admin-sider', breakpoint: 'lg', collapsedWidth: 0 },
         h('div', { className: 'pl-admin-brand' },
-          h('span', { style: { display: 'inline-flex', fontSize: 18 } },
-            h('svg', { viewBox: '0 0 24 24', fill: 'none', width: 22, height: 22 },
-              h('path', { d: 'M7 8.2h10l1 10.1a2.8 2.8 0 0 1-2.8 3H8.8A2.8 2.8 0 0 1 6 18.3L7 8.2Z', fill: '#fffdf8' }),
-              h('path', { d: 'M7.4 11.1h9.2', stroke: '#17140f', 'stroke-width': 1.4, 'stroke-linecap': 'round' }),
-              h('circle', { cx: 14.2, cy: 11.1, r: 1.15, fill: '#ff5c2b' }),
-              h('path', { d: 'M9.5 14.4h4.9', stroke: '#ff5c2b', 'stroke-width': 1.4, 'stroke-linecap': 'round' }))),
-          h('span', null, fac ? '工厂协作端' : '袋研社后台',
-            h('small', null, fac ? 'FACTORY PARTNER' : 'POUCHLAB ADMIN'))),
+          h('img', { className: 'pl-admin-brand-logo', src: 'assets/img/brand/steady-wordmark-light.png', alt: 'Steady Packaging' }),
+          h('small', null, fac ? '工厂协作端 · FACTORY PARTNER' : '后台管理 · ADMIN')),
         h(A.Menu, {
           className: 'pl-admin-menu', theme: 'dark', mode: 'inline',
           selectedKeys: [state.view],

+ 4 - 4
assets/js/auth.js

@@ -54,7 +54,7 @@
     wrap.innerHTML = STYLE +
       '<div class="pl-auth-card" role="dialog" aria-modal="true" aria-labelledby="plAuthTitle">' +
         '<button class="pl-auth-close" type="button" aria-label="关闭">✕</button>' +
-        '<div class="pl-auth-brand">袋研社 <em>POUCHLAB</em></div>' +
+        '<div class="pl-auth-brand"><img src="assets/img/brand/steady-wordmark.png" alt="Steady Packaging"></div>' +
         '<h2 id="plAuthTitle">登录 / 注册</h2>' +
         '<p class="pl-auth-sub">登录后可保存设计、同步订单进度与下载记录。</p>' +
         '<div class="pl-auth-tabs">' +
@@ -298,7 +298,7 @@
     wrap.hidden = true;
     wrap.innerHTML =
       '<div class="pl-auth-card" role="dialog" aria-modal="true">' +
-        '<div class="pl-auth-brand">袋研社 <em>POUCHLAB</em></div>' +
+        '<div class="pl-auth-brand"><img src="assets/img/brand/steady-wordmark.png" alt="Steady Packaging"></div>' +
         '<h2>绑定邮箱</h2>' +
         '<p class="pl-auth-sub">为保障订单通知与账号安全,请先绑定邮箱。绑定后方可继续使用。</p>' +
         '<label class="pl-auth-label" for="plBindEmail">邮箱</label>' +
@@ -392,7 +392,7 @@
     wrap.innerHTML = STYLE +
       '<div class="pl-auth-card" role="dialog" aria-modal="true">' +
         '<button class="pl-auth-close" type="button" aria-label="关闭">✕</button>' +
-        '<div class="pl-auth-brand">袋研社 <em>POUCHLAB</em></div>' +
+        '<div class="pl-auth-brand"><img src="assets/img/brand/steady-wordmark.png" alt="Steady Packaging"></div>' +
         '<h2>账户设置</h2>' +
         '<p class="pl-auth-sub" id="plAccInfo"></p>' +
         '<div id="plAccPwdSec">' +
@@ -484,7 +484,7 @@
     mask.innerHTML =
       '<div class="pl-auth-card" role="dialog" aria-modal="true" aria-labelledby="plLogoutTitle">' +
         '<button class="pl-auth-close" type="button" aria-label="关闭">✕</button>' +
-        '<div class="pl-auth-brand">袋研社 <em>POUCHLAB</em></div>' +
+        '<div class="pl-auth-brand"><img src="assets/img/brand/steady-wordmark.png" alt="Steady Packaging"></div>' +
         '<h2 id="plLogoutTitle">退出登录</h2>' +
         '<p class="pl-auth-sub">退出后需重新登录才能查看设计、订单进度与下载记录,确定要退出吗?</p>' +
         '<div class="pl-auth-actions">' +

+ 2 - 9
assets/js/orders.js

@@ -290,15 +290,8 @@
   function Header(user) {
     return h('div', { className: 'pl-orders-header' },
       h('div', { className: 'pl-orders-wrap' },
-        h('a', { className: 'logo', href: 'index.html' },
-          h('span', { className: 'logo-mark' },
-            h('svg', { viewBox: '0 0 24 24', fill: 'none' },
-              h('path', { d: 'M7 8.2h10l1 10.1a2.8 2.8 0 0 1-2.8 3H8.8A2.8 2.8 0 0 1 6 18.3L7 8.2Z', fill: '#fffdf8' }),
-              h('path', { d: 'M7.4 11.1h9.2', stroke: '#17140f', 'stroke-width': 1.4, 'stroke-linecap': 'round' }),
-              h('circle', { cx: 14.2, cy: 11.1, r: 1.15, fill: '#ff5c2b' }),
-              h('path', { d: 'M9.5 14.4h4.9', stroke: '#ff5c2b', 'stroke-width': 1.4, 'stroke-linecap': 'round' }),
-              h('path', { d: 'M17.8 5.2v2.4M16.6 6.4h2.4', stroke: '#17140f', 'stroke-width': 1.2, 'stroke-linecap': 'round' }))),
-          h('span', { className: 'logo-type' }, h('b', null, '袋研社'), h('span', null, 'POUCHLAB'))),
+        h('a', { className: 'logo', href: 'index.html', 'aria-label': 'Steady Packaging 首页' },
+          h('img', { className: 'logo-img', src: 'assets/img/brand/steady-wordmark.png', alt: 'Steady Packaging' })),
         h('span', { className: 'spacer' }),
         h('a', { className: 'pl-nav', href: 'studio.html' }, '包装袋设计'),
         h('a', { className: 'pl-nav', href: 'box.html' }, '纸盒设计'),