74 lines
11 KiB
XML
74 lines
11 KiB
XML
<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>提示与查漏:方案 B 两栏收件箱</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">方案 B|两栏收件箱</text><text x="56" y="72" font-size="12" fill="#7d8a82" text-anchor="start">左边是请求索引,右边是选中那条的正文 · 桌面扩到约 560px(特写约 1.07×)</text>
|
||
<rect x="56" y="92" width="600" height="728" rx="12" fill="#fff" stroke="#cfd8d2" stroke-width="1"/>
|
||
<text x="74" y="122" font-size="15" fill="#1f2d26" text-anchor="start" font-weight="700">提示与查漏</text>
|
||
<text x="638" y="122" font-size="11.5" fill="#2e8b57" text-anchor="end">收起</text>
|
||
<line x1="56" y1="136" x2="656" y2="136" stroke="#ededed" stroke-width="1"/>
|
||
<rect x="74" y="148" width="170" height="32" rx="6" fill="#fff" stroke="#cfd8d2" stroke-width="1"/>
|
||
<text x="88" y="169" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">提示</text>
|
||
<text x="126" y="169" font-size="12" fill="#7d8a82" text-anchor="start">关键词 ▾</text>
|
||
<rect x="254" y="148" width="120" height="32" rx="5" fill="#fff" stroke="#dcdcdc" stroke-width="1"/><text x="314.0" y="168.5" font-size="12.5" fill="#333" text-anchor="middle">主动查漏</text>
|
||
<line x1="56" y1="192" x2="656" y2="192" stroke="#ededed" stroke-width="1"/>
|
||
<text x="74" y="216" font-size="10.5" fill="#7d8a82" text-anchor="start">本次请求</text>
|
||
<rect x="66" y="226" width="184" height="50" rx="6" fill="#fff" stroke="#eef2ef" stroke-width="1"/>
|
||
<text x="78" y="248" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">提示</text>
|
||
<text x="78" y="265" font-size="10" fill="#7d8a82" text-anchor="start">3 条 · 18:16</text>
|
||
<rect x="66" y="282" width="184" height="50" rx="6" fill="#fff" stroke="#eef2ef" stroke-width="1"/>
|
||
<text x="78" y="304" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">查漏</text>
|
||
<text x="78" y="321" font-size="10" fill="#7d8a82" text-anchor="start">2 条 · 18:20</text>
|
||
<rect x="66" y="338" width="184" height="50" rx="6" fill="#e7f6ea" stroke="#2e8b57" stroke-width="1"/>
|
||
<text x="78" y="360" font-size="12.5" fill="#14532d" text-anchor="start" font-weight="700">提示</text>
|
||
<text x="78" y="377" font-size="10" fill="#7d8a82" text-anchor="start">4 条 · 18:22</text>
|
||
<text x="238" y="360" font-size="9.5" fill="#2e8b57" text-anchor="end">当前</text>
|
||
<text x="78" y="432" font-size="10.5" fill="#2e8b57" text-anchor="start">更早的 5 次 ▸</text>
|
||
<line x1="56" y1="738" x2="282" y2="738" stroke="#ededed" stroke-width="1"/>
|
||
<text x="74" y="756" font-size="10.5" fill="#7d8a82" text-anchor="start">资料</text>
|
||
<rect x="66" y="766" width="184" height="48" rx="6" fill="#fff" stroke="#cfd8d2" stroke-width="1"/>
|
||
<text x="78" y="788" font-size="12" fill="#1f2d26" text-anchor="start" font-weight="700">相关碎片</text>
|
||
<text x="78" y="805" font-size="10" fill="#7d8a82" text-anchor="start">2 条</text>
|
||
<text x="238" y="795" font-size="15" fill="#2e8b57" text-anchor="end">›</text>
|
||
<line x1="282" y1="192" x2="282" y2="808" stroke="#ededed" stroke-width="1"/>
|
||
<text x="298" y="216" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">提示 · 4 条 · 18:22</text>
|
||
<text x="638" y="216" font-size="11" fill="#2e8b57" text-anchor="end">全部显示</text>
|
||
<rect x="298" y="228" width="342" height="200" rx="8" fill="#fff" stroke="#e7ece9" stroke-width="1"/>
|
||
<text x="312" y="250" font-size="11" fill="#7d8a82" text-anchor="start">提示 1</text>
|
||
<text x="312" y="276" font-size="13" fill="#1f2d26" text-anchor="start" font-weight="700">锁粒度与事务边界不是同一件事</text>
|
||
<text x="312" y="300" font-size="12" fill="#333" text-anchor="start">锁粒度</text>
|
||
<text x="326" y="320" font-size="12" fill="#333" text-anchor="start">行锁 / 表锁</text>
|
||
<text x="326" y="340" font-size="12" fill="#333" text-anchor="start">乐观锁与悲观锁的区别不在粒度</text>
|
||
<rect x="312" y="356" width="84" height="24" rx="5" fill="#fff" stroke="#dcdcdc" stroke-width="1"/><text x="354.0" y="371.96" font-size="11" fill="#333" text-anchor="middle">带入导图</text>
|
||
<rect x="404" y="356" width="96" height="24" rx="5" fill="none" stroke="#cfd8d2" stroke-width="1" stroke-dasharray="3 3"/>
|
||
<text x="452" y="373" font-size="11" fill="#7d8a82" text-anchor="middle">显示引文 1</text>
|
||
<text x="312" y="400" font-size="10" fill="#7d8a82" text-anchor="start">已加入「事务边界」下</text>
|
||
<rect x="298" y="446" width="342" height="118" rx="8" fill="#fff" stroke="#e7ece9" stroke-width="1"/>
|
||
<text x="312" y="468" font-size="11" fill="#7d8a82" text-anchor="start">提示 2</text>
|
||
<text x="626" y="468" font-size="11" fill="#2e8b57" text-anchor="end">显示内容</text>
|
||
<g filter="url(#blur3)">
|
||
<text x="312" y="496" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">事务隔离级别只约束可见性</text>
|
||
<text x="312" y="520" font-size="12" fill="#333" text-anchor="start">读已提交 / 可重复读 / 串行化</text>
|
||
</g>
|
||
<rect x="298" y="576" width="342" height="150" rx="8" fill="#fff" stroke="#e7ece9" stroke-width="1"/>
|
||
<text x="312" y="598" font-size="11" fill="#7d8a82" text-anchor="start">提示 3</text>
|
||
<text x="626" y="598" font-size="11" fill="#2e8b57" text-anchor="end">显示内容</text>
|
||
<g filter="url(#blur3)">
|
||
<text x="312" y="626" font-size="12.5" fill="#1f2d26" text-anchor="start" font-weight="700">悲观锁与乐观锁的适用前提</text>
|
||
<text x="312" y="650" font-size="12" fill="#333" text-anchor="start">冲突概率低时重试优于阻塞</text>
|
||
<text x="312" y="672" font-size="12" fill="#333" text-anchor="start">隔离级别越高,阻塞越久</text>
|
||
</g>
|
||
<rect x="632" y="232" width="4" height="150" rx="2" fill="#d9e2dc"/>
|
||
<rect x="290" y="752" width="346" height="68" rx="0" fill="url(#fade)"/>
|
||
<text x="469.0" y="804" font-size="11" fill="#7d8a82" text-anchor="middle">还有 1 条 · 全部显示</text>
|
||
<circle cx="32" cy="248" r="9.5" fill="#2e8b57"/><text x="32" y="251.6" font-size="10" fill="#fff" text-anchor="middle" font-weight="700">1</text><line x1="41.5" y1="248" x2="49" y2="248" stroke="#a9c4b7" stroke-width="1" stroke-dasharray="3 2"/>
|
||
<circle cx="32" cy="782" r="9.5" fill="#2e8b57"/><text x="32" y="785.6" font-size="10" fill="#fff" text-anchor="middle" font-weight="700">2</text><line x1="41.5" y1="782" x2="49" y2="782" stroke="#a9c4b7" stroke-width="1" stroke-dasharray="3 2"/>
|
||
<circle cx="32" cy="352" r="9.5" fill="#2e8b57"/><text x="32" y="355.6" font-size="10" fill="#fff" text-anchor="middle" font-weight="700">3</text><line x1="41.5" y1="352" x2="49" y2="352" stroke="#a9c4b7" stroke-width="1" stroke-dasharray="3 2"/>
|
||
<text x="676" y="108" font-size="11" fill="#7d8a82" text-anchor="start">在页面里的位置与真实宽度</text>
|
||
<rect x="676" y="118" width="524" height="264" rx="10" fill="#f7fbf8" stroke="#e7ece9" stroke-width="1"/><rect x="688" y="128" width="500" height="22" rx="6" fill="#fff" stroke="#e6ece8" stroke-width="1"/><text x="698" y="143" font-size="8.5" fill="#8a8a8a" text-anchor="start">← 返回首页 自由回忆</text><circle cx="833.2" cy="265.84000000000003" r="7" fill="#2e8b57"/><line x1="833.2" y1="265.84000000000003" x2="906.56" y2="265.84000000000003" stroke="#2e8b57" stroke-width="1.6"/><rect x="906.56" y="228.88" width="89.08000000000001" height="46" rx="8" fill="#fff8e1" stroke="#b8860b" stroke-width="1"/><rect x="906.56" y="290.88" width="68.12" height="34" rx="6" fill="#fff" stroke="#e0e0e0" stroke-width="1" stroke-dasharray="4 3"/><rect x="688" y="342" width="150" height="28" rx="6" fill="#fff" stroke="#cfd8d2" stroke-width="1"/><text x="698" y="361" font-size="7.5" fill="#8a8a8a" text-anchor="start">范围名 · 22:09 · 完成回忆</text><rect x="978" y="170" width="210" height="200" rx="6" fill="#fff" stroke="#cfd8d2" stroke-width="1"/><text x="988" y="185" font-size="8.5" fill="#1f2d26" text-anchor="start" font-weight="700">提示与查漏</text><text x="1178" y="185" font-size="7.5" fill="#2e8b57" text-anchor="end">收起</text><line x1="978" y1="192" x2="1188" y2="192" stroke="#ededed" stroke-width="1"/><rect x="986" y="200" width="194" height="14.3" rx="3" fill="#f4f7f5"/><rect x="986" y="222" width="194" height="20.900000000000002" rx="3" fill="#f4f7f5"/><rect x="986" y="244" width="194" height="14.3" rx="3" fill="#f4f7f5"/><rect x="986" y="266" width="194" height="14.3" rx="3" fill="#f4f7f5"/><rect x="975" y="167" width="216" height="206" rx="7" fill="none" stroke="#2e8b57" stroke-width="1" stroke-dasharray="4 3"/><text x="974" y="163" font-size="9" fill="#2e8b57" text-anchor="end">抽屉 560px</text>
|
||
<circle cx="682" cy="420" r="9" fill="#2e8b57"/><text x="682" y="423.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">1</text><text x="700" y="424" font-size="12.5" fill="#333" text-anchor="start">左列是「本次请求」索引,结果再长也固定在原地,</text><text x="700" y="443" font-size="12.5" fill="#333" text-anchor="start">切换不丢滚动位置。</text><circle cx="682" cy="474" r="9" fill="#2e8b57"/><text x="682" y="477.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">2</text><text x="700" y="478" font-size="12.5" fill="#333" text-anchor="start">相关碎片是左列固定项,不再排在结果下面;</text><text x="700" y="497" font-size="12.5" fill="#333" text-anchor="start">点开在同一栏里翻页。</text><circle cx="682" cy="528" r="9" fill="#2e8b57"/><text x="682" y="531.6" font-size="9.5" fill="#fff" text-anchor="middle" font-weight="700">3</text><text x="700" y="532" font-size="12.5" fill="#333" text-anchor="start">右列只渲染选中的一条请求,内部单轴滚动。</text><text x="676" y="567" font-size="12.5" fill="#333" text-anchor="start">加宽到约 560px,提示树与引文有横向空间;</text><text x="676" y="586" font-size="12.5" fill="#333" text-anchor="start">≤1023px 退化成「列表 → 详情」推入式底抽屉。</text><text x="676" y="621" font-size="12.5" fill="#333" text-anchor="start">空态时右列直接给两个入口,不用先找按钮。</text>
|
||
<rect x="676" y="748" width="524" height="56" rx="8" fill="#fff8e1" stroke="#b8860b" stroke-width="1"/>
|
||
<text x="690" y="772" font-size="12" fill="#664d03" text-anchor="start">代价:抽屉变宽约 1.5 倍,最多遮住右三分之一导图;</text>
|
||
<text x="690" y="792" font-size="12" fill="#664d03" text-anchor="start">窄屏多一层「返回列表」。</text>
|
||
</svg> |