weitiao
This commit is contained in:
@@ -82,7 +82,7 @@ class IndexController extends AdminController
|
||||
'off' => ['value' => 0, 'text' => '关闭', 'color' => 'danger'],
|
||||
];
|
||||
$form->datetime('created_at', '发布时间');
|
||||
$form->switch('status', '状态')->states($states);
|
||||
$form->switch('status', '状态')->default(1)->states($states);
|
||||
$form->url('url', '外链地址');
|
||||
|
||||
return $form;
|
||||
|
||||
@@ -26,9 +26,10 @@ class Controller extends BaseController
|
||||
->get();
|
||||
|
||||
$links = Link::get();
|
||||
|
||||
$gLxwmCate = Category::find(10);
|
||||
View::share('all_categorys', $categorys);
|
||||
View::share('links', $links);
|
||||
View::share('gLxwmCate', $gLxwmCate);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</ul>
|
||||
<div class="footerCont">
|
||||
<div class="footerCont-text">
|
||||
<div class="footerCont-label"><span>版权所有:黑龙江省科学院能源环境研究院</span><span>{{ config('beian') }}</span></div>
|
||||
<div class="footerCont-label"><span>版权所有:{{ config('siteName') }}</span><span>{{ config('beian') }}</span></div>
|
||||
<div class="footerCont-label">
|
||||
<span>邮箱:{{ config('email') }}</span><span>电话:{{ config('mobile') }}</span>
|
||||
</div>
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
<div class="col-md-12">
|
||||
<div class="top">
|
||||
<a href="https://www.has.ac.cn/">黑龙江省科学院</a>|
|
||||
<a href="#">English</a>|
|
||||
<a href="联系我们.html">联系我们</a>|
|
||||
<a href="{{ $gLxwmCate->link }}">联系我们</a>|
|
||||
<a href="#">网站地图</a>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
|
||||
Reference in New Issue
Block a user