Migrate old admin modules and local crud deps

Port pages for data forms, score admin, student maintenance,
vacation records, menu routing, and workbench. Add team switching,
dynamic menu loading, viewport scaling, and bundled local fast-crud
packages.
This commit is contained in:
2026-11-02 12:21:25 +08:00
parent 47dd605067
commit 792131228a
232 changed files with 60676 additions and 604 deletions
+22
View File
@@ -0,0 +1,22 @@
// 参考 F:\vue3\br_video\video_web\postcss.config.cjs
// 把源码里的 px 按 1920 设计稿换算成 vw,实现整体等比缩放(等价于老平台的 postcss-pxtorem + rem 方案)
import pxToViewport from "postcss-px-to-viewport-8-plugin"
export default {
plugins: [
pxToViewport({
unitToConvert: "px",
viewportWidth: 1920,
unitPrecision: 6,
propList: ["*"],
viewportUnit: "vw",
fontViewportUnit: "vw",
selectorBlackList: ["ignore-vw", "no-vw"],
minPixelValue: 1,
mediaQuery: false,
replace: true,
exclude: [/node_modules/],
landscape: false
})
]
}