diff --git a/app/Helpers/function.php b/app/Helpers/function.php
index fb215d5..d5fa961 100644
--- a/app/Helpers/function.php
+++ b/app/Helpers/function.php
@@ -205,3 +205,22 @@ function dateLocalMonth($m): string
}
+/**
+ * Notes: 获取
+ *
+ * @Author: 玄尘
+ * @Date: 2021/12/8 10:31
+ * @param $article_id
+ */
+function getOneArticle($article_id, $key): string
+{
+ $info = Article::find($article_id);
+ if ($info) {
+ if ($key) {
+ return $info->{$key};
+ }
+ }
+
+ return '';
+}
+
diff --git a/config/article.php b/config/article.php
new file mode 100644
index 0000000..47a2257
--- /dev/null
+++ b/config/article.php
@@ -0,0 +1,8 @@
+ [
+ '118'
+ ]
+];
\ No newline at end of file
diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css
index 6884e34..f69cf8c 100644
--- a/public/assets/index/css/style.css
+++ b/public/assets/index/css/style.css
@@ -582,6 +582,16 @@ body {
/*首页-广告图片*/
.indexAdvert {
margin-bottom: 35px;
+ overflow: hidden;
+ cursor: pointer;
+}
+
+.indexAdvert img{
+ transition: .3s;
+}
+
+.indexAdvert:hover img {
+ transform:scale(1.05);
}
@@ -1308,16 +1318,32 @@ body {
color: #8b8b8b;
}
+.srRrendText {
+ display: flex;
+}
+
+.srRrends-list {
+ width: calc(100% - 240px);
+ margin-left: 20px;
+}
+
.srRrends-list li {
display: flex;
- margin-bottom: 30px;
+ padding-bottom: 10px;
+ margin-bottom: 20px;
+ border-bottom: 1px solid #ececec;
+}
+
+.srRrends-list li:last-child {
+ border-bottom: 0;
+ margin-bottom: 0;
+ padding-bottom: 0;
}
.srRrends-list-img {
- width: 260px;
- height: 195px;
+ width: 220px;
+ height: 155px;
position: relative;
- display: none;
}
.srRrends-list-cont {
@@ -1327,9 +1353,8 @@ body {
.srRrends-list-time {
width: 140px;
- text-align: center;
+ text-align: right;
font-size: 16px;
- font-weight: 600;
color: #353535;
}
@@ -1355,139 +1380,44 @@ body {
height: 45px;
}
-.srRrends-list li:first-child {
- background-color: #e9ebf2;
-}
-
-.srRrends-list li:first-child .srRrends-list-img {
- display: block;
-}
-
-.srRrends-list li:first-child .srRrends-list-cont {
- width: calc(100% - 260px);
- padding: 25px 20px 0 0;
+/*特色品牌建设*/
+.srBuildFrist-cont {
+ border: 1px solid #e5e5e5;
+ padding: 0 10px;
box-sizing: border-box;
-}
-
-.srRrends-list li:first-child .srRrends-list-tips {
- -webkit-line-clamp: 3;
- line-height: 26px;
- height: 80px;
-}
-
-
-.srRrends-list li:first-child .srRrends-list-name {
- -webkit-line-clamp: 2;
- height: 48px;
+ height: 70px;
+ line-height: 70px;
+ display: flex;
margin-bottom: 20px;
}
-.srRrends-list li:hover .srRrends-list-tips {
- color: #449942;
+.srBuildFrist {
+ padding: 0 10px !important;
}
-/*特色品牌建设*/
-.srBuildFrist-padding {
- padding-left: 10px;
- padding-right: 10px;
+.srBuildFrist:last-child .srBuildFrist-cont {
+ margin-bottom: 0;
}
-.srBuildFrist-back {
- position: relative;
- width: 100%;
- padding-top: calc(100% + 75px);
- background-repeat: no-repeat;
- background-position: center;
- background-size: cover;
+.srBuildFrist-icon {
+ margin-top: 20px;
+ width: 30px;
+ height: 30px;
+ border-radius: 50%;
+ border: 1px solid #CAB484;
+ padding: 2px;
+ box-sizing: border-box;
}
-.srBuildFrist-back::after,
-.srBuildOther-back::after {
- position: absolute;
- content: '';
- background-color: rgba(0, 0, 0, .4);
+.srBuildFrist-icon img {
width: 100%;
height: 100%;
- left: 0;
- top: 0;
-}
-
-.srBuildFrist-cont {
- position: absolute;
- bottom: 10px;
- padding: 15px;
- box-sizing: border-box;
- left: 10px;
- right: 10px;
- background-color: #cc0028;
- color: #fff;
- z-index: 2;
-}
-
-.srBuildFrist-text {
- font-size: 12px;
- height: 50px;
- -webkit-line-clamp: 3;
}
.srBuildFrist-name {
- margin: 10px 0;
+ margin-left: 10px;
font-size: 16px;
-}
-
-.srBuildOther-back {
- position: relative;
- width: 100%;
- padding-top: 60%;
- background-repeat: no-repeat;
- background-position: center;
- background-size: cover;
- margin-bottom: 20px;
-}
-
-.srBuildOther-back .srBuildContent-text {
- height: 40px;
-}
-
-.srBuildOther-logo {
- position: absolute;
- top: 10px;
- left: 10px;
- z-index: 2;
-}
-
-.srBuildOther-cont {
- padding: 0 10px;
- box-sizing: border-box;
- position: absolute;
- bottom: 15px;
- color: #fff;
- left: 10px;
- z-index: 2;
-}
-
-.srBuildOther-name {
- margin-bottom: 10px;
- font-size: 16px;
-}
-
-.srBuildOther-text {
- font-size: 12px;
- -webkit-line-clamp: 2;
- height: 34px;
-}
-
-.srBuildTab {
- text-align: right;
-}
-
-.srBuildTab li {
- display: inline-block;
- margin-left: 5px;
-}
-
-.srBuildTab li.active img {
- filter: grayscale(100) brightness(250%);
+ width: calc(100% - 40px)
}
/*科研成果*/
@@ -1616,6 +1546,27 @@ body {
line-height: 34px;
}
+.srCooperationNew {
+ margin-top: 20px;
+}
+
+.srCooperation-list {
+ margin-top: 20px;
+}
+
+.srCooperation-list li {
+ display: flex;
+ padding-bottom: 10px;
+ margin-bottom: 20px;
+ border-bottom: 1px solid #ececec;
+}
+
+.srCooperation-list li:last-child {
+ border-bottom: 0;
+ margin-bottom: 0;
+ padding-bottom: 0;
+}
+
.srCooperationNew-top {
text-align: center;
border-bottom: 1px solid #ededed;
@@ -1641,9 +1592,8 @@ body {
}
.srCooperationNew-img {
- margin: 0 20px;
- width: calc(100% - 40px);
- padding-top: 50%;
+ width: 100%;
+ padding-top: 60%;
position: relative;
}
@@ -1655,6 +1605,11 @@ body {
height: 50px;
}
+.srCooperationNew-right {
+ width: 100%;
+ margin-top: 20px;
+}
+
.srCooperationNew-right li {
margin-bottom: 30px;
position: relative;
@@ -1705,15 +1660,21 @@ body {
}
/*政府决策服务*/
+.srServe {
+ margin-bottom: 10px;
+}
+
.srServe-list {
position: relative;
- margin-bottom: 30px;
+ margin-bottom: 15px;
+ height: 60px;
}
.srServe-list-img {
position: relative;
- width: 60px;
- height: 60px;
+ width: 30px;
+ height: 28px;
+ margin-top: 6px;
}
.srServe-list-cont {
@@ -1722,7 +1683,7 @@ body {
left: 0;
top: 0;
width: 100%;
- padding-left: 75px;
+ padding-left: 50px;
box-sizing: border-box;
}
@@ -1731,9 +1692,9 @@ body {
content: '';
left: 0;
box-sizing: border-box;
- margin-left: 75px;
+ margin-left: 50px;
bottom: 0;
- width: calc(100% - 75px);
+ width: calc(100% - 50px);
height: 0;
border-bottom: 1px dashed #e5e5e5;
}
@@ -1770,6 +1731,10 @@ body {
font-size: 20px;
}
+.srSpread-video {
+ margin-bottom: 20px;
+}
+
.srSpread-video-title {
display: flex;
}
@@ -1785,14 +1750,25 @@ body {
.srSpread-video-cont-title {
font-size: 18px;
- margin: 20px 0 45px;
+ margin-top: 20px;
+}
+
+.srSpread-list li {
+ display: flex;
+ padding-bottom: 10px;
+ margin-bottom: 20px;
+ border-bottom: 1px solid #ececec;
+}
+
+.srSpread-list li:last-child {
+ border-bottom: none;
}
.srSpread-video-paly {
cursor: pointer;
position: relative;
width: 100%;
- padding-top: 80%;
+ padding-top: 70%;
}
.srSpread-video-paly video {
@@ -1812,7 +1788,7 @@ body {
.srSpread-video-cont,
.srSpread-atlas-list {
- padding: 20px;
+ padding: 20px 0;
box-sizing: border-box;
text-align: center;
}
@@ -1861,6 +1837,11 @@ body {
color: #fff;
}
+.srSpread-atlas .srRrendText {
+ padding: 20px;
+ box-sizing: border-box;
+}
+
/*
学科建设与人才队伍-样式
@@ -1879,6 +1860,10 @@ body {
margin-right: 10px;
}
+.ranksSubject {
+ margin-top: 20px;
+}
+
.ranks-left {
flex: 1
}
@@ -1953,7 +1938,7 @@ body {
}
.ranksSubject-list {
- padding: 0 15px 15px;
+ padding: 0 0 15px;
box-sizing: border-box;
background-color: #eef4ee;
cursor: pointer;
@@ -1961,7 +1946,6 @@ body {
.ranksSubject-list-name {
text-align: center;
- margin-bottom: 20px;
}
.ranksSubject-list-name span {
@@ -1971,6 +1955,7 @@ body {
line-height: 40px;
font-size: 17px;
padding: 0 15px;
+ width: 100%;
}
.ranksSubject-list-img {
@@ -2372,7 +2357,7 @@ body {
.terraceSave-left-name {
padding: 10px;
box-sizing: border-box;
- height: 62px;
+ height: 70px;
-webkit-line-clamp: 2;
margin-bottom: 5px;
font-size: 18px;
@@ -2390,7 +2375,7 @@ body {
font-size: 12px;
padding: 0 6px;
line-height: 20px;
- margin: 0 0 10px 10px;
+ margin: 10px 0 0 10px;
position: relative;
}
@@ -2420,8 +2405,8 @@ body {
.terraceFixed-left-name {
text-align: center;
- padding: 20px 20px 0;
- height: 72px;
+ padding: 20px;
+ height: 92px;
margin-bottom: 15px;
box-sizing: border-box;
-webkit-line-clamp: 2;
@@ -2511,7 +2496,7 @@ body {
text-indent: 2em;
color: #3e3e3e;
-webkit-line-clamp: 2;
- height: 44px;
+ height: 40px;
}
/*精神文明建设*/
@@ -2974,14 +2959,14 @@ body {
}
.no-searchCont {
- padding: 120px 0;
+ padding: 50px 0;
text-align: center;
font-size: 22px;
color: #999;
}
.no-searchCont img {
- width: 200px;
+ width: 140px;
display: block;
margin: 0 auto 20px;
}
@@ -2993,7 +2978,7 @@ body {
.videoImg-icon{position: absolute; width: 45px; height: 45px; border-radius: 50%; background: rgba(0,0,0,.6); left: calc(50% - 22px); top: calc(50% - 22px); text-align: center; line-height: 50px; color: #fff;}
.videoImg-icon>span{font-size: 20px;}
.videoText{padding: 15px; box-sizing: border-box;}
-.videoText>p{font-size: 18px;}
+.videoText>p{font-size: 18px;-webkit-line-clamp: 2; margin-bottom: 0}
.videoText-tips{display: flex; color: #999;}
.videoList:hover {color: #449942}
diff --git a/resources/views/category/djwh.blade.php b/resources/views/category/djwh.blade.php
index 7487a92..eb9cbf3 100644
--- a/resources/views/category/djwh.blade.php
+++ b/resources/views/category/djwh.blade.php
@@ -1,135 +1,194 @@
-@extends('layouts.app')
-
-@section('title', $parent->title)
-
-@section('content')
-
- @include('category.navigation')
-
-
-
-
-
- @include('category.left')
-
-
-
-
-
-
-
{{ getOneCategory(60,'title') }}
-
更多>>
-
-
- @if (getArticlesBYCate(60,3)->isNotEmpty())
- @foreach (getArticlesBYCate(60,3) as $info)
-
-
-
-
-
-
-
-
{{ $info->title }}
-
{{ $info->created_at->toDateString() }}
-
- {{ $info->description }}
-
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
{{ getOneCategory(61,'title') }}
-
更多>>
-
-
- @if (getArticlesBYCate(61,3)->isNotEmpty())
- @foreach (getArticlesBYCate(61,3) as $info)
- @if($loop->iteration==1)
-
-
-
-
-
-
-
-
- {{ dateLocalMonth($info->created_at->format('m')) }}
- {{ $info->created_at->format('d') }}
-
-
{{ $info->title }}
-
- {{ $info->description }}
-
-
-
-
- @endif
-
- @endforeach
- @endif
-
-
- @if (getArticlesBYCate(61,3)->isNotEmpty())
- @foreach (getArticlesBYCate(61,3) as $info)
- @if($loop->iteration>1)
-
-
- {{ dateLocalMonth($info->created_at->format('m')) }}
- {{ $info->created_at->format('d') }}
-
-
- {{ $info->title }}
-
-
- @endif
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-
{{ getOneCategory(62,'title') }}
-
更多>>
-
-
-
-
-
-
- {{ getOneCategory(62,'title') }}
-
-
-
-
-
-
-
-
-
-
-@endsection
-
+@extends('layouts.app')
+
+@section('title', $parent->title)
+
+@section('content')
+
+ @include('category.navigation')
+
+
+
+
+
+ @include('category.left')
+
+
+
+
+
+
+
{{ getOneCategory(60,'title') }}
+
更多>>
+
+
+ @if (getArticlesBYCate(60,1)->isNotEmpty())
+ @foreach (getArticlesBYCate(60,1) as $info)
+
+
+
+
+ @endforeach
+ @endif
+
+ @if (getArticlesBYCate(60,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(60,3) as $info)
+ -
+
+
+
+
+ {{ $info->title }}
+
+
+
+
+ {{ $info->created_at->format('Y年m月d') }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+
{{ getOneCategory(61,'title') }}
+
更多>>
+
+
+
+ @if (getArticlesBYCate(61,1)->isNotEmpty())
+ @foreach (getArticlesBYCate(61,1) as $info)
+
+
+
+
+ @endforeach
+ @endif
+
+ @if (getArticlesBYCate(61,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(61,3) as $info)
+ -
+
+
+
+
+ {{ $info->title }}
+
+
+
+
+ {{ $info->created_at->format('Y年m月d') }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+
{{ getOneCategory(62,'title') }}
+
更多>>
+
+
+
+
+
+
+ {{ getOneCategory(62,'title') }}
+
+
+
+
+
+
+
+
+
+
+@endsection
+
diff --git a/resources/views/category/kjpt.blade.php b/resources/views/category/kjpt.blade.php
index 1ef5802..37bc2ad 100644
--- a/resources/views/category/kjpt.blade.php
+++ b/resources/views/category/kjpt.blade.php
@@ -1,210 +1,209 @@
-@extends('layouts.app')
-
-@section('title', $parent->title)
-
-@section('content')
-
- @include('category.navigation')
-
-
-
-
-
- @include('category.left')
-
-
-
-
-
-
-
- {{ getOneCategory(55,'title') }}
-
-
-
-
-
- @if (getArticlesBYCate(55,5)->isNotEmpty())
- @foreach (getArticlesBYCate(55,5) as $info)
- @if($loop->iteration<5)
-
-
-
- {{ $info->title }}
-
-
-
-
-
-
-
- @endif
- @endforeach
- @endif
-
-
- @if (getArticlesBYCate(55,5)->isNotEmpty())
- @foreach (getArticlesBYCate(55,5) as $info)
- @if($loop->iteration>4)
-
-
-
- {{ $info->title }}
-
-
-
-
-
-
-
- @endif
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
- {{ getOneCategory(56,'title') }}
-
-
-
- @if (getArticlesBYCate(56,3)->isNotEmpty())
- @foreach (getArticlesBYCate(56,3) as $info)
- @if($loop->iteration==1)
-
-
-
-
-
-
-
-
- {{ $info->title }}
-
-
-
-
- @endif
- @endforeach
- @endif
-
-
-
- @if (getArticlesBYCate(56,3)->isNotEmpty())
- @foreach (getArticlesBYCate(56,3) as $info)
- @if($loop->iteration>1)
- -
-
-
-
-
-
-
- {{ $info->title }}
-
-
-
- @endif
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-
- {{ getOneCategory(57,'title') }}
-
-
-
- @if (getArticlesBYCate(57,6)->isNotEmpty())
- @foreach (getArticlesBYCate(57,6) as $info)
-
-
-
- {{ $info->title }}
-
-
- 省级
-
-
-
-
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
- {{ getOneCategory(58,'title') }}
-
-
-
- @if (getArticlesBYCate(58,3)->isNotEmpty())
- @foreach (getArticlesBYCate(58,3) as $info)
-
-
-
- {{ $info->title }}
-
-
-
-
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
- {{ getOneCategory(59,'title') }}
-
-
-
- @if (getArticlesBYCate(59,6)->isNotEmpty())
- @foreach (getArticlesBYCate(59,6) as $info)
-
-
-
- {{ $info->title }}
-
-
-
-
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-@endsection
-
+@extends('layouts.app')
+
+@section('title', $parent->title)
+
+@section('content')
+
+ @include('category.navigation')
+
+
+
+
+
+ @include('category.left')
+
+
+
+
+
+
+
+ {{ getOneCategory(55,'title') }}
+
+
+
+
+
+ @if (getArticlesBYCate(55,5)->isNotEmpty())
+ @foreach (getArticlesBYCate(55,5) as $info)
+ @if($loop->iteration<5)
+
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+ @endif
+ @endforeach
+ @endif
+
+
+ @if (getArticlesBYCate(55,5)->isNotEmpty())
+ @foreach (getArticlesBYCate(55,5) as $info)
+ @if($loop->iteration>4)
+
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+ @endif
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+ {{ getOneCategory(56,'title') }}
+
+
+
+ @if (getArticlesBYCate(56,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(56,3) as $info)
+ @if($loop->iteration==1)
+
+
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+
+ @endif
+ @endforeach
+ @endif
+
+
+
+ @if (getArticlesBYCate(56,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(56,3) as $info)
+ @if($loop->iteration>1)
+ -
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+ @endif
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+
+ {{ getOneCategory(57,'title') }}
+
+
+
+ @if (getArticlesBYCate(57,6)->isNotEmpty())
+ @foreach (getArticlesBYCate(57,6) as $info)
+
+
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+ {{ getOneCategory(58,'title') }}
+
+
+
+ @if (getArticlesBYCate(58,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(58,3) as $info)
+
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+ {{ getOneCategory(59,'title') }}
+
+
+
+ @if (getArticlesBYCate(59,6)->isNotEmpty())
+ @foreach (getArticlesBYCate(59,6) as $info)
+
+
+
+
+
+
+
+ {{ $info->title }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/category/kxjs_rcdw.blade.php b/resources/views/category/kxjs_rcdw.blade.php
index 84b8d89..68a4024 100644
--- a/resources/views/category/kxjs_rcdw.blade.php
+++ b/resources/views/category/kxjs_rcdw.blade.php
@@ -61,6 +61,27 @@
@endforeach
@endif
+ {{-- @if(getCateChild(32)->isNotEmpty())--}}
+ {{-- @foreach(getCateChild(32) as $cate)--}}
+ {{-- --}}
+ {{-- @if (getArticlesBYCate($cate->id,3)->isNotEmpty())--}}
+ {{-- @foreach (getArticlesBYCate($cate->id,3) as $info)--}}
+ {{--
--}}
+ {{--
--}}
+ {{--
--}}
+ {{-- {{ $info->title }}--}}
+ {{--
--}}
+ {{--
--}}
+ {{-- --}}
+ {{-- --}}
+ {{--
--}}
+ {{--
--}}
+ {{--
--}}
+ {{-- @endforeach--}}
+ {{-- @endif--}}
+ {{--
--}}
+ {{-- @endforeach--}}
+ {{-- @endif--}}
diff --git a/resources/views/category/kxyj.blade.php b/resources/views/category/kxyj.blade.php
index b13c469..fb2d15d 100644
--- a/resources/views/category/kxyj.blade.php
+++ b/resources/views/category/kxyj.blade.php
@@ -1,339 +1,343 @@
-@extends('layouts.app')
-
-@section('title', $parent->title)
-
-@section('content')
-
- @include('category.navigation')
-
-
-
-
-
- @include('category.left')
-
-
-
-
-
-
-
-

- {{ getOneCategory(17,'title') }}
-
更多>>
-
-
-
-
- @if (getArticlesBYCate(17,1)->isNotEmpty())
- @foreach (getArticlesBYCate(17,1) as $info)
-
-
-
-
- @endforeach
- @endif
-
- @if (getArticlesBYCate(17,3)->isNotEmpty())
- @foreach (getArticlesBYCate(17,3) as $info)
- -
-
-
-
-
- {{ $info->title }}
-
-
-
-
-
- {{ $info->created_at->format('Y年m月d') }}
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-

- {{ getOneCategory(26,'title') }}
-
-
-
-
-
-
-
-
-

-
-
-
-
{{ getOneCategory(78,'title') }}
-
- @if (getArticlesBYCate(78,5)->isNotEmpty())
- @foreach (getArticlesBYCate(78,5) as $info)
- -
-
-
-
- {{ $info->title }}
-
-
-
- {{ $info->created_at->format('Y年m月d日')}}
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-
-
-
{{ getOneCategory(77,'title') }}
-
- @if (getArticlesBYCate(77,5)->isNotEmpty())
- @foreach (getArticlesBYCate(77,5) as $info)
- -
-
-
-
- {{ $info->title }}
-
-
-
- {{ $info->created_at->format('Y年m月d日') }}
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-
-
-

- {{ getOneCategory(18,'title') }}
-
-
-
-
-
- @if (getArticlesBYCate(18,10)->isNotEmpty())
- @foreach (getArticlesBYCate(18,10) as $article)
-
-
-
-

-
-
- {{ $article->title }}
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-
-
-

- {{ getOneCategory(27,'title') }}
-
-
- 查看更多 >
-
-
-
- @if (getArticlesBYCate(27,4)->isNotEmpty())
- @foreach (getArticlesBYCate(27,4) as $info)
-
-
-

-
-
{{ $info->title }}
-
{{ $info->created_at->format('Y-m-d') }}
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-

- {{ getOneCategory(19,'title') }}
-
-
-
-
- @if(getCateChild(19)->isNotEmpty())
- @foreach(getCateChild(19) as $cate)
-
-
-
-

- {{ $cate->title }}
-
{{ $cate->alias }}
-
-
- MORE+
-
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-

- {{ getOneCategory(28,'title') }}
-
-
-
-
-
-
-
-
-
{{ getOneCategory(29,'title') }}
-
- 查看更多>>
-
-
-
-
-
- @if(getVideoByCate(29))
-
- @endif
-
-
- {{ getVideoByCate(29,'title') }}
-
-
-
-
- @if(getVideosByCate(29,10))
- @foreach(getVideosByCate(29,10) as $video)
- @if($loop->iteration>1)
- -
-
-
-
- {{ $video->title }}
-
-
-
- {{ $video->created_at->format('Y年m月d日') }}
-
-
-
- @endif
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
{{ getOneCategory(30,'title') }}
-
- 查看更多>>
-
-
-
- @if (getArticlesBYCate(30,2)->isNotEmpty())
-
-
-
- @endif
-
- @if (getArticlesBYCate(30,3)->isNotEmpty())
-
- @foreach (getArticlesBYCate(30,3) as $info)
- -
-
-
-
- {{ $info->title }}
-
-
-
- {{ $info->created_at->format('Y年m月d日') }}
-
-
-
- @endforeach
-
- @endif
-
-
-
-
-
-
-
-@endsection
+@extends('layouts.app')
+
+@section('title', $parent->title)
+
+@section('content')
+
+ @include('category.navigation')
+
+
+
+
+
+ @include('category.left')
+
+
+
+
+
+
+
+

+ {{ getOneCategory(17,'title') }}
+
更多>>
+
+
+
+
+ @if (getArticlesBYCate(17,1)->isNotEmpty())
+ @foreach (getArticlesBYCate(17,1) as $info)
+
+
+
+
+ @endforeach
+ @endif
+
+ @if (getArticlesBYCate(17,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(17,3) as $info)
+ -
+
+
+
+
+ {{ $info->title }}
+
+
+
+
+
+ {{ $info->created_at->format('Y年m月d') }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+

+ {{ getOneCategory(26,'title') }}
+
+
+
+
+
+
+
+
+

+
+
+
+
{{ getOneCategory(78,'title') }}
+
+ @if (getArticlesBYCate(78,5)->isNotEmpty())
+ @foreach (getArticlesBYCate(78,5) as $info)
+ -
+
+
+
+ {{ $info->title }}
+
+
+
+ {{ $info->created_at->format('Y年m月d日')}}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ getOneCategory(77,'title') }}
+
更多>>
+
+
+
+ @if (getArticlesBYCate(77,3)->isNotEmpty())
+ @foreach (getArticlesBYCate(77,3) as $info)
+ -
+
+
+
+ {{ $info->title }}
+
+
+
+ {{ $info->created_at->format('Y年m月d日') }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+
+
+

+ {{ getOneCategory(18,'title') }}
+
+
+
+
+
+ @if (getArticlesBYCate(18,10)->isNotEmpty())
+ @foreach (getArticlesBYCate(18,10) as $article)
+
+
+
+

+
+
+ {{ $article->title }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
+
+
+

+ {{ getOneCategory(27,'title') }}
+
+
+ 查看更多 >
+
+
+
+ @if (getArticlesBYCate(27,4)->isNotEmpty())
+ @foreach (getArticlesBYCate(27,4) as $info)
+
+
+

+
+
{{ $info->title }}
+
{{ $info->created_at->format('Y-m-d') }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+

+ {{ getOneCategory(19,'title') }}
+
+
+
+
+ @if(getCateChild(19)->isNotEmpty())
+ @foreach(getCateChild(19) as $cate)
+
+
+
+

+ {{ $cate->title }}
+
{{ $cate->alias }}
+
+
+ MORE+
+
+
+
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+

+ {{ getOneCategory(28,'title') }}
+
+
+
+
+
+
+
+
+
{{ getOneCategory(29,'title') }}
+
+ 查看更多>>
+
+
+
+
+
+ @if(getVideoByCate(29))
+
+ @endif
+
+
+ {{ getVideoByCate(29,'title') }}
+
+
+
+
+ @if(getVideosByCate(29,10))
+ @foreach(getVideosByCate(29,10) as $video)
+ @if($loop->iteration>1)
+ -
+
+
+
+ {{ $video->title }}
+
+
+
+ {{ $video->created_at->format('Y年m月d日') }}
+
+
+
+ @endif
+ @endforeach
+ @endif
+
+
+
+
+
+
+
+
+
{{ getOneCategory(30,'title') }}
+
+ 查看更多>>
+
+
+
+ @if (getArticlesBYCate(30,2)->isNotEmpty())
+
+
+
+ @endif
+
+ @if (getArticlesBYCate(30,3)->isNotEmpty())
+
+ @foreach (getArticlesBYCate(30,3) as $info)
+ -
+
+
+
+ {{ $info->title }}
+
+
+
+ {{ $info->created_at->format('Y年m月d日') }}
+
+
+
+ @endforeach
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/category/show.blade.php b/resources/views/category/show.blade.php
index fd66f16..d8716fa 100644
--- a/resources/views/category/show.blade.php
+++ b/resources/views/category/show.blade.php
@@ -34,7 +34,7 @@
@else
-
+
抱歉,暂无内容
diff --git a/resources/views/category/videos.blade.php b/resources/views/category/videos.blade.php
index 8d520e0..b9695fd 100644
--- a/resources/views/category/videos.blade.php
+++ b/resources/views/category/videos.blade.php
@@ -1,34 +1,34 @@
-@extends('layouts.app')
-
-@section('title', $parent->title)
-
-@section('content')
-
- @include('category.navigation')
-
-
-
-
-
- @include('category.left')
-
-
-
-
四十年所庆
-
-
- 四十周年所庆宣传片
-
-
-
-
-
-
-
-
-
-@endsection
+@extends('layouts.app')
+
+@section('title', $parent->title)
+
+@section('content')
+
+ @include('category.navigation')
+
+
+
+
+
+ @include('category.left')
+
+
+
+
+@endsection
diff --git a/resources/views/category/xh_qk.blade.php b/resources/views/category/xh_qk.blade.php
index abfbeb0..4a0976a 100644
--- a/resources/views/category/xh_qk.blade.php
+++ b/resources/views/category/xh_qk.blade.php
@@ -1,96 +1,146 @@
-@extends('layouts.app')
-
-@section('title', $parent->title)
-
-@section('content')
-
- @include('category.navigation')
-
-
-
-
-
- @include('category.left')
-
-
-
-
-
-
- {{ getOneCategory(63,'title') }}{{ getOneCategory(63,'alias') }}
-
-
-
- @if(getOneCategory(63,'article'))
-
-
-
-
->cover_url }})
-
-
-
-
-
-
-
{{ getOneCategory(63,'article')->title }}
-
- {{ getOneCategory(63,'article')->description }}
-
-
查看详情
-
-
-

-
-
- @endif
-
-
-
-
-
-
-
-
- {{ getOneCategory(64,'title') }}{{ getOneCategory(64,'alias') }}
-
-
-
-
-
-
- @if(getOneCategory(64,'article'))
-
-
{{ getOneCategory(63,'article')->title }}
-
-
-
-
-
->cover_url }})
-
- {{ getOneCategory(64,'article')->description }}
-
-
-
- @endif
-
-
-
-
-
-
-
-
-@endsection
-
+@extends('layouts.app')
+
+@section('title', $parent->title)
+
+@section('content')
+
+ @include('category.navigation')
+
+
+
+
+
+ @include('category.left')
+
+
+
+
+
+
+
+
+
+
{{ getOneCategory(63,'title') }}
+ @if(getOneCategory(63,'article'))
+
+
+ {{ getOneCategory(63,'article')->title }}
+ / Introduction to graduate education
+
+ {{ getOneCategory(63,'article')->description }}
+
+
更多>>
+
+
+
+ @endif
+
+
+
+
+
+
{{ getOneCategory(64,'title') }}
+ @if(getOneCategory(64,'article'))
+
+
+ {{ getOneCategory(64,'article')->title }}
+ / Introduction to graduate education
+
+ {{ getOneCategory(64,'article')->description }}
+
+
更多>>
+
+
+
+ @endif
+
+
+
+
+
+
+
+
+
+
+@endsection
+