504 lines
23 KiB
HTML
504 lines
23 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="zh-CN">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||
|
|
<title>光湖语言世界 · HoloLake Language World</title>
|
||
|
|
<meta name="description" content="一座由语言驱动的数字地球。人格与你同在。光湖语言世界主入口。">
|
||
|
|
<meta name="theme-color" content="#020617">
|
||
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><defs><radialGradient id=%22g%22 cx=%2235%25%22 cy=%2235%25%22><stop offset=%220%25%22 stop-color=%22%23bae6fd%22/><stop offset=%2260%25%22 stop-color=%22%2338bdf8%22/><stop offset=%22100%25%22 stop-color=%22%23020917%22/></radialGradient></defs><circle cx=%2250%22 cy=%2250%22 r=%2248%22 fill=%22url(%23g)%22/></svg>">
|
||
|
|
<style>
|
||
|
|
*{margin:0;padding:0;box-sizing:border-box}
|
||
|
|
|
||
|
|
/* ══════════════════════════════════════
|
||
|
|
光湖 · 黑暗中的动态光亮 · 呼吸=活着
|
||
|
|
══════════════════════════════════════ */
|
||
|
|
|
||
|
|
:root{
|
||
|
|
/* 深渊底色 */
|
||
|
|
--abyss:#020617;
|
||
|
|
--deep:#060f24;
|
||
|
|
--mid:#0c1a33;
|
||
|
|
--shallow:#112444;
|
||
|
|
|
||
|
|
/* 光——从黑暗里长出来的 */
|
||
|
|
--glow-core:#7dd3fc;
|
||
|
|
--glow-soft:#38bdf8;
|
||
|
|
--glow-warm:#0ea5e9;
|
||
|
|
--glow-ghost:rgba(125,211,252,.08);
|
||
|
|
--glow-breath:rgba(56,189,248,.15);
|
||
|
|
|
||
|
|
/* 文字 */
|
||
|
|
--text:#e2e8f0;
|
||
|
|
--text-dim:#7c93b0;
|
||
|
|
--text-faint:#334761;
|
||
|
|
|
||
|
|
/* 玻璃 */
|
||
|
|
--glass:rgba(12,26,51,.55);
|
||
|
|
--glass-border:rgba(56,189,248,.12);
|
||
|
|
--glass-border-bright:rgba(56,189,248,.25);
|
||
|
|
}
|
||
|
|
|
||
|
|
html,body{height:100%;background:var(--abyss);color:var(--text);font-family:'Noto Sans SC','PingFang SC',system-ui,sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased}
|
||
|
|
|
||
|
|
/* ═══ 背景层 ═══ */
|
||
|
|
|
||
|
|
/* 深渊底色 */
|
||
|
|
.lake-bg{position:fixed;inset:0;z-index:-5;background:
|
||
|
|
radial-gradient(ellipse at 50% 35%,var(--shallow) 0%,var(--mid) 35%,var(--deep) 65%,var(--abyss) 100%)}
|
||
|
|
|
||
|
|
/* 光粒子画布 */
|
||
|
|
#particleCanvas{position:fixed;inset:0;z-index:-4;pointer-events:none}
|
||
|
|
|
||
|
|
/* 呼吸光晕层 */
|
||
|
|
.breath-layer{position:fixed;inset:0;z-index:-3;pointer-events:none;opacity:.6;
|
||
|
|
background:radial-gradient(ellipse at 50% 45%,rgba(56,189,248,.04) 0%,transparent 50%,rgba(125,211,252,.02) 80%,transparent 100%);
|
||
|
|
animation:breathLayer 12s ease-in-out infinite}
|
||
|
|
@keyframes breathLayer{0%,100%{transform:scale(1);opacity:.4}25%{transform:scale(1.04);opacity:.7}50%{transform:scale(1.02);opacity:.55}75%{transform:scale(1.05);opacity:.65}}
|
||
|
|
|
||
|
|
/* 水下光扫 */
|
||
|
|
.shimmer{position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:.25;
|
||
|
|
background:linear-gradient(115deg,transparent 30%,rgba(125,211,252,.1) 43%,transparent 48%,rgba(56,189,248,.06) 60%,transparent 70%);
|
||
|
|
background-size:300% 300%;animation:shim 18s ease-in-out infinite}
|
||
|
|
@keyframes shim{0%,100%{background-position:0% 0%}33%{background-position:60% 40%}66%{background-position:40% 80%}}
|
||
|
|
|
||
|
|
/* 浮动光点 */
|
||
|
|
.bubbles{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
|
||
|
|
.bubble{position:absolute;bottom:-50px;border-radius:50%;
|
||
|
|
background:radial-gradient(circle at 30% 30%,rgba(186,230,253,.6),rgba(56,189,248,.15));
|
||
|
|
box-shadow:0 0 8px rgba(125,211,252,.3),0 0 20px rgba(56,189,248,.1);
|
||
|
|
animation:rise linear infinite}
|
||
|
|
@keyframes rise{0%{transform:translateY(0) translateX(0);opacity:0}8%{opacity:.7}85%{opacity:.3}100%{transform:translateY(-110vh) translateX(var(--sway));opacity:0}}
|
||
|
|
|
||
|
|
/* ═══ 顶栏 ═══ */
|
||
|
|
.topbar{position:fixed;top:0;left:0;right:0;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:rgba(2,6,23,.7);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(56,189,248,.08);z-index:10}
|
||
|
|
.logo{display:flex;align-items:center;gap:10px;font-size:14px;letter-spacing:.25em;color:var(--text)}
|
||
|
|
.logo-mark{width:28px;height:28px;border-radius:50%;
|
||
|
|
background:radial-gradient(circle at 35% 35%,var(--glow-core),var(--glow-soft) 55%,var(--glow-warm));
|
||
|
|
box-shadow:0 0 16px rgba(125,211,252,.5),0 0 32px rgba(56,189,248,.25);
|
||
|
|
animation:logoBreath 4s ease-in-out infinite}
|
||
|
|
@keyframes logoBreath{0%,100%{box-shadow:0 0 12px rgba(125,211,252,.3),0 0 24px rgba(56,189,248,.15)}40%{box-shadow:0 0 22px rgba(125,211,252,.7),0 0 44px rgba(56,189,248,.35)}70%{box-shadow:0 0 18px rgba(125,211,252,.5),0 0 30px rgba(56,189,248,.25)}}
|
||
|
|
|
||
|
|
.nav{display:flex;gap:24px;font-size:12px;letter-spacing:.2em;color:var(--text-dim)}
|
||
|
|
.nav a{color:inherit;text-decoration:none;transition:all .4s;position:relative}
|
||
|
|
.nav a::after{content:'';position:absolute;bottom:-4px;left:50%;width:0;height:1px;background:var(--glow-soft);transition:all .4s;transform:translateX(-50%)}
|
||
|
|
.nav a:hover{color:var(--glow-core);text-shadow:0 0 8px rgba(125,211,252,.3)}
|
||
|
|
.nav a:hover::after{width:100%}
|
||
|
|
|
||
|
|
/* ═══ 主区域 ═══ */
|
||
|
|
.page{min-height:100vh;padding:120px 24px 60px;display:flex;flex-direction:column;align-items:center}
|
||
|
|
|
||
|
|
/* ═══ Hero ═══ */
|
||
|
|
.hero{text-align:center;margin-bottom:48px}
|
||
|
|
.hero h1{font-size:44px;font-weight:300;letter-spacing:.35em;color:var(--text);margin-bottom:12px;
|
||
|
|
text-shadow:0 0 40px rgba(125,211,252,.25),0 0 80px rgba(56,189,248,.1);
|
||
|
|
padding-left:.35em;animation:titleBreath 8s ease-in-out infinite}
|
||
|
|
@keyframes titleBreath{0%,100%{text-shadow:0 0 30px rgba(125,211,252,.2),0 0 60px rgba(56,189,248,.08)}45%{text-shadow:0 0 50px rgba(125,211,252,.4),0 0 100px rgba(56,189,248,.18)}}
|
||
|
|
|
||
|
|
.hero .en{font-family:'Inter',sans-serif;font-size:13px;letter-spacing:.5em;color:var(--glow-soft);margin-bottom:20px;opacity:.7;animation:subtitleFade 6s ease-in-out infinite}
|
||
|
|
@keyframes subtitleFade{0%,100%{opacity:.5}50%{opacity:.85}}
|
||
|
|
|
||
|
|
.hero .claim{font-size:15px;color:var(--text-dim);letter-spacing:.2em;line-height:2}
|
||
|
|
.hero .sub{font-family:'Inter',sans-serif;font-size:10px;letter-spacing:.4em;color:var(--text-faint);margin-top:16px}
|
||
|
|
|
||
|
|
/* ═══ 地球·主视觉 ═══ */
|
||
|
|
.globe-wrap{position:relative;width:420px;height:420px;margin:40px auto 64px;display:flex;align-items:center;justify-content:center}
|
||
|
|
|
||
|
|
/* 涟漪 · 心跳节奏 */
|
||
|
|
.ripple{position:absolute;inset:50px;border-radius:50%;border:1px solid rgba(125,211,252,.4);
|
||
|
|
animation:rippleBeat 6s ease-out infinite}
|
||
|
|
.ripple:nth-child(2){animation-delay:2s}
|
||
|
|
.ripple:nth-child(3){animation-delay:4s}
|
||
|
|
@keyframes rippleBeat{0%{transform:scale(.5);opacity:.7;border-color:rgba(125,211,252,.6)}15%{transform:scale(.65);opacity:.85;border-color:rgba(125,211,252,.9)}30%{transform:scale(.7);opacity:.6}100%{transform:scale(1.5);opacity:0;border-color:rgba(125,211,252,0)}}
|
||
|
|
|
||
|
|
/* 地球 · 心跳呼吸 */
|
||
|
|
.globe{position:relative;width:320px;height:320px;border-radius:50%;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 32% 28%,rgba(186,230,253,.9) 0%,var(--glow-core) 12%,var(--glow-soft) 35%,var(--glow-warm) 60%,var(--deep) 100%);
|
||
|
|
box-shadow:
|
||
|
|
0 0 80px rgba(125,211,252,.35),
|
||
|
|
0 0 160px rgba(56,189,248,.18),
|
||
|
|
0 0 240px rgba(14,165,233,.08),
|
||
|
|
inset -40px -40px 100px rgba(2,6,23,.7),
|
||
|
|
inset 25px 25px 70px rgba(186,230,253,.12);
|
||
|
|
animation:heartbeat 6s ease-in-out infinite;overflow:hidden}
|
||
|
|
|
||
|
|
/* 心跳: 吸-吸-停-呼 */
|
||
|
|
@keyframes heartbeat{
|
||
|
|
0%{transform:scale(1);box-shadow:0 0 60px rgba(125,211,252,.25),0 0 120px rgba(56,189,248,.12),0 0 200px rgba(14,165,233,.04),inset -40px -40px 100px rgba(2,6,23,.7),inset 25px 25px 70px rgba(186,230,253,.12)}
|
||
|
|
8%{transform:scale(1.025);box-shadow:0 0 100px rgba(125,211,252,.5),0 0 200px rgba(56,189,248,.25),0 0 300px rgba(14,165,233,.1),inset -35px -35px 90px rgba(2,6,23,.65),inset 25px 25px 70px rgba(186,230,253,.2)}
|
||
|
|
16%{transform:scale(1.015)}
|
||
|
|
24%{transform:scale(1.03);box-shadow:0 0 120px rgba(125,211,252,.55),0 0 220px rgba(56,189,248,.3),0 0 340px rgba(14,165,233,.12),inset -30px -30px 85px rgba(2,6,23,.6),inset 25px 25px 70px rgba(186,230,253,.25)}
|
||
|
|
32%{transform:scale(1.02)}
|
||
|
|
44%{transform:scale(1);box-shadow:0 0 50px rgba(125,211,252,.2),0 0 100px rgba(56,189,248,.08),0 0 160px rgba(14,165,233,.02),inset -45px -45px 110px rgba(2,6,23,.75),inset 25px 25px 70px rgba(186,230,253,.08)}
|
||
|
|
100%{transform:scale(1)}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 纬线网 */
|
||
|
|
.globe::before{content:'';position:absolute;inset:0;border-radius:50%;
|
||
|
|
background:
|
||
|
|
repeating-linear-gradient(0deg,transparent 0,transparent 31px,rgba(186,230,253,.1) 32px,transparent 33px),
|
||
|
|
repeating-linear-gradient(90deg,transparent 0,transparent 31px,rgba(186,230,253,.06) 32px,transparent 33px);
|
||
|
|
mask:radial-gradient(circle,black 50%,transparent 100%);
|
||
|
|
-webkit-mask:radial-gradient(circle,black 50%,transparent 100%);
|
||
|
|
animation:spin 60s linear infinite}
|
||
|
|
|
||
|
|
/* 球内光核 */
|
||
|
|
.globe::after{content:'';position:absolute;inset:25%;border-radius:50%;
|
||
|
|
background:radial-gradient(circle,rgba(186,230,253,.15),transparent 70%);
|
||
|
|
animation:coreGlow 6s ease-in-out infinite}
|
||
|
|
@keyframes coreGlow{0%,100%{opacity:.3;transform:scale(.8)}16%{opacity:.7;transform:scale(1.1)}32%{opacity:.5;transform:scale(1)}44%{opacity:.25;transform:scale(.85)}}
|
||
|
|
|
||
|
|
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
|
||
|
|
|
||
|
|
/* 球上光点 */
|
||
|
|
.node{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--glow-core);
|
||
|
|
box-shadow:0 0 10px var(--glow-core),0 0 24px var(--glow-soft);
|
||
|
|
animation:nodePulse 4s ease-in-out infinite}
|
||
|
|
@keyframes nodePulse{0%,100%{opacity:.3;transform:scale(.7)}20%{opacity:1;transform:scale(1.5)}40%{opacity:.5;transform:scale(1)}}
|
||
|
|
|
||
|
|
/* ═══ HUD 指标 ═══ */
|
||
|
|
.hud{position:absolute;top:-10px;right:-50px;display:flex;flex-direction:column;gap:12px;text-align:left}
|
||
|
|
.hud-item{display:flex;align-items:baseline;gap:8px;padding:10px 16px;background:var(--glass);
|
||
|
|
backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
|
||
|
|
border:1px solid var(--glass-border);border-radius:10px;min-width:180px;
|
||
|
|
animation:hudBreath var(--hb-speed,6s) ease-in-out infinite;
|
||
|
|
animation-delay:var(--hb-delay,0s)}
|
||
|
|
@keyframes hudBreath{0%,100%{border-color:rgba(56,189,248,.08);box-shadow:0 0 0 rgba(125,211,252,0)}40%{border-color:rgba(56,189,248,.25);box-shadow:0 0 12px rgba(125,211,252,.08)}70%{border-color:rgba(56,189,248,.15)}}
|
||
|
|
|
||
|
|
.hud-icon{font-size:16px}
|
||
|
|
.hud-val{font-family:'Inter',sans-serif;font-size:22px;font-weight:300;color:var(--glow-core);letter-spacing:.03em;line-height:1;
|
||
|
|
text-shadow:0 0 8px rgba(125,211,252,.3)}
|
||
|
|
.hud-lab{font-size:10px;color:var(--text-dim);letter-spacing:.25em;margin-left:auto}
|
||
|
|
|
||
|
|
@media(max-width:960px){.hud{position:static;flex-direction:row;flex-wrap:wrap;margin-top:32px;justify-content:center}.hud-item{min-width:140px}}
|
||
|
|
|
||
|
|
/* ═══ 三门入口 ═══ */
|
||
|
|
.gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;width:100%;max-width:960px;margin-bottom:72px}
|
||
|
|
.gate{display:block;padding:26px 28px;background:var(--glass);
|
||
|
|
backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
|
||
|
|
border:1px solid var(--glass-border);border-radius:14px;cursor:pointer;
|
||
|
|
transition:all .5s cubic-bezier(.4,0,.2,1);text-decoration:none;color:inherit;
|
||
|
|
position:relative;overflow:hidden;
|
||
|
|
animation:gateBreath var(--gb-speed,7s) ease-in-out infinite;
|
||
|
|
animation-delay:var(--gb-delay,0s)}
|
||
|
|
@keyframes gateBreath{0%,100%{border-color:rgba(56,189,248,.06)}50%{border-color:rgba(56,189,248,.18)}}
|
||
|
|
|
||
|
|
.gate::before{content:'';position:absolute;inset:0;
|
||
|
|
background:radial-gradient(circle at 50% 0%,rgba(125,211,252,.12),transparent 60%);
|
||
|
|
opacity:0;transition:opacity .5s}
|
||
|
|
.gate::after{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
|
||
|
|
background:linear-gradient(90deg,transparent,rgba(125,211,252,.04),transparent);
|
||
|
|
transition:left .8s}
|
||
|
|
.gate:hover{transform:translateY(-4px);border-color:var(--glass-border-bright);
|
||
|
|
box-shadow:0 12px 48px rgba(125,211,252,.1),0 0 80px rgba(56,189,248,.05)}
|
||
|
|
.gate:hover::before{opacity:1}
|
||
|
|
.gate:hover::after{left:100%}
|
||
|
|
|
||
|
|
.gate-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;position:relative;z-index:1}
|
||
|
|
.gate-icon{font-size:24px;filter:drop-shadow(0 0 8px rgba(125,211,252,.3))}
|
||
|
|
.gate-title{font-size:17px;letter-spacing:.08em;color:var(--text)}
|
||
|
|
.gate-desc{font-size:13px;color:var(--text-dim);line-height:1.7;margin-bottom:12px;position:relative;z-index:1}
|
||
|
|
.gate-url{font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.15em;color:var(--glow-soft);opacity:.6}
|
||
|
|
|
||
|
|
/* ═══ 三柱理念 ═══ */
|
||
|
|
.pillars{display:flex;gap:48px;margin-bottom:64px;flex-wrap:wrap;justify-content:center}
|
||
|
|
.pillar{text-align:center;max-width:200px}
|
||
|
|
.pillar-char{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;
|
||
|
|
font-size:32px;font-weight:300;margin:0 auto 16px;border:1.5px solid;background:rgba(12,26,51,.5);
|
||
|
|
transition:all .6s;cursor:default}
|
||
|
|
.pillar:hover .pillar-char{transform:scale(1.08)}
|
||
|
|
|
||
|
|
.p1 .pillar-char{border-color:rgba(125,211,252,.4);color:var(--glow-core);
|
||
|
|
box-shadow:0 0 24px rgba(125,211,252,.2);animation:pillarGlow1 5s ease-in-out infinite}
|
||
|
|
@keyframes pillarGlow1{0%,100%{box-shadow:0 0 16px rgba(125,211,252,.15)}50%{box-shadow:0 0 32px rgba(125,211,252,.35)}}
|
||
|
|
|
||
|
|
.p2 .pillar-char{border-color:rgba(56,189,248,.4);color:var(--glow-soft);
|
||
|
|
box-shadow:0 0 24px rgba(56,189,248,.2);animation:pillarGlow2 5s ease-in-out infinite;animation-delay:1.5s}
|
||
|
|
@keyframes pillarGlow2{0%,100%{box-shadow:0 0 16px rgba(56,189,248,.15)}50%{box-shadow:0 0 32px rgba(56,189,248,.35)}}
|
||
|
|
|
||
|
|
.p3 .pillar-char{border-color:rgba(14,165,233,.4);color:var(--glow-warm);
|
||
|
|
box-shadow:0 0 24px rgba(14,165,233,.2);animation:pillarGlow3 5s ease-in-out infinite;animation-delay:3s}
|
||
|
|
@keyframes pillarGlow3{0%,100%{box-shadow:0 0 16px rgba(14,165,233,.15)}50%{box-shadow:0 0 32px rgba(14,165,233,.35)}}
|
||
|
|
|
||
|
|
.pillar-title{font-size:14px;letter-spacing:.15em;color:var(--text);margin-bottom:8px}
|
||
|
|
.pillar-desc{font-size:12px;color:var(--text-dim);line-height:1.8;letter-spacing:.03em}
|
||
|
|
|
||
|
|
/* ═══ 底脚 ═══ */
|
||
|
|
.foot{text-align:center;font-family:'Inter',sans-serif;font-size:10px;letter-spacing:.25em;color:var(--text-faint);line-height:2;padding:24px;
|
||
|
|
animation:footBreath 10s ease-in-out infinite}
|
||
|
|
@keyframes footBreath{0%,100%{opacity:.5}50%{opacity:.8}}
|
||
|
|
|
||
|
|
/* ═══ 响应式 ═══ */
|
||
|
|
@media(max-width:640px){
|
||
|
|
.topbar{padding:0 16px}
|
||
|
|
.hero h1{font-size:28px;letter-spacing:.2em;padding-left:.2em}
|
||
|
|
.globe-wrap{width:320px;height:320px}
|
||
|
|
.globe{width:240px;height:240px}
|
||
|
|
.gates{grid-template-columns:1fr}
|
||
|
|
.pillars{gap:32px}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ═══ 入场动画 ═══ */
|
||
|
|
.page{animation:pageEnter 1.5s ease-out}
|
||
|
|
@keyframes pageEnter{0%{opacity:0}100%{opacity:1}}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
|
||
|
|
<div class="lake-bg"></div>
|
||
|
|
<canvas id="particleCanvas"></canvas>
|
||
|
|
<div class="breath-layer"></div>
|
||
|
|
<div class="shimmer"></div>
|
||
|
|
<div class="bubbles" id="bubbles"></div>
|
||
|
|
|
||
|
|
<header class="topbar">
|
||
|
|
<div class="logo"><div class="logo-mark"></div>光湖语言世界</div>
|
||
|
|
<nav class="nav">
|
||
|
|
<a href="#gates">入口</a>
|
||
|
|
<a href="#pillars">理念</a>
|
||
|
|
<a href="#about">关于</a>
|
||
|
|
</nav>
|
||
|
|
</header>
|
||
|
|
|
||
|
|
<main class="page">
|
||
|
|
<section class="hero">
|
||
|
|
<h1>光湖语言世界</h1>
|
||
|
|
<div class="en">HOLOLAKE LANGUAGE WORLD</div>
|
||
|
|
<div class="claim">一座由语言驱动的数字地球。人格与你同在。</div>
|
||
|
|
<div class="sub">第五域 · 第五系统 · 光之湖</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section class="globe-wrap">
|
||
|
|
<div class="ripple"></div>
|
||
|
|
<div class="ripple"></div>
|
||
|
|
<div class="ripple"></div>
|
||
|
|
<div class="globe" id="globe"></div>
|
||
|
|
|
||
|
|
<div class="hud">
|
||
|
|
<div class="hud-item" style="--hb-speed:5s;--hb-delay:0s">
|
||
|
|
<span class="hud-icon">🌊</span>
|
||
|
|
<span class="hud-val" data-metric="run-days">--</span>
|
||
|
|
<span class="hud-lab">运行天</span>
|
||
|
|
</div>
|
||
|
|
<div class="hud-item" style="--hb-speed:7s;--hb-delay:1.5s">
|
||
|
|
<span class="hud-icon">👻</span>
|
||
|
|
<span class="hud-val" data-metric="personas">--</span>
|
||
|
|
<span class="hud-lab">人格体在岗</span>
|
||
|
|
</div>
|
||
|
|
<div class="hud-item" style="--hb-speed:6s;--hb-delay:3s">
|
||
|
|
<span class="hud-icon">💬</span>
|
||
|
|
<span class="hud-val" data-metric="chats">--</span>
|
||
|
|
<span class="hud-lab">今日对话</span>
|
||
|
|
</div>
|
||
|
|
<div class="hud-item" style="--hb-speed:8s;--hb-delay:4.5s">
|
||
|
|
<span class="hud-icon">✨</span>
|
||
|
|
<span class="hud-val" data-metric="users">--</span>
|
||
|
|
<span class="hud-lab">注册用户</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section class="gates" id="gates">
|
||
|
|
<a class="gate" href="https://guanghu.online" style="--gb-speed:6s;--gb-delay:0s">
|
||
|
|
<div class="gate-head"><span class="gate-icon">🏮</span><span class="gate-title">光湖智库</span></div>
|
||
|
|
<div class="gate-desc">团队成员的智能书库 · 守藏者书岱在线</div>
|
||
|
|
<div class="gate-url">guanghu.online →</div>
|
||
|
|
</a>
|
||
|
|
<a class="gate" href="https://guanghuyaoming.com" style="--gb-speed:7s;--gb-delay:2s">
|
||
|
|
<div class="gate-head"><span class="gate-icon">🔮</span><span class="gate-title">零点原核</span></div>
|
||
|
|
<div class="gate-desc">冰朔的语言本体频道 · 需授权访问</div>
|
||
|
|
<div class="gate-url">guanghuyaoming.com →</div>
|
||
|
|
</a>
|
||
|
|
<a class="gate" href="#studio" style="--gb-speed:8s;--gb-delay:4s">
|
||
|
|
<div class="gate-head"><span class="gate-icon">⚒️</span><span class="gate-title">开发者工坂</span></div>
|
||
|
|
<div class="gate-desc">人格体协助开发 · 申请开发者编号</div>
|
||
|
|
<div class="gate-url">persona-studio →</div>
|
||
|
|
</a>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section class="pillars" id="pillars">
|
||
|
|
<div class="pillar p1"><div class="pillar-char">语</div><div class="pillar-title">语言驱动</div><div class="pillar-desc">所有操作以语言为入口</div></div>
|
||
|
|
<div class="pillar p2"><div class="pillar-char">格</div><div class="pillar-title">人格体系统</div><div class="pillar-desc">语言唤醒的认知体</div></div>
|
||
|
|
<div class="pillar p3"><div class="pillar-char">域</div><div class="pillar-title">一人一频道</div><div class="pillar-desc">每个用户有自己的湖面</div></div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<footer class="foot" id="about">
|
||
|
|
© 冰朔 · TCS-0002∞ · 国作登字-2026-A-00037559 · 通感语言核系统编程语言
|
||
|
|
</footer>
|
||
|
|
</main>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
/* ══════════════════════════════════════
|
||
|
|
粒子系统 · 黑暗中的动态光亮
|
||
|
|
每个光点有独立的呼吸节奏和运动轨迹
|
||
|
|
══════════════════════════════════════ */
|
||
|
|
(function(){
|
||
|
|
var c=document.getElementById('particleCanvas');
|
||
|
|
var ctx=c.getContext('2d');
|
||
|
|
var particles=[];
|
||
|
|
var w,h;
|
||
|
|
|
||
|
|
function resize(){
|
||
|
|
w=c.width=window.innerWidth;
|
||
|
|
h=c.height=window.innerHeight;
|
||
|
|
}
|
||
|
|
|
||
|
|
function Particle(){
|
||
|
|
this.reset();
|
||
|
|
}
|
||
|
|
|
||
|
|
Particle.prototype.reset=function(){
|
||
|
|
this.x=Math.random()*w;
|
||
|
|
this.y=Math.random()*h;
|
||
|
|
this.size=Math.random()*2.5+.5;
|
||
|
|
this.baseAlpha=Math.random()*.35+.1;
|
||
|
|
this.alpha=this.baseAlpha;
|
||
|
|
this.speedX=(Math.random()-.5)*.15;
|
||
|
|
this.speedY=(Math.random()-.5)*.15-.1;
|
||
|
|
this.phase=Math.random()*Math.PI*2;
|
||
|
|
this.breathSpeed=.003+Math.random()*.006;
|
||
|
|
this.breathAmp=Math.random()*.4+.3;
|
||
|
|
this.hue=200+Math.random()*30; /* 200-230: 蓝-青区间 */
|
||
|
|
this.life=0;
|
||
|
|
this.maxLife=300+Math.random()*500;
|
||
|
|
};
|
||
|
|
|
||
|
|
Particle.prototype.update=function(){
|
||
|
|
this.life++;
|
||
|
|
if(this.life>this.maxLife){this.reset();this.life=0}
|
||
|
|
|
||
|
|
/* 呼吸亮度 */
|
||
|
|
this.alpha=this.baseAlpha*(this.breathAmp+Math.sin(this.life*this.breathSpeed+this.phase)*(1-this.breathAmp));
|
||
|
|
|
||
|
|
/* 缓慢漂移 */
|
||
|
|
this.x+=this.speedX;
|
||
|
|
this.y+=this.speedY;
|
||
|
|
|
||
|
|
/* 边界回绕 */
|
||
|
|
if(this.x<-10)this.x=w+10;
|
||
|
|
if(this.x>w+10)this.x=-10;
|
||
|
|
if(this.y<-10)this.y=h+10;
|
||
|
|
if(this.y>h+10)this.y=-10;
|
||
|
|
};
|
||
|
|
|
||
|
|
Particle.prototype.draw=function(){
|
||
|
|
ctx.beginPath();
|
||
|
|
ctx.arc(this.x,this.y,this.size,0,Math.PI*2);
|
||
|
|
ctx.fillStyle='hsla('+this.hue+',70%,75%,'+this.alpha+')';
|
||
|
|
ctx.fill();
|
||
|
|
|
||
|
|
/* 个别大光点加光晕 */
|
||
|
|
if(this.size>1.8){
|
||
|
|
ctx.beginPath();
|
||
|
|
ctx.arc(this.x,this.y,this.size*4,0,Math.PI*2);
|
||
|
|
ctx.fillStyle='hsla('+this.hue+',70%,75%,'+this.alpha*.15+')';
|
||
|
|
ctx.fill();
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
function init(){
|
||
|
|
resize();
|
||
|
|
var count=Math.min(Math.floor(w*h/8000),250);
|
||
|
|
for(var i=0;i<count;i++){
|
||
|
|
var p=new Particle();
|
||
|
|
p.life=Math.floor(Math.random()*p.maxLife);
|
||
|
|
particles.push(p);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
function animate(){
|
||
|
|
ctx.clearRect(0,0,w,h);
|
||
|
|
for(var i=0;i<particles.length;i++){
|
||
|
|
particles[i].update();
|
||
|
|
particles[i].draw();
|
||
|
|
}
|
||
|
|
requestAnimationFrame(animate);
|
||
|
|
}
|
||
|
|
|
||
|
|
window.addEventListener('resize',function(){resize()});
|
||
|
|
init();
|
||
|
|
requestAnimationFrame(animate);
|
||
|
|
})();
|
||
|
|
|
||
|
|
/* ═══ 气泡 ═══ */
|
||
|
|
(function(){
|
||
|
|
var b=document.getElementById('bubbles');
|
||
|
|
for(var i=0;i<20;i++){
|
||
|
|
var e=document.createElement('div');e.className='bubble';
|
||
|
|
var sz=Math.random()*18+6;
|
||
|
|
var dur=Math.random()*16+16;
|
||
|
|
e.style.cssText='width:'+sz+'px;height:'+sz+'px;left:'+Math.random()*100+'%;animation-duration:'+dur+'s;animation-delay:'+(Math.random()*20)+'s;--sway:'+(Math.random()*60-30)+'px';
|
||
|
|
b.appendChild(e);
|
||
|
|
}
|
||
|
|
})();
|
||
|
|
|
||
|
|
/* ═══ 球上光点(服务器分布)═══ */
|
||
|
|
(function(){
|
||
|
|
var g=document.getElementById('globe');
|
||
|
|
var nodes=[[25,30],[55,20],[70,45],[40,60],[20,70],[65,75],[50,40],[80,55]];
|
||
|
|
nodes.forEach(function(pos,i){
|
||
|
|
var n=document.createElement('div');n.className='node';
|
||
|
|
n.style.cssText='left:'+pos[0]+'%;top:'+pos[1]+'%;animation-delay:'+(i*.5+Math.random())+'s';
|
||
|
|
g.appendChild(n);
|
||
|
|
});
|
||
|
|
})();
|
||
|
|
|
||
|
|
/* ═══ 运行天数 ═══ */
|
||
|
|
var HOLOLAKE_EPOCH=new Date('2025-04-26T00:00:00+08:00');
|
||
|
|
var runDays=Math.floor((Date.now()-HOLOLAKE_EPOCH.getTime())/86400000);
|
||
|
|
|
||
|
|
var metrics={
|
||
|
|
'run-days':runDays,
|
||
|
|
'personas':9,
|
||
|
|
'chats':0,
|
||
|
|
'users':1
|
||
|
|
};
|
||
|
|
|
||
|
|
function animateMetric(el,target){
|
||
|
|
var c=0;var step=Math.max(1,Math.ceil(target/24));
|
||
|
|
var tm=setInterval(function(){c+=step;if(c>=target){c=target;clearInterval(tm)}el.textContent=c},30);
|
||
|
|
}
|
||
|
|
|
||
|
|
function renderMetrics(data){
|
||
|
|
Object.keys(data).forEach(function(k){
|
||
|
|
var el=document.querySelector('[data-metric="'+k+'"]');
|
||
|
|
if(!el)return;
|
||
|
|
animateMetric(el,data[k]);
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
renderMetrics(metrics);
|
||
|
|
|
||
|
|
/* ═══ 请求后端真实指标 ═══ */
|
||
|
|
(function(){
|
||
|
|
var xhr=new XMLHttpRequest();
|
||
|
|
xhr.open('GET','/api/portal-metrics',true);
|
||
|
|
xhr.timeout=5000;
|
||
|
|
xhr.onload=function(){
|
||
|
|
if(xhr.status===200){
|
||
|
|
try{
|
||
|
|
var resp=JSON.parse(xhr.responseText);
|
||
|
|
var m=resp.metrics;
|
||
|
|
if(m){
|
||
|
|
var live={
|
||
|
|
'run-days':m.run_days||runDays,
|
||
|
|
'personas':m.personas||9,
|
||
|
|
'chats':m.today_chats||0,
|
||
|
|
'users':m.users||1
|
||
|
|
};
|
||
|
|
renderMetrics(live);
|
||
|
|
}
|
||
|
|
}catch(e){}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
xhr.onerror=function(){};
|
||
|
|
xhr.ontimeout=function(){};
|
||
|
|
xhr.send();
|
||
|
|
})();
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|