完善网站

This commit is contained in:
augushong
2020-08-13 00:30:52 +08:00
parent 8ad99af41f
commit b9b38aee87
3 changed files with 5 additions and 3 deletions

View File

@@ -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();

View File

@@ -72,7 +72,7 @@
<p>{:get_system_config('site_copyright')}</p>
<p>举报邮箱:{:get_system_config('stie_contact_email')}</p>
<p>举报/反馈/投稿邮箱:{:get_system_config('stie_contact_email')}</p>
<p> <a href="http://www.beian.miit.gov.cn/">{:get_system_config('site_beian')}</a> </p>
{notempty name=':get_system_config("site_safe_beian")'}

View File

@@ -16,6 +16,7 @@
<div class="main-container">
{eq name='$Request.param.category_id|default="0"' value='0'}
{if count($list_nav_slide) > 0 }
<div style="">
<div class="layui-carousel" id="banner">
@@ -34,6 +35,7 @@
</div>
</div>
</div>
{/if}
{/eq}
{notempty name='$sub_category'}
@@ -48,7 +50,7 @@
{/volist}
</div>
{/notempty}
<div class="post-container">
<div class="post-list">
{volist name='list_post' id='post'}