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
7a6218faf4755555093cb9483ed92c0472fabd19
go-sms-V2
/
web-next
T
History
Tory
7a6218faf4
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
web-next: 域名通道 allowedHosts 登记(sms.unimsc.com/sms.i7l.cn)——nginx(192.168.5.20) 443 根路径反代→5174 的 Host 头放行(vite5.4+ DNS-rebinding 防护默认仅 localhost/内网 IP,口径同 web/vite.config.ts
d8a77f12
);HMR 不设 clientPort 同源端口直连(教训留痕:clientPort:443 曾致内网直连 HMR 失败循环刷新,域名通道 wss 待 nginx 上线再评估)
2026-11-18 10:58:32 +08:00
..
src
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
.env.development
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
.env.production
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
.gitignore
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
index.html
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
package-lock.json
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
package.json
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
postcss.config.js
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
tailwind.config.js
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
tsconfig.json
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
tsconfig.node.json
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.config.ts
web-next: 域名通道 allowedHosts 登记(sms.unimsc.com/sms.i7l.cn)——nginx(192.168.5.20) 443 根路径反代→5174 的 Host 头放行(vite5.4+ DNS-rebinding 防护默认仅 localhost/内网 IP,口径同 web/vite.config.ts
d8a77f12
);HMR 不设 clientPort 同源端口直连(教训留痕:clientPort:443 曾致内网直连 HMR 失败循环刷新,域名通道 wss 待 nginx 上线再评估)
2026-11-18 10:58:32 +08:00