feat(品牌标识): 几何 K 图标(favicon/顶栏标记/theme-color) + 并行会话成果入库
Regression / regression (push) Canceled after 0s
Regression / regression (push) Canceled after 0s
## 品牌标识(本次会话) 起因:品牌此前没有任何图形标识 —— 唯一 favicon 是内联 data-URI 里的字母「A」, 那是 v2.0.0「Aurora Admin → Kole UI」改名漏掉的一处(PC 顶栏也是「A」, 移动端站已是「K」;移动端文档站则完全没有 favicon)。 - 几何:24 网格三个互不接触的笔画(竖 + 两斜),圆头描边; 描边 2.25 → 16px 标签页尺寸下正好 1.5px = 规范原文「描边1.5px」 - 取色分两套(刻意):favicon 硬编码品牌蓝/白(渲染在浏览器标签栏,不继承 kole-dark); 顶栏标记走 currentColor(实测暗色下自动转 rgb(20,22,28)) - 新增 theme-color 双条(light #FFFFFF / dark #1C1F26,取 --kole-color-card-bg) - 修 site/app.js hero 标语 KOLE ADMIN → KOLE UI(改名变形残留) - 移动端 7 个模板补 favicon(此前计数 0) 验收:门禁 9 条全 OK(site-routing/site-routes/mobile-docs/mobile-site/isolation/ theme/nav/i18n/icons);PC 回归 1464/1464 · 移动端 807/807,各连跑 8 次一致; 两端 favicon 405 字节逐字节一致;PC 站控制台错误 1→0。 ## 并行会话成果(本次一并入库) - 图标系统:2576 图标(TDesign/Element Plus,MIT)+ 11 端注入 + 5 个构建门禁工具 + IconPreview 预览页 + ICON-SPEC.md 冻结规格 - 移动端平台:47 组件 × 6 端 + 文档站 53 页 + 隔离门禁 - PC 组件:103 个大后台组件 / 组件11 批次 - uni-app:PC 端试点 + 移动端端实现 + 真实编译验证 ## 工程 - .gitignore 补 .scratch/ 与 .zcode-preexisting-*.txt(会话中间产物,实测 9.1MB,不入库) - CHANGELOG 补品牌标识条目 - ROADMAP 登 S8-P4(品牌标识任务包 + og:image/apple-touch-icon 未做部分)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/* Aurora Admin ExceptionVariants 样式 — 对齐 组件7.txt ExceptionVariants:403/404/500/502 异常页 */
|
||||
/* Kole UI ExceptionVariants 样式 — 对齐 组件7.txt ExceptionVariants:403/404/500/502 异常页 */
|
||||
|
||||
.aa-exception { text-align: center; padding: 56px 20px; font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); color: var(--au-color-text-body); }
|
||||
.aa-exception-code { font-size: 72px; font-weight: 700; color: var(--au-color-brand); line-height: 1; }
|
||||
.aa-exception-emoji { font-size: 64px; }
|
||||
.aa-exception-title { font-size: 18px; font-weight: 500; color: var(--au-color-text-title); margin-top: 12px; }
|
||||
.aa-exception-desc { font-size: 14px; color: var(--au-color-text-secondary); margin-top: 8px; }
|
||||
.aa-exception-actions { margin-top: 24px; display: flex; gap: 8px; justify-content: center; }
|
||||
.aa-exception-btn { height: 34px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--au-color-border); background: var(--au-color-card-bg); color: var(--au-color-text-body); cursor: pointer; font-size: 14px; }
|
||||
.aa-exception-btn:hover { border-color: #C9D4F2; color: var(--au-color-brand); }
|
||||
.aa-exception-btn.primary { background: var(--au-color-brand); border-color: var(--au-color-brand); color: var(--au-color-text-inverse); }
|
||||
.aa-exception-btn.primary:hover { background: var(--au-color-brand-hover); color: var(--au-color-text-inverse); }
|
||||
.kole-exception { text-align: center; padding: 56px 20px; font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); color: var(--kole-color-text-body); }
|
||||
.kole-exception-code { font-size: 72px; font-weight: 700; color: var(--kole-color-brand); line-height: 1; }
|
||||
.kole-exception-emoji { font-size: 64px; }
|
||||
.kole-exception-title { font-size: 18px; font-weight: 500; color: var(--kole-color-text-title); margin-top: 12px; }
|
||||
.kole-exception-desc { font-size: 14px; color: var(--kole-color-text-secondary); margin-top: 8px; }
|
||||
.kole-exception-actions { margin-top: 24px; display: flex; gap: 8px; justify-content: center; }
|
||||
.kole-exception-btn { height: 34px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--kole-color-border); background: var(--kole-color-card-bg); color: var(--kole-color-text-body); cursor: pointer; font-size: 14px; }
|
||||
.kole-exception-btn:hover { border-color: #C9D4F2; color: var(--kole-color-brand); }
|
||||
.kole-exception-btn.primary { background: var(--kole-color-brand); border-color: var(--kole-color-brand); color: var(--kole-color-text-inverse); }
|
||||
.kole-exception-btn.primary:hover { background: var(--kole-color-brand-hover); color: var(--kole-color-text-inverse); }
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Aurora Admin · ExceptionVariants(普通 H5)</title>
|
||||
<link rel="stylesheet" href="../.design_library/aurora-admin/colors_and_type.css" />
|
||||
<title>Kole UI · ExceptionVariants(普通 H5)</title>
|
||||
<link rel="stylesheet" href="../.design_library/kole-ui/colors_and_type.css" />
|
||||
<link rel="stylesheet" href="ExceptionVariants.css" />
|
||||
<style>body{margin:0;padding:24px;background: var(--au-color-page-bg);display:flex;gap:16px;flex-wrap:wrap;}
|
||||
.aa-card{background: var(--au-color-card-bg);border: 1px solid var(--au-color-border);border-radius:8px;width:360px;}</style>
|
||||
<style>body{margin:0;padding:24px;background: var(--kole-color-page-bg);display:flex;gap:16px;flex-wrap:wrap;}
|
||||
.kole-card{background: var(--kole-color-card-bg);border: 1px solid var(--kole-color-border);border-radius:8px;width:360px;}</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="aa-card"><div class="aa-exception" role="status" data-type="403"></div></div>
|
||||
<div class="aa-card"><div class="aa-exception" role="status" data-type="404"></div></div>
|
||||
<div class="aa-card"><div class="aa-exception" role="status" data-type="500"></div></div>
|
||||
<div class="aa-card"><div class="aa-exception" role="status" data-type="502"></div></div>
|
||||
<div class="kole-card"><div class="kole-exception" role="status" data-type="403"></div></div>
|
||||
<div class="kole-card"><div class="kole-exception" role="status" data-type="404"></div></div>
|
||||
<div class="kole-card"><div class="kole-exception" role="status" data-type="500"></div></div>
|
||||
<div class="kole-card"><div class="kole-exception" role="status" data-type="502"></div></div>
|
||||
|
||||
<script>
|
||||
var DATA = {
|
||||
@@ -22,13 +22,13 @@
|
||||
'500': { emoji: '⚙️', title: '500 服务器错误', desc: '服务器开小差了,请稍后再试。' },
|
||||
'502': { emoji: '🔌', title: '502 网关错误', desc: '网关无响应,请检查网络后重试。' }
|
||||
};
|
||||
document.querySelectorAll('.aa-exception').forEach(function (el) {
|
||||
document.querySelectorAll('.kole-exception').forEach(function (el) {
|
||||
var d = DATA[el.dataset.type];
|
||||
el.innerHTML = '<div class="aa-exception-emoji" role="status">' + d.emoji + '</div>' +
|
||||
'<div class="aa-exception-title">' + d.title + '</div>' +
|
||||
'<div class="aa-exception-desc">' + d.desc + '</div>' +
|
||||
'<div class="aa-exception-actions" role="status"><button class="aa-exception-btn primary" role="status">返回首页</button>' +
|
||||
'<button class="aa-exception-btn" role="status">重试</button></div>';
|
||||
el.innerHTML = '<div class="kole-exception-emoji" role="status">' + d.emoji + '</div>' +
|
||||
'<div class="kole-exception-title">' + d.title + '</div>' +
|
||||
'<div class="kole-exception-desc">' + d.desc + '</div>' +
|
||||
'<div class="kole-exception-actions" role="status"><button class="kole-exception-btn primary" role="status">返回首页</button>' +
|
||||
'<button class="kole-exception-btn" role="status">重试</button></div>';
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
@@ -16,13 +16,13 @@ export default function ExceptionVariants({ type = '404', emoji, title, desc, on
|
||||
desc: desc || p.desc || ''
|
||||
};
|
||||
return (
|
||||
<div className="aa-exception">
|
||||
<div className="aa-exception-emoji">{resolved.emoji}</div>
|
||||
<div className="aa-exception-title">{resolved.title}</div>
|
||||
{resolved.desc ? <div className="aa-exception-desc">{resolved.desc}</div> : null}
|
||||
<div className="aa-exception-actions">
|
||||
<button className="aa-exception-btn primary" onClick={onHome}>返回首页</button>
|
||||
<button className="aa-exception-btn" onClick={onRetry}>重试</button>
|
||||
<div className="kole-exception">
|
||||
<div className="kole-exception-emoji">{resolved.emoji}</div>
|
||||
<div className="kole-exception-title">{resolved.title}</div>
|
||||
{resolved.desc ? <div className="kole-exception-desc">{resolved.desc}</div> : null}
|
||||
<div className="kole-exception-actions">
|
||||
<button className="kole-exception-btn primary" onClick={onHome}>返回首页</button>
|
||||
<button className="kole-exception-btn" onClick={onRetry}>重试</button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<template>
|
||||
<div class="aa-exception">
|
||||
<div class="aa-exception-emoji">{{ resolved.emoji }}</div>
|
||||
<div class="aa-exception-title">{{ resolved.title }}</div>
|
||||
<div class="aa-exception-desc" v-if="resolved.desc">{{ resolved.desc }}</div>
|
||||
<div class="aa-exception-actions">
|
||||
<button class="aa-exception-btn primary" @click="$emit('home')">返回首页</button>
|
||||
<button class="aa-exception-btn" @click="$emit('retry')">重试</button>
|
||||
<div class="kole-exception">
|
||||
<div class="kole-exception-emoji">{{ resolved.emoji }}</div>
|
||||
<div class="kole-exception-title">{{ resolved.title }}</div>
|
||||
<div class="kole-exception-desc" v-if="resolved.desc">{{ resolved.desc }}</div>
|
||||
<div class="kole-exception-actions">
|
||||
<button class="kole-exception-btn primary" @click="$emit('home')">返回首页</button>
|
||||
<button class="kole-exception-btn" @click="$emit('retry')">重试</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'AaExceptionVariants',
|
||||
name: 'KoleExceptionVariants',
|
||||
props: {
|
||||
type: { type: String, default: '404' },
|
||||
emoji: { type: String, default: '' },
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div class="aa-exception">
|
||||
<div class="aa-exception-emoji">{{ resolved.emoji }}</div>
|
||||
<div class="aa-exception-title">{{ resolved.title }}</div>
|
||||
<div class="aa-exception-desc" v-if="resolved.desc">{{ resolved.desc }}</div>
|
||||
<div class="aa-exception-actions">
|
||||
<button class="aa-exception-btn primary" @click="emit('home')">返回首页</button>
|
||||
<button class="aa-exception-btn" @click="emit('retry')">重试</button>
|
||||
<div class="kole-exception">
|
||||
<div class="kole-exception-emoji">{{ resolved.emoji }}</div>
|
||||
<div class="kole-exception-title">{{ resolved.title }}</div>
|
||||
<div class="kole-exception-desc" v-if="resolved.desc">{{ resolved.desc }}</div>
|
||||
<div class="kole-exception-actions">
|
||||
<button class="kole-exception-btn primary" @click="emit('home')">返回首页</button>
|
||||
<button class="kole-exception-btn" @click="emit('retry')">重试</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user