mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
完善网站
This commit is contained in:
@@ -25,7 +25,7 @@ class Common extends BaseController
|
|||||||
|
|
||||||
$list_category_first_level = Category::where('level', 1)->where('status', 1)->where('type',3)->select();
|
$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);
|
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);
|
View::assign('list_nav_more', $list_nav_more);
|
||||||
|
|
||||||
$top_posts = Post::where('is_top',1)->limit(8)->where('type',3)->select();
|
$top_posts = Post::where('is_top',1)->limit(8)->where('type',3)->select();
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
<p>{:get_system_config('site_copyright')}</p>
|
<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>
|
<p> <a href="http://www.beian.miit.gov.cn/">{:get_system_config('site_beian')}</a> </p>
|
||||||
{notempty name=':get_system_config("site_safe_beian")'}
|
{notempty name=':get_system_config("site_safe_beian")'}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
<div class="main-container">
|
<div class="main-container">
|
||||||
|
|
||||||
{eq name='$Request.param.category_id|default="0"' value='0'}
|
{eq name='$Request.param.category_id|default="0"' value='0'}
|
||||||
|
{if count($list_nav_slide) > 0 }
|
||||||
|
|
||||||
<div style="">
|
<div style="">
|
||||||
<div class="layui-carousel" id="banner">
|
<div class="layui-carousel" id="banner">
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
{/eq}
|
{/eq}
|
||||||
|
|
||||||
{notempty name='$sub_category'}
|
{notempty name='$sub_category'}
|
||||||
|
|||||||
Reference in New Issue
Block a user