From f4207858871973bee3da8a33390a4cf7fea408a4 Mon Sep 17 00:00:00 2001 From: jinghui <3970260761@qq.com> Date: Wed, 11 Nov 2026 18:21:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(buy):=20=E7=AB=99=E5=86=85=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E9=A1=B5=20/buy=20=E2=80=94=20=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=BD=93=E5=9C=BA=E6=98=BE=E7=A4=BA=E5=8D=A1?= =?UTF-8?q?=E5=AF=86=EF=BC=9B=E4=B8=89=E5=A4=84=E8=B4=AD=E4=B9=B0=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E7=BB=9F=E4=B8=80=E6=94=B9=E6=8C=87=E7=AB=99=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 /buy 支付页:读本机机器码、列本项目可售套餐、支付宝/微信/QQ钱包、优惠码选填; 拉起收银台后本页留守轮询,支付成功显示卡密并自动核验授权 - 购买入口改造:顶栏「永久解锁 13 个功能」、锁定弹窗「购买授权」、授权应用页 「前往购买卡密」三处统一跳转站内 /buy(原跳外部 auth.88531.cn/#/shop) - CardAuth 后端:订单支付完成时补发卡密写回订单(原带机器码下单只建授权不发卡) - CHANGELOG 新增 Version 2026.11.11-it-tools-pro --- CHANGELOG.md | 7 + components.d.ts | 1 + src/pages/Buy.page.vue | 702 ++++++++++++++++++++++++++++++ src/pages/Pricing.page.vue | 11 +- src/router.ts | 5 + src/tools/license/LicenseGate.vue | 10 +- src/tools/license/license.ts | 2 +- 7 files changed, 732 insertions(+), 6 deletions(-) create mode 100644 src/pages/Buy.page.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 2748a8e..3cf925f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## Version 2026.11.11-it-tools-pro + +### 📦 本次更新(2026-11-11) +- **站内支付页 `/buy`(本次核心)**:新增独立支付页——自动读取本机机器码,直接列出本项目可购套餐(名称/价格/时长)、支持支付宝 / 微信支付 / QQ 钱包三种方式、优惠码选填;点击「立即支付」拉起收银台(新标签打开,本页留守轮询),**支付成功当场显示卡密**并自动核验授权,13 个高级功能立即解锁,全程无需人工发货、无需跳出本站 +- **购买入口全部改指 `/buy`**:顶栏浮条「永久解锁 13 个功能」、试用用尽锁定弹窗的「购买授权」、授权应用页的「💳 前往购买卡密」,三处统一跳转站内支付页(原先跳外部 `auth.88531.cn/#/shop`);页面未登录即可访问,支付状态本机留存,刷新/误关后自动恢复轮询 +- **CardAuth 后端补发卡**:订单支付完成时同步签发一张卡密并写回订单(原先「带机器码下单」只创建授权、不发卡,导致订单查不到卡密、支付结果页无卡可显示);优先取卡池未用卡,卡池不足自动新建,并绑定下单机器码 + ## Version 2026.11.01-it-tools-pro ### 📦 本次更新(2026-11-01) diff --git a/components.d.ts b/components.d.ts index ddd158e..14cc680 100644 --- a/components.d.ts +++ b/components.d.ts @@ -29,6 +29,7 @@ declare module '@vue/runtime-core' { Bcrypt: typeof import('./src/tools/bcrypt/bcrypt.vue')['default'] BenchmarkBuilder: typeof import('./src/tools/benchmark-builder/benchmark-builder.vue')['default'] Bip39Generator: typeof import('./src/tools/bip39-generator/bip39-generator.vue')['default'] + 'Buy.page': typeof import('./src/pages/Buy.page.vue')['default'] CAlert: typeof import('./src/ui/c-alert/c-alert.vue')['default'] 'CAlert.demo': typeof import('./src/ui/c-alert/c-alert.demo.vue')['default'] CameraRecorder: typeof import('./src/tools/camera-recorder/camera-recorder.vue')['default'] diff --git a/src/pages/Buy.page.vue b/src/pages/Buy.page.vue new file mode 100644 index 0000000..979bc6b --- /dev/null +++ b/src/pages/Buy.page.vue @@ -0,0 +1,702 @@ + + + + + diff --git a/src/pages/Pricing.page.vue b/src/pages/Pricing.page.vue index d2ff68b..8696ac6 100644 --- a/src/pages/Pricing.page.vue +++ b/src/pages/Pricing.page.vue @@ -1,9 +1,16 @@