docs: 补充回忆布局、回忆 AI 与 Android 页面三组图表

This commit is contained in:
cat-shark
2026-11-20 09:36:54 +08:00
parent 281585698b
commit bd6717dc8d
33 changed files with 2296 additions and 0 deletions
@@ -0,0 +1,371 @@
#!/usr/bin/env python3
"""生成 lpt-android 目标态线框(.svg)。
取值来自 lpt-android/.agents/roles/design-system.md:
主色 #237556(深色 #7FD8B4)、页底 #F7FBF8 / #111A16、面 #FFFFFF / #1B2A23、
输入框底 #F1F6F3 / #22332B、描边 #C6D6CD / #33453D、次要字 #4B6156 / #B3C7BD、
提醒条 #FFF8E1/#856404、错误 #B62324、强调底 #EEF9F3。
一屏一份文件;画布 360×800(=真机 1080×2400 的 dp)。改文案或布局改这里,重跑:
python3 docs/diagrams/android-ui/_build_wireframes.py
不生成二进制;产物是同目录的 .svg,由 index.html 引用。
"""
import os
W, H, PAD, GUTTER = 360, 800, 16, 24
FONT = "'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif"
MONO = "'JetBrains Mono','SF Mono',Menlo,Consolas,monospace"
LIGHT = dict(bg="#F7FBF8", surface="#FFFFFF", inset="#F1F6F3", text="#16241C", sec="#4B6156",
primary="#237556", on_primary="#FFFFFF", border="#C6D6CD", accent="#EEF9F3",
warn_bg="#FFF8E1", warn="#856404", err="#B62324", err_bg="#FDECEA",
skeleton="#E4EDE8")
DARK = dict(bg="#111A16", surface="#1B2A23", inset="#22332B", text="#E4EFE9", sec="#B3C7BD",
primary="#7FD8B4", on_primary="#111A16", border="#33453D", accent="#17332A",
warn_bg="#3A3220", warn="#FFD08A", err="#F85149", err_bg="#3A1F1F",
skeleton="#2C3E36")
OUT = os.path.join(os.path.dirname(os.path.abspath(__file__)))
def esc(s):
return (s.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;"))
def rect(x, y, w, h, fill, r=0, stroke=None, sw=1, dash=None):
s = f'<rect x="{x}" y="{y}" width="{w}" height="{h}" rx="{r}" fill="{fill}"'
if stroke:
s += f' stroke="{stroke}" stroke-width="{sw}"'
if dash:
s += f' stroke-dasharray="{dash}"'
return s + "/>"
def line(x1, y1, x2, y2, color, sw=1, dash=None):
s = f'<line x1="{x1}" y1="{y1}" x2="{x2}" y2="{y2}" stroke="{color}" stroke-width="{sw}"'
if dash:
s += f' stroke-dasharray="{dash}"'
return s + "/>"
def text(x, y, s, size=14, color="#000", anchor="start", weight=400, family=None, opacity=None):
extra = f' font-family="{family}"' if family else ""
extra += f' font-weight="{weight}"'
if opacity is not None:
extra += f' opacity="{opacity}"'
return (f'<text x="{x}" y="{y}" font-size="{size}" fill="{color}" text-anchor="{anchor}"'
f'{extra}>{esc(s)}</text>')
def button(x, y, w, h, label, p, kind="primary", size=14):
out = []
if kind == "primary":
out.append(rect(x, y, w, h, p["primary"], 8))
out.append(text(x + w / 2, y + h / 2 + 5, label, size, p["on_primary"], "middle", 500))
elif kind == "outlined":
out.append(rect(x, y, w, h, p["surface"], 8, p["primary"], 1))
out.append(text(x + w / 2, y + h / 2 + 5, label, size, p["primary"], "middle", 500))
elif kind == "text":
out.append(text(x + w / 2, y + h / 2 + 5, label, size, p["primary"], "middle", 500))
return out
def status_bar(p, y=0):
out = [text(PAD + 4, y + 19, "9:41", 11, p["text"], weight=500)]
out.append(rect(W - 58, y + 13, 12, 9, p["sec"], 1))
out.append(rect(W - 44, y + 16, 8, 6, p["sec"], 1))
out.append(rect(W - 33, y + 12, 15, 10, "none", 2, p["sec"], 1))
out.append(rect(W - 31, y + 14, 11, 6, p["sec"], 1))
return out
def header(p, title, back=None, action=None):
"""页头:标题 22sp;可带左侧返回与右侧唯一动作。"""
out = []
x = PAD
if back:
out.append(text(PAD, 62, back, 14, p["primary"]))
x = PAD + 56
out.append(text(x, 64, title, 22, p["text"]))
if action:
out.append(text(W - PAD, 62, action, 14, p["primary"], "end"))
return out
# ---------------------------------------------------------------- 任务页
TASKS = [
("LLM 模型部署实践", "vLLM 与 PagedAttention 的部署实验", "3.75"),
("k8s 的使用", "把 LPT 系统迁移到 k8s 中", "3.15"),
("功能测试", "复习功能的测试学习任务", "2.45"),
("Whisper 模型学习与应用", "数据集、微调与领域模型", "2.35"),
("网络通讯加密与应用", "TLS 握手与证书链排查", "2.10"),
]
def screen_tasks(p, with_search=True):
out = header(p, "学习任务", action="设置")
# 进行中会话:独立成块,整块可点,不带箭头
out.append(rect(PAD, 88, W - 2 * PAD, 64, p["accent"], 12))
out.append(text(PAD + 16, 113, "有一次学习正在进行", 14, p["text"]))
out.append(text(PAD + 16, 133, "LLM 模型部署实践 · 已学 12:30", 12, p["sec"]))
out.append(text(W - PAD - 16, 117, "回到会话", 14, p["primary"], "end", 500))
y = 168
if with_search:
out.append(rect(PAD, y, W - 2 * PAD, 40, p["inset"], 8))
out.append(f'<circle cx="{PAD + 24}" cy="{y + 20}" r="6" fill="none" stroke="{p["sec"]}" stroke-width="1.5"/>')
out.append(line(PAD + 28.5, y + 24.5, PAD + 32, y + 28, p["sec"], 1.5))
out.append(text(PAD + 42, y + 25, "搜索任务名称或描述", 14, p["sec"]))
y += 56
for name, desc, prio in TASKS:
out.append(rect(PAD, y, W - 2 * PAD, 104, p["surface"], 8, p["border"], 1))
out.append(text(PAD + 16, y + 28, name, 14, p["text"]))
out.append(text(PAD + 16, y + 50, desc, 12, p["sec"]))
out.append(text(PAD + 16, y + 86, f"优先级 {prio}", 12, p["sec"], family=MONO))
out.append(text(PAD + 216, y + 86, "报告", 12, p["sec"]))
out.append(text(W - PAD - 16, y + 86, "开始学习", 14, p["primary"], "end", 500))
y += 120
return out
def screen_tasks_empty(p):
out = header(p, "学习任务", action="设置")
out.append(text(W / 2, 392, "还没有学习任务", 14, p["text"], "middle"))
out.append(text(W / 2, 416, "任务在网页端新建,建好后回来刷新", 12, p["sec"], "middle"))
out.extend(button(W / 2 - 60, 440, 120, 40, "刷新列表", p, "outlined"))
return out
def screen_tasks_loading(p):
out = header(p, "学习任务", action="设置")
y = 96
for i in range(3):
out.append(rect(PAD, y, W - 2 * PAD, 104, p["inset"], 8))
out.append(rect(PAD + 16, y + 20, 140, 12, p["skeleton"], 4))
out.append(rect(PAD + 16, y + 44, 220, 10, p["skeleton"], 4))
out.append(rect(PAD + 16, y + 76, 72, 10, p["skeleton"], 4))
y += 120
return out
def screen_tasks_error(p):
out = header(p, "学习任务", action="设置")
out.append(rect(PAD, 196, W - 2 * PAD, 152, p["surface"], 12, p["border"], 1))
out.append(text(PAD + 16, 232, "任务列表没加载出来", 14, p["text"]))
out.append(text(PAD + 16, 258, "网络断开,或服务器没有响应", 12, p["err"]))
out.append(text(PAD + 16, 282, "恢复网络后重新加载,列表不会丢", 12, p["sec"]))
out.extend(button(PAD + 16, 296, 120, 40, "重新加载", p, "outlined"))
return out
# ---------------------------------------------------------------- 会话页
def screen_session(p, mode="ongoing"):
# 会话页顶栏不放「学习会话」这种复述性页标题:任务是逐屏变化的,任务名就是标题
out = [text(PAD, 62, "‹ 任务", 14, p["primary"])]
out.append(text(PAD + 56, 54, "LLM 模型部署实践", 16, p["text"]))
out.append(text(PAD + 56, 74, "S-20261119-01", 12, p["sec"]))
y = 96
if mode == "paused":
out.append(rect(PAD, y, W - 2 * PAD, 44, p["warn_bg"], 8))
out.append(text(PAD + 16, y + 27, "已暂停,继续后接着计时", 12, p["warn"]))
y += 56
elif mode == "due":
out.append(rect(PAD, y, W - 2 * PAD, 60, p["warn_bg"], 8))
out.append(text(PAD + 16, y + 25, "本轮时间已到,先暂停休息", 12, p["warn"]))
out.append(text(PAD + 16, y + 44, "会话不会自己结束", 12, p["warn"]))
y += 72
out.append(rect(PAD, y, W - 2 * PAD, 152, p["surface"], 12))
countdown = "00:00" if mode == "due" else "12:34"
out.append(text(W / 2, y + 34, f"本轮还剩 {countdown}", 14,
p["warn"] if mode == "due" else p["sec"], "middle"))
out.append(text(W / 2, y + 92, "25:30", 44, p["sec"] if mode == "paused" else p["primary"],
"middle", 700, MONO))
out.append(text(W / 2, y + 120, "有效学习时间", 12, p["sec"], "middle"))
y += 168
out.extend(button(PAD, y, W - 2 * PAD, 48, "继续" if mode == "paused" else "暂停", p, "primary"))
y += 56
out.extend(button(PAD, y, W - 2 * PAD, 48, "结束学习", p, "outlined"))
y += 56
out.append(text(W / 2, y + 16, "显示悬浮窗", 14, p["primary"], "middle"))
y += 40
# 学习预期
out.append(rect(PAD, y, W - 2 * PAD, 112, p["surface"], 12))
out.append(text(PAD + 16, y + 28, "学习预期", 14, p["text"]))
out.append(text(W - PAD - 16, y + 28, "修改", 12, p["primary"], "end"))
out.append(text(PAD + 16, y + 54, "理解 vLLM 的 PagedAttention 与连续批处理,", 12, p["sec"]))
out.append(text(PAD + 16, y + 74, "并跑通一次并发压测", 12, p["sec"]))
y += 128
# 知识碎片
out.append(rect(PAD, y, W - 2 * PAD, 176 if mode != "ongoing" else 208, p["surface"], 12))
out.append(text(PAD + 16, y + 28, "知识碎片(3)" if mode == "ongoing" else "知识碎片(2)",
14, p["text"]))
out.append(rect(PAD + 16, y + 40, 232, 40, p["inset"], 8))
out.append(text(PAD + 30, y + 65, "记一条…", 14, p["sec"]))
out.append(text(W - PAD - 16, y + 65, "记录", 14, p["primary"], "end", 500))
out.append(text(PAD + 16, y + 108, "1.", 12, p["sec"]))
out.append(text(PAD + 34, y + 108, "PagedAttention 把 KV cache 按页切", 14, p["text"]))
out.append(text(PAD + 16, y + 134, "2.", 12, p["sec"]))
out.append(text(PAD + 34, y + 134, "连续批处理提升吞吐,延迟换吞吐", 14, p["text"]))
if mode == "ongoing":
out.append(text(PAD + 16, y + 160, "3.", 12, p["sec"]))
out.append(text(PAD + 34, y + 160, "抢占会让请求重算,代价是解码时间", 14, p["text"]))
if mode == "ongoing":
out.append(text(W / 2, y + 178, "查看全部 3 条", 12, p["primary"], "middle"))
return out
# ---------------------------------------------------------------- 报告页
def screen_reports(p, expanded=False):
out = header(p, "学习报告", back="‹ 任务")
out.append(text(PAD + 56, 82, "LLM 模型部署实践", 12, p["sec"]))
y = 96
out.append(rect(PAD, y, W - 2 * PAD, 132, p["surface"], 8, p["border"], 1))
out.append(text(PAD + 16, y + 26, "S-20261114-03", 12, p["sec"]))
out.append(text(W - PAD - 16, y + 26, "11-14 21:30", 12, p["sec"], "end", family=MONO))
out.append(text(PAD + 16, y + 54, "把 PagedAttention 与连续批处理跑通,", 14, p["text"]))
out.append(text(PAD + 16, y + 74, "对比了两种并发配置的吞吐", 14, p["text"]))
out.append(text(PAD + 16, y + 106, "展开全文", 12, p["primary"]))
out.append(text(PAD + 88, y + 106, "查看本次碎片", 12, p["sec"]))
y += 148
h = 300 if expanded else 132
out.append(rect(PAD, y, W - 2 * PAD, h, p["surface"], 8, p["border"], 1))
out.append(text(PAD + 16, y + 26, "S-20261113-02", 12, p["sec"]))
out.append(text(W - PAD - 16, y + 26, "11-13 20:10", 12, p["sec"], "end", family=MONO))
out.append(text(PAD + 16, y + 54, "复习了 vLLM 的调度器源码,", 14, p["text"]))
out.append(text(PAD + 16, y + 74, "补了 3 条碎片", 14, p["text"]))
if expanded:
out.append(text(PAD + 16, y + 110, "本次预期", 12, p["sec"]))
out.append(text(PAD + 16, y + 132, "看懂调度器怎么决定这一批跑哪些请求", 14, p["text"]))
out.append(text(PAD + 16, y + 166, "预期达成判断", 12, p["sec"]))
out.append(text(PAD + 16, y + 188, "部分达成:调度策略看懂了,抢占逻辑还没", 14, p["text"]))
out.append(text(PAD + 16, y + 222, "自由总结", 12, p["sec"]))
out.append(text(PAD + 16, y + 244, "下次从抢占与重算那条路径接着看", 14, p["text"]))
out.append(text(PAD + 16, y + 276, "收起全文", 12, p["primary"]))
else:
out.append(text(PAD + 16, y + 106, "展开全文", 12, p["primary"]))
out.append(text(PAD + 88, y + 106, "查看本次碎片", 12, p["sec"]))
y += h + 16
out.append(text(W / 2, y + 20, "加载更多(3/12)", 12, p["primary"], "middle"))
return out
# ---------------------------------------------------------------- 设置页 / 权限引导
def permission_rows(p, y):
"""一行一条权限:左边「是什么 + 为什么」,右边「现在什么状态 + 怎么开」。"""
out = []
rows = [
("悬浮窗权限", "在其他应用之上显示计时浮窗", "已授权", True),
("通知权限", "前台服务要有一条常驻通知", "未授权", False),
("电池优化白名单", "长时间学习时不被系统冻结计时", "未授权", False),
]
for name, why, state, granted in rows:
out.append(text(PAD + 16, y + 26, name, 14, p["text"]))
out.append(text(PAD + 16, y + 48, why, 12, p["sec"]))
out.append(text(W - PAD - 16, y + 26, state, 12,
p["primary"] if granted else p["err"], "end"))
if not granted:
out.append(text(W - PAD - 16, y + 49, "去开启", 12, p["primary"], "end"))
y += 64
return out
def screen_settings(p):
out = header(p, "设置", back="‹ 任务")
y = 96
out.append(rect(PAD, y, W - 2 * PAD, 232, p["surface"], 12))
out.append(text(PAD + 16, y + 28, "权限", 14, p["text"]))
out.extend(permission_rows(p, y + 44))
y += 248
out.append(rect(PAD, y, W - 2 * PAD, 56, p["surface"], 12))
out.append(text(PAD + 16, y + 34, "小米 / MIUI 额外设置", 14, p["text"]))
out.append(text(W - PAD - 16, y + 34, "展开", 12, p["primary"], "end"))
y += 72
out.append(rect(PAD, y, W - 2 * PAD, 112, p["surface"], 12))
out.append(text(PAD + 16, y + 28, "服务器地址", 14, p["text"]))
out.append(text(W - PAD - 16, y + 28, "修改", 12, p["primary"], "end"))
out.append(text(PAD + 16, y + 56, "https://lpt-dev.cat-shark.xyz/api", 12, p["sec"], family=MONO))
out.append(text(PAD + 16, y + 82, "换环境时改这里,改完重新登录", 12, p["sec"]))
y += 136
out.append(text(W / 2, y + 24, "退出登录", 14, p["err"], "middle"))
return out
def screen_permissions_gate(p):
out = header(p, "权限与后台", back="‹ 任务", action="稍后")
y = 96
out.append(rect(PAD, y, W - 2 * PAD, 232, p["surface"], 12))
out.append(text(PAD + 16, y + 28, "能不能跨应用计时,取决于这三项", 14, p["text"]))
out.extend(permission_rows(p, y + 44))
y += 248
out.append(rect(PAD, y, W - 2 * PAD, 88, p["surface"], 12))
out.append(text(PAD + 16, y + 26, "小米 / MIUI 额外设置", 14, p["text"]))
out.append(text(PAD + 16, y + 50, "自启动、后台弹出界面、省电策略无限制", 12, p["sec"]))
out.append(text(W - PAD - 16, y + 26, "展开", 12, p["primary"], "end"))
out.extend(button(PAD, H - 88, W - 2 * PAD, 48, "已完成,去学习任务", p, "primary"))
return out
# ---------------------------------------------------------------- 登录页
def screen_login(p):
out = []
out.append(text(PAD + 8, 268, "LPT 学习", 28, p["text"]))
for label, value, y in (("账号", "admin", 312), ("密码", "••••••••••", 384)):
out.append(rect(PAD + 8, y, W - 2 * PAD - 16, 56, p["surface"], 8, p["border"], 1))
out.append(text(PAD + 24, y + 22, label, 12, p["sec"]))
out.append(text(PAD + 24, y + 43, value, 14, p["text"]))
out.extend(button(PAD + 8, 464, W - 2 * PAD - 16, 48, "登录", p, "primary"))
out.append(text(W / 2, 544, "修改 API 地址", 14, p["primary"], "middle"))
return out
# ---------------------------------------------------------------- 组装
def compose(frames, dark_border=False):
n = len(frames)
width = W * n + GUTTER * (n - 1)
parts = [f'<svg xmlns="http://www.w3.org/2000/svg" width="{width}" height="{H}" '
f'viewBox="0 0 {width} {H}" font-family="{FONT}">',
'<defs><clipPath id="fc"><rect x="0" y="0" '
f'width="{W}" height="{H}"/></clipPath></defs>']
for i, (dark, content) in enumerate(frames):
p = DARK if dark else LIGHT
dx = i * (W + GUTTER)
parts.append(f'<g transform="translate({dx},0)">')
parts.append(rect(0, 0, W, H, p["bg"]))
parts.extend(status_bar(p))
parts.append('<g clip-path="url(#fc)">')
parts.extend(content(p))
parts.append("</g>")
parts.append(rect(0.5, 0.5, W - 1, H - 1, "none", 0,
"#33453D" if dark else "#C6D6CD", 1))
parts.append("</g>")
parts.append("</svg>")
return "\n".join(parts)
FILES = {
"tasks.svg": [(False, screen_tasks)],
"tasks-dark.svg": [(True, screen_tasks)],
"tasks-states.svg": [(False, screen_tasks_empty), (False, screen_tasks_loading),
(False, screen_tasks_error)],
"session.svg": [(False, screen_session)],
"session-states.svg": [(False, lambda p: screen_session(p, "paused")),
(False, lambda p: screen_session(p, "due"))],
"reports.svg": [(False, screen_reports),
(False, lambda p: screen_reports(p, expanded=True))],
"settings.svg": [(False, screen_settings), (False, screen_permissions_gate)],
"login.svg": [(False, screen_login)],
}
if __name__ == "__main__":
for name, frames in FILES.items():
svg = compose(frames)
with open(os.path.join(OUT, name), "w", encoding="utf-8") as f:
f.write(svg + "\n")
print(f"wrote {name} ({len(frames)} frame(s), {len(svg)} bytes)")
+171
View File
@@ -0,0 +1,171 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>lpt-android 页面重构 · 目标态线框</title>
<style>
body { margin: 0 auto; max-width: 1180px; padding: 28px 24px 80px; background: #f6f8f7; color: #16241C;
font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.65; }
h1 { font-size: 24px; margin: 0 0 6px; }
h2 { font-size: 17px; border-left: 3px solid #237556; padding-left: 10px; margin: 44px 0 12px; }
h3 { font-size: 15px; margin: 28px 0 8px; color: #237556; }
.tip { color: #4B6156; font-size: 13px; }
.lead { font-size: 14px; color: #33463C; }
.wire { margin: 14px 0 8px; background: #fff; border: 1px solid #D7E2DC; border-radius: 10px; padding: 12px; }
.wire img { display: block; height: auto; }
.wire.single img { width: auto; max-width: 400px; margin: 0 auto; }
.wire.multi img { width: 100%; }
figcaption { margin-top: 10px; font-size: 12.5px; color: #4B6156; line-height: 1.75; }
.grid2 { display: flex; gap: 18px; flex-wrap: wrap; }
.grid2 > figure { flex: 1 1 320px; margin: 0; }
table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 8px 0 4px; background: #fff; }
th, td { border: 1px solid #DCE6E1; padding: 6px 9px; text-align: left; vertical-align: top; }
th { background: #EFF5F1; font-weight: 600; }
code { font-family: "JetBrains Mono", Menlo, Consolas, monospace; font-size: 12px; background: #EDF3EF;
padding: 1px 4px; border-radius: 3px; }
.swatch { display: inline-block; width: 34px; height: 14px; border-radius: 3px; border: 1px solid #C6D6CD;
vertical-align: -2px; margin-right: 6px; }
ul { padding-left: 20px; }
li { margin: 3px 0; font-size: 13.5px; }
.ask { background: #fff; border: 1px solid #D7E2DC; border-left: 3px solid #237556; border-radius: 8px;
padding: 12px 16px; margin: 10px 0; }
.ask b { display: block; margin-bottom: 2px; }
.badge { display: inline-block; font-size: 11.5px; border-radius: 999px; padding: 0 8px; margin-left: 6px;
border: 1px solid #BFD6CA; color: #237556; }
</style>
</head>
<body>
<h1>lpt-android 页面重构 · 目标态线框</h1>
<p class="lead">六个页面 + 状态矩阵的线框,按 <code>lpt-android/.agents/roles/design-system.md</code> 登记的取值绘制;
图上文案就是落地后的真实文案,不是占位。图源是同目录的 <code>.svg</code>(由 <code>_build_wireframes.py</code> 生成,改文案改脚本重跑),
画布 360×800,等于真机 1080×2400 的 dp。</p>
<p class="tip">本地预览:<code>cd docs/diagrams &amp;&amp; python3 -m http.server 8000</code>,再开
<code>http://localhost:8000/android-ui/index.html</code>。</p>
<h2>一、这一轮吃掉哪几条偏差</h2>
<table>
<tr><th>现状偏差(登记处)</th><th>这一轮的做法</th></tr>
<tr><td>#1 主色还是 M3 蓝 <code>#1F6FEB</code> / <code>#6EA8FE</code></td><td>换成 <code>#237556</code> / <code>#7FD8B4</code>,两个色板都按下面取值表补全</td></tr>
<tr><td>#2 深色只覆盖 4 个槽位</td><td>深色 8 个槽位全给值:页底 <code>#111A16</code>、面 <code>#1B2A23</code>、内嵌 <code>#22332B</code>…</td></tr>
<tr><td>#3 条目与区块都是灰 <code>Card</code></td><td>分开:页面区块 = 12dp 卡片无描边;列表条目 = 白底 8dp + 1dp 描边</td></tr>
<tr><td>#4 顶栏四个等权文字按钮</td><td>任务页顶栏只留「设置」;权限、地址、退出登录全进设置页</td></tr>
<tr><td>#5 <code>labelSmall</code> 11sp 写正文</td><td>6 处全部换 <code>bodySmall</code> 12sp,全仓不再出现 11sp</td></tr>
<tr><td>#7 空态与错误态同一分支</td><td>空 / 加载 / 错误三条分支各自成形,见「任务页三态」</td></tr>
<tr><td>#8 间距档位散在 4/6/8/10/12/14/16/20/24</td><td>只留 4 / 8 / 12 / 16 / 24,<code>Spacer(0.dp)</code> 三处直接删</td></tr>
</table>
<h2>二、取值:颜色、间距、字号、容器</h2>
<h3>颜色(含实测对比度)</h3>
<table>
<tr><th>用在哪</th><th>浅色</th><th>深色</th><th>对比度</th></tr>
<tr><td>页面底</td><td><span class="swatch" style="background:#F7FBF8"></span><code>#F7FBF8</code></td><td><span class="swatch" style="background:#111A16"></span><code>#111A16</code></td><td>深色主文字 15.06:1</td></tr>
<tr><td>区块 / 条目面</td><td><span class="swatch" style="background:#FFFFFF"></span><code>#FFFFFF</code></td><td><span class="swatch" style="background:#1B2A23"></span><code>#1B2A23</code></td><td>浅色 16.11:1 / 深色 12.71:1</td></tr>
<tr><td>输入框底、内嵌块</td><td><span class="swatch" style="background:#F1F6F3"></span><code>#F1F6F3</code></td><td><span class="swatch" style="background:#22332B"></span><code>#22332B</code></td><td>深色次要字 7.50:1</td></tr>
<tr><td>主操作实底 / 上面的字</td><td><span class="swatch" style="background:#237556"></span><code>#237556</code> / <code>#FFFFFF</code></td><td><span class="swatch" style="background:#7FD8B4"></span><code>#7FD8B4</code> / <code>#111A16</code></td><td>5.60:1 / 10.47:1</td></tr>
<tr><td>强调块(进行中会话)</td><td><span class="swatch" style="background:#EEF9F3"></span><code>#EEF9F3</code> + <code>#237556</code> 字</td><td><span class="swatch" style="background:#17332A"></span><code>#17332A</code> + <code>#7FD8B4</code></td><td>5.19:1 / 8.02:1</td></tr>
<tr><td>次要文字(时间戳、说明)</td><td><code>#4B6156</code></td><td><code>#B3C7BD</code></td><td>6.40:1 / 9.99:1</td></tr>
<tr><td>到时 / 暂停提醒条</td><td><span class="swatch" style="background:#FFF8E1"></span><code>#FFF8E1</code> + <code>#856404</code></td><td><span class="swatch" style="background:#3A3220"></span><code>#3A3220</code> + <code>#FFD08A</code></td><td>5.17:1 / 11.00:1</td></tr>
<tr><td>错误</td><td><code>#B62324</code>(底 <code>#FDECEA</code>)</td><td><code>#F85149</code></td><td>5.64:1 / 5.29:1</td></tr>
<tr><td>列表条目 1dp 分组描边</td><td><code>#C6D6CD</code></td><td><code>#33453D</code></td><td>1.5:1,只做分隔,不用它表达状态</td></tr>
<tr><td>图标 / 需要识别的强描边</td><td><code>#6B7F75</code></td><td>同色系提亮</td><td>4.27:1</td></tr>
</table>
<h3>间距与字号</h3>
<table>
<tr><th>项</th><th>取值</th><th>用在哪</th></tr>
<tr><td>间距五档</td><td>4 / 8 / 12 / 16 / 24</td><td>条目内相邻行 8;条目内 12;条目之间、区块之间 16;页面大块之间 24</td></tr>
<tr><td>屏幕边距</td><td>16</td><td>登录页 24 保留为已登记例外</td></tr>
<tr><td>字号六档</td><td>28 / 22 / 16 / 14 / 12 / 44</td><td>44 只给会话页大计时(唯一自造字号,等宽 + 粗体)</td></tr>
<tr><td>圆角三档</td><td>8 / 12 / 18</td><td>条目 8、区块 12、浮窗拉起的输入页 18(已登记例外)</td></tr>
</table>
<h2>三、页面</h2>
<h3>任务页 <span class="badge">顶栏只留一个动作</span><span class="badge">条目与区块分家</span></h3>
<figure class="wire single">
<img src="tasks.svg?v=3" alt="任务页目标态:标题 + 设置,进行中会话块,搜索,白底描边任务条目">
<figcaption>
<b>留:</b>页面标题「学习任务」,右上只一个「设置」;进行中会话独立成块(整块可点,不带箭头);搜索框(任务 ≥6 个才出现,40dp 高、浅底无描边);任务条目。<br>
<b>删:</b>「已登录:admin」、「共 8 个任务」、「刷新」「权限」「退出登录」四个顶栏/次级按钮、「开始学习 ›」的箭头。<br>
<b>主操作:</b>每行右下唯一绿色「开始学习」;「报告」降为 <code>#4B6156</code> 次要色,不与主操作抢。<br>
<b>取值:</b>条目 8dp 圆角 + 1dp <code>#C6D6CD</code>,内边距 12;任务名 14、描述与优先级 12(优先级用等宽数字);条目间 16。
</figcaption>
</figure>
<h3>任务页三态 <span class="badge">空 / 加载 / 错误分开</span></h3>
<figure class="wire multi">
<img src="tasks-states.svg?v=3" alt="任务页空态、加载骨架、错误态三张并排">
<figcaption>
<b>空:</b>一句事实 + 一句「任务在网页端新建」+ 一个「刷新列表」。<br>
<b>加载:</b>三条骨架块,不用居中大转圈(列表位置不跳)。<br>
<b>错误:</b>标题「任务列表没加载出来」+ 原因「网络断开,或服务器没有响应」+ 一句「恢复网络后重新加载,列表不会丢」+「重新加载」。错误不再和空态共用一条文案。
</figcaption>
</figure>
<h3>会话页 <span class="badge">一屏只有一个大计时</span></h3>
<figure class="wire single">
<img src="session.svg?v=3" alt="会话页目标态:任务名、倒计时、44sp 大计时、暂停与结束、预期与碎片">
<figcaption>
<b>留:</b>顶栏用任务名当标题(会话号 12sp 在下面);倒计时一行小字 + 44sp 等宽大计时 + 「有效学习时间」;「暂停」实底、「结束学习」描边、两行分开;「显示悬浮窗」文字入口;学习预期已填就显示文本 +「修改」;知识碎片输入 + 最近 3 条 +「查看全部」。<br>
<b>删:</b>「状态:进行中」、「已暂停 · 有效学习时间」前缀、页面底部「正在与服务器同步…」、「误操作结束(零数据 / 已产生碎片,不可用)」这一长串——改成页面最底一行「误操作结束」,点开才是确认弹窗。<br>
<b>主操作:</b>「暂停」/「继续」独占一行;「结束学习」是描边次级,不与主操作并排同权重。
</figcaption>
</figure>
<h3>会话页两个非常态 <span class="badge">状态靠形态</span></h3>
<figure class="wire multi">
<img src="session-states.svg?v=3" alt="会话页暂停态、到点态并排">
<figcaption>
<b>暂停:</b>顶部一条 <code>#FFF8E1</code> 提醒「已暂停,继续后接着计时」,大计时降到 <code>#4B6156</code>,按钮变「继续」。不写「(暂停中)」这类小眉标。<br>
<b>到点:</b>提醒条写「本轮时间已到,先暂停休息 / 会话不会自己结束」,倒计时 <code>00:00</code> 用提醒色,按钮仍是「暂停」——会话不会自己结束。
</figcaption>
</figure>
<h3>报告页 <span class="badge">结论先行</span></h3>
<figure class="wire multi">
<img src="reports.svg?v=3" alt="报告页目标态:每条只露日期与会话摘要,展开后露出预期、判断、自由总结">
<figcaption>
<b>留:</b>顶栏「学习报告」+ 任务名;每条只露「日期 + 会话号 + 会话摘要」,「展开全文」才露出本次预期 / 预期达成判断 / 自由总结;「查看本次碎片」保留(降为次要色);底部「加载更多(3/12)」。<br>
<b>删:</b>每条重复的「学习报告」标题(一屏三次同字)、章节标签的绿色、11sp 时间戳。
</figcaption>
</figure>
<h3>设置页 <span class="badge">权限并进来</span></h3>
<figure class="wire multi">
<img src="settings.svg?v=3" alt="设置页目标态:权限三条、小米额外设置、服务器地址、退出登录;右侧为首启权限引导">
<figcaption>
<b>留:</b>权限三条(标题 + 为什么 + 右侧状态,未授权时多一个「去开启」);小米 / MIUI 额外设置(收起成一行,展开才是说明);服务器地址(当前值 +「修改」);最底「退出登录」。<br>
<b>首启引导(右图):</b>同一套权限行,换一句标题「能不能跨应用计时,取决于这三项」,底部主操作「已完成,去学习任务」,右上「稍后」。不再写页面级说明段——理由挪进每条的说明行。<br>
<b>删:</b>任务页顶栏的「权限」「退出登录」,以及原来权限页与设置页各写一遍的重复文案。
</figcaption>
</figure>
<h3>登录页 <span class="badge">去自述</span></h3>
<figure class="wire single">
<img src="login.svg?v=3" alt="登录页目标态:只有标题、账号、密码、登录、修改 API 地址">
<figcaption>
<b>留:</b>「LPT 学习」28sp 标题、账号、密码、全宽「登录」、「修改 API 地址」文字入口。<br>
<b>删:</b>副标题「移动端学习会话 · 悬浮窗计时」、页脚「LPT」、底部「提示:dev 环境默认 https://lpt-dev…」(这句把域名写死在界面里,改了地址它也不会跟着变)。
</figcaption>
</figure>
<h3>深色 <span class="badge">8 个槽位全给值</span></h3>
<figure class="wire single">
<img src="tasks-dark.svg?v=3" alt="任务页深色目标态">
<figcaption>页底 <code>#111A16</code>、面 <code>#1B2A23</code>、输入框 <code>#22332B</code>、描边 <code>#33453D</code>、主色 <code>#7FD8B4</code>。深浅两套按同一色相派生,不是把浅色反相。</figcaption>
</figure>
<h2>四、需要你拍板的地方</h2>
<div class="ask"><b>1. 任务页首屏是否接受「没有刷新按钮」?</b>
刷新改成下拉刷新(列表 >1 屏时用手势),空态与错误态各自带按钮。代价:任务 ≤5 条时没有明显刷新入口。</div>
<div class="ask"><b>2. 搜索框何时出现?</b>
现在任务 ≥6 个才出现,≤5 个不占首屏。若你经常在 3–4 个任务时搜,就改成常驻。</div>
<div class="ask"><b>3. 会话页顶栏用任务名替代「学习会话」这个页标题,可以吗?</b>
任务名更长、逐屏不同,比重复的固定标题有用;代价是不符合「每页一个 22sp 标题」的字面规则,要把它写成登记例外。</div>
<div class="ask"><b>4. 报告条目默认只露会话摘要,预期/判断/自由总结收进「展开全文」——够用吗?</b>
这是本次删得最多的一处:一屏从 3 条压到 2 条多一点,但要看全一次学习的结论多点一次。</div>
<p class="tip" style="margin-top:36px">确认后按三个单元改代码:A 取值与共用件(Theme / 间距常量 / 页头与条目组件)→ B 任务页 + 设置页 + 权限段 + 导航 → C 会话页 + 报告页 + 登录页;改完按真机矩阵截图(默认 / 空 / 加载 / 错误 / 深色 / 130% / 200% / 横屏)再走一轮 <code>ui-review</code>。</p>
</body>
</html>
+24
View File
@@ -0,0 +1,24 @@
<svg xmlns="http://www.w3.org/2000/svg" width="360" height="800" viewBox="0 0 360 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="24" y="268" font-size="28" fill="#16241C" text-anchor="start" font-weight="400">LPT 学习</text>
<rect x="24" y="312" width="312" height="56" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="40" y="334" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">账号</text>
<text x="40" y="355" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">admin</text>
<rect x="24" y="384" width="312" height="56" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="40" y="406" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">密码</text>
<text x="40" y="427" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">••••••••••</text>
<rect x="24" y="464" width="312" height="48" rx="8" fill="#237556"/>
<text x="180.0" y="493.0" font-size="14" fill="#FFFFFF" text-anchor="middle" font-weight="500">登录</text>
<text x="180.0" y="544" font-size="14" fill="#237556" text-anchor="middle" font-weight="400">修改 API 地址</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

+66
View File
@@ -0,0 +1,66 @@
<svg xmlns="http://www.w3.org/2000/svg" width="744" height="800" viewBox="0 0 744 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">学习报告</text>
<text x="72" y="82" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<rect x="16" y="96" width="328" height="132" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="122" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261114-03</text>
<text x="328" y="122" font-size="12" fill="#4B6156" text-anchor="end" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">11-14 21:30</text>
<text x="32" y="150" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">把 PagedAttention 与连续批处理跑通,</text>
<text x="32" y="170" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">对比了两种并发配置的吞吐</text>
<text x="32" y="202" font-size="12" fill="#237556" text-anchor="start" font-weight="400">展开全文</text>
<text x="104" y="202" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">查看本次碎片</text>
<rect x="16" y="244" width="328" height="132" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="270" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261113-02</text>
<text x="328" y="270" font-size="12" fill="#4B6156" text-anchor="end" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">11-13 20:10</text>
<text x="32" y="298" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">复习了 vLLM 的调度器源码,</text>
<text x="32" y="318" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">补了 3 条碎片</text>
<text x="32" y="350" font-size="12" fill="#237556" text-anchor="start" font-weight="400">展开全文</text>
<text x="104" y="350" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">查看本次碎片</text>
<text x="180.0" y="412" font-size="12" fill="#237556" text-anchor="middle" font-weight="400">加载更多(3/12)</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
<g transform="translate(384,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">学习报告</text>
<text x="72" y="82" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<rect x="16" y="96" width="328" height="132" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="122" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261114-03</text>
<text x="328" y="122" font-size="12" fill="#4B6156" text-anchor="end" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">11-14 21:30</text>
<text x="32" y="150" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">把 PagedAttention 与连续批处理跑通,</text>
<text x="32" y="170" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">对比了两种并发配置的吞吐</text>
<text x="32" y="202" font-size="12" fill="#237556" text-anchor="start" font-weight="400">展开全文</text>
<text x="104" y="202" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">查看本次碎片</text>
<rect x="16" y="244" width="328" height="300" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="270" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261113-02</text>
<text x="328" y="270" font-size="12" fill="#4B6156" text-anchor="end" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">11-13 20:10</text>
<text x="32" y="298" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">复习了 vLLM 的调度器源码,</text>
<text x="32" y="318" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">补了 3 条碎片</text>
<text x="32" y="354" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">本次预期</text>
<text x="32" y="376" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">看懂调度器怎么决定这一批跑哪些请求</text>
<text x="32" y="410" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">预期达成判断</text>
<text x="32" y="432" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">部分达成:调度策略看懂了,抢占逻辑还没</text>
<text x="32" y="466" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">自由总结</text>
<text x="32" y="488" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">下次从抢占与重算那条路径接着看</text>
<text x="32" y="520" font-size="12" fill="#237556" text-anchor="start" font-weight="400">收起全文</text>
<text x="180.0" y="580" font-size="12" fill="#237556" text-anchor="middle" font-weight="400">加载更多(3/12)</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB

@@ -0,0 +1,82 @@
<svg xmlns="http://www.w3.org/2000/svg" width="744" height="800" viewBox="0 0 744 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="54" font-size="16" fill="#16241C" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<text x="72" y="74" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261119-01</text>
<rect x="16" y="96" width="328" height="44" rx="8" fill="#FFF8E1"/>
<text x="32" y="123" font-size="12" fill="#856404" text-anchor="start" font-weight="400">已暂停,继续后接着计时</text>
<rect x="16" y="152" width="328" height="152" rx="12" fill="#FFFFFF"/>
<text x="180.0" y="186" font-size="14" fill="#4B6156" text-anchor="middle" font-weight="400">本轮还剩 12:34</text>
<text x="180.0" y="244" font-size="44" fill="#4B6156" text-anchor="middle" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="700">25:30</text>
<text x="180.0" y="272" font-size="12" fill="#4B6156" text-anchor="middle" font-weight="400">有效学习时间</text>
<rect x="16" y="320" width="328" height="48" rx="8" fill="#237556"/>
<text x="180.0" y="349.0" font-size="14" fill="#FFFFFF" text-anchor="middle" font-weight="500">继续</text>
<rect x="16" y="376" width="328" height="48" rx="8" fill="#FFFFFF" stroke="#237556" stroke-width="1"/>
<text x="180.0" y="405.0" font-size="14" fill="#237556" text-anchor="middle" font-weight="500">结束学习</text>
<text x="180.0" y="448" font-size="14" fill="#237556" text-anchor="middle" font-weight="400">显示悬浮窗</text>
<rect x="16" y="472" width="328" height="112" rx="12" fill="#FFFFFF"/>
<text x="32" y="500" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">学习预期</text>
<text x="328" y="500" font-size="12" fill="#237556" text-anchor="end" font-weight="400">修改</text>
<text x="32" y="526" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">理解 vLLM 的 PagedAttention 与连续批处理,</text>
<text x="32" y="546" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">并跑通一次并发压测</text>
<rect x="16" y="600" width="328" height="176" rx="12" fill="#FFFFFF"/>
<text x="32" y="628" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">知识碎片(2)</text>
<rect x="32" y="640" width="232" height="40" rx="8" fill="#F1F6F3"/>
<text x="46" y="665" font-size="14" fill="#4B6156" text-anchor="start" font-weight="400">记一条…</text>
<text x="328" y="665" font-size="14" fill="#237556" text-anchor="end" font-weight="500">记录</text>
<text x="32" y="708" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">1.</text>
<text x="50" y="708" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">PagedAttention 把 KV cache 按页切</text>
<text x="32" y="734" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">2.</text>
<text x="50" y="734" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">连续批处理提升吞吐,延迟换吞吐</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
<g transform="translate(384,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="54" font-size="16" fill="#16241C" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<text x="72" y="74" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261119-01</text>
<rect x="16" y="96" width="328" height="60" rx="8" fill="#FFF8E1"/>
<text x="32" y="121" font-size="12" fill="#856404" text-anchor="start" font-weight="400">本轮时间已到,先暂停休息</text>
<text x="32" y="140" font-size="12" fill="#856404" text-anchor="start" font-weight="400">会话不会自己结束</text>
<rect x="16" y="168" width="328" height="152" rx="12" fill="#FFFFFF"/>
<text x="180.0" y="202" font-size="14" fill="#856404" text-anchor="middle" font-weight="400">本轮还剩 00:00</text>
<text x="180.0" y="260" font-size="44" fill="#237556" text-anchor="middle" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="700">25:30</text>
<text x="180.0" y="288" font-size="12" fill="#4B6156" text-anchor="middle" font-weight="400">有效学习时间</text>
<rect x="16" y="336" width="328" height="48" rx="8" fill="#237556"/>
<text x="180.0" y="365.0" font-size="14" fill="#FFFFFF" text-anchor="middle" font-weight="500">暂停</text>
<rect x="16" y="392" width="328" height="48" rx="8" fill="#FFFFFF" stroke="#237556" stroke-width="1"/>
<text x="180.0" y="421.0" font-size="14" fill="#237556" text-anchor="middle" font-weight="500">结束学习</text>
<text x="180.0" y="464" font-size="14" fill="#237556" text-anchor="middle" font-weight="400">显示悬浮窗</text>
<rect x="16" y="488" width="328" height="112" rx="12" fill="#FFFFFF"/>
<text x="32" y="516" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">学习预期</text>
<text x="328" y="516" font-size="12" fill="#237556" text-anchor="end" font-weight="400">修改</text>
<text x="32" y="542" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">理解 vLLM 的 PagedAttention 与连续批处理,</text>
<text x="32" y="562" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">并跑通一次并发压测</text>
<rect x="16" y="616" width="328" height="176" rx="12" fill="#FFFFFF"/>
<text x="32" y="644" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">知识碎片(2)</text>
<rect x="32" y="656" width="232" height="40" rx="8" fill="#F1F6F3"/>
<text x="46" y="681" font-size="14" fill="#4B6156" text-anchor="start" font-weight="400">记一条…</text>
<text x="328" y="681" font-size="14" fill="#237556" text-anchor="end" font-weight="500">记录</text>
<text x="32" y="724" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">1.</text>
<text x="50" y="724" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">PagedAttention 把 KV cache 按页切</text>
<text x="32" y="750" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">2.</text>
<text x="50" y="750" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">连续批处理提升吞吐,延迟换吞吐</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.5 KiB

+43
View File
@@ -0,0 +1,43 @@
<svg xmlns="http://www.w3.org/2000/svg" width="360" height="800" viewBox="0 0 360 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="54" font-size="16" fill="#16241C" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<text x="72" y="74" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">S-20261119-01</text>
<rect x="16" y="96" width="328" height="152" rx="12" fill="#FFFFFF"/>
<text x="180.0" y="130" font-size="14" fill="#4B6156" text-anchor="middle" font-weight="400">本轮还剩 12:34</text>
<text x="180.0" y="188" font-size="44" fill="#237556" text-anchor="middle" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="700">25:30</text>
<text x="180.0" y="216" font-size="12" fill="#4B6156" text-anchor="middle" font-weight="400">有效学习时间</text>
<rect x="16" y="264" width="328" height="48" rx="8" fill="#237556"/>
<text x="180.0" y="293.0" font-size="14" fill="#FFFFFF" text-anchor="middle" font-weight="500">暂停</text>
<rect x="16" y="320" width="328" height="48" rx="8" fill="#FFFFFF" stroke="#237556" stroke-width="1"/>
<text x="180.0" y="349.0" font-size="14" fill="#237556" text-anchor="middle" font-weight="500">结束学习</text>
<text x="180.0" y="392" font-size="14" fill="#237556" text-anchor="middle" font-weight="400">显示悬浮窗</text>
<rect x="16" y="416" width="328" height="112" rx="12" fill="#FFFFFF"/>
<text x="32" y="444" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">学习预期</text>
<text x="328" y="444" font-size="12" fill="#237556" text-anchor="end" font-weight="400">修改</text>
<text x="32" y="470" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">理解 vLLM 的 PagedAttention 与连续批处理,</text>
<text x="32" y="490" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">并跑通一次并发压测</text>
<rect x="16" y="544" width="328" height="208" rx="12" fill="#FFFFFF"/>
<text x="32" y="572" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">知识碎片(3)</text>
<rect x="32" y="584" width="232" height="40" rx="8" fill="#F1F6F3"/>
<text x="46" y="609" font-size="14" fill="#4B6156" text-anchor="start" font-weight="400">记一条…</text>
<text x="328" y="609" font-size="14" fill="#237556" text-anchor="end" font-weight="500">记录</text>
<text x="32" y="652" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">1.</text>
<text x="50" y="652" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">PagedAttention 把 KV cache 按页切</text>
<text x="32" y="678" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">2.</text>
<text x="50" y="678" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">连续批处理提升吞吐,延迟换吞吐</text>
<text x="32" y="704" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">3.</text>
<text x="50" y="704" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">抢占会让请求重算,代价是解码时间</text>
<text x="180.0" y="722" font-size="12" fill="#237556" text-anchor="middle" font-weight="400">查看全部 3 条</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

+71
View File
@@ -0,0 +1,71 @@
<svg xmlns="http://www.w3.org/2000/svg" width="744" height="800" viewBox="0 0 744 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">设置</text>
<rect x="16" y="96" width="328" height="232" rx="12" fill="#FFFFFF"/>
<text x="32" y="124" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">权限</text>
<text x="32" y="166" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">悬浮窗权限</text>
<text x="32" y="188" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">在其他应用之上显示计时浮窗</text>
<text x="328" y="166" font-size="12" fill="#237556" text-anchor="end" font-weight="400">已授权</text>
<text x="32" y="230" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">通知权限</text>
<text x="32" y="252" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">前台服务要有一条常驻通知</text>
<text x="328" y="230" font-size="12" fill="#B62324" text-anchor="end" font-weight="400">未授权</text>
<text x="328" y="253" font-size="12" fill="#237556" text-anchor="end" font-weight="400">去开启</text>
<text x="32" y="294" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">电池优化白名单</text>
<text x="32" y="316" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">长时间学习时不被系统冻结计时</text>
<text x="328" y="294" font-size="12" fill="#B62324" text-anchor="end" font-weight="400">未授权</text>
<text x="328" y="317" font-size="12" fill="#237556" text-anchor="end" font-weight="400">去开启</text>
<rect x="16" y="344" width="328" height="56" rx="12" fill="#FFFFFF"/>
<text x="32" y="378" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">小米 / MIUI 额外设置</text>
<text x="328" y="378" font-size="12" fill="#237556" text-anchor="end" font-weight="400">展开</text>
<rect x="16" y="416" width="328" height="112" rx="12" fill="#FFFFFF"/>
<text x="32" y="444" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">服务器地址</text>
<text x="328" y="444" font-size="12" fill="#237556" text-anchor="end" font-weight="400">修改</text>
<text x="32" y="472" font-size="12" fill="#4B6156" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">https://lpt-dev.cat-shark.xyz/api</text>
<text x="32" y="498" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">换环境时改这里,改完重新登录</text>
<text x="180.0" y="576" font-size="14" fill="#B62324" text-anchor="middle" font-weight="400">退出登录</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
<g transform="translate(384,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="62" font-size="14" fill="#237556" text-anchor="start" font-weight="400">‹ 任务</text>
<text x="72" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">权限与后台</text>
<text x="344" y="62" font-size="14" fill="#237556" text-anchor="end" font-weight="400">稍后</text>
<rect x="16" y="96" width="328" height="232" rx="12" fill="#FFFFFF"/>
<text x="32" y="124" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">能不能跨应用计时,取决于这三项</text>
<text x="32" y="166" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">悬浮窗权限</text>
<text x="32" y="188" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">在其他应用之上显示计时浮窗</text>
<text x="328" y="166" font-size="12" fill="#237556" text-anchor="end" font-weight="400">已授权</text>
<text x="32" y="230" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">通知权限</text>
<text x="32" y="252" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">前台服务要有一条常驻通知</text>
<text x="328" y="230" font-size="12" fill="#B62324" text-anchor="end" font-weight="400">未授权</text>
<text x="328" y="253" font-size="12" fill="#237556" text-anchor="end" font-weight="400">去开启</text>
<text x="32" y="294" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">电池优化白名单</text>
<text x="32" y="316" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">长时间学习时不被系统冻结计时</text>
<text x="328" y="294" font-size="12" fill="#B62324" text-anchor="end" font-weight="400">未授权</text>
<text x="328" y="317" font-size="12" fill="#237556" text-anchor="end" font-weight="400">去开启</text>
<rect x="16" y="344" width="328" height="88" rx="12" fill="#FFFFFF"/>
<text x="32" y="370" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">小米 / MIUI 额外设置</text>
<text x="32" y="394" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">自启动、后台弹出界面、省电策略无限制</text>
<text x="328" y="370" font-size="12" fill="#237556" text-anchor="end" font-weight="400">展开</text>
<rect x="16" y="712" width="328" height="48" rx="8" fill="#237556"/>
<text x="180.0" y="741.0" font-size="14" fill="#FFFFFF" text-anchor="middle" font-weight="500">已完成,去学习任务</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB

+54
View File
@@ -0,0 +1,54 @@
<svg xmlns="http://www.w3.org/2000/svg" width="360" height="800" viewBox="0 0 360 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#111A16"/>
<text x="20" y="19" font-size="11" fill="#E4EFE9" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#B3C7BD"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#B3C7BD"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#B3C7BD" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#B3C7BD"/>
<g clip-path="url(#fc)">
<text x="16" y="64" font-size="22" fill="#E4EFE9" text-anchor="start" font-weight="400">学习任务</text>
<text x="344" y="62" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="400">设置</text>
<rect x="16" y="88" width="328" height="64" rx="12" fill="#17332A"/>
<text x="32" y="113" font-size="14" fill="#E4EFE9" text-anchor="start" font-weight="400">有一次学习正在进行</text>
<text x="32" y="133" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">LLM 模型部署实践 · 已学 12:30</text>
<text x="328" y="117" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="500">回到会话</text>
<rect x="16" y="168" width="328" height="40" rx="8" fill="#22332B"/>
<circle cx="40" cy="188" r="6" fill="none" stroke="#B3C7BD" stroke-width="1.5"/>
<line x1="44.5" y1="192.5" x2="48" y2="196" stroke="#B3C7BD" stroke-width="1.5"/>
<text x="58" y="193" font-size="14" fill="#B3C7BD" text-anchor="start" font-weight="400">搜索任务名称或描述</text>
<rect x="16" y="224" width="328" height="104" rx="8" fill="#1B2A23" stroke="#33453D" stroke-width="1"/>
<text x="32" y="252" font-size="14" fill="#E4EFE9" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<text x="32" y="274" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">vLLM 与 PagedAttention 的部署实验</text>
<text x="32" y="310" font-size="12" fill="#B3C7BD" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 3.75</text>
<text x="232" y="310" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="310" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="344" width="328" height="104" rx="8" fill="#1B2A23" stroke="#33453D" stroke-width="1"/>
<text x="32" y="372" font-size="14" fill="#E4EFE9" text-anchor="start" font-weight="400">k8s 的使用</text>
<text x="32" y="394" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">把 LPT 系统迁移到 k8s 中</text>
<text x="32" y="430" font-size="12" fill="#B3C7BD" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 3.15</text>
<text x="232" y="430" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="430" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="464" width="328" height="104" rx="8" fill="#1B2A23" stroke="#33453D" stroke-width="1"/>
<text x="32" y="492" font-size="14" fill="#E4EFE9" text-anchor="start" font-weight="400">功能测试</text>
<text x="32" y="514" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">复习功能的测试学习任务</text>
<text x="32" y="550" font-size="12" fill="#B3C7BD" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 2.45</text>
<text x="232" y="550" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="550" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="584" width="328" height="104" rx="8" fill="#1B2A23" stroke="#33453D" stroke-width="1"/>
<text x="32" y="612" font-size="14" fill="#E4EFE9" text-anchor="start" font-weight="400">Whisper 模型学习与应用</text>
<text x="32" y="634" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">数据集、微调与领域模型</text>
<text x="32" y="670" font-size="12" fill="#B3C7BD" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 2.35</text>
<text x="232" y="670" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="670" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="704" width="328" height="104" rx="8" fill="#1B2A23" stroke="#33453D" stroke-width="1"/>
<text x="32" y="732" font-size="14" fill="#E4EFE9" text-anchor="start" font-weight="400">网络通讯加密与应用</text>
<text x="32" y="754" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">TLS 握手与证书链排查</text>
<text x="32" y="790" font-size="12" fill="#B3C7BD" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 2.10</text>
<text x="232" y="790" font-size="12" fill="#B3C7BD" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="790" font-size="14" fill="#7FD8B4" text-anchor="end" font-weight="500">开始学习</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#33453D" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.5 KiB

+64
View File
@@ -0,0 +1,64 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1128" height="800" viewBox="0 0 1128 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">学习任务</text>
<text x="344" y="62" font-size="14" fill="#237556" text-anchor="end" font-weight="400">设置</text>
<text x="180.0" y="392" font-size="14" fill="#16241C" text-anchor="middle" font-weight="400">还没有学习任务</text>
<text x="180.0" y="416" font-size="12" fill="#4B6156" text-anchor="middle" font-weight="400">任务在网页端新建,建好后回来刷新</text>
<rect x="120.0" y="440" width="120" height="40" rx="8" fill="#FFFFFF" stroke="#237556" stroke-width="1"/>
<text x="180.0" y="465.0" font-size="14" fill="#237556" text-anchor="middle" font-weight="500">刷新列表</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
<g transform="translate(384,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">学习任务</text>
<text x="344" y="62" font-size="14" fill="#237556" text-anchor="end" font-weight="400">设置</text>
<rect x="16" y="96" width="328" height="104" rx="8" fill="#F1F6F3"/>
<rect x="32" y="116" width="140" height="12" rx="4" fill="#E4EDE8"/>
<rect x="32" y="140" width="220" height="10" rx="4" fill="#E4EDE8"/>
<rect x="32" y="172" width="72" height="10" rx="4" fill="#E4EDE8"/>
<rect x="16" y="216" width="328" height="104" rx="8" fill="#F1F6F3"/>
<rect x="32" y="236" width="140" height="12" rx="4" fill="#E4EDE8"/>
<rect x="32" y="260" width="220" height="10" rx="4" fill="#E4EDE8"/>
<rect x="32" y="292" width="72" height="10" rx="4" fill="#E4EDE8"/>
<rect x="16" y="336" width="328" height="104" rx="8" fill="#F1F6F3"/>
<rect x="32" y="356" width="140" height="12" rx="4" fill="#E4EDE8"/>
<rect x="32" y="380" width="220" height="10" rx="4" fill="#E4EDE8"/>
<rect x="32" y="412" width="72" height="10" rx="4" fill="#E4EDE8"/>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
<g transform="translate(768,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">学习任务</text>
<text x="344" y="62" font-size="14" fill="#237556" text-anchor="end" font-weight="400">设置</text>
<rect x="16" y="196" width="328" height="152" rx="12" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="232" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">任务列表没加载出来</text>
<text x="32" y="258" font-size="12" fill="#B62324" text-anchor="start" font-weight="400">网络断开,或服务器没有响应</text>
<text x="32" y="282" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">恢复网络后重新加载,列表不会丢</text>
<rect x="32" y="296" width="120" height="40" rx="8" fill="#FFFFFF" stroke="#237556" stroke-width="1"/>
<text x="92.0" y="321.0" font-size="14" fill="#237556" text-anchor="middle" font-weight="500">重新加载</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

+54
View File
@@ -0,0 +1,54 @@
<svg xmlns="http://www.w3.org/2000/svg" width="360" height="800" viewBox="0 0 360 800" font-family="'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif">
<defs><clipPath id="fc"><rect x="0" y="0" width="360" height="800"/></clipPath></defs>
<g transform="translate(0,0)">
<rect x="0" y="0" width="360" height="800" rx="0" fill="#F7FBF8"/>
<text x="20" y="19" font-size="11" fill="#16241C" text-anchor="start" font-weight="500">9:41</text>
<rect x="302" y="13" width="12" height="9" rx="1" fill="#4B6156"/>
<rect x="316" y="16" width="8" height="6" rx="1" fill="#4B6156"/>
<rect x="327" y="12" width="15" height="10" rx="2" fill="none" stroke="#4B6156" stroke-width="1"/>
<rect x="329" y="14" width="11" height="6" rx="1" fill="#4B6156"/>
<g clip-path="url(#fc)">
<text x="16" y="64" font-size="22" fill="#16241C" text-anchor="start" font-weight="400">学习任务</text>
<text x="344" y="62" font-size="14" fill="#237556" text-anchor="end" font-weight="400">设置</text>
<rect x="16" y="88" width="328" height="64" rx="12" fill="#EEF9F3"/>
<text x="32" y="113" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">有一次学习正在进行</text>
<text x="32" y="133" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">LLM 模型部署实践 · 已学 12:30</text>
<text x="328" y="117" font-size="14" fill="#237556" text-anchor="end" font-weight="500">回到会话</text>
<rect x="16" y="168" width="328" height="40" rx="8" fill="#F1F6F3"/>
<circle cx="40" cy="188" r="6" fill="none" stroke="#4B6156" stroke-width="1.5"/>
<line x1="44.5" y1="192.5" x2="48" y2="196" stroke="#4B6156" stroke-width="1.5"/>
<text x="58" y="193" font-size="14" fill="#4B6156" text-anchor="start" font-weight="400">搜索任务名称或描述</text>
<rect x="16" y="224" width="328" height="104" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="252" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">LLM 模型部署实践</text>
<text x="32" y="274" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">vLLM 与 PagedAttention 的部署实验</text>
<text x="32" y="310" font-size="12" fill="#4B6156" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 3.75</text>
<text x="232" y="310" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="310" font-size="14" fill="#237556" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="344" width="328" height="104" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="372" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">k8s 的使用</text>
<text x="32" y="394" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">把 LPT 系统迁移到 k8s 中</text>
<text x="32" y="430" font-size="12" fill="#4B6156" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 3.15</text>
<text x="232" y="430" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="430" font-size="14" fill="#237556" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="464" width="328" height="104" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="492" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">功能测试</text>
<text x="32" y="514" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">复习功能的测试学习任务</text>
<text x="32" y="550" font-size="12" fill="#4B6156" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 2.45</text>
<text x="232" y="550" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="550" font-size="14" fill="#237556" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="584" width="328" height="104" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="612" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">Whisper 模型学习与应用</text>
<text x="32" y="634" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">数据集、微调与领域模型</text>
<text x="32" y="670" font-size="12" fill="#4B6156" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 2.35</text>
<text x="232" y="670" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="670" font-size="14" fill="#237556" text-anchor="end" font-weight="500">开始学习</text>
<rect x="16" y="704" width="328" height="104" rx="8" fill="#FFFFFF" stroke="#C6D6CD" stroke-width="1"/>
<text x="32" y="732" font-size="14" fill="#16241C" text-anchor="start" font-weight="400">网络通讯加密与应用</text>
<text x="32" y="754" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">TLS 握手与证书链排查</text>
<text x="32" y="790" font-size="12" fill="#4B6156" text-anchor="start" font-family="'JetBrains Mono','SF Mono',Menlo,Consolas,monospace" font-weight="400">优先级 2.10</text>
<text x="232" y="790" font-size="12" fill="#4B6156" text-anchor="start" font-weight="400">报告</text>
<text x="328" y="790" font-size="14" fill="#237556" text-anchor="end" font-weight="500">开始学习</text>
</g>
<rect x="0.5" y="0.5" width="359" height="799" rx="0" fill="none" stroke="#C6D6CD" stroke-width="1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.5 KiB