nomadro/apps/miniprogram/xhs/release/index.html
eric 69b0bd8224 Ship Taro H5 Vite build and Next-parity hub/nav/book/vip pages.
Switch miniprogram H5 to Vite for fast local compile; align portal pages and static icons for cross-machine continue.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 04:36:12 -05:00

147 lines
6.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<meta name="description" content="nomadro · 数字游民操作系统" />
<title>nomadro</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<div id="app" class="app-shell">
<div class="bg-glow" aria-hidden="true">
<span class="orb orb-a"></span>
<span class="orb orb-b"></span>
</div>
<!-- ===== 门户首页(对齐 H5 /) ===== -->
<section id="view-home" class="view is-active">
<header class="home-top">
<div class="home-brand">
<svg class="home-logo" viewBox="0 0 40 40" fill="none" aria-hidden>
<circle cx="20" cy="20" r="18" stroke="url(#homeGrad)" stroke-width="2.5" />
<path d="M12 22c4-8 12-8 16 0" stroke="url(#homeGrad)" stroke-width="2" stroke-linecap="round" />
<circle cx="28" cy="14" r="3" fill="url(#homeGrad)" />
<defs>
<linearGradient id="homeGrad" x1="0" y1="0" x2="40" y2="40">
<stop offset="0%" stop-color="#FF6B6B" />
<stop offset="50%" stop-color="#FFE66D" />
<stop offset="100%" stop-color="#4ECDC4" />
</linearGradient>
</defs>
</svg>
<div>
<h1 class="home-name" id="home-brand">nomadro</h1>
<p class="home-tag" id="home-tagline">数字游民操作系统</p>
</div>
</div>
<button type="button" class="icon-btn" id="home-theme" aria-label="切换主题"><span id="home-theme-icon">☀</span></button>
</header>
<p class="home-lead" id="home-lead">导航 · 小册 · 社群 · 离线可用</p>
<p class="home-badge" id="home-badge">📦 离线包内数据</p>
<!-- 静态兜底:无 JS / 数据失败时仍可见 -->
<div class="home-cards" id="home-cards">
<button type="button" class="home-card" data-go="nav">
<span class="home-card-emoji">🧭</span>
<span class="home-card-body"><strong>出海导航</strong><em>工具与出海资源</em></span>
<span class="home-card-go">→</span>
</button>
<button type="button" class="home-card" data-go="book">
<span class="home-card-emoji">📖</span>
<span class="home-card-body"><strong>数字游民小册</strong><em>离线预览章节</em></span>
<span class="home-card-go">→</span>
</button>
<button type="button" class="home-card home-card-main" data-go="community">
<span class="home-card-emoji">🌏</span>
<span class="home-card-body"><strong>旅居社群</strong><em>活动与目的地</em></span>
<span class="home-card-go">→</span>
</button>
</div>
<footer class="home-foot" id="home-foot">nomadro.cn</footer>
</section>
<!-- ===== 出海导航 ===== -->
<section id="view-nav" class="view">
<header class="topbar" id="topbar">
<button type="button" class="icon-btn" id="btn-back-home" aria-label="返回首页">←</button>
<div class="brand-mark">
<div class="brand-text">
<h1 class="brand-name">出海导航</h1>
<p class="brand-current" id="brand-current">数字游民</p>
</div>
</div>
<button type="button" class="icon-btn" id="btn-menu" aria-label="打开分类">
<span class="menu-bars" aria-hidden="true"><i></i><i></i><i></i></span>
</button>
</header>
<div class="drawer-root" id="drawer" aria-hidden="true">
<button type="button" class="drawer-mask" id="drawer-mask" aria-label="关闭菜单"></button>
<aside class="drawer-panel" role="dialog" aria-modal="true">
<div class="drawer-head">
<span class="drawer-brand">分类</span>
<button type="button" class="icon-btn" id="drawer-close" aria-label="关闭">×</button>
</div>
<nav class="drawer-nav" id="drawer-nav"></nav>
</aside>
</div>
<main class="page" id="page">
<div id="content"></div>
</main>
</section>
<!-- ===== 小册 ===== -->
<section id="view-book" class="view">
<header class="topbar">
<button type="button" class="icon-btn btn-back" data-back="home" aria-label="返回首页">←</button>
<div class="brand-mark"><div class="brand-text"><h1 class="brand-name">数字游民小册</h1><p class="brand-current" id="book-sub">离线预览</p></div></div>
<span class="icon-btn" aria-hidden="true"></span>
</header>
<main class="page sub-page">
<div id="book-list" class="module-list"></div>
<article id="book-reader" class="book-reader is-hidden"></article>
</main>
</section>
<!-- ===== 社群 ===== -->
<section id="view-community" class="view">
<header class="topbar">
<button type="button" class="icon-btn btn-back" data-back="home" aria-label="返回首页">←</button>
<div class="brand-mark"><div class="brand-text"><h1 class="brand-name">旅居社群</h1><p class="brand-current">活动 · 离线</p></div></div>
<span class="icon-btn" aria-hidden="true"></span>
</header>
<main class="page sub-page">
<div id="community-list" class="module-list"></div>
</main>
</section>
<!-- 链接复制 sheet(导航用) -->
<div class="sheet-root" id="sheet" aria-hidden="true">
<button type="button" class="sheet-mask" id="sheet-mask" aria-label="关闭"></button>
<div class="sheet-panel" role="dialog" aria-modal="true">
<div class="sheet-handle" aria-hidden="true"></div>
<div class="sheet-head">
<img class="sheet-icon" id="sheet-icon" src="" alt="" width="40" height="40" />
<div class="sheet-head-text">
<h3 class="sheet-title" id="sheet-title"></h3>
<p class="sheet-sub" id="sheet-sub"></p>
</div>
</div>
<p class="sheet-hint">容器禁止外链,请手动复制网址</p>
<div class="sheet-url-wrap" id="sheet-url-wrap">
<div class="sheet-url-box" id="sheet-url-box"></div>
</div>
<button type="button" class="sheet-select" id="sheet-select">
<strong id="sheet-select-label">点我选中网址</strong>
<span id="sheet-select-sub">选中后按住复制</span>
</button>
<p class="sheet-status" id="sheet-status"></p>
<button type="button" class="sheet-close" id="sheet-close">关闭</button>
</div>
</div>
<div class="toast" id="toast" role="status"></div>
</div>
<script src="./app.js"></script>
</body>
</html>