63 lines
1.8 KiB
HTML
63 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<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="theme-color" content="#0a0e17" />
|
|
<title>nomadro · 数字游民旅居指南</title>
|
|
<link rel="stylesheet" href="./nomadro.css" />
|
|
<style>
|
|
/* XHS offline shell — keep H5 look; hide web-only chrome that needs network */
|
|
button {
|
|
font: inherit;
|
|
color: inherit;
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
.xhs-offline-banner {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
padding: 8px 16px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
background: rgba(17, 24, 39, 0.95);
|
|
border-bottom: var(--border-glass);
|
|
}
|
|
.xhs-offline-banner strong { color: var(--accent-3); }
|
|
#app-root { min-height: 100vh; }
|
|
.page-panel { display: none; }
|
|
.page-panel.is-active { display: block; }
|
|
.xhs-back {
|
|
position: fixed;
|
|
left: 12px;
|
|
bottom: 18px;
|
|
z-index: 90;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 999px;
|
|
border: var(--border-glass);
|
|
background: var(--bg-card);
|
|
color: var(--text-primary);
|
|
box-shadow: var(--shadow-card);
|
|
display: none;
|
|
}
|
|
.xhs-back.is-on { display: block; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="xhs-offline-banner">
|
|
<strong>离线镜像</strong> · 样式与结构同步官网 H5 · 数据为本机快照 · 完整互动请打开 nomadweb.nomadro.com
|
|
</div>
|
|
<div id="app-root"></div>
|
|
<button type="button" class="xhs-back" id="xhs-back" aria-label="返回">←</button>
|
|
|
|
<script src="./data.js"></script>
|
|
<script src="./xhs-bridge.js"></script>
|
|
<script src="./app.js"></script>
|
|
</body>
|
|
</html>
|