补充文件

This commit is contained in:
2021-12-09 09:50:38 +08:00
parent f62a57deb4
commit 00d0e2da55
64 changed files with 159 additions and 211 deletions

View File

@@ -212,13 +212,14 @@ function dateLocalMonth($m): string
* @Date: 2021/12/8 10:31
* @param $article_id
*/
function getOneArticle($article_id, $key): string
function getOneArticle($article_id, $key = '')
{
$info = Article::find($article_id);
if ($info) {
if ($key) {
return $info->{$key};
}
return $info;
}
return '';

View File

@@ -1318,6 +1318,11 @@ body {
color: #8b8b8b;
}
.srTitle-more:hover {
color: #449942;
cursor: pointer;
}
.srRrendText {
display: flex;
}
@@ -1420,6 +1425,11 @@ body {
width: calc(100% - 40px)
}
.srBuildFrist-cont:hover {
color: #CAB484;
cursor: pointer;
}
/*科研成果*/
.srGain-list {
position: relative;
@@ -1687,6 +1697,11 @@ body {
box-sizing: border-box;
}
.srServe-list-cont:hover {
color: #449942;
cursor: pointer;
}
.srServe-list-cont::after {
position: absolute;
content: '';
@@ -2451,7 +2466,11 @@ body {
line-height: 50px;
color: #449942;
font-size: 16px;
cursor: pointer;
}
.party-title-more:hover {
color: #449942 !important;
cursor: pointer;
}
/*党团活动*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 772 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 KiB

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 536 KiB

After

Width:  |  Height:  |  Size: 414 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 KiB

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 KiB

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 KiB

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 KiB

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 711 KiB

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 KiB

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 KiB

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 KiB

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 560 KiB

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 566 KiB

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 KiB

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 KiB

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 KiB

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 KiB

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 KiB

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 KiB

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 509 KiB

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 KiB

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 KiB

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 KiB

After

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 KiB

After

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 KiB

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

After

Width:  |  Height:  |  Size: 413 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 KiB

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 KiB

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 KiB

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 KiB

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 KiB

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 KiB

After

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 768 KiB

After

Width:  |  Height:  |  Size: 468 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 KiB

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 745 KiB

After

Width:  |  Height:  |  Size: 413 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 589 KiB

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 KiB

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 KiB

After

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 580 KiB

After

Width:  |  Height:  |  Size: 247 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -20,40 +20,43 @@
<span>{{ getOneCategory(60,'title') }}</span>
<div class="party-title-more" data-href="{{ getOneCategory(60,'link') }}">更多&gt;&gt;</div>
</div>
<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">
<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>
@if(!in_array($info->id,config('article.no_time')))
<div class="srRrends-list-time">
<!-- <span>{{ $info->created_at->format('d') }}</span> -->
{{ $info->created_at->format('Y年m月d') }}
</div>
@endif
</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 }}">
@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">
<span style="background-image: url({{ $info->cover_url }});"></span>
@@ -63,13 +66,13 @@
<div class="partyActivity-cont-time">{{ $info->created_at->toDateString() }}</div>
<div class="ce-nowrap-multi partyActivity-cont-text">
{{ $info->description }}
</div>
</div>
</div>
</div>
@endforeach
@endif
</div> -->
</div>
</div>
</div>
@endforeach
@endif
</div> -->
</div>
<!-- end 党团活动 -->
@@ -79,42 +82,42 @@
<span>{{ getOneCategory(61,'title') }}</span>
<div class="party-title-more" data-href="{{ getOneCategory(61,'link') }}">更多&gt;&gt;</div>
</div>
<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">
<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 }}">
@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">
<span style="background-image: url({{ $info->cover_url }});"></span>
@@ -122,39 +125,39 @@
<div class="partyBuild-left-cont">
<div class="partyBuild-left-time">
{{ dateLocalMonth($info->created_at->format('m')) }}
<span>{{ $info->created_at->format('d') }}</span>
<span>{{ $info->created_at->format('d') }}</span>
</div>
<div class="ce-nowrap partyBuild-left-name">{{ $info->title }}</div>
<div class="ce-nowrap-multi partyBuild-left-text">
{{ $info->description }}
</div>
</div>
</div>
</div>
@endif
</div>
</div>
</div>
@endif
@endforeach
@endif
@endforeach
@endif
<div class="col-xs-12 col-md-7">
<div class="partyBuild-right">
@if (getArticlesBYCate(61,3)->isNotEmpty())
@foreach (getArticlesBYCate(61,3) as $info)
@if($loop->iteration>1)
<div class="publicHover partyBuild-label" data-href="{{ $info->link }}">
@foreach (getArticlesBYCate(61,3) as $info)
@if($loop->iteration>1)
<div class="publicHover partyBuild-label" data-href="{{ $info->link }}">
<div class="ce-nowrap-multi partyBuild-right-time">
{{ dateLocalMonth($info->created_at->format('m')) }}
<span>{{ $info->created_at->format('d') }}</span>
<span>{{ $info->created_at->format('d') }}</span>
</div>
<div class="ce-nowrap-multi partyBuild-right-name">
{{ $info->title }}
</div>
</div>
@endif
@endforeach
@endif
</div>
</div>
</div>
@endif
@endforeach
@endif
</div>
</div>-->
</div>
</div>-->
</div>
<!-- end 精神文明建设 -->

View File

@@ -15,128 +15,53 @@
<div class="col-xs-12 col-md-9">
<div class="levelRight">
<!-- start 学会 -->
<!-- <div class="learn briefMargin">
<div class="learn-title">
{{ getOneCategory(63,'title') }}<span>{{ getOneCategory(63,'alias') }}</span>
</div>
<div class="learnCont">
<div class="row">
@if(getOneCategory(63,'article'))
<div class="col-xs-12 col-md-3 learn-padding">
<div class="learnCont-tips">
<img src="{{ getOneCategory(63,'article')->cover_url }}"/>
</div>
</div>
<div class="col-xs-12 col-md-9 learn-padding">
<div class="learnCont-text">
<div class="learnCont-brief">
<div class="ce-nowrap learnCont-title">{{ getOneCategory(63,'article')->title }}</div>
<div class="ce-nowrap-multi learnCont-version">
{{ getOneCategory(63,'article')->description }}
</div>
<div class="publicHover learnCont-more"
data-href="{{ getOneCategory(63,'article')->link }}">查看详情
</div>
</div>
<img class="learnCont-img" src="/assets/index/images/learn_img.jpg"/>
</div>
</div>
@endif
<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>/ {{ getOneCategory(63,'article')->remark }}</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 }}">更多&gt;&gt;
</div>
</div>
</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(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 }}">更多&gt;&gt;
</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 }}">更多&gt;&gt;
</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="learn-title">
{{ getOneCategory(64,'title') }}<span>{{ getOneCategory(64,'alias') }}</span>
</div>
<div class="ce-img journal-tips">
<span style="background-image: url(/assets/index/images/journalTop.jpg)"></span>
</div>
<div class="journalCont">
<div class="row">
@if(getOneCategory(64,'article'))
<div class="col-xs-12 col-md-5">
<div class="journalCont-title">{{ getOneCategory(63,'article')->title }}</div>
<div class="journalCont-tool">
<div data-href="{{ getOneCategory(63,'article')->link }}"
class="journalCont-tool-more">
<img src="/assets/index/images/journalCont_icon_00.jpg"/>查看更多
</div>
<div data-href="{{ getOneCategory(75,'url') }}"
class="journalCont-tool-teach">
<img src="/assets/index/images/journalCont_icon_01.jpg"/>
{{ getOneCategory(75,'title') }}
</div>
</div>
</div>
<div class="col-xs-12 col-md-7">
<div class="journalCont-text">
<img class="journalCont-cont-img"
src="{{ getOneCategory(64,'article')->cover_url }}">
<div class="ce-nowrap-multi journalCont-text-version">
{{ getOneCategory(64,'article')->description }}
</div>
</div>
</div>
@endif
<div class="educateStudent briefMargin">
<div class="educate-title">{{ getOneCategory(64,'title') }}</div>
@if(getOneArticle(156))
<div class="educateStudent-cont">
<div class="educateStudent-cont-name">
{{ getOneArticle(156,'title') }}
<span>/ {{ getOneArticle(156,'remark') }}</span></div>
<div class="ce-nowrap-multi educateStudent-cont-text">
{{ getOneArticle(156,'description') }}
</div>
<div class="publicHover educateStudent-cont-more"
data-href="{{ getOneArticle(156,'link') }}">更多&gt;&gt;
</div>
</div>
</div>
</div> -->
<div class="educateStudent-right">
<div class="ce-img educateStudent-img">
<!-- 图片为5:3-->
<span style="background-image: url({{ getOneArticle(156,'cover_url') }});"></span>
</div>
</div>
@endif
</div>
<!-- end 期刊 -->
</div>
</div>