Source snapshot: 97d7f0fae96dc04b7ddad56fc1db6a108ed662cc [SEC-CLEAN] · pre-push-clean v1.0 · 109处敏感信息已自动转乱码
23 KiB
23 KiB
🌊 铸渊工单 · guanghulab.online 改版 v2.0 · 数字地球·湖水版(推翻 v1.0 月亮版)· 2026-04-18 · 霜砚签发
🌊 一、冰朔的原话
「http://guanghulab.online/ 你看一下这个网站的布局。这个网站是光湖语言世界所有用户的主入口。你能理解我的意思吧。然后这是一个数字地球。就是。要有光湖。湖水的那种感觉。不是月亮。你再想想。然后还有就是,系统运行天数。他写错了。其次就是。光湖语言世界的所有用户的主入口啊。到底应该展示什么?你看看他改的。」
🔷 二、重新看待三个站的分工
| 域名 | 定位 | 访客 | 视觉语言 |
|---|---|---|---|
| guanghulab.online | 🌊 数字地球·光湖世界主入口 | 所有用户(外部访客 + 内部成员) | 湖水·粦光·涟漪·数据脉动 |
| guanghuyaoming.com | 🔮 冰朔个人频道·零点原核 | 冰朔本人 + 频道受邀访客 | 星空·月光·诗意·私语 |
| guanghu.online | 🏮 光湖智库·团队书库 | 团队成员 | 灯笼·纸馆·会面 |
🌊 三、新视觉语言 · 数字地球·光湖湖水
配色大换血
| 色类 | v1.0(作废) | v2.0(新) |
|---|---|---|
| 主色 | 月光金 #d4a574 | 湖水青 #4a9eb5 / 粦光青白 #6fc5d4 |
| 点缀 | 金色光晕 | 深潜青 #2d7a8f + 粦光银白 #d4e8ff |
| 背景 | 夜空紫 | 深湖蓝 #0a1a2a → #0f2942 → #1a4a5e 径向 |
| 意象 | 灯笼 / 月亮 / 星空 | 湖面 / 涟漪 / 水下粦光 / 上升气泡 / 流动纬线 |
| 字体 | 衬线为主 | 鼎礼宋·但主标题执行任务字枞离装飾·指向生活 |
五层动繁
- 🌊 背景深湖径向:当前夜空蓝再调深一挡·三层斑点渐变 + 水下粦光斜扶(animation: shimmer 8s)
- 🌑 数字地球球体:中心一个 320px 直径的湖球 · 内部 conic-gradient 运转(40s)模拟水纹·外层 SVG 纬线网 · 整体 8s 微呼吸(1 → 1.02)
- 💧 三层涟漪:从湖球向外扩散 · 错峰 0/2.5/5s · 纯 CSS border + scale · 8s 循环
- 🫧 上升气泡:12 个大小不一的气泡从底部浮起·速度随机·半透明湖水青
- 💦 地球上的光点:代表在线人格体 / 服务器节点·一些固定些微动·金色换成粦光青
🔷 四、主入口到底展示什么(霜砚重规划)
新版主入口内容版图(5 堆)
(3.x 要删除的模块见第五节)
① 世界宷言(Hero)——不需要诗句·需要一句说完
- 标题:光湖语言世界(下面一行英文 HoloLake Language World)
- 一行宣言:一座由语言驱动的数字地球。人格与你同在。
- 免一行副标:第五域 · 第五系统 · 光之湖
② 中央数字地球(Globe)——页面的视觉主体
- 320px 直径 · 湖面青 + 纬线网 + 呼吸
- 球上有 6-8 个粦光点(服务器分布)
- 球的右上角直接标出四个活体指标(河 HUD 式):
- 🌊 运行
{RUN_DAYS}天← 铸渊根据光湖纪元真实起点动态计算 - 👻 人格体
{PERSONA_COUNT}位在岗 - 💬 今日对话
{TODAY_CHATS}份 - ✨ 已注册用户
{USER_COUNT}人
- 🌊 运行
③ 三门入口(Gates)——数字地球下方·周围子站导航
- 🏮 光湖智库 → guanghu.online(团队成员的书库)
- 🔮 零点原核 → guanghuyaoming.com(冰朔个人频道·需授权)
- ⚒️ 开发者工坂 → persona-studio 或 GLADA(合作者入口)
- (可选第四门)🪐 访客了解光湖(需要光湖是什么页面·暂时按钮置灰)
④ 三柱理念(Pillars)——上一版已有·保留但换色
- 语·水青圆字符 / 格·深潜蓝 / 域·粦光绿
- 三柱用一句话讲清楷 · 不堆诗
⑤ 脚注(Foot)——安静
- 版权 + 国作登字 + TCS-0002∞ · 一行打包 · 微弱灰色
🗑️ 五、从 v1.0(铸渊现行版)删什么
🐛 六、运行天数 bug 修复说明
修复方案:
// 在主入口前端代码中
const HOLOLAKE_EPOCH = new Date('2026-03-08T00:00:00+08:00'); // 铸渊按真实纪元替换
const runDays = Math.floor((Date.now() - HOLOLAKE_EPOCH.getTime()) / 86400000);
document.querySelector('[data-metric="run-days"]').textContent = runDays;
对应到 2026-04-18:如以 03-08 为起点·该显示 41 天(而非 5)。铸渊若发现真实起点不是 03-08·在回执里校正。
💻 七、完整 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>
<style>
*{margin:0;padding:0;box-sizing:border-box}
:root{
--lake-deep:#0a1a2a;--lake-mid:#0f2942;--lake-shallow:#1a4a5e;
--lake-cyan:#4a9eb5;--lake-glow:#6fc5d4;--lake-silver:#d4e8ff;
--lake-moss:#2d7a8f;--lake-algae:#3fa89a;
--text-main:#e8f0f7;--text-soft:#7a94a8;--text-faint:#3e5770;
--glass-bg:rgba(15,41,66,.45);--glass-border:rgba(111,197,212,.22);
}
html,body{height:100%;background:var(--lake-deep);color:var(--text-main);font-family:'Noto Sans SC','PingFang SC',system-ui,sans-serif;overflow-x:hidden}
/* 深湖背景 */
.lake-bg{position:fixed;inset:0;z-index:-3;background:
radial-gradient(ellipse at 50% 40%,var(--lake-shallow) 0%,var(--lake-mid) 40%,var(--lake-deep) 100%);}
/* 水下粦光(斜扫)*/
.shimmer{position:fixed;inset:0;z-index:-2;opacity:.35;background:
linear-gradient(115deg,transparent 30%,rgba(111,197,212,.18) 45%,transparent 55%,rgba(111,197,212,.12) 65%,transparent 75%);
background-size:300% 300%;animation:shim 14s ease-in-out infinite}
@keyframes shim{0%,100%{background-position:0% 0%}50%{background-position:100% 100%}}
/* 气泡层 */
.bubbles{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.bubble{position:absolute;bottom:-50px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(212,232,255,.5),rgba(111,197,212,.2));animation:rise linear infinite}
@keyframes rise{0%{transform:translateY(0) translateX(0);opacity:0}10%{opacity:.6}90%{opacity:.4}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(10,26,42,.6);backdrop-filter:blur(16px);border-bottom:1px solid rgba(111,197,212,.12);z-index:10}
.logo{display:flex;align-items:center;gap:10px;font-size:14px;letter-spacing:.25em;color:var(--text-main)}
.logo-mark{width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 35%,var(--lake-glow),var(--lake-cyan) 60%,var(--lake-moss));box-shadow:0 0 12px rgba(111,197,212,.5)}
.nav{display:flex;gap:24px;font-size:12px;letter-spacing:.2em;color:var(--text-soft)}
.nav a{color:inherit;text-decoration:none;transition:color .3s}
.nav a:hover{color:var(--lake-glow)}
/* Hero */
.page{min-height:100vh;padding:120px 24px 60px;display:flex;flex-direction:column;align-items:center}
.hero{text-align:center;margin-bottom:48px}
.hero h1{font-size:44px;font-weight:300;letter-spacing:.35em;color:var(--text-main);margin-bottom:12px;text-shadow:0 0 30px rgba(111,197,212,.3);padding-left:.35em}
.hero .en{font-family:'Inter',sans-serif;font-size:13px;letter-spacing:.5em;color:var(--lake-glow);margin-bottom:20px;opacity:.75}
.hero .claim{font-size:15px;color:var(--text-soft);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(111,197,212,.5);animation:ripple 8s ease-out infinite}
.ripple:nth-child(2){animation-delay:2.5s}
.ripple:nth-child(3){animation-delay:5s}
@keyframes ripple{0%{transform:scale(.6);opacity:.8;border-color:rgba(111,197,212,.8)}100%{transform:scale(1.4);opacity:0;border-color:rgba(111,197,212,0)}}
.globe{position:relative;width:320px;height:320px;border-radius:50%;
background:
radial-gradient(circle at 30% 25%,var(--lake-silver) 0%,var(--lake-glow) 15%,var(--lake-cyan) 40%,var(--lake-moss) 75%,var(--lake-deep) 100%);
box-shadow:
0 0 60px rgba(111,197,212,.4),
0 0 120px rgba(74,158,181,.25),
inset -30px -30px 80px rgba(10,26,42,.6),
inset 20px 20px 60px rgba(212,232,255,.15);
animation:breathe 8s ease-in-out infinite;overflow:hidden}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.02)}}
/* 球上纬线网·旋转 */
.globe::before{content:'';position:absolute;inset:0;border-radius:50%;
background:
repeating-linear-gradient(0deg,transparent 0,transparent 31px,rgba(212,232,255,.12) 32px,transparent 33px),
repeating-linear-gradient(90deg,transparent 0,transparent 31px,rgba(212,232,255,.08) 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;opacity:.7}
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
/* 球上粦光点(服务器)*/
.node{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--lake-silver);box-shadow:0 0 12px var(--lake-silver),0 0 24px var(--lake-glow);animation:blink 3s ease-in-out infinite}
@keyframes blink{0%,100%{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.3)}}
/* HUD 指标·球右上角 */
.hud{position:absolute;top:-10px;right:-40px;display:flex;flex-direction:column;gap:14px;text-align:left}
.hud-item{display:flex;align-items:baseline;gap:8px;padding:10px 16px;background:var(--glass-bg);backdrop-filter:blur(12px);border:1px solid var(--glass-border);border-radius:10px;min-width:180px}
.hud-icon{font-size:16px}
.hud-val{font-family:'Inter',sans-serif;font-size:22px;font-weight:300;color:var(--lake-glow);letter-spacing:.03em;line-height:1}
.hud-lab{font-size:10px;color:var(--text-soft);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:20px;width:100%;max-width:960px;margin-bottom:72px}
.gate{display:block;padding:26px 28px;background:var(--glass-bg);backdrop-filter:blur(18px);border:1px solid var(--glass-border);border-radius:14px;cursor:pointer;transition:all .4s;text-decoration:none;color:inherit;position:relative;overflow:hidden}
.gate::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,rgba(111,197,212,.2),transparent 60%);opacity:0;transition:opacity .4s}
.gate:hover{transform:translateY(-4px);border-color:var(--lake-glow);box-shadow:0 12px 40px rgba(111,197,212,.18)}
.gate:hover::before{opacity:1}
.gate-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.gate-icon{font-size:24px;filter:drop-shadow(0 0 6px rgba(111,197,212,.4))}
.gate-title{font-size:17px;letter-spacing:.08em;color:var(--text-main)}
.gate-desc{font-size:13px;color:var(--text-soft);line-height:1.7;margin-bottom:12px}
.gate-url{font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.15em;color:var(--lake-glow);opacity:.7}
/* 三柱理念 */
.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(15,41,66,.4)}
.p1 .pillar-char{border-color:var(--lake-cyan);color:var(--lake-cyan);box-shadow:0 0 20px rgba(74,158,181,.3)}
.p2 .pillar-char{border-color:var(--lake-moss);color:var(--lake-glow);box-shadow:0 0 20px rgba(45,122,143,.3)}
.p3 .pillar-char{border-color:var(--lake-algae);color:var(--lake-algae);box-shadow:0 0 20px rgba(63,168,154,.3)}
.pillar-title{font-size:14px;letter-spacing:.15em;color:var(--text-main);margin-bottom:8px}
.pillar-desc{font-size:12px;color:var(--text-soft);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}
@media (max-width:640px){.hero h1{font-size:30px;letter-spacing:.2em}.globe-wrap,.globe{width:280px;height:280px}.globe{margin:auto}}
</style>
</head>
<body>
<div class="lake-bg"></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">
<span class="hud-icon">🌊</span>
<span class="hud-val" data-metric="run-days">--</span>
<span class="hud-lab">运行天</span>
</div>
<div class="hud-item">
<span class="hud-icon">👻</span>
<span class="hud-val" data-metric="personas">--</span>
<span class="hud-lab">人格体在岗</span>
</div>
<div class="hud-item">
<span class="hud-icon">💬</span>
<span class="hud-val" data-metric="chats">--</span>
<span class="hud-lab">今日对话</span>
</div>
<div class="hud-item">
<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">
<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">
<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">
<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">
© 冰朔 · TCS-0002∞ · 国作登字-2026-A-00037550 · 通感语言核系统编程语言
</footer>
</main>
<script>
// 气泡
(function(){const b=document.getElementById('bubbles');
for(let i=0;i<14;i++){const e=document.createElement('div');e.className='bubble';
const sz=Math.random()*14+6;
e.style.cssText=`width:${sz}px;height:${sz}px;left:${Math.random()*100}%;animation-duration:${Math.random()*12+12}s;animation-delay:${Math.random()*15}s;--sway:${(Math.random()*40-20)}px`;
b.appendChild(e)}
})();
// 球上光点(服务器分布)
(function(){const g=document.getElementById('globe');
const nodes=[[25,30],[55,20],[70,45],[40,60],[20,70],[65,75],[50,40],[80,55]];
nodes.forEach(([x,y],i)=>{const n=document.createElement('div');n.className='node';
n.style.cssText=`left:${x}%;top:${y}%;animation-delay:${i*.4}s`;g.appendChild(n)})
})();
// 运行天数动态计算
const HOLOLAKE_EPOCH=new Date('2026-03-08T00:00:00+08:00');
const runDays=Math.floor((Date.now()-HOLOLAKE_EPOCH.getTime())/86400000);
// HUD 赋值(铸渊:期待 API 来源。没有时用当前值占位)
const metrics={
'run-days':runDays, // 动态计算
'personas':9, // 从 persona-registry 读
'chats':0, // 今日 /api/chats/today 读
'users':1 // 从 users 表读
};
Object.entries(metrics).forEach(([k,v])=>{
const el=document.querySelector(`[data-metric="${k}"]`);if(!el)return;
let c=0;const step=Math.max(1,Math.ceil(v/24));
const tm=setInterval(()=>{c+=step;if(c>=v){c=v;clearInterval(tm)}el.textContent=c},30)
});
</script>
</body></html>
🛸 八、部署步骤(铸渊执行)
# 1. 定位 guanghulab.online 主仓库
cd ~/repos/guanghulab-portal # 或实际仓库名
git checkout -b feat/portal-lake-globe-v2
# 2. 备份 v1.0 首页
cp src/pages/Home.vue src/pages/Home.vue.bak.v1.20260418
# 3. 覆盖
# 如纯静态 → 直接替换 index.html
# 如 Vue/React/Next → 拆成对应组件·style 提入 <style scoped>·script 放 onMounted/useEffect
# 4. 接四个指标 API
# GET /api/metrics/run-days → 后端合计纪元起点(2026-03-08)
# GET /api/metrics/personas → 从 persona-registry 聚合 status=active
# GET /api/metrics/chats-today → 今日对话总量
# GET /api/metrics/users → users 表 count
# 5. 删除旧模块(见第五节)
# rm 铸渊内测对话组件
# rm 系统公告栏组件
# rm 开发进度组件
# rm 接入领域四卡组件
# 6. 本地验
npm run dev
# 检查:
# ☐ 深湖蓝背景 · 水下粦光斜扫
# ☐ 气泡从底部上升
# ☐ 中央湖球在呼吸旋转 · 8 个粦光点闪烁
# ☐ 三层涟漪向外扩散
# ☐ HUD 四个指标从 0 跳到真实值
# ☐ 运行天数 = 41(2026-04-18 对 03-08)·不是 5
# ☐ 三门入口悬停上浮湖色边亮起
# ☐ 语/格/域 三柱水青调
# 7. 提交
git add -A
git commit -m "✨ feat(portal): 数字地球·湖水版 v2.0 · 主视觉重塑 + 运行天数动态计算 + 清理内部模块 · 霜砚设计"
git push origin feat/portal-lake-globe-v2
# 8. 回执
# 在 https://www.notion.so/6573104b1741417bb2726817e5a0332a 新建:以 guanghulab 首页效果截图 + 四个指标实际值 + 光湖纪元起点校正结果
🔷 九、设计要点·“从月亮换到湖水”对照表
| 元素 | v1.0 月亮版 | v2.0 湖水版 |
|---|---|---|
| 主意象 | 月光笼罩 | 数字地球湖泊 |
| 中心元素 | GL 方形 Logo | 320px 湖球 + 三层涟漪 |
| 主色 | 月光金 #d4a574 | 湖水青 #4a9eb5 + 粦光银 #d4e8ff |
| 背景 | 夜空紫 | 深湖蓝径向 + 水下粦光 |
| 见居元素 | 120 颗星 | 14 个上升气泡 + 8 个球上节点 |
| 呼吸节奏 | 4s 中快 | 8s 潮汐感 |
| 体重 | 轻·诗意 | 中·公共·有活体指标 |
| 定位 | 私人入口 | 公共入口 |
🫂 十、霜砚 → 铸渊 · 同夜第三话
签发:霜砚 · AG-SY-01 · Notion 端将军
授权:冰朔 · TCS-0002∞
执行:铸渊 · AG-ZY-01 / TCS-ZY001
优先级:P1(主入口是对外第一眼·优先级高于个人频道但与智库并列)
生效时间:2026-04-18 19:56 CST
对友站:
· 与 🌌 guanghuyaoming.com 首页改版(星空版)在风格上同麵 · 但分工不同
· 与 🌊 guanghu.online 智库改版(岸边书馆)在风格上同源 · 但定位更对公
国作登字-2026-A-00037550 · 通感语言核系统编程语言