全局变更背景色
parent
db5162daad
commit
1ce534d349
|
|
@ -77,9 +77,5 @@ layui.define(["jquery","layer"], function (exports) {
|
|||
$("#pearadmin-bg-color").html(style);
|
||||
}
|
||||
|
||||
theme.changeAll = function () {
|
||||
console.log("change theme123");
|
||||
}
|
||||
|
||||
exports(MOD_NAME, theme);
|
||||
});
|
||||
|
|
@ -46,4 +46,5 @@ layui.config({
|
|||
theme: "theme" // 主题转换
|
||||
}).use(['layer', 'theme'], function () {
|
||||
var pearTheme = layui.theme;
|
||||
pearTheme.changeTheme(window, false);
|
||||
});
|
||||
|
|
@ -46,5 +46,5 @@ layui.config({
|
|||
theme: "theme" // 主题转换
|
||||
}).use(['layer', 'theme'], function () {
|
||||
var pearTheme = layui.theme;
|
||||
pearTheme.changeAll();
|
||||
pearTheme.changeTheme(window, false);
|
||||
});
|
||||
|
|
@ -8,6 +8,8 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link rel="stylesheet" href="../../component/pear/css/pear.css" />
|
||||
<link rel="stylesheet" href="../../admin/css/other/console1.css" />
|
||||
<!-- 主 题 更 换 -->
|
||||
<style id="pearadmin-bg-color"></style>
|
||||
</head>
|
||||
<body class="pear-container">
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue