| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, maximum-scale=1">
- <meta name="theme-color" content="#121a2b">
- <title>世界树 · 逃离空洞</title>
- <link rel="stylesheet" href="css/style.css">
- </head>
- <body>
- <div id="app">
- <header class="topbar">
- <div class="brand">
- <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
- <path d="M12 21V9" stroke="#5FD68A" stroke-width="1.6" stroke-linecap="round"/>
- <path d="M12 14 7 9M12 12l5-5M12 17l-4-3M12 16l4-3" stroke="#5FD68A" stroke-width="1.4" stroke-linecap="round"/>
- <circle cx="7" cy="9" r="1.6" fill="#5FD68A"/><circle cx="17" cy="7" r="1.6" fill="#B7E4C7"/><circle cx="8" cy="14" r="1.3" fill="#B7E4C7"/><circle cx="16" cy="13" r="1.3" fill="#5FD68A"/>
- <path d="M4 21h16" stroke="#8e9bb0" stroke-width="1.2" stroke-linecap="round"/>
- </svg>
- 世界树 <small>· 逃离空洞</small>
- </div>
- <div class="topstats" id="topstats"></div>
- <button class="top-save" aria-label="存档">存档</button>
- <div class="viewport-toggle" aria-label="视口测试">
- <button class="vp-btn on" data-vp="auto">自适应</button>
- <button class="vp-btn" data-vp="phone">手机</button>
- </div>
- </header>
- <main class="main" id="main">
- <!-- 左栏:资源 / 主线 / 升级 -->
- <section class="col left active" id="col-left">
- <div class="panel flat" id="resources"></div>
- <div class="panel" id="mainline"></div>
- <div class="panel life" id="upgrades"></div>
- </section>
- <!-- 中栏:连续行军 + 操作 + 兵种 -->
- <section class="col center active" id="col-center">
- <div class="canvas-wrap" id="canvas-wrap">
- <canvas id="march"></canvas>
- <div class="frozen-veil"></div>
- <div class="hud" id="hud"></div>
- <div class="hud-r" id="hud-r"></div>
- <div id="float-layer"></div>
- <div class="badge-magic" id="magic-badge" hidden></div>
- </div>
- <div class="rift-slot" id="rift-slot" hidden></div>
- <div class="actions" id="actions"></div>
- <div class="panel life" id="lives"></div>
- </section>
- <!-- 右栏:转生 / 永久 / 位面 / 日志 -->
- <section class="col right" id="col-right">
- <div class="panel gold" id="rebirth"></div>
- <div class="panel gold" id="perm"></div>
- <div class="panel brand" id="planes"></div>
- <div class="panel" id="feed-panel"><div class="panel-title">行旅记录 <span class="tag">事件流</span></div><div class="feed" id="feed"></div></div>
- </section>
- </main>
- <nav class="tabbar" id="tabbar">
- <button data-tab="left" class="on">
- <svg viewBox="0 0 24 24" fill="none"><path d="M4 6h16M4 12h16M4 18h10" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg>成长
- </button>
- <button data-tab="center">
- <svg viewBox="0 0 24 24" fill="none"><path d="M3 17c3-8 6-10 9-6s6 2 9-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/><circle cx="12" cy="11" r="2" fill="currentColor"/></svg>行军
- </button>
- <button data-tab="right">
- <svg viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.8"/><path d="M12 8v4l3 2" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg>回溯
- </button>
- <button data-tab="rift">
- <svg viewBox="0 0 24 24" fill="none"><path d="M12 3 4 8v5c0 5 4 7.5 8 8 4-.5 8-3 8-8V8l-8-5Z" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round"/><path d="m9 12 2 2 4-4" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg>里世界
- </button>
- </nav>
- </div>
- <div class="modal-mask" id="modal-mask" hidden>
- <div class="modal" id="modal" role="dialog" aria-modal="true">
- <header>
- <div class="mt"><span class="mtag" id="modal-tag"></span><h3 id="modal-title"></h3></div>
- <button class="icon-btn" id="modal-x" title="关闭" style="border:0;background:transparent;font-size:20px;color:var(--muted)">×</button>
- </header>
- <div class="body" id="modal-body"></div>
- <div class="foot" id="modal-foot"></div>
- </div>
- </div>
- <div id="toasts" aria-live="polite"></div>
- <script type="module" src="js/main.js"></script>
- </body>
- </html>
|