<svg viewBox="0 0 680 380" width="100%" role="img">
|
<title>规则2 进阶:一个合并页覆盖多个标签</title>
|
<desc>聚合页 UI.md 通过 targetTag 同时声明 UI 与 UI相关,两者均被覆盖,因此都不在 0inbox 出现</desc>
|
<defs>
|
<marker id="arrow3" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
|
<path d="M2 1L8 5L2 9" fill="none" stroke="context-stroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
</marker>
|
</defs>
|
|
<text x="340" y="26" text-anchor="middle" font-size="16" font-weight="500" fill="#1f2937">规则2 进阶:一个合并页覆盖多个标签</text>
|
|
<g class="node c-purple">
|
<rect x="40" y="60" width="300" height="120" rx="12" stroke-width="0.5"/>
|
<text class="th" x="190" y="86" text-anchor="middle" dominant-baseline="central" fill="#3C3489">1.5技能/UI.md</text>
|
<text class="ts" x="190" y="108" text-anchor="middle" dominant-baseline="central" fill="#534AB7">已整理页(含 DataviewJS)</text>
|
<rect x="60" y="124" width="260" height="36" rx="6" fill="#1e1b2e"/>
|
<text x="190" y="146" text-anchor="middle" dominant-baseline="central" font-size="12" fill="#a7f3d0" font-family="monospace">const targetTag = ["UI","UI相关"]</text>
|
</g>
|
|
<g class="node c-green">
|
<rect x="40" y="228" width="140" height="54" rx="10" stroke-width="0.5"/>
|
<text class="th" x="110" y="250" text-anchor="middle" dominant-baseline="central" fill="#27500A">UI ✓</text>
|
<text class="ts" x="110" y="270" text-anchor="middle" dominant-baseline="central" fill="#3B6D11">已覆盖</text>
|
</g>
|
|
<g class="node c-green">
|
<rect x="200" y="228" width="140" height="54" rx="10" stroke-width="0.5"/>
|
<text class="th" x="270" y="250" text-anchor="middle" dominant-baseline="central" fill="#27500A">UI相关 ✓</text>
|
<text class="ts" x="270" y="270" text-anchor="middle" dominant-baseline="central" fill="#3B6D11">已覆盖</text>
|
</g>
|
|
<path d="M150 180 L110 226" stroke="#534AB7" stroke-width="1.5" fill="none" marker-end="url(#arrow3)"/>
|
<path d="M250 180 L270 226" stroke="#534AB7" stroke-width="1.5" fill="none" marker-end="url(#arrow3)"/>
|
|
<g class="node c-amber">
|
<rect x="400" y="110" width="240" height="170" rx="12" stroke-width="0.5"/>
|
<text class="th" x="520" y="136" text-anchor="middle" dominant-baseline="central" fill="#633806">00index/0inbox</text>
|
<text class="ts" x="520" y="162" text-anchor="middle" dominant-baseline="central" fill="#854F0B">两者都不出现:</text>
|
<text class="ts" x="520" y="188" text-anchor="middle" dominant-baseline="central" fill="#712F0B">✗ 无 UI.md</text>
|
<text class="ts" x="520" y="210" text-anchor="middle" dominant-baseline="central" fill="#712F0B">✗ 无 UI相关.md</text>
|
<text class="ts" x="520" y="244" text-anchor="middle" dominant-baseline="central" fill="#854F0B">修复前:UI相关 反复再生</text>
|
<text class="ts" x="520" y="264" text-anchor="middle" dominant-baseline="central" fill="#854F0B">修复后:targetTag 命中即抑制</text>
|
</g>
|
|
<path d="M340 140 L398 165" stroke="#BA7517" stroke-width="2" fill="none" marker-end="url(#arrow3)"/>
|
</svg>
|