node-drilldown-evidence-chain.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <style>
  2. .stage {
  3. margin-top: 18px;
  4. padding: 16px;
  5. border: 1px solid #dbe3ec;
  6. border-radius: 16px;
  7. background: #f8fafc;
  8. overflow-x: auto;
  9. }
  10. .rules {
  11. display: grid;
  12. grid-template-columns: repeat(3, minmax(0, 1fr));
  13. gap: 12px;
  14. margin-top: 16px;
  15. }
  16. .rule {
  17. padding: 13px 14px;
  18. border: 1px solid #e2e8f0;
  19. border-radius: 12px;
  20. background: #fff;
  21. color: #475569;
  22. font-size: 13px;
  23. }
  24. .rule strong { color: #0f172a; }
  25. .summary {
  26. margin-top: 16px;
  27. padding: 14px 16px;
  28. border: 1px solid #bfdbfe;
  29. border-radius: 12px;
  30. background: #eff6ff;
  31. color: #1e3a8a;
  32. }
  33. @media (max-width: 900px) {
  34. .rules { grid-template-columns: 1fr; }
  35. }
  36. </style>
  37. <h2>分类节点继续下钻:元素—视频—语言—讨论—需求</h2>
  38. <p class="subtitle">
  39. 正式分类树到分类节点为止;节点下方挂载可持续扩展的证据子图。用户从树上继续下卷时,可以逐层看到具体元素、真实视频、明确观点和长段讨论。
  40. </p>
  41. <div class="stage">
  42. <svg viewBox="0 0 1450 720" width="100%" style="min-width:1180px" role="img" aria-label="分类节点下钻证据链">
  43. <defs>
  44. <marker id="grayA" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8z" fill="#94a3b8"/></marker>
  45. <marker id="blueA" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8z" fill="#2563eb"/></marker>
  46. <marker id="greenA" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8z" fill="#16a34a"/></marker>
  47. <marker id="purpleA" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8z" fill="#7c3aed"/></marker>
  48. <marker id="orangeA" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8z" fill="#f59e0b"/></marker>
  49. </defs>
  50. <!-- headings -->
  51. <g font-family="sans-serif" fill="#64748b" font-size="13" text-anchor="middle">
  52. <text x="112" y="30">全局分类树</text>
  53. <text x="345" y="30">分类节点详情</text>
  54. <text x="590" y="30">细节元素</text>
  55. <text x="825" y="30">真实视频实例</text>
  56. <text x="1060" y="30">语言提取</text>
  57. <text x="1320" y="30">平台需求</text>
  58. </g>
  59. <!-- left-to-right primary flow -->
  60. <g fill="none" stroke="#94a3b8" stroke-width="2.4" marker-end="url(#grayA)">
  61. <path d="M190 170 L260 170"/>
  62. <path d="M430 170 L500 170"/>
  63. <path d="M680 170 L735 170"/>
  64. <path d="M920 170 L970 170"/>
  65. </g>
  66. <g fill="none" stroke="#f59e0b" stroke-width="2.8" marker-end="url(#orangeA)">
  67. <path d="M1160 135 C1210 122 1235 115 1260 115"/>
  68. <path d="M1160 205 C1210 228 1235 245 1260 255"/>
  69. <path d="M1160 485 C1210 447 1230 405 1260 390"/>
  70. </g>
  71. <!-- classification tree -->
  72. <g fill="none" stroke="#94a3b8" stroke-width="2">
  73. <path d="M105 92 L105 120 M105 120 L62 148 M105 120 L148 148"/>
  74. <path d="M148 188 L148 222 M148 222 L108 254 M148 222 L188 254"/>
  75. </g>
  76. <g font-family="sans-serif" text-anchor="middle">
  77. <rect x="55" y="58" width="100" height="36" rx="10" fill="#1d4ed8"/><text x="105" y="81" font-size="13" fill="#fff">知识</text>
  78. <rect x="20" y="148" width="84" height="40" rx="9" fill="#dbeafe" stroke="#60a5fa"/><text x="62" y="173" font-size="13">历史</text>
  79. <rect x="106" y="148" width="84" height="40" rx="9" fill="#dbeafe" stroke="#60a5fa"/><text x="148" y="173" font-size="13">人物故事</text>
  80. <rect x="66" y="254" width="84" height="40" rx="9" fill="#fff" stroke="#60a5fa"/><text x="108" y="279" font-size="12">个人经历</text>
  81. <rect x="152" y="254" width="84" height="40" rx="9" fill="#fff" stroke="#60a5fa"/><text x="194" y="279" font-size="12">名人故事</text>
  82. </g>
  83. <!-- category detail -->
  84. <g font-family="sans-serif">
  85. <rect x="260" y="70" width="170" height="200" rx="16" fill="#fff" stroke="#3b82f6" stroke-width="2"/>
  86. <text x="280" y="99" font-size="12" fill="#1d4ed8">正式分类节点</text>
  87. <text x="280" y="128" font-size="18" fill="#0f172a">人物故事</text>
  88. <text x="280" y="153" font-size="11" fill="#64748b">路径:事件 / 社会事件 / 人物故事</text>
  89. <line x1="280" y1="170" x2="410" y2="170" stroke="#e2e8f0"/>
  90. <text x="280" y="194" font-size="12" fill="#334155">下挂元素:137</text>
  91. <text x="280" y="216" font-size="12" fill="#334155">关联视频:2,438</text>
  92. <text x="280" y="238" font-size="12" fill="#334155">已提取需求:46</text>
  93. <text x="280" y="258" font-size="10" fill="#64748b">节点统计由下方证据逐层汇总</text>
  94. </g>
  95. <!-- element nodes -->
  96. <g fill="none" stroke="#2563eb" stroke-width="2.2" marker-end="url(#blueA)">
  97. <path d="M430 130 C470 116 480 99 500 94"/>
  98. <path d="M430 160 L500 160"/>
  99. <path d="M430 195 C470 211 480 228 500 232"/>
  100. <path d="M430 225 C470 255 480 300 500 310"/>
  101. </g>
  102. <g font-family="sans-serif" text-anchor="middle">
  103. <rect x="500" y="68" width="180" height="52" rx="12" fill="#eff6ff" stroke="#60a5fa"/>
  104. <text x="590" y="90" font-size="12" fill="#1d4ed8">人物元素</text><text x="590" y="108" font-size="14">毛泽东</text>
  105. <rect x="500" y="134" width="180" height="52" rx="12" fill="#eff6ff" stroke="#60a5fa"/>
  106. <text x="590" y="156" font-size="12" fill="#1d4ed8">事件元素</text><text x="590" y="174" font-size="14">抗日战争</text>
  107. <rect x="500" y="206" width="180" height="52" rx="12" fill="#eff6ff" stroke="#60a5fa"/>
  108. <text x="590" y="228" font-size="12" fill="#1d4ed8">事件元素</text><text x="590" y="246" font-size="14">解放战争</text>
  109. <rect x="500" y="284" width="180" height="52" rx="12" fill="#eff6ff" stroke="#60a5fa"/>
  110. <text x="590" y="306" font-size="12" fill="#1d4ed8">行为元素</text><text x="590" y="324" font-size="14">写诗 / 诗词创作</text>
  111. </g>
  112. <!-- element relations -->
  113. <g fill="none" stroke="#ef4444" stroke-width="1.9" stroke-dasharray="6 4">
  114. <path d="M590 120 L590 134"/>
  115. <path d="M620 120 C685 145 690 205 635 226"/>
  116. <path d="M590 258 L590 284"/>
  117. </g>
  118. <g font-family="sans-serif" fill="#b91c1c" font-size="10">
  119. <text x="600" y="131">关联</text>
  120. <text x="676" y="176">推断关系需说明</text>
  121. <text x="600" y="278">关联</text>
  122. </g>
  123. <!-- video instances -->
  124. <g fill="none" stroke="#16a34a" stroke-width="2.2" marker-end="url(#greenA)">
  125. <path d="M680 94 C715 94 715 100 735 100"/>
  126. <path d="M680 160 C715 160 715 170 735 170"/>
  127. <path d="M680 232 C715 232 715 240 735 240"/>
  128. <path d="M680 310 C715 310 715 310 735 310"/>
  129. </g>
  130. <g font-family="sans-serif">
  131. <rect x="735" y="66" width="185" height="68" rx="13" fill="#f0fdf4" stroke="#22c55e"/>
  132. <text x="750" y="89" font-size="11" fill="#15803d">视频 V-0182</text>
  133. <text x="750" y="109" font-size="12">《沁园春·雪》的时代背景</text>
  134. <text x="750" y="125" font-size="10" fill="#64748b">命中:毛泽东、写诗、历史背景</text>
  135. <rect x="735" y="142" width="185" height="68" rx="13" fill="#f0fdf4" stroke="#22c55e"/>
  136. <text x="750" y="165" font-size="11" fill="#15803d">视频 V-0276</text>
  137. <text x="750" y="185" font-size="12">抗战时期毛泽东诗词赏析</text>
  138. <text x="750" y="201" font-size="10" fill="#64748b">真实播放与互动表现可回流</text>
  139. <rect x="735" y="214" width="185" height="68" rx="13" fill="#f0fdf4" stroke="#22c55e"/>
  140. <text x="750" y="237" font-size="11" fill="#15803d">视频 V-0413</text>
  141. <text x="750" y="257" font-size="12">解放战争时期诗词主题变化</text>
  142. <text x="750" y="273" font-size="10" fill="#64748b">命中:解放战争、作品解读</text>
  143. <rect x="735" y="286" width="185" height="68" rx="13" fill="#f0fdf4" stroke="#22c55e"/>
  144. <text x="750" y="309" font-size="11" fill="#15803d">视频 V-0655</text>
  145. <text x="750" y="329" font-size="12">毛泽东为何在战争中写诗</text>
  146. <text x="750" y="345" font-size="10" fill="#64748b">可展开原文、转写与评论</text>
  147. </g>
  148. <!-- language extraction -->
  149. <g fill="none" stroke="#7c3aed" stroke-width="2.2" marker-end="url(#purpleA)">
  150. <path d="M920 100 C950 100 950 115 970 115"/>
  151. <path d="M920 170 C950 170 950 185 970 185"/>
  152. <path d="M920 240 C950 265 950 410 970 445"/>
  153. <path d="M920 320 C950 340 950 455 970 485"/>
  154. </g>
  155. <g font-family="sans-serif">
  156. <rect x="970" y="72" width="190" height="86" rx="13" fill="#faf5ff" stroke="#a855f7"/>
  157. <text x="987" y="96" font-size="11" fill="#7e22ce">明确语言观点</text>
  158. <text x="987" y="119" font-size="13">战争环境并未中断诗词创作,</text>
  159. <text x="987" y="139" font-size="13">反而强化了作品的历史表达。</text>
  160. <rect x="970" y="170" width="190" height="86" rx="13" fill="#faf5ff" stroke="#a855f7"/>
  161. <text x="987" y="194" font-size="11" fill="#7e22ce">可提问语言</text>
  162. <text x="987" y="217" font-size="13">毛泽东为什么在战争时期</text>
  163. <text x="987" y="237" font-size="13">持续进行诗词创作?</text>
  164. <rect x="970" y="386" width="190" height="150" rx="13" fill="#faf5ff" stroke="#a855f7"/>
  165. <text x="987" y="410" font-size="11" fill="#7e22ce">长段讨论</text>
  166. <text x="987" y="435" font-size="12">从抗日战争到解放战争,</text>
  167. <text x="987" y="454" font-size="12">诗词既记录时代环境,也呈现</text>
  168. <text x="987" y="473" font-size="12">政治理想、个人情感和历史判断。</text>
  169. <text x="987" y="492" font-size="12">不同视频对作品背景、表达方式</text>
  170. <text x="987" y="511" font-size="12">和受众理解给出了互补证据。</text>
  171. </g>
  172. <!-- demand nodes -->
  173. <g font-family="sans-serif">
  174. <rect x="1260" y="72" width="170" height="86" rx="14" fill="#fff7ed" stroke="#f59e0b" stroke-width="2"/>
  175. <text x="1277" y="96" font-size="11" fill="#9a3412">平台需求 D-101</text>
  176. <text x="1277" y="119" font-size="13">毛泽东为何在战争时期</text>
  177. <text x="1277" y="139" font-size="13">持续进行诗词创作</text>
  178. <rect x="1260" y="210" width="170" height="96" rx="14" fill="#fff7ed" stroke="#f59e0b" stroke-width="2"/>
  179. <text x="1277" y="234" font-size="11" fill="#9a3412">平台需求 D-102</text>
  180. <text x="1277" y="257" font-size="13">抗日战争与解放战争</text>
  181. <text x="1277" y="277" font-size="13">时期诗词主题的变化</text>
  182. <text x="1277" y="295" font-size="10" fill="#64748b">多挂靠:历史、人物故事、作品解读</text>
  183. <rect x="1260" y="344" width="170" height="96" rx="14" fill="#fff7ed" stroke="#f59e0b" stroke-width="2"/>
  184. <text x="1277" y="368" font-size="11" fill="#9a3412">平台需求 D-103</text>
  185. <text x="1277" y="391" font-size="13">毛泽东战争诗词如何</text>
  186. <text x="1277" y="411" font-size="13">表达历史判断与情感</text>
  187. <text x="1277" y="429" font-size="10" fill="#64748b">由多条视频与长段讨论共同支撑</text>
  188. </g>
  189. <!-- drill-down display -->
  190. <g font-family="sans-serif">
  191. <rect x="250" y="585" width="950" height="82" rx="15" fill="#fff" stroke="#cbd5e1"/>
  192. <text x="275" y="610" font-size="12" fill="#334155">页面下钻建议:</text>
  193. <text x="275" y="633" font-size="12" fill="#64748b">树节点默认展示数量与强度 → 点击展开高频元素 → 点击元素查看相关视频 → 点击视频查看转写、明确观点和长段讨论 → 查看由这些证据提取出的平台需求。</text>
  194. <text x="275" y="654" font-size="11" fill="#64748b">每一级都保留来源、出现次数、时间、贡献度和真实线上表现,避免展示内容与需求决策脱节。</text>
  195. </g>
  196. </svg>
  197. </div>
  198. <div class="rules">
  199. <div class="rule"><strong>分类树保持纯净:</strong>元素、视频和文本不是正式分类层级,不占用 L6、L7;它们以证据子图形式挂在分类节点下。</div>
  200. <div class="rule"><strong>元素是连接枢纽:</strong>同一元素可以挂到多个分类节点,也可以连接多条视频和多个平台需求。</div>
  201. <div class="rule"><strong>语言可分两级:</strong>短观点用于快速理解和需求命名,长段讨论用于解释、比较、争议分析和需求深化。</div>
  202. <div class="rule"><strong>视频是事实实例:</strong>保留标题、链接、转写、内容标签、线上表现和命中的需求元素。</div>
  203. <div class="rule"><strong>下钻同时用于展示与提取:</strong>用户可以浏览证据,系统也可以从相同证据链中生成、合并和验证需求。</div>
  204. <div class="rule"><strong>逐层聚合:</strong>视频表现回流元素,元素回流分类节点和需求,使树上的数量与强度有真实内容支撑。</div>
  205. </div>
  206. <div class="summary">
  207. 推荐模型:分类树是目录和坐标;元素是细节索引;视频是实例证据;短观点和长讨论是语言化解释;平台需求是从这些证据中抽取出的可执行结论。
  208. </div>