chore: 首次纳入版本控制(审查前基线,v1.2.0)

This commit is contained in:
errortopic
2026-11-18 20:13:37 +08:00
commit f7b28e1740
441 changed files with 31220 additions and 0 deletions
+117
View File
@@ -0,0 +1,117 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>错题毕业 · 品牌标</title>
<style>
*{box-sizing:border-box;margin:0;padding:0}
body{background:#F1EADF;font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#3A2E26;padding:28px 32px 40px}
h2{font-size:12.5px;letter-spacing:3px;color:#8A7A6B;font-weight:700}
.row{display:flex;gap:18px;margin-top:12px;align-items:stretch}
.card{background:#fff;border-radius:16px;padding:20px;position:relative;display:flex;align-items:center;justify-content:center}
.card.dark{background:#241E1A}
.lbl{position:absolute;left:16px;top:11px;font-size:10.5px;letter-spacing:1.5px;color:#B08E6E}
.card.dark .lbl{color:#8A7A6B}
.grow{flex:1}
.sizes{display:flex;align-items:flex-end;gap:24px}
.sizes div{text-align:center}
.sizes p{font-size:10px;color:#A2937F;margin-top:6px}
.sec{margin-top:26px}
.avatar{width:126px;height:126px;border-radius:50%;overflow:hidden;box-shadow:0 6px 16px rgba(90,70,54,.14)}
.avatar svg{width:100%;height:100%;display:block}
.phone{width:190px;height:330px;border-radius:26px;background:#FFF3DF;border:6px solid #33302E;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding-top:64px}
.phone .t{font-size:18px;font-weight:700;letter-spacing:2px;margin-top:12px;color:#33302E}
.phone .s{font-size:9.5px;color:#8A7A6B;margin-top:7px}
.note{font-size:11.5px;line-height:1.85;color:#6B5B4C;margin-top:8px}
.note b{color:#3A2E26}
svg{display:block}
</style>
</head>
<body>
<div id="root"></div>
<script>
const CREAM="#FFF3DF", CORAL="#E4634A", COCOA="#5B4636", INK="#33302E";
const MARK = (bg, cap, hole, tassel) => `
<rect width="240" height="240" rx="56" fill="${bg}"/>
<g transform="translate(0 6) rotate(-10 120 104)">
<path d="M120 44 L204 88 L120 132 L36 88 Z" fill="${cap}"/>
<path d="M120 60 L128.7 77 L147.6 79.4 L133.6 92.4 L137.1 111.1 L120 101.6 L102.9 111.1 L106.4 92.4 L92.4 79.4 L111.3 77 Z"
fill="${hole}" transform="rotate(8 120 88)"/>
<path d="M100 138 L140 138 L134 163 Q132 171 120 171 Q108 171 106 163 Z" fill="${cap}"/>
<path d="M204 88 C218 116 216 142 208 158" fill="none" stroke="${tassel}" stroke-width="7" stroke-linecap="round"/>
<circle cx="207" cy="164" r="7" fill="${tassel}"/>
</g>`;
const LIGHT = MARK(CREAM, CORAL, CREAM, COCOA);
const DARK = MARK(INK, CORAL, INK, CREAM);
const svg = (inner, size) => `<svg width="${size}" height="${size}" viewBox="0 0 240 240">${inner}</svg>`;
const LOGO = (bg, cap, hole, tassel, txt) => `
<g transform="translate(14 18) scale(0.6667)">
${MARK(bg, cap, hole, tassel).replace('<rect width="240" height="240" rx="56" fill="' + bg + '"/>', '')}
</g>
<text x="196" y="126" font-family="Microsoft YaHei, PingFang SC, sans-serif" font-size="74"
font-weight="700" letter-spacing="4" fill="${txt}">错题毕业</text>`;
document.getElementById("root").innerHTML = `
<div class="sec">
<h2>一 · 主标</h2>
<div class="row">
<div class="card grow" style="height:186px">
<span class="lbl">白底</span>
<svg width="452" height="126" viewBox="0 0 720 200">${LOGO(CREAM, CORAL, CREAM, COCOA, INK)}</svg>
</div>
<div class="card grow dark" style="height:186px">
<span class="lbl">深底</span>
<svg width="452" height="126" viewBox="0 0 720 200">${LOGO(INK, CORAL, INK, CREAM, CREAM)}</svg>
</div>
</div>
</div>
<div class="sec">
<h2>二 · 图形标</h2>
<div class="row">
<div class="card" style="width:212px;height:172px"><span class="lbl">240 px</span>${svg(LIGHT, 164)}</div>
<div class="card grow" style="height:172px">
<span class="lbl">尺寸阶梯 · 96 / 64 / 40 / 24 px</span>
<div class="sizes">
<div>${svg(LIGHT, 96)}<p>96</p></div>
<div>${svg(LIGHT, 64)}<p>64</p></div>
<div>${svg(LIGHT, 40)}<p>40</p></div>
<div>${svg(LIGHT, 24)}<p>24</p></div>
</div>
</div>
<div class="card" style="width:176px;height:172px;flex-direction:column;gap:8px">
<span class="lbl">圆形裁切</span>
<div class="avatar">${svg(LIGHT, 126)}</div>
</div>
</div>
</div>
<div class="sec">
<h2>三 · 用起来</h2>
<div class="row">
<div class="card" style="width:238px;padding:12px">
<span class="lbl">启动页</span>
<div class="phone">
${svg(LIGHT, 88)}
<div class="t">错题毕业</div>
<div class="s">每天 5 分钟,把错题做到毕业</div>
</div>
</div>
<div class="card" style="background:#FBF3E4;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;padding:26px 30px">
<span class="lbl">它是什么</span>
<div class="note">
<b>一顶歪戴的帽子,帽板上挖了一颗星。</b>帽子说「毕业」——这是产品的终点:连对两次、讲清一次,这道题就毕业了。<br>
<b>星是镂空的,不是贴上去的。</b>所以从 240px 到 24px 都只有一个剪影,不会散;星透出底色,在白底和深底上都成立。<br>
<b>可可色的穗 = 批改的红笔反过来。</b>全身只有这一处深色,落在珊瑚帽外面,不压住任何形状。<br>
珊瑚用 <b>#E4634A</b>:比 UI 里的砖红 #B3272D 亮一档,是「标识色」,只出现在 logo 和物料上,不进入界面按钮。
</div>
</div>
</div>
</div>`;
</script>
</body>
</html>