diff --git a/css/style.css b/css/style.css
index 47df3d0..9febd8f 100644
--- a/css/style.css
+++ b/css/style.css
@@ -900,6 +900,11 @@ box-shadow: 4px 4px 10px #f9f9f9;}
right: 0px;
cursor:pointer;
}
+.textNo{
+ flex: 0 0 100%;
+ text-align: center;
+
+}
.news_01{ position: relative; margin: 50px 0 0px 0;}
.news_01 .wrap{ }
@@ -1009,11 +1014,11 @@ overflow: hidden;
/*新闻中心-detail*/
.news_detail{ position: relative; margin: 50px 0 100px 0;}
-.news_detail .content h2{ line-height: 60px; text-align: center;}
+.news_detail .content h2{ line-height: 50px; text-align: center;}
.news_detail .content .text{ line-height: 28px; color: #333;}
.work_detail{ position: relative; margin: 50px 0 100px 0;}
-.work_detail .content h2{ line-height: 100px; text-align: center;}
+.work_detail .content h2{ line-height: 60px; text-align: center;}
.work_detail .content .text{ line-height: 28px; color: #333;}
diff --git a/index.html b/index.html
index d775fda..6349594 100644
--- a/index.html
+++ b/index.html
@@ -246,7 +246,7 @@
diff --git a/js/index.js b/js/index.js
index 9c694fc..a6cf16c 100644
--- a/js/index.js
+++ b/js/index.js
@@ -115,10 +115,10 @@ $(function(){
$('.second3Title>.textsecond3').html('重点关注计算机与智能消费设备制造、信息通信、新型显示、集成电路、电子元器件与专用材料产业、人工智能等领域').animate({'opacity': 1}, 500);
})
}
- if($(this).children()[1].innerText=='医药生物'){
+ if($(this).children()[1].innerText=='生物医药'){
$('.section3').addClass('yiyaoshengwu').removeClass('xianjincailiao zhuangbeizhizao dianxixinxi');
$('.second3Title>.title').animate({'opacity': 0}, 400, function(){
- $('.second3Title>.title').html('医药生物').animate({'opacity': 1}, 500);
+ $('.second3Title>.title').html('生物医药').animate({'opacity': 1}, 500);
})
$('.second3Title>p').animate({'opacity': 0}, 400, function(){
$('.second3Title>p').html('PHARMACEUTICAL
BIOLOGY').animate({'opacity': 1}, 500);
diff --git a/news/news01.html b/news/news01.html
index 2249d47..15159e2 100644
--- a/news/news01.html
+++ b/news/news01.html
@@ -57,7 +57,7 @@
媒体聚焦
- MEDIA FOCUSE
+ MEDIA FOCUS
@@ -151,7 +151,13 @@
newsNum = res.data.total;
pageNum = Math.ceil(newsNum/10);
- if(pageCurrent > pageNum){
+ if (pageNum==0) {
+ $('.news_wrap').empty();
+ $('.pageNum_wrap').empty();
+ html = "
";
+ $('.news_wrap').append(html);
+ }
+ else if(pageCurrent > pageNum){
alert('最后一页');
}else{
// 内容渲染
diff --git a/news/news02.html b/news/news02.html
index 39883d6..f21613a 100644
--- a/news/news02.html
+++ b/news/news02.html
@@ -57,7 +57,7 @@