first commit

This commit is contained in:
2026-08-11 16:17:49 +08:00
commit 21d086aa23
170 changed files with 13204 additions and 0 deletions

32
index.html Normal file
View File

@@ -0,0 +1,32 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="缠论研习社 — 缠中说禅《教你炒股票》原文与杂文的沉浸式阅读站,专注走势、分型、笔、线段、中枢、背驰的系统性研习。" />
<!-- iOS 不把正文里的股票代码/年份误识别为 tel 链接 -->
<meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#4d95ff" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0d0d0f" />
<title>缠论研习社</title>
<script>
// 防闪烁:在应用挂载前同步应用主题
(function () {
try {
var saved = localStorage.getItem('chan-theme')
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches
var isDark = saved ? saved === 'dark' : prefersDark
if (isDark) document.documentElement.classList.add('dark')
// 同步地址栏/状态栏主题色(覆盖用户手动切换为暗色的场景)
var m = document.querySelector('meta[name="theme-color"]:not([media])')
if (m) m.setAttribute('content', isDark ? '#0d0d0f' : '#4d95ff')
} catch (e) {}
})()
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>