This website requires JavaScript.
Explore
Help
Register
Sign In
Tory
/
go-sms-V2
Watch
1
Star
0
Fork
0
Code
Issues
6
Pull Requests
Actions
3
Packages
Projects
Releases
Wiki
Activity
Files
main
go-sms-V2
/
web-next
/
src
T
Add File
New File
Upload File
Apply Patch
Copy Permalink
Download directory as ZIP
Download directory as TAR.GZ
Delete Directory
History
Tory
66869c69cb
ci / test (push)
Waiting to run
Details
ci / build (push)
Blocked by required conditions
Details
ci / web-test (push)
Waiting to run
Details
ci / deploy-dev (push)
Blocked by required conditions
Details
Issue#6·B3: 发布日志页移植 web-next(:5174)——蓝本=旧 web ReleaseLog 契约直译:①views/system/ReleaseLog.vue 新增(hero 概览卡 v1.5.0 mono+日期+共 6 版+红点提示;时间线卡片=mono 版本号 primary/tag 徽章族[新功能=badge-primary·优化=warning·修复=success]/日期/「当前版本」角标;renderMarkdown 静态预渲染 v-html;defineOptions name=system-release 守 keep-alive;进页 onMounted markSeen 红点灭;无 h2.page-title[B3 规范];markdown 深层样式 :deep+html.dark 组合选择器,h3/strong 继承正文色零硬编码);②routes L82 component ComingSoon→ReleaseLog(meta 全角色/i-clock/系统管理组不变,菜单数据驱动自动出现);③门禁=vue-tsc 0/build ✓(ReleaseLog gzip 1.75kB)/Chrome 冒烟 13/13(s2demo:首访红点亮→菜单点击→URL/页题/无h2/hero 四要素/卡片6张/Markdown h3=6·li=18/tag徽章/当前版本角标/进页即灭 localStorage=1.5.0/dark computed 复核 strong+marker+版本号色);截图 /tmp/b3-release-{light,dark}.png;验收单 issue6-b3-release-log.md+CHANGELOG+memory-bank 回填;同日 git 对齐 gitea(31 提交入库,web-next 目录上远端)
2026-11-18 11:09:44 +08:00
..
api
Issue#6·B2: 三契约页 1:1 实装(v3-2-tailwind.html 逐行直抄,真实数据)—— ①#p-dash 运营总览(895-1005):状态横幅(五子系统 badge+summary 指标串)+stat 双行 6+4 卡+chart.js 发送趋势(teal/sky 双线渐变填充,近7/30 切换)+业务分布动态 donut(SVG dasharray)+通道实时监控表(monitor 快照 5s 轮询,负载条/失败率/P50)+系统健康(overview 10s 轮询,up/degraded/down 三态 badge)+最近动态(诚实空态)+快捷操作 4+通道配置快照;缺数据项显式 —(今日收入/TPM);②#p-acct 帐号管理(1006-1034):单卡一体筛选区(input!w-56+双 select+搜索/重置+已选N)+8 列原生 table(彩色首字圆徽轮转/角色 badge/余额右对齐/停用灰)+分页条(共N条+页码窗口),/accounts 真实分页;③#p-chan 通道编辑(1035-1059):双卡表单(基本参数 6 字段必填 4*+吞吐风控 5 字段+启用 switch)+操作条(探测期提示/取消/保存),协议键↔protocol+version 映射,编辑回填 host:port 合并;④api 层补 P2 三端点封装(statsApi.biz/realtime+systemApi.overview+channelApi.monitor+三类型);⑤后端根修:stats_handler.go 两处 AS key 撞 MySQL 8.0 保留字致 /stats/biz 500(反引号转义,P2 遗留 bug B2 首次消费暴露);⑥验收:vue-tsc 0/build ✓(dash 懒加载 chunk gzip 65KB)/Chrome 冒烟 12/12(横幅真实判定/健康 5 徽章/acct 真实账号 3 行/chan 双卡)/stat-card computed style 双会话对拍一致(radius16/pad20/flex/gap16/shadow 同 17890);网关重建重启(11-16 旧二进制→含 P2 端点)
2026-11-18 10:58:18 +08:00
components
Issue#6·B3: Select 自绘下拉组件落地(sub2api common/Select.vue 契约直译)——Teleport 面板+首项搜索输入(searchable auto>5)+键盘 ↑↓/Enter/Esc/Tab+clearable ×+上下自适应+scroll/resize 跟随+instanceId 点击外闭;trigger r12·px-4·py-2.5,选中=primary-50 底+primary-700 字,hover/focused 中性,亮白/dark slate-800 全跟随。适配裁剪留痕:去 vue-i18n(中文硬编码)/Icon 组件→内联 lucide svg/裁 creatable+remote 远程搜索(本工程无场景);clearSelection 回空串(对齐原生筛选值域)。替换 3 页 7 处原生 select:账号(状态2+角色6含全部→auto 搜索)/通道(协议4+状态2)/下行明细(状态6 auto+通道动态+运营商3)。语义修正:selectedLabel 空值恒显 placeholder(数组含全部项时与原生一致)。验收:vue-tsc 0+build ✓(gzip 72.8KB)+Chrome 双主题 13 项断言全 PASS(auto 正反例:角色6出搜索/状态2不出;键盘搜索 adm→admin;选中 teal 底;dark slate-800);此后新页下拉直接复用本组件,剩 28 页逐页指令制交付
2026-11-18 10:58:18 +08:00
data
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
layouts
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
router
Issue#6·B3: 发布日志页移植 web-next(:5174)——蓝本=旧 web ReleaseLog 契约直译:①views/system/ReleaseLog.vue 新增(hero 概览卡 v1.5.0 mono+日期+共 6 版+红点提示;时间线卡片=mono 版本号 primary/tag 徽章族[新功能=badge-primary·优化=warning·修复=success]/日期/「当前版本」角标;renderMarkdown 静态预渲染 v-html;defineOptions name=system-release 守 keep-alive;进页 onMounted markSeen 红点灭;无 h2.page-title[B3 规范];markdown 深层样式 :deep+html.dark 组合选择器,h3/strong 继承正文色零硬编码);②routes L82 component ComingSoon→ReleaseLog(meta 全角色/i-clock/系统管理组不变,菜单数据驱动自动出现);③门禁=vue-tsc 0/build ✓(ReleaseLog gzip 1.75kB)/Chrome 冒烟 13/13(s2demo:首访红点亮→菜单点击→URL/页题/无h2/hero 四要素/卡片6张/Markdown h3=6·li=18/tag徽章/当前版本角标/进页即灭 localStorage=1.5.0/dark computed 复核 strong+marker+版本号色);截图 /tmp/b3-release-{light,dark}.png;验收单 issue6-b3-release-log.md+CHANGELOG+memory-bank 回填;同日 git 对齐 gitea(31 提交入库,web-next 目录上远端)
2026-11-18 11:09:44 +08:00
stores
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
styles
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
utils
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
views
Issue#6·B3: 发布日志页移植 web-next(:5174)——蓝本=旧 web ReleaseLog 契约直译:①views/system/ReleaseLog.vue 新增(hero 概览卡 v1.5.0 mono+日期+共 6 版+红点提示;时间线卡片=mono 版本号 primary/tag 徽章族[新功能=badge-primary·优化=warning·修复=success]/日期/「当前版本」角标;renderMarkdown 静态预渲染 v-html;defineOptions name=system-release 守 keep-alive;进页 onMounted markSeen 红点灭;无 h2.page-title[B3 规范];markdown 深层样式 :deep+html.dark 组合选择器,h3/strong 继承正文色零硬编码);②routes L82 component ComingSoon→ReleaseLog(meta 全角色/i-clock/系统管理组不变,菜单数据驱动自动出现);③门禁=vue-tsc 0/build ✓(ReleaseLog gzip 1.75kB)/Chrome 冒烟 13/13(s2demo:首访红点亮→菜单点击→URL/页题/无h2/hero 四要素/卡片6张/Markdown h3=6·li=18/tag徽章/当前版本角标/进页即灭 localStorage=1.5.0/dark computed 复核 strong+marker+版本号色);截图 /tmp/b3-release-{light,dark}.png;验收单 issue6-b3-release-log.md+CHANGELOG+memory-bank 回填;同日 git 对齐 gitea(31 提交入库,web-next 目录上远端)
2026-11-18 11:09:44 +08:00
App.vue
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
main.ts
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
vite-env.d.ts
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00