From c95890a4fabf53e83b3a1f6fb9bc8ca36154d1be Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 21 Jan 2022 16:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Index.php | 2 +- app/admin/view/index/{layout-left.html => index-left.html} | 0 app/admin/view/index/{layout-top.html => index-top.html} | 0 app/admin/view/index/{layout.html => index.html} | 4 ++-- app/admin/view/index/theme.html | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename app/admin/view/index/{layout-left.html => index-left.html} (100%) rename app/admin/view/index/{layout-top.html => index-top.html} (100%) rename app/admin/view/index/{layout.html => index.html} (96%) diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index 9c4aabc90..581b6481d 100644 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -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(); } } diff --git a/app/admin/view/index/layout-left.html b/app/admin/view/index/index-left.html similarity index 100% rename from app/admin/view/index/layout-left.html rename to app/admin/view/index/index-left.html diff --git a/app/admin/view/index/layout-top.html b/app/admin/view/index/index-top.html similarity index 100% rename from app/admin/view/index/layout-top.html rename to app/admin/view/index/index-top.html diff --git a/app/admin/view/index/layout.html b/app/admin/view/index/index.html similarity index 96% rename from app/admin/view/index/layout.html rename to app/admin/view/index/index.html index 128f5e997..5daeb3eb5 100644 --- a/app/admin/view/index/layout.html +++ b/app/admin/view/index/index.html @@ -25,11 +25,11 @@
- {include file='index/layout-top'} + {include file='index/index-top'} - {include file="index/layout-left"} + {include file="index/index-left"} diff --git a/app/admin/view/index/theme.html b/app/admin/view/index/theme.html index 3c9037800..b86778fab 100644 --- a/app/admin/view/index/theme.html +++ b/app/admin/view/index/theme.html @@ -3,7 +3,7 @@
后台配色方案Theme Style
-
+
{foreach $themes as $k=>$v}