修改河南项目的管理后台ui和删除之前不需要的游戏

This commit is contained in:
2026-09-22 14:57:09 +08:00
parent 8f8d2e042c
commit e61399ecd6
106 changed files with 1202 additions and 4100 deletions
+10 -9
View File
@@ -1,16 +1,22 @@
<template>
<div id="app">
<router-view />
<theme-picker />
</div>
</template>
<script>
import ThemePicker from "@/components/ThemePicker";
/**
* 说明:这里曾经挂着一个隐藏的 <theme-picker />(用 #app .theme-picker{display:none} 藏起来)。
* 它虽然不可见,组件照样会 mount,ThemePicker.created() 里只要 localStorage 的 theme 不等于
* ThemePicker 自己那个 ORIGINAL_THEME 常量,就会:
* 1) XHR 去 https://unpkg.com/element-ui@<version>/lib/theme-chalk/index.css 拉整包默认主题(外网依赖)
* 2) 把拉回来的 CSS 注入成 <style id="chalk-style"> 追加到 head 末尾
* 3) 用正则把页面上所有含旧色的 <style> 标签逐个做字符串替换
* 第 2 步注入的默认主题与本项目皮肤层 skin.scss 同权重但更靠后,会把圆角/配色改回企业蓝方角,
* 导致换肤被部分覆盖。故移除。如需恢复主题色选择器,请连带处理上述覆盖问题。
*/
export default {
name: "App",
components: { ThemePicker },
metaInfo() {
return {
title:
@@ -25,8 +31,3 @@ export default {
}
};
</script>
<style scoped lang="scss">
#app .theme-picker {
display: none;
}
</style>