修改模板

This commit is contained in:
Anyon 2022-01-21 16:51:39 +08:00
parent c3f62db5d7
commit c95890a4fa
5 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ class Index extends Controller
$this->title = '系统管理后台';
$this->super = AdminService::instance()->isSuper();
$this->theme = AdminService::instance()->getUserTheme();
$this->fetch('layout');
$this->fetch();
}
}

View File

@ -25,11 +25,11 @@
<div class="layui-layout layui-layout-admin layui-layout-left-hide layui-layout-theme-{$theme|default=''}">
<!-- 顶部菜单 开始 -->
{include file='index/layout-top'}
{include file='index/index-top'}
<!-- 顶部菜单 结束 -->
<!-- 左则菜单 开始 -->
{include file="index/layout-left"}
{include file="index/index-left"}
<!-- 左则菜单 结束 -->
<!-- 主体内容 开始 -->

View File

@ -3,7 +3,7 @@
<div class="layui-form-item margin-bottom-5 label-required-prev">
<div class="help-label"><b>后台配色方案</b>Theme Style</div>
<div class="layui-textarea" style="min-height:unset">
<div class="layui-textarea think-bg-gray" style="min-height:unset">
{foreach $themes as $k=>$v}
<label class="think-radio">
{if isset($theme) and $theme eq $k}