调整名称
This commit is contained in:
@@ -18,7 +18,7 @@ class CategoryController extends Controller
|
|||||||
if ($category->type == Category::TYPE_SHOW && $category->article_id) {
|
if ($category->type == Category::TYPE_SHOW && $category->article_id) {
|
||||||
return redirect("articles/" . $category->article_id);
|
return redirect("articles/" . $category->article_id);
|
||||||
} else {
|
} else {
|
||||||
$articles = $category->relations(Category::TYPE_ARTICLE)->paginate(8);
|
$articles = $category->relations(Category::TYPE_ARTICLE)->paginate();
|
||||||
$parent = $category;
|
$parent = $category;
|
||||||
|
|
||||||
if ($category->childrens->isEmpty() && $category->parent) {
|
if ($category->childrens->isEmpty() && $category->parent) {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
<footer class="idxFooter">
|
<footer class="idxFooter">
|
||||||
<div class="contant">
|
<div class="contant">
|
||||||
<div class="idxFooter-text">
|
<div class="idxFooter-text">
|
||||||
<span>版权所有:黑龙江省科学院自动化研究所</span>
|
<span>版权所有:黑龙江省科学院能源环境研究院</span>
|
||||||
<span>黑ICP备11004102号</span>
|
<span>黑ICP备11004102号</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="idxFooter-img">
|
<div class="idxFooter-img">
|
||||||
|
|||||||
Reference in New Issue
Block a user