Update: (步骤备份)更新 Pear Admin 框架版本与 Pear Admin Layui 一致,尝试重写页面

This commit is contained in:
wojiaoyishang
2025-01-19 20:03:18 +08:00
parent 43370ad078
commit d4a1b0ec57
63 changed files with 105722 additions and 2633 deletions
+8 -1
View File
@@ -1,2 +1,9 @@
<script>
const variableKey = "--global-primary-color";
const variableVal = localStorage.getItem("theme-color-color");
document.documentElement.style.setProperty(variableKey, variableVal);
</script>
<script src="{{ url_for('static', filename='system/component/layui/layui.js') }}"></script>
<script src="{{ url_for('static', filename='system/component/pear/pear.js') }}"></script>
<script src="{{ url_for('static', filename='system/component/pear/pear.js') }}"></script>
+9 -1
View File
@@ -2,4 +2,12 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="{{ url_for('static', filename='system/component/pear/css/pear.css') }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='system/component/pear/css/pear.css') }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='system/admin/css/variables.css') }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='system/admin/css/reset.css') }}"/>
<style>
.layui-form-checked:hover > div {
background-color: unset;
}
</style>