- 研究生教育是学生本科毕业之后继续进行深造和学习的一种教育形式,又可分为硕士研究生教育和博士研究生教育。考生参加国家统一组织的硕士生入学考试(含应届本科毕业生的推荐免试和部分高等学校经教育部批准自行组织的单独入学考试),被录取后,并在毕业时,若课程学习和论文答辩均符合学位条例的规定,可获硕士生毕业证书和硕士学位证书。研究生学历教育分为普通研究生(双证,包含全日制研究生及非全日制研究生)、传统在职研究生(单证在职)。研究生学历教育的招生工作由教育部高校学生司负责
+
{{ getOneCategory(54,'title') }}
+ @if(getOneCategory(54,'article'))
+
+
+ {{ getOneCategory(54,'article')->title }}
+ / Introduction to graduate education
+
+ {{ getOneCategory(54,'article')->description }}
+
+
更多>>
+
-
更多>>
-
-
硕士导师简介
-
-
-
-
-
+
{{ getOneCategory(53,'title') }}
+ @if(getOneCategory(54,'article'))
+
-
-
-
-
-
硕士导师简介
Introduction to master tutor
+
+
+
+
+ {{ getOneCategory(54,'article')->title }}
+ Introduction to master tutor
+
+
+
+ {{ getOneCategory(54,'article')->description }}
+
+
更多>>
-
- 硕士生导师,也叫硕士研究生导师,是指硕士研究生、硕士生的指导教师,属于研究生导师、研究生指导教师,包括学术学位硕士生导师、专业学位硕士生导师。硕士生导师应是本学科学术造诣较深的教授或相当专业技术职务的教学,科研人员,其学术水平在某些方面接近或达到国内或国际先进水平。有培养本科生经验,至少培养过两届本科生。能坚持正常工作,担负实际指导硕士生的责任。有课程教学经历,承担过或正在承担一定工作量的本科生课程。
-
-
更多>>
-
+ @endif
diff --git a/resources/views/index/search.blade.php b/resources/views/index/search.blade.php
new file mode 100644
index 0000000..95d49fa
--- /dev/null
+++ b/resources/views/index/search.blade.php
@@ -0,0 +1,45 @@
+@extends('layouts.app')
+
+@section('title', '首页')
+
+@section('content')
+
+
+ @include('category.navigation')
+
+
+
+
+ @if ($articles->isNotEmpty())
+
+
+
+ @if ($articles->isNotEmpty())
+ {{ $articles->links('layouts.pagination') }}
+ @endif
+
+
+ @else
+
+
+
+
抱歉,暂无内容
+
+
+ @endif
+
+
+
+
+@endsection
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index 2661b39..9079be9 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -12,6 +12,7 @@
+
@include('layouts.header')
@section('content')
diff --git a/resources/views/layouts/header.blade.php b/resources/views/layouts/header.blade.php
index 314c7d5..835379a 100644
--- a/resources/views/layouts/header.blade.php
+++ b/resources/views/layouts/header.blade.php
@@ -1,3 +1,10 @@
+
+
+
+
+
+
+
@@ -19,11 +26,15 @@
-
-
-
-
+
+
@@ -49,8 +60,8 @@
}
@endphp
@foreach ($all_categorys as $cate)
-
id,$top_ids)) class="active" @endif>
- {{ $cate->title }}
+ id,$top_ids)) class="active" @endif data-href="{{ $cate->link }}">
+ {{ $cate->title }}
@endforeach
diff --git a/routes/web.php b/routes/web.php
index d471365..f3f4d67 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -11,10 +11,11 @@
|
*/
Route::get('/', 'IndexController@index')->name('index.index');
+Route::get('search', 'IndexController@search')->name('index.search');
+
Route::get('articles/{article}', 'ArticleController@show')->name('article.show');
Route::get('category/{category}', 'CategoryController@index')->name('category.show');
-
//以下为导入数据
Route::get('test/set_article_category', 'TestController@set_article_category');
Route::get('test/set_category', 'TestController@set_category');