From adea898e340073a5ddce8cc9db0451f3ba28882e Mon Sep 17 00:00:00 2001 From: hongjunluo Date: Thu, 29 Dec 2022 01:14:10 +0800 Subject: [PATCH] v6.5 --- about/about03.html | 12 ++++++------ css/style.css | 9 +++++++-- index.html | 2 +- js/index.js | 4 ++-- news/news01.html | 10 ++++++++-- news/news02.html | 10 ++++++++-- news/news03.html | 10 ++++++++-- 7 files changed, 40 insertions(+), 17 deletions(-) diff --git a/about/about03.html b/about/about03.html index 3fc9be6..096e7eb 100644 --- a/about/about03.html +++ b/about/about03.html @@ -97,7 +97,7 @@
协同创新
-
Collaborative innovation
+
COLLABORATIVE INNOVATION
@@ -113,7 +113,7 @@
要素资源
-
Element resources
+
ELEMENT RESOURCES
科研机构
-

联合各研究机构、院所助力科技 成果转化

+

联合各研究机构、院所助力科技成果转化

@@ -148,7 +148,7 @@
-
科研机构
+
金融支持

以金融 “活水”灌溉产业创新集群

@@ -165,7 +165,7 @@
-
科研机构
+
服务保障

赋能企业优化创新服务生态

@@ -228,7 +228,7 @@
强链补链
-
Strong chain complement
+
STRONG CHAIN COMPLEMENT
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 @@ - +
@@ -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 @@ - +
@@ -149,7 +149,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/news03.html b/news/news03.html index ed8dfcc..d0974ba 100644 --- a/news/news03.html +++ b/news/news03.html @@ -49,7 +49,7 @@ - + @@ -139,7 +139,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 { // 内容渲染