From b9b38aee8739585bab937cf38619cafa4d1ed40d Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 13 Aug 2020 00:30:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BD=91=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Common.php | 2 +- view/index/common/_right.html | 2 +- view/index/index/index.html | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/index/controller/Common.php b/app/index/controller/Common.php index eb54df9..7d2a544 100644 --- a/app/index/controller/Common.php +++ b/app/index/controller/Common.php @@ -25,7 +25,7 @@ class Common extends BaseController $list_category_first_level = Category::where('level', 1)->where('status', 1)->where('type',3)->select(); View::assign('list_category_first_level', $list_category_first_level); - $list_nav_more = Nav::where('type', 8)->order('sort asc')->where('status', 1)->where('type',11)->select(); + $list_nav_more = Nav::where('type', 8)->order('sort asc')->where('status', 1)->select(); View::assign('list_nav_more', $list_nav_more); $top_posts = Post::where('is_top',1)->limit(8)->where('type',3)->select(); diff --git a/view/index/common/_right.html b/view/index/common/_right.html index 42b4249..46919f8 100644 --- a/view/index/common/_right.html +++ b/view/index/common/_right.html @@ -72,7 +72,7 @@

{:get_system_config('site_copyright')}

-

举报邮箱:{:get_system_config('stie_contact_email')}

+

举报/反馈/投稿邮箱:{:get_system_config('stie_contact_email')}

{:get_system_config('site_beian')}

{notempty name=':get_system_config("site_safe_beian")'} diff --git a/view/index/index/index.html b/view/index/index/index.html index 838b5bf..3a13a27 100644 --- a/view/index/index/index.html +++ b/view/index/index/index.html @@ -16,6 +16,7 @@
{eq name='$Request.param.category_id|default="0"' value='0'} + {if count($list_nav_slide) > 0 }
+ {/if} {/eq} {notempty name='$sub_category'} @@ -48,7 +50,7 @@ {/volist} {/notempty} - +
{volist name='list_post' id='post'}