docs: 补充回忆布局、回忆 AI 与 Android 页面三组图表
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1240" height="900" viewBox="0 0 1240 900" font-family="'PingFang SC','Microsoft YaHei',sans-serif">
|
||||
<title>提示与查漏:方案 D 放大成三栏阅读</title>
|
||||
<defs><filter id="blur3" x="-20%" y="-20%" width="140%" height="140%"><feGaussianBlur stdDeviation="3.2"/></filter><linearGradient id="fade" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#ffffff" stop-opacity="0"/><stop offset="1" stop-color="#ffffff" stop-opacity="1"/></linearGradient></defs>
|
||||
<rect width="1240" height="900" fill="#f7fbf8"/>
|
||||
|
||||
<text x="56" y="46" font-size="21" fill="#1f2d26" text-anchor="start" font-weight="700">方案 D|放大成三栏阅读</text><text x="56" y="72" font-size="12" fill="#7d8a82" text-anchor="start">日常仍是 380px 抽屉(只显示最近一次);需要精读时点「放大」,三栏铺满视口</text>
|
||||
<rect x="56" y="92" width="1168" height="420" rx="12" fill="#fff" stroke="#cfd8d2" stroke-width="1"/>
|
||||
<rect x="56" y="92" width="1168" height="44" rx="12" fill="#fbfdfb"/>
|
||||
<line x1="56" y1="136" x2="1224" y2="136" stroke="#ededed" stroke-width="1"/>
|
||||
<text x="76" y="120" font-size="14" fill="#1f2d26" text-anchor="start" font-weight="700">提示与查漏</text>
|
||||
<text x="1204" y="120" font-size="11.5" fill="#2e8b57" text-anchor="end">返回导图(Esc)</text>
|
||||
<text x="236" y="120" font-size="10.5" fill="#7d8a82" text-anchor="start">3 次请求 · 4 条提示 · 2 条查漏</text>
|
||||
<line x1="280" y1="136" x2="280" y2="512" stroke="#ededed" stroke-width="1"/>
|
||||
<line x1="760" y1="136" x2="760" y2="512" stroke="#ededed" stroke-width="1"/>
|
||||
<text x="76" y="164" font-size="10.5" fill="#7d8a82" text-anchor="start">本次请求</text>
|
||||
<rect x="68" y="174" width="200" height="44" rx="6" fill="#fff" stroke="#eef2ef" stroke-width="1"/>
|
||||
<text x="82" y="194" font-size="12" fill="#1f2d26" text-anchor="start" font-weight="700">提示</text>
|
||||
<text x="82" y="210" font-size="10" fill="#7d8a82" text-anchor="start">3 条 · 18:16</text>
|
||||
<rect x="68" y="226" width="200" height="44" rx="6" fill="#fff" stroke="#eef2ef" stroke-width="1"/>
|
||||
<text x="82" y="246" font-size="12" fill="#1f2d26" text-anchor="start" font-weight="700">查漏</text>
|
||||
<text x="82" y="262" font-size="10" fill="#7d8a82" text-anchor="start">2 条 · 18:20</text>
|
||||
<rect x="68" y="278" width="200" height="44" rx="6" fill="#e7f6ea" stroke="#2e8b57" stroke-width="1"/>
|
||||
<text x="82" y="298" font-size="12" fill="#14532d" text-anchor="start" font-weight="700">提示</text>
|
||||
<text x="82" y="314" font-size="10" fill="#7d8a82" text-anchor="start">4 条 · 18:22</text>
|
||||
<rect x="68" y="278" width="4" height="44" rx="2" fill="#2e8b57"/>
|
||||
<text x="76" y="382" font-size="10.5" fill="#2e8b57" text-anchor="start">更早的 5 次 ▸</text>
|
||||
<text x="300" y="164" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">提示 · 4 条 · 18:22</text>
|
||||
<text x="746" y="164" font-size="11" fill="#2e8b57" text-anchor="end">全部显示</text>
|
||||
<rect x="298" y="176" width="448" height="168" rx="8" fill="#fff" stroke="#e7ece9" stroke-width="1"/>
|
||||
<text x="312" y="198" font-size="11" fill="#7d8a82" text-anchor="start">提示 1</text>
|
||||
<text x="312" y="224" font-size="13" fill="#1f2d26" text-anchor="start" font-weight="700">锁粒度与事务边界不是同一件事</text>
|
||||
<text x="312" y="248" font-size="12" fill="#333" text-anchor="start">锁粒度</text>
|
||||
<text x="326" y="268" font-size="12" fill="#333" text-anchor="start">行锁 / 表锁</text>
|
||||
<text x="326" y="288" font-size="12" fill="#333" text-anchor="start">乐观锁与悲观锁的区别不在粒度</text>
|
||||
<rect x="312" y="302" width="84" height="24" rx="5" fill="#fff" stroke="#dcdcdc" stroke-width="1"/><text x="354.0" y="317.96" font-size="11" fill="#333" text-anchor="middle">带入导图</text>
|
||||
<rect x="404" y="302" width="96" height="24" rx="5" fill="none" stroke="#cfd8d2" stroke-width="1" stroke-dasharray="3 3"/>
|
||||
<text x="452" y="319" font-size="11" fill="#7d8a82" text-anchor="middle">显示引文 1</text>
|
||||
<rect x="298" y="356" width="448" height="100" rx="8" fill="#fff" stroke="#e7ece9" stroke-width="1"/>
|
||||
<text x="312" y="378" font-size="11" fill="#7d8a82" text-anchor="start">提示 2</text>
|
||||
<text x="730" y="378" font-size="11" fill="#2e8b57" text-anchor="end">显示内容</text>
|
||||
<g filter="url(#blur3)">
|
||||
<text x="312" y="404" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">事务隔离级别只约束可见性</text>
|
||||
<text x="312" y="426" font-size="12" fill="#333" text-anchor="start">读已提交 / 可重复读 / 串行化</text>
|
||||
</g>
|
||||
<rect x="732" y="182" width="4" height="130" rx="2" fill="#d9e2dc"/>
|
||||
<text x="780" y="164" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">相关碎片(2 条)</text>
|
||||
<circle cx="910" cy="160" r="7" fill="#fff" stroke="#bbb" stroke-width="1"/>
|
||||
<text x="910" y="163.5" font-size="8.5" fill="#7d8a82" text-anchor="middle" font-weight="700">?</text>
|
||||
<rect x="778" y="176" width="428" height="46" rx="6" fill="#fff" stroke="#eef2ef" stroke-width="1"/>
|
||||
<text x="792" y="196" font-size="11.5" fill="#1f2d26" text-anchor="start" font-weight="700">知识碎片</text>
|
||||
<text x="792" y="212" font-size="10" fill="#7d8a82" text-anchor="start">事务隔离级别与 MVCC 的关系</text>
|
||||
<text x="1140" y="203" font-size="10.5" fill="#2e8b57" text-anchor="end">展开</text>
|
||||
<text x="1190" y="203" font-size="10.5" fill="#2e8b57" text-anchor="end">全文</text>
|
||||
<rect x="778" y="230" width="428" height="46" rx="6" fill="#fff" stroke="#eef2ef" stroke-width="1"/>
|
||||
<text x="792" y="250" font-size="11.5" fill="#1f2d26" text-anchor="start" font-weight="700">知识碎片</text>
|
||||
<text x="792" y="266" font-size="10" fill="#7d8a82" text-anchor="start">事务隔离级别与 MVCC 的关系</text>
|
||||
<text x="1140" y="257" font-size="10.5" fill="#2e8b57" text-anchor="end">展开</text>
|
||||
<text x="1190" y="257" font-size="10.5" fill="#2e8b57" text-anchor="end">全文</text>
|
||||
<text x="780" y="300" font-size="10.5" fill="#7d8a82" text-anchor="start">‹ 1 2 ›</text>
|
||||
<text x="76" y="488" font-size="10" fill="#999999" text-anchor="start">三列各自滚动,页面本身不滚动;选中项与滚动位置在退出后保留。</text>
|
||||
<text x="56" y="556" font-size="11" fill="#7d8a82" text-anchor="start">从抽屉到放大</text>
|
||||
<rect x="56" y="566" width="300" height="92" rx="8" fill="#fff" stroke="#cfd8d2" stroke-width="1"/>
|
||||
<text x="72" y="588" font-size="11.5" fill="#1f2d26" text-anchor="start" font-weight="700">提示与查漏</text>
|
||||
<text x="340" y="588" font-size="10.5" fill="#2e8b57" text-anchor="end">放大 ⤢</text>
|
||||
<line x1="56" y1="598" x2="356" y2="598" stroke="#ededed" stroke-width="1"/>
|
||||
<text x="72" y="620" font-size="10" fill="#333" text-anchor="start">最近一次:提示 · 4 条 · 18:22</text>
|
||||
<rect x="72" y="626" width="264" height="14" rx="3" fill="#f4f7f5"/>
|
||||
<text x="72" y="654" font-size="9" fill="#999999" text-anchor="start">(只渲染最近一次,日常不展开)</text>
|
||||
<text x="376" y="614" font-size="18" fill="#aaa" text-anchor="start">→</text>
|
||||
<text x="376" y="636" font-size="9.5" fill="#7d8a82" text-anchor="start">放大</text>
|
||||
<rect x="420" y="566" width="300" height="92" rx="8" fill="#fff" stroke="#cfd8d2" stroke-width="1" stroke-dasharray="4 3"/>
|
||||
<text x="436" y="588" font-size="11.5" fill="#1f2d26" text-anchor="start" font-weight="700">放大后:三栏</text>
|
||||
<line x1="620" y1="636" x2="620" y2="636" stroke="#ededed" stroke-width="1"/>
|
||||
<rect x="436" y="602" width="84" height="44" rx="4" fill="#f4f7f5"/>
|
||||
<rect x="528" y="602" width="84" height="44" rx="4" fill="#f4f7f5"/>
|
||||
<rect x="620" y="602" width="84" height="44" rx="4" fill="#f4f7f5"/>
|
||||
<text x="436" y="662" font-size="9.5" fill="#7d8a82" text-anchor="start">时间线 / 结果 / 相关碎片</text>
|
||||
<circle cx="682" cy="562" r="9" fill="#2e8b57"/><text x="682" y="565.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">1</text><text x="700" y="566" font-size="12.5" fill="#333" text-anchor="start">默认仍是 380px 抽屉,只渲染最近一次请求。</text><circle cx="682" cy="597" r="9" fill="#2e8b57"/><text x="682" y="600.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">2</text><text x="700" y="601" font-size="12.5" fill="#333" text-anchor="start">点「放大」铺满视口:左时间线 / 中结果 / 右碎片,</text><text x="700" y="620" font-size="12.5" fill="#333" text-anchor="start">三列各自滚动。</text>
|
||||
<circle cx="62" cy="696" r="9" fill="#2e8b57"/><text x="62" y="699.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">3</text><text x="80" y="700" font-size="12.5" fill="#333" text-anchor="start">时间线可回看任意一次请求,选中项与滚动位置保留。</text><circle cx="62" cy="731" r="9" fill="#2e8b57"/><text x="62" y="734.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">4</text><text x="80" y="735" font-size="12.5" fill="#333" text-anchor="start">Esc /「返回导图」回抽屉;「带入导图」后自动退回。</text>
|
||||
<rect x="676" y="700" width="548" height="56" rx="8" fill="#fff8e1" stroke="#b8860b" stroke-width="1"/>
|
||||
<text x="690" y="724" font-size="12" fill="#664d03" text-anchor="start">代价:放大时看不到导图;实现最重(新布局 + 焦点管理 +</text>
|
||||
<text x="690" y="744" font-size="12" fill="#664d03" text-anchor="start">窄屏全屏页)。</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.2 KiB |
Reference in New Issue
Block a user