refactor(homepage): 官网/文档/定价源码迁出程序 + 新增独立授权与激活页 /license

- 官网源码归拢到 homepage/(index/pricing/terms/license + content/ + assets/ + docs-assets/),
  删除程序内 go:embed 的 server/internal/{site,docs},后端仅静态托管 homepage/dist 做本地预览
- 新增独立静态页 /license(授权与激活):交付与激活四步(邮件交付授权码)、
  在线授权码 LIC- 与离线许可证 LICOFF- 对比、授权服务器 licence.rlwj.cn 通信范围说明、
  授权类型与价格、10 条授权 FAQ
- tools/homepage-build 支持可选单页,产出 <name>.html 与 <name>/index.html
- 导航/页脚接入 /license,跨页锚点补 / 前缀,页脚底栏文案同步为静态站口径
This commit is contained in:
Logan.Li committed 2026-10-16 04:16:16 +08:00
1 parent 327a265572
commit 3cb9545121
49 files changed
+1308 -600

No files matched your search

+11 -8
View File
@@ -53,15 +53,16 @@
</svg>
<header class="nav">
<div class="nav-inner">
<a class="brand" href="/home">
<a class="brand" href="/">
<span class="brand-logo"><svg width="30" height="30" viewBox="0 0 64 64" aria-label="OpsxAPI"><defs><linearGradient id="lg-site" x1="0" y1="0" x2="64" y2="64" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2563EB"/><stop offset="1" stop-color="#06B6D4"/></linearGradient></defs><rect width="64" height="64" rx="14" fill="url(#lg-site)"/><g stroke="#fff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M17 25h26"/><path d="M37 19l6 6-6 6"/><path d="M47 39H21"/><path d="M27 33l-6 6 6 6"/></g></svg></span>
<span class="brand-name">OpsxAPI</span>
</a>
<nav class="nav-links">
<a href="#features">功能</a>
<a href="#protocols">协议</a>
<a href="#exchange">导入导出</a>
<a href="/#features">功能</a>
<a href="/#protocols">协议</a>
<a href="/#exchange">导入导出</a>
<a href="/pricing">定价</a>
<a href="/license">授权</a>
<a href="/docs" target="_blank" rel="noopener">文档</a>
</nav>
<div class="nav-cta">
@@ -173,12 +174,14 @@
</div>
<div>
<h4>产品</h4>
<a href="#features">功能特性</a>
<a href="#pricing">定价与让利</a>
<a href="#compare">工具对比</a>
<a href="/#features">功能特性</a>
<a href="/#pricing">定价与让利</a>
<a href="/#compare">工具对比</a>
</div>
<div>
<h4>资源</h4>
<a href="/pricing">定价</a>
<a href="/license">授权与激活</a>
<a href="/docs" target="_blank" rel="noopener">用户文档</a>
<a href="/docs/server-api" target="_blank" rel="noopener">服务端 API</a>
<a href="/docs/faq" target="_blank" rel="noopener">常见问题</a>
@@ -189,7 +192,7 @@
<a href="/docs/quickstart" target="_blank" rel="noopener">快速开始</a>
</div>
</div>
<div class="footer-bar">© 2026 OpsxAPI · <a href="/terms" target="_blank">服务条款</a> · 本页由单二进制内置提供(/home)</div>
<div class="footer-bar">© 2026 OpsxAPI · <a href="/terms" target="_blank">服务条款</a> · <a href="/license">授权与激活</a></div>
</footer>
<script>
document.querySelectorAll('.toggle').forEach(function(t){