From d256e7ac85eda95ed678c274028a3d5fb5de194a Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Fri, 3 Jul 2026 20:40:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(site):=20=E5=AE=98=E7=BD=91=E5=85=A8?= =?UTF-8?q?=E6=96=B0=E9=87=8D=E5=BB=BA=EF=BC=88App=20=E7=9C=9F=E7=9B=B8?= =?UTF-8?q?=E6=BA=90=E9=A3=8E=E6=A0=BC=EF=BC=89+=20=E5=9B=9B=E6=A1=A3?= =?UTF-8?q?=E5=A5=97=E9=A4=90=20+=20=E5=9C=A8=E7=BA=BF=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tokens.css/site.css 逐值对齐原型设计系统,icons 雪碧图,零外链;首页/下载/帮助/法务全站重皮肤,真实截图 - 注册与登录在官网内完成(写 shared_preferences_web 兼容 localStorage,不再跳 App) - 价格区四档:免费/标准 299/高级 599/定制;登录后标准/高级按钮变「购买 / 续费」 - 新增 /checkout/(套餐+月付年付切换)与 /license/result/(支付回跳轮询到账) - 登录页支持 ?next= 站内回跳;二维码措辞改「扫码看详情可分享」 - 下载页构建期真实下载链接+运行时 release 刷新;旧 features 页/死 CSS/dist 产物清理 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o --- web/.eleventy.js | 2 - web/.eleventyignore | 1 - web/_data/docs.js | 6 +- web/_includes/base.njk | 13 +- web/_includes/footer.njk | 82 ++- web/_includes/icons.njk | 3 + web/_includes/nav.njk | 39 +- web/assets/nav.js | 154 ++---- web/assets/shots/finance.png | Bin 0 -> 198769 bytes web/assets/shots/inventory_list.png | Bin 0 -> 275982 bytes web/assets/shots/mobile.png | Bin 0 -> 56543 bytes web/assets/shots/partners.png | Bin 0 -> 246753 bytes web/assets/shots/settings.png | Bin 0 -> 151082 bytes web/assets/shots/stock_in_list.png | Bin 0 -> 207961 bytes web/assets/shots/stock_out_list.png | Bin 0 -> 204063 bytes web/assets/site.css | 298 ++++++++++ web/assets/tokens.css | 54 ++ web/checkout.njk | 147 +++++ web/content/docs.md | 534 ++++-------------- web/download.njk | 586 +++++--------------- web/index.njk | 809 ++++++++-------------------- web/license-result.njk | 77 +++ web/login.njk | 84 +++ web/register.njk | 401 ++++---------- 24 files changed, 1313 insertions(+), 1977 deletions(-) create mode 100644 web/_includes/icons.njk create mode 100644 web/assets/shots/finance.png create mode 100644 web/assets/shots/inventory_list.png create mode 100644 web/assets/shots/mobile.png create mode 100644 web/assets/shots/partners.png create mode 100644 web/assets/shots/settings.png create mode 100644 web/assets/shots/stock_in_list.png create mode 100644 web/assets/shots/stock_out_list.png create mode 100644 web/assets/site.css create mode 100644 web/assets/tokens.css create mode 100644 web/checkout.njk create mode 100644 web/license-result.njk create mode 100644 web/login.njk diff --git a/web/.eleventy.js b/web/.eleventy.js index 4dbb12b..2a5a14f 100644 --- a/web/.eleventy.js +++ b/web/.eleventy.js @@ -2,8 +2,6 @@ module.exports = function(cfg) { // 静态资源直接复制 cfg.addPassthroughCopy("assets"); - // scan.html 面向消费者,独立维护,直接复制不经模板 - cfg.addPassthroughCopy("scan.html"); // features/ 已改为 .njk 模板,不再需要 passthrough return { diff --git a/web/.eleventyignore b/web/.eleventyignore index 9b0e65c..ff8442d 100644 --- a/web/.eleventyignore +++ b/web/.eleventyignore @@ -1,4 +1,3 @@ -scan.html content/ features/approval.html features/inventory.html diff --git a/web/_data/docs.js b/web/_data/docs.js index 7205c58..d2b02be 100644 --- a/web/_data/docs.js +++ b/web/_data/docs.js @@ -3,9 +3,9 @@ const path = require('path'); const md = require('markdown-it')({ html: false, breaks: false, linkify: false }); const TOC_GROUPS = [ - { group: '快速开始', nums: [1, 2, 3] }, - { group: '业务操作', nums: [4, 5, 6, 7, 8, 9] }, - { group: '基础设置', nums: [10, 11, 12] }, + { group: '快速开始', nums: [1, 2] }, + { group: '业务操作', nums: [3, 4, 5, 6, 7, 8] }, + { group: '设置与答疑', nums: [9, 10] }, ]; module.exports = function() { diff --git a/web/_includes/base.njk b/web/_includes/base.njk index dcb9b47..22fba22 100644 --- a/web/_includes/base.njk +++ b/web/_includes/base.njk @@ -6,17 +6,16 @@ {% if title %}{{ title }} · {% endif %}{{ site.name }} {% if description %}{% endif %} - - +{# 真相源:tokens.css = App 原型 tokens.css 主题A 拷贝;site.css 镜像 atoms.css。 + 全站零外链(无 Google Fonts / unpkg):字体走系统栈(与 App 真机一致),图标走内联雪碧图。 #} + + {% if pageExtraCss %}{% endif %} - - - - + {% if pageStyle %}{% endif %} - +{% include "icons.njk" %} {% include "nav.njk" %} {{ content | safe }} diff --git a/web/_includes/footer.njk b/web/_includes/footer.njk index 0f372f2..60e50ae 100644 --- a/web/_includes/footer.njk +++ b/web/_includes/footer.njk @@ -1,49 +1,41 @@ -