|
|
@@ -0,0 +1,64 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="zh-CN">
|
|
|
+<head>
|
|
|
+<meta charset="UTF-8">
|
|
|
+<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
|
|
+<title>铭道 · 家族谱析图(独立页 · 三代分支版)</title>
|
|
|
+<style>
|
|
|
+ :root{
|
|
|
+ --ink:#1C3A33; --ink-mute:#8A938E; --teal:#127268; --teal-2:#5BA67A;
|
|
|
+ --gold:#C9A84C; --paper:#F4F1E8;
|
|
|
+ --font-han:"Noto Serif SC","Songti SC",serif;
|
|
|
+ --font-body:"Noto Sans SC","PingFang SC",sans-serif;
|
|
|
+ --font-en:"Playfair Display",Georgia,serif;
|
|
|
+ }
|
|
|
+ *{box-sizing:border-box;margin:0;padding:0}
|
|
|
+ body{background:linear-gradient(180deg,#F7F5EE,#EFECE1);color:var(--ink);
|
|
|
+ font-family:var(--font-body);min-height:100vh;
|
|
|
+ -webkit-font-smoothing:antialiased}
|
|
|
+ .page{max-width:980px;margin:0 auto;padding:18px 14px 60px}
|
|
|
+ .bar{display:flex;align-items:center;justify-content:space-between;gap:10px;
|
|
|
+ padding:10px 2px 14px;border-bottom:1px solid rgba(28,58,51,.1);margin-bottom:16px}
|
|
|
+ .bar .brand{font-family:var(--font-han);font-size:1.05rem;font-weight:700;letter-spacing:.08em}
|
|
|
+ .bar .brand small{display:block;font-family:var(--font-en);font-size:.5rem;letter-spacing:.28em;
|
|
|
+ color:var(--ink-mute);margin-top:2px}
|
|
|
+ .bar .back{font-size:.72rem;color:var(--teal);text-decoration:none;border:1px solid rgba(18,114,104,.35);
|
|
|
+ border-radius:999px;padding:6px 14px;white-space:nowrap}
|
|
|
+ .note{font-size:.66rem;color:var(--ink-mute);text-align:center;margin-top:18px;line-height:1.7}
|
|
|
+ #pedigree-host{max-width:920px;margin:0 auto}
|
|
|
+</style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<div class="page">
|
|
|
+ <div class="bar">
|
|
|
+ <div class="brand">铭道 · 家族谱析图<small>FAMILY HEALTH PEDIGREE · v1.145</small></div>
|
|
|
+ <a class="back" href="app.html">← 返回健康家办 APP</a>
|
|
|
+ </div>
|
|
|
+ <div id="pedigree-host"></div>
|
|
|
+ <div class="note">数据:李主任手稿(2026-10-09)+ 口述确认(2026-10-10 · v1.1)· 得分口径 MICA+MISS 综合得分<br>
|
|
|
+ 全图可横滑 · 点成员卡看详情 · 顶部切换左/中/右分支</div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<script src="shared/family-pedigree-data.js"></script>
|
|
|
+<script src="shared/family-pedigree.js"></script>
|
|
|
+<script src="shared/family-tree-data.js"></script>
|
|
|
+<script src="shared/family-tree.js"></script>
|
|
|
+<script>
|
|
|
+/* v1.145 · 谱析图独立页:优先 mfp 三代分支版,脚本缺失时回退旧 mft 纵向版 */
|
|
|
+(function(){
|
|
|
+ var host = document.getElementById('pedigree-host');
|
|
|
+ try {
|
|
|
+ if (window.MingdaoFamilyPedigree && window.MINGDAO_PEDIGREE) {
|
|
|
+ MingdaoFamilyPedigree.render(host, 'family-li-jing');
|
|
|
+ } else if (window.MingdaoFamilyTree) {
|
|
|
+ MingdaoFamilyTree.render(host, 'family-li-jing');
|
|
|
+ } else {
|
|
|
+ host.innerHTML = '<div class="note">谱系组件加载失败,请返回 APP 或联系顾问。</div>';
|
|
|
+ }
|
|
|
+ } catch (e) {
|
|
|
+ host.innerHTML = '<div class="note">谱系组件渲染异常:' + e.message + '</div>';
|
|
|
+ }
|
|
|
+})();
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|