备份文件

This commit is contained in:
2023-03-06 08:33:41 +08:00
parent 7537a394b8
commit b035610c63
3 changed files with 276 additions and 57 deletions

View File

@@ -2665,9 +2665,10 @@ input {
/* 漂浮窗 */ /* 漂浮窗 */
.showy { .showy {
position: relative; position: relative;
width:200px; width: 200px;
z-index: 9999; z-index: 9999;
} }
.bay-close { .bay-close {
position: absolute; position: absolute;
top: 0; top: 0;
@@ -2676,25 +2677,29 @@ input {
width: 100%; width: 100%;
z-index: 100; z-index: 100;
} }
.bay-img { .bay-img {
position: absolute; position: absolute;
top: 20px; top: 20px;
right: 0; right: 0;
width:200px; width: 200px;
} }
.mb{
.mb {
display: none; display: none;
} }
/*手机版*/ /*手机版*/
@media (max-width: 768px) { @media (max-width: 768px) {
.mb{ .mb {
display: block; display: block;
} }
.pc{
.pc {
display: none; display: none;
} }
.sidebar { .sidebar {
display: none; display: none;
} }
@@ -2714,27 +2719,33 @@ input {
.logo>img { .logo>img {
width: 100%; width: 100%;
} }
.mbNav{
.mbNav {
display: flex; display: flex;
margin-top: 10px; margin-top: 10px;
align-items: center; align-items: center;
} }
.nav-list { .nav-list {
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.nav-list li{
.nav-list li {
width: 100%; width: 100%;
padding: 10px 0; padding: 10px 0;
} }
.nav-list li:hover{
.nav-list li:hover {
background: #507ac3; background: #507ac3;
} }
.nav-list li::after{
.nav-list li::after {
display: none; display: none;
} }
.mb_nav{
.mb_nav {
position: absolute; position: absolute;
z-index: 999; z-index: 999;
width: 100%; width: 100%;
@@ -2743,59 +2754,73 @@ input {
top: 97%; top: 97%;
display: none; display: none;
} }
.mbLogo-nav{
.mbLogo-nav {
width: 3.5rem; width: 3.5rem;
height: 3.5rem; height: 3.5rem;
background: #507ac3; background: #507ac3;
border-radius: 5px; border-radius: 5px;
margin-left: 10px; margin-left: 10px;
} }
.search { .search {
width: 100%; width: 100%;
margin-top: 0; margin-top: 0;
position: relative; position: relative;
} }
.search button{
.search button {
position: absolute; position: absolute;
right: 1rem; right: 1rem;
} }
/* 公告 */ /* 公告 */
.notice{ .notice {
padding:0px 20px ; padding: 0px 20px;
} }
.notice>.container>.col-md-12{
.notice>.container>.col-md-12 {
padding: 0px; padding: 0px;
} }
.notice-name{
.notice-name {
font-size: 20px; font-size: 20px;
} }
.notice-text{
.notice-text {
font-size: 15px; font-size: 15px;
} }
.notice-title{
.notice-title {
position: static; position: static;
width: 100%; width: 100%;
height: 100%; height: 100%;
text-align: center; text-align: center;
} }
.noticeRight{
.noticeRight {
width: 100px; width: 100px;
} }
.noticeLeft{
.noticeLeft {
padding-right: 20px; padding-right: 20px;
} }
.notice-container{
.notice-container {
display: block; display: block;
padding-bottom: 10px; padding-bottom: 10px;
} }
.notice-cont{
.notice-cont {
padding-left: 0px; padding-left: 0px;
align-items: center; align-items: center;
margin: 10px 0; margin: 10px 0;
} }
.notice-date>span{
.notice-date>span {
font-size: 25px; font-size: 25px;
} }
.banner { .banner {
position: relative; position: relative;
height: 80px; height: 80px;
@@ -2806,45 +2831,63 @@ input {
.ce-img>span { .ce-img>span {
background-size: 100%; background-size: 100%;
} }
/* 二级导航 */ /* 二级导航 */
.second{ .second {
margin: 10px 0; margin: 10px 0;
} }
.mbSecond{
.mbSecond {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.leftNav-title{
.leftNav-title {
line-height: 56px; line-height: 56px;
font-size: 20px; font-size: 20px;
} }
.leftNav-list li{
.leftNav-list li {
line-height: 40px; line-height: 40px;
font-size:15px; font-size: 15px;
padding: 0 12px 0 35px; padding: 0 12px 0 35px;
} }
.secondLeft{
.secondLeft {
display: flex; display: flex;
width: 100%; width: calc(100% - 10px);
justify-content: center; justify-content: center;
} }
.leftBanner{
.leftBanner {
margin-top: 0px; margin-top: 0px;
} }
.leftNav-list li::after { .leftNav-list li::after {
left: 14%; left: 14%;
top: 32%; top: 32%;
} }
.leftBanner img{
.leftBanner img {
width: 105%; width: 105%;
} }
.secondRight { .secondRight {
width: calc(100% - 20px); width: calc(100% - 30px);
margin: 15px; margin: 15px;
} }
.studyList li{
.leftNav-list li>a {
width: 80px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.studyList li {
margin-bottom: 10px; margin-bottom: 10px;
} }
/* 新闻动态 */ /* 新闻动态 */
.news { .news {
position: relative; position: relative;
@@ -2871,12 +2914,65 @@ input {
margin-left: 0px; margin-left: 0px;
} }
.noticeList li:last-child {
margin-bottom: 10px;
}
.trendsTitle {
white-space: nowrap;
overflow: hidden;
}
.trendsTitle-more {
font-size: 15px;
position: static;
background-color: #f3f3f3;
text-align: center;
font-weight: normal;
padding: 20px 0;
color: #a0a0a0;
margin-bottom: 30px;
}
.pressList-cont,
.GraphList-cont {
padding-left: 55%;
}
.pressList-more{
padding: 0 15px;
}
.pressList-img,
.GraphList-img {
width: 50%;
}
.GraphList-time>span {
margin-right: 2%;
padding-right: 2%;
}
.GraphList-time {
flex-direction: column;
}
.GraphList-text {
margin: 20px 0;
}
.specialList li{
width: 100%;
}
/* 首页党政建设 */ /* 首页党政建设 */
.modular-list { .modular-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.GraphList-more img {
padding-left: 0;
}
.modularLeft, .modularLeft,
.modularRight { .modularRight {
width: 100%; width: 100%;
@@ -2888,88 +2984,209 @@ input {
margin: 0; margin: 0;
margin-top: 15px; margin-top: 15px;
} }
.TabCont-top-img { .TabCont-top-img {
position: relative; position: relative;
width: 100%; width: 100%;
height: 180px; height: 180px;
} }
.TabCont-top-tips { .TabCont-top-tips {
background-color:rgba(0, 0, 0, .5); background-color: rgba(0, 0, 0, .5);
width: 100%; width: 100%;
top: 37%; top: 37%;
padding: 0; padding: 0;
} }
.TabCont-top-title { .TabCont-top-title {
font-size: 22px; font-size: 22px;
color: #507ac3; color: #507ac3;
margin: 10px 0; margin: 10px 0;
} }
.indexTab-ul li span { .indexTab-ul li span {
padding: 30px 0px 10px; padding: 30px 0px 10px;
display: block; display: block;
font-size: 16px; font-size: 16px;
} }
.indexTab-ul li span::after { .indexTab-ul li span::after {
left: 30%; left: 30%;
top: 10%; top: 10%;
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
/* 组织机构 */ /* 组织机构 */
.organBrief-img { .organBrief-img {
width: 100%; width: 100%;
padding-top: 100%; padding-top: 100%;
} }
.organ-button-next, .organ-button-prev {
.organ-button-next,
.organ-button-prev {
top: 70%; top: 70%;
} }
.mbOrganBrief-text{
.mbOrganBrief-text {
height: 235px; height: 235px;
overflow: hidden; overflow: hidden;
margin: 10px; margin: 10px;
} }
.organBrief-text{
.organBrief-text {
padding: 5px; padding: 5px;
height: 310px; height: 310px;
} }
.organBrief-more>a>img{
.organBrief-more>a>img {
padding-left: 0px; padding-left: 0px;
} }
.organBrief-more { .organBrief-more {
margin-top: 10px; margin-top: 10px;
white-space: nowrap; white-space: nowrap;
text-align: center; text-align: center;
} }
.organBrief-cont { .organBrief-cont {
height: 310px; height: 310px;
margin-bottom: 0px; margin-bottom: 0px;
} }
.leaderList-name { .leaderList-name {
font-size: 24px; font-size: 24px;
width: 100px; width: 100px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
.leaderList-text { .leaderList-text {
font-size: 14px; font-size: 14px;
} }
.insideList-name{
.insideList-name {
font-size: 16px; font-size: 16px;
} }
.versionList-name{
.versionList-name {
font-size: 20px; font-size: 20px;
} }
/* 预决算公告 */
.noRecord{ .leaderList-tips {
padding: 0px; padding: 0 6px;
white-space: nowrap;
} }
.contactUs-code img{
margin: 0 auto; /* 创新平台 */
.echelonList li {
display: flex;
flex-direction: column;
} }
.contactUs-code{
position: static; .echelonList-img {
}
.contactUs-label>span{
width: 100%; width: 100%;
} }
.echelonList-cont {
padding: 0;
position: static;
}
.trendsModular {
margin: 0;
display: flex;
flex-direction: column;
}
.trendsModular .trendsLabel {
width: calc(100% - 20px);
margin: 10px;
}
.platform {
margin-bottom: 10px;
}
.innovateList-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 5px;
}
/* 预决算公告 */
.noRecord {
padding: 0px;
}
.contactUs-code img {
margin: 0 auto;
}
.contactUs-code {
position: static;
}
.contactUs-label>span {
width: 100%;
}
/* 科研成果 */
.gainList-img{
width: 100%;
}
.gainList-cont{
position: static;
padding: 10px 20px 20px;
}
.awardList-time{
width: 60px;
}
.awardList-title {
width: calc(100% - 55px);
padding-left: 15px;
}
.awardList-img{
width: 50%;
}
.awardList-cont {
width: calc(100% - 100px);
margin-right: 10px;
}
/* 能源环境学会 */
.learnTop-title::after{
width: 100%;
}
.learnTop-more{
display: block;
position: static;
}
.learnTop-title{
text-align: center;
}
.learnNews {
flex-direction: column;
}
.learnNews-left{
width: 100%;
}
.learnList-img{
width: 50%;
}
.learnNews-right{
width: 100%;
margin: 0;
}
.learnList-cont{
padding: 10px 10px 10px 50%;
}
/* 分页 */
.pagination>li {
display: inline-grid;
margin: 10px 0px;
}
/* 网页底部 */ /* 网页底部 */
.footerLinks { .footerLinks {
display: flex; display: flex;

View File

@@ -42,11 +42,10 @@
@endforeach @endforeach
@endif @endif
</ul> </ul>
<div> <!-- 手机版查看更多 -->
<a href="{{ $tzCate->link }}" class="mb trendsTitle-more">查看更多 +</a> <a href="{{ $tzCate->link }}" class="mb trendsTitle-more">查看更多 +</a>
</div> </div>
</div> </div>
</div>
<!-- 能源院新闻 --> <!-- 能源院新闻 -->
<div class="trends"> <div class="trends">
@@ -54,7 +53,7 @@
<div class="trendsTitle"> <div class="trendsTitle">
<img src="{{ asset('assets/index/images/newsIcon_2.png') }}">{{ $nyydtCate->title }} <img src="{{ asset('assets/index/images/newsIcon_2.png') }}">{{ $nyydtCate->title }}
<span>/ {{ $nyydtCate->description }}</span> <span>/ {{ $nyydtCate->description }}</span>
<a href="{{ $nyydtCate->link }}" class="trendsTitle-more">查看更多 +</a> <a href="{{ $nyydtCate->link }}" class="pc trendsTitle-more">查看更多 +</a>
</div> </div>
<ul class="pressList"> <ul class="pressList">
@if($nyydtArticles->isNotEmpty()) @if($nyydtArticles->isNotEmpty())
@@ -82,6 +81,8 @@
@endforeach @endforeach
@endif @endif
</ul> </ul>
<!-- 手机版查看更多 -->
<a href="{{ $nyydtCate->link }}" class="mb trendsTitle-more">查看更多 +</a>
</div> </div>
</div> </div>
@@ -91,7 +92,7 @@
<div class="trendsTitle"> <div class="trendsTitle">
<img src="{{ asset('assets/index/images/newsIcon_2.png') }}">{{ $mtbdCate->title }} <img src="{{ asset('assets/index/images/newsIcon_2.png') }}">{{ $mtbdCate->title }}
<span>/ {{ $mtbdCate->description }}</span> <span>/ {{ $mtbdCate->description }}</span>
<a href="{{ $mtbdCate->link }}" class="trendsTitle-more">查看更多 +</a> <a href="{{ $mtbdCate->link }}" class="pc trendsTitle-more">查看更多 +</a>
</div> </div>
<ul class="specialList"> <ul class="specialList">
@if($mtbdArticles->isNotEmpty()) @if($mtbdArticles->isNotEmpty())
@@ -116,6 +117,7 @@
@endforeach @endforeach
@endif @endif
</ul> </ul>
<a href="{{ $mtbdCate->link }}" class="mb trendsTitle-more">查看更多 +</a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -15,10 +15,10 @@
<!-- End 右侧漂浮窗 --> <!-- End 右侧漂浮窗 -->
<!-- 漂浮窗 --> <!-- 漂浮窗 -->
<a class="showy pc" id="bay" href="http://nyfh.has.ac.cn/articles/399"> <!-- <a class="showy pc" id="bay" href="http://www.hasnyy.org.cn/articles/402">
<div class="bay-close" style="text-align:right;cursor:pointer;" id="close">关闭</div> <div class="bay-close" style="text-align:right;cursor:pointer;" id="close">关闭</div>
<img class="bay-img" src="/assets/index/images/showy.jpg" /> <img class="bay-img" src="/assets/index/images/showy.jpg" />
</a> </a> -->
<!-- header --> <!-- header -->
<header class="header"> <header class="header">