阶段更新
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
||||
|
||||
8
config/article.php
Normal file
8
config/article.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 不显示时间段文章
|
||||
'no_time' => [
|
||||
'118'
|
||||
]
|
||||
];
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -20,13 +20,42 @@
|
||||
<span>{{ getOneCategory(60,'title') }}</span>
|
||||
<div class="party-title-more" data-href="{{ getOneCategory(60,'link') }}">更多>></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="srRrendText">
|
||||
@if (getArticlesBYCate(60,1)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(60,1) as $info)
|
||||
<div class="ce-img srRrends-list-img">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
<ul class="srRrends-list">
|
||||
@if (getArticlesBYCate(60,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(60,3) as $info)
|
||||
<li data-href="{{ $info->link }}" class="publicHover">
|
||||
|
||||
<div class="srRrends-list-cont">
|
||||
<div class="srRrends-list-text">
|
||||
<div class="ce-nowrap-multi srRrends-list-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="srRrends-list-time">
|
||||
<!-- <span>{{ $info->created_at->format('d') }}</span> -->
|
||||
{{ $info->created_at->format('Y年m月d') }}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
<!-- <div class="row">
|
||||
@if (getArticlesBYCate(60,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(60,3) as $info)
|
||||
<div class="col-xs-12 col-md-12" data-href="{{ $info->link }}">
|
||||
<div class="partyActivity-label">
|
||||
<div class="ce-img partyActivity-img">
|
||||
<!-- 图片比例4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<div class="partyActivity-cont">
|
||||
@@ -40,7 +69,7 @@
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<!-- end 党团活动 -->
|
||||
|
||||
@@ -50,14 +79,44 @@
|
||||
<span>{{ getOneCategory(61,'title') }}</span>
|
||||
<div class="party-title-more" data-href="{{ getOneCategory(61,'link') }}">更多>></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
<div class="srRrendText">
|
||||
@if (getArticlesBYCate(61,1)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(61,1) as $info)
|
||||
<div class="ce-img srRrends-list-img">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
<ul class="srRrends-list">
|
||||
@if (getArticlesBYCate(61,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(61,3) as $info)
|
||||
<li data-href="{{ $info->link }}" class="publicHover">
|
||||
|
||||
<div class="srRrends-list-cont">
|
||||
<div class="srRrends-list-text">
|
||||
<div class="ce-nowrap-multi srRrends-list-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="srRrends-list-time">
|
||||
<!-- <span>{{ $info->created_at->format('d') }}</span> -->
|
||||
{{ $info->created_at->format('Y年m月d') }}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
<!-- <div class="row">
|
||||
@if (getArticlesBYCate(61,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(61,3) as $info)
|
||||
@if($loop->iteration==1)
|
||||
<div class="col-xs-12 col-md-5" data-href="{{ $info->link }}">
|
||||
<div class="publicHover partyBuild-left">
|
||||
<div class="ce-img partyBuild-left-img">
|
||||
<!-- 图片比例4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<div class="partyBuild-left-cont">
|
||||
@@ -95,7 +154,7 @@
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
<!-- end 精神文明建设 -->
|
||||
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
<div class="col-xs-12 col-md-6 terraceInter-padding">
|
||||
<div class="publicHover terraceInter-list"
|
||||
data-href="{{ $info->link }}">
|
||||
<div class="ce-nowrap-multi terraceInter-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
<div class="ce-img terraceInter-left-img">
|
||||
<!-- 图片为5:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<div class="ce-nowrap-multi terraceInter-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@@ -49,13 +49,13 @@
|
||||
@if($loop->iteration>4)
|
||||
<div class="col-xs-12 col-md-6 terraceInter-padding">
|
||||
<div class="publicHover terraceInter-list" data-href="{{ $info->link }}">
|
||||
<div class="ce-nowrap-multi terraceInter-right-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
<div class="ce-img terraceInter-right-img">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<div class="ce-nowrap-multi terraceInter-right-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@@ -73,7 +73,7 @@
|
||||
{{ getOneCategory(56,'title') }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row" style="padding: 0 40px;">
|
||||
@if (getArticlesBYCate(56,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(56,3) as $info)
|
||||
@if($loop->iteration==1)
|
||||
@@ -131,16 +131,16 @@
|
||||
@foreach (getArticlesBYCate(57,6) as $info)
|
||||
<div class="col-xs-12 col-md-4 terraceInter-padding">
|
||||
<div class="publicHover terraceSave-list" data-href="{{ $info->link }}">
|
||||
<div class="ce-nowrap-multi terraceSave-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
<div class="terraceSave-left-tips">
|
||||
省级
|
||||
</div>
|
||||
<div class="ce-img terraceInter-left-img">
|
||||
<!-- 图片为5:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<!-- <div class="terraceSave-left-tips">
|
||||
省级
|
||||
</div> -->
|
||||
<div class="ce-nowrap-multi terraceSave-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@@ -161,13 +161,13 @@
|
||||
@foreach (getArticlesBYCate(58,3) as $info)
|
||||
<div class="col-xs-12 col-md-4 terraceInter-padding">
|
||||
<div class="publicHover terraceYard-list" data-href="{{ $info->link }}">
|
||||
<div class="ce-nowrap-multi terraceSave-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
<div class="ce-img terraceInter-left-img terraceFixed-left-img">
|
||||
<!-- 图片为5:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<div class="ce-nowrap-multi terraceSave-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@@ -188,13 +188,13 @@
|
||||
@foreach (getArticlesBYCate(59,6) as $info)
|
||||
<div class="col-xs-12 col-md-4 terraceInter-padding">
|
||||
<div class="publicHover terraceFixed-list" data-href="{{ $info->link }}">
|
||||
<div class="ce-nowrap-multi terraceFixed-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
<div class="ce-img terraceInter-left-img terraceFixed-left-img">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
</div>
|
||||
<div class="ce-nowrap-multi terraceFixed-left-name">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@@ -207,4 +207,3 @@
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
@@ -61,6 +61,27 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
{{-- @if(getCateChild(32)->isNotEmpty())--}}
|
||||
{{-- @foreach(getCateChild(32) as $cate)--}}
|
||||
{{-- <div class="row">--}}
|
||||
{{-- @if (getArticlesBYCate($cate->id,3)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate($cate->id,3) as $info)--}}
|
||||
{{-- <div class="col-xs-12 col-md-4" data-href="{{ $info->link }}">--}}
|
||||
{{-- <div class="ranksSubject-list">--}}
|
||||
{{-- <div class="ranksSubject-list-name">--}}
|
||||
{{-- <span>{{ $info->title }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="ce-img ranksSubject-list-img">--}}
|
||||
{{-- <!-- 图片为4:3 -->--}}
|
||||
{{-- <span style="background-image: url({{ $info->cover_url }});"></span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </div>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 院级重点学科 -->
|
||||
|
||||
@@ -115,10 +115,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="srCooperation-name"> {{ getOneCategory(77,'title') }}</div>
|
||||
<div class="srCooperation-name">
|
||||
<span>{{ getOneCategory(77,'title') }}</span>
|
||||
<div class="party-title-more" style="font-weight: normal;color: #7b7b7b; right: 0" data-href="{{ getOneCategory(77,'link') }}">更多>>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="srCooperation-list">
|
||||
@if (getArticlesBYCate(77,5)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(77,5) as $info)
|
||||
@if (getArticlesBYCate(77,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(77,3) as $info)
|
||||
<li data-href="{{ $info->link }}" class="publicHover">
|
||||
<div class="srRrends-list-cont">
|
||||
<div class="srRrends-list-text">
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="col-md-12 col-xs-12">
|
||||
<div class="col-md-12 col-md-9">
|
||||
<div class="no-searchCont">
|
||||
<img src="/assets/index/images/org55.png"/>
|
||||
<span>抱歉,暂无内容</span>
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
<!-- 右侧内容部分 -->
|
||||
<div class="col-xs-12 col-md-9">
|
||||
<div class="briefVideo">
|
||||
<div class="briefAlbum-title" style="margin-bottom: 10px"><span>四十年所庆</span></div>
|
||||
<div class="briefAlbum-title" style="margin-bottom: 10px"><span>党建风采</span></div>
|
||||
<div class="briefVideo-cont">
|
||||
<div class="briefVideo-tips">
|
||||
<span>四十周年所庆宣传片</span>
|
||||
<span>党建风采宣传视频</span>
|
||||
</div>
|
||||
<div class="briefVideo-video">
|
||||
<video width="100%" height="100%" style="object-fit:fill" controls
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="col-xs-12 col-md-9">
|
||||
<div class="levelRight">
|
||||
<!-- start 学会 -->
|
||||
<div class="learn briefMargin">
|
||||
<!-- <div class="learn briefMargin">
|
||||
<div class="learn-title">
|
||||
{{ getOneCategory(63,'title') }}<span>{{ getOneCategory(63,'alias') }}</span>
|
||||
</div>
|
||||
@@ -46,11 +46,61 @@
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- end 学会 -->
|
||||
|
||||
<!-- start 学会 -->
|
||||
<div class="educateStudent briefMargin">
|
||||
<div class="educate-title">{{ getOneCategory(63,'title') }}</div>
|
||||
@if(getOneCategory(63,'article'))
|
||||
<div class="educateStudent-cont" style="width: 42%;">
|
||||
<div class="educateStudent-cont-name">
|
||||
{{ getOneCategory(63,'article')->title }}
|
||||
<span>/ Introduction to graduate education</span></div>
|
||||
<div class="ce-nowrap-multi educateStudent-cont-text">
|
||||
{{ getOneCategory(63,'article')->description }}
|
||||
</div>
|
||||
<div class="publicHover educateStudent-cont-more"
|
||||
data-href=" {{ getOneCategory(63,'article')->link }}">更多>>
|
||||
</div>
|
||||
</div>
|
||||
<div class="educateStudent-right">
|
||||
<div class="ce-img educateStudent-img">
|
||||
<!-- 图片为5:3-->
|
||||
<span style="background-image: url({{ getOneCategory(63,'article')->cover_url }});"></span>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<!-- end 学会 -->
|
||||
|
||||
<!-- start 期刊 -->
|
||||
<div class="educateStudent briefMargin">
|
||||
<div class="educate-title">{{ getOneCategory(64,'title') }}</div>
|
||||
@if(getOneCategory(64,'article'))
|
||||
<div class="educateStudent-cont">
|
||||
<div class="educateStudent-cont-name">
|
||||
{{ getOneCategory(64,'article')->title }}
|
||||
<span>/ Introduction to graduate education</span></div>
|
||||
<div class="ce-nowrap-multi educateStudent-cont-text">
|
||||
{{ getOneCategory(64,'article')->description }}
|
||||
</div>
|
||||
<div class="publicHover educateStudent-cont-more"
|
||||
data-href=" {{ getOneCategory(64,'article')->link }}">更多>>
|
||||
</div>
|
||||
</div>
|
||||
<div class="educateStudent-right">
|
||||
<div class="ce-img educateStudent-img">
|
||||
<!-- 图片为5:3-->
|
||||
<span style="background-image: url({{ getOneCategory(64,'article')->cover_url }});"></span>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<!-- end 期刊 -->
|
||||
|
||||
<!-- start 期刊 -->
|
||||
<div class="journal briefMargin">
|
||||
<!-- <div class="journal briefMargin">
|
||||
<div class="learn-title">
|
||||
{{ getOneCategory(64,'title') }}<span>{{ getOneCategory(64,'alias') }}</span>
|
||||
</div>
|
||||
@@ -86,7 +136,7 @@
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- end 期刊 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user