diff --git a/.vscode/sftp.json b/.vscode/sftp.json new file mode 100644 index 0000000..039096c --- /dev/null +++ b/.vscode/sftp.json @@ -0,0 +1,12 @@ +{ + "name": "47.100.47.158", + "host": "47.100.47.158", + "protocol": "sftp", + "port": 21, + "username": "suzhou", + "remotePath": "/", + "uploadOnSave": false, + "useTempFile": false, + "openSsh": false, + "connectTimeout":10000 +} diff --git a/css/index.css b/css/index.css index 6de0dbd..fdf9c7e 100644 --- a/css/index.css +++ b/css/index.css @@ -416,7 +416,7 @@ a:active{ overflow: hidden; z-index: 2; } -.category__item:hover a { +/* .category__item:hover a { opacity: 1; z-index:9999; position: absolute; @@ -424,7 +424,7 @@ a:active{ transform: translateY(-50%); left:50%; transform: translateX(-50%); -} +} */ .category__item .business-effect .e-img-l { position: absolute; top: 0; @@ -557,6 +557,7 @@ a:active{ line-clamp: 1; -webkit-box-orient: vertical; margin: 30px 0; + text-decoration: none; } .contentText p{ margin:0; diff --git a/css/service03.css b/css/service03.css index 4249223..90ca805 100644 --- a/css/service03.css +++ b/css/service03.css @@ -269,8 +269,8 @@ a:active{ } .intro p{ - /* font-size: 18px; - font-family: Microsoft YaHei; + font-size: 14px!important; + /* font-family: Microsoft YaHei; font-weight: 400; color: #FFFFFF; margin-top:30px; */ diff --git a/css/style.css b/css/style.css index cdfecb4..964e8d1 100644 --- a/css/style.css +++ b/css/style.css @@ -432,7 +432,7 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*关于我们-11*/ -.about_11{ position: relative; margin: 100px 0;} +.about_11{ position: relative; margin: 50px 0 100px 0;} .about_11 .title{ text-align: center; } .about_11 .title h2:nth-child(2){ font-size: 42px; color: #124AA0;} .about_11 .title h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} @@ -486,7 +486,7 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*关于我们-31*/ .about_31{ position: relative; margin: 0 0 100px 0;} -.about_31 .title{ text-align: center; margin-top: 80px;} +.about_31 .title{ text-align: center; margin-top: 50px;} .about_31 .title h2:nth-child(2){ font-size: 42px; color: #124AA0;} .about_31 .title h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} @@ -506,7 +506,7 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*关于我们-41*/ .about_41{ position: relative; margin: 0 0 100px 0;} -.about_41 .title{ text-align: center; margin-top: 80px;} +.about_41 .title{ text-align: center; margin-top: 50px;} .about_41 .title h2:nth-child(2){ font-size: 42px; color: #124AA0;} .about_41 .title h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} @@ -526,7 +526,7 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*关于我们-51*/ .about_51{ position: relative; margin: 0 0 100px 0;} -.about_51 .title{ text-align: center; margin-top: 80px;} +.about_51 .title{ text-align: center; margin-top: 50px;} .about_51 .title h2:nth-child(2){ font-size: 42px; color: #124AA0;} .about_51 .title h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} @@ -572,7 +572,7 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*关于我们-61*/ -.about_61{ position: relative; margin: 50px 0 100px 0;} +.about_61{ position: relative; margin: 0 0 100px 0;} .about_61 .title{ text-align: center; margin-top: 80px;} @@ -683,15 +683,15 @@ box-shadow: 4px 4px 10px #f9f9f9;} -.about_61 .wrap h2 { font-size: 24px; color: #124AA0; margin-bottom: 30px;} +.about_61 .wrap h2 { font-size: 24px; font-weight: bold; color: #124AA0; margin-bottom: 30px;} .about_61 .wrap { margin-top: 30px; } .about_61 .wrap ul{ padding: 0; } -.about_61 .wrap li{ font-size: 14px; padding: 0;margin: 20 100 20 0;line-height: 30px;} +.about_61 .wrap li{ font-size: 16px; font-weight: bold; padding: 0;margin: 20 100 20 0;line-height: 36px;} -.about_61 .wrap .left{ padding: 0 100px 0 0; margin: 0 0 50px 0; } +.about_61 .wrap .left{ padding: 0 20px 0 100px; margin: 0 0 50px 0; } .about_61 .wrap .right img { width: 100%; } @@ -767,7 +767,7 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*业务版图-131*/ -.service_131{ position: relative; margin: 50px 0 0 0;} +.service_131{ position: relative; margin: 0 0 0 0;} .service_131 .title{ text-align: center; margin-top: 50px;} @@ -799,20 +799,41 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*业务版图-141*/ -.service_141{ position: relative; margin: 50px 0 0 0;} +.service_141{ position: relative; margin: 0 0 0 0;} .service_141 .title{ text-align: center; margin-top: 50px;} .service_141 .title h2:nth-child(2){ font-size: 42px; color: #124AA0;} .service_141 .title h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} -.service_141 .wrap{ text-align: center; } +.service_141 .wrap{ + text-align: center; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + padding: 0; +} -.service_141 .wrap .list{ margin: 10px 0px; padding: 10px; border: 1px solid #F2F2F2;box-shadow: 4px 4px 10px #f2f2f2;} +.service_141 .wrap .list{ + margin: 10px 10px 10px 0; + padding: 30px 0 0 0; + border: 1px solid #F2F2F2; + box-shadow: 4px 4px 10px #f2f2f2; + flex: 0 0 32%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} -.service_141 .wrap p { font-size: 22px; margin: 20px; } +.service_141 .wrap p { font-size: 16px; margin: 20px; } -.service_141 .wrap img{ margin: auto; opacity: 0.6;transition: 0.6s} +.service_141 .wrap img{ + margin: auto; + opacity: 0.6; + transition: 0.6s; + width:40%; +} .service_141 .wrap img:hover{ margin: auto; /*-webkit-transform: scale(1.2); @@ -840,14 +861,14 @@ box-shadow: 4px 4px 10px #f9f9f9;} /*业务版图-31*/ -.service_31{ position: relative; margin: 50px 0 100px 0;} +.service_31{ position: relative; margin: 0px 0 100px 0;} .service_31 h2:nth-child(2){ font-size: 42px; color: #124AA0;} .service_31 h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} .service_31 .wrap{ } -.service_31 .intro{ font-size: 14px; padding: 0;margin: 20 100 20 0;line-height: 30px;} +.service_31 .intro{ font-size: 18px; padding: 0;margin: 20 100 20 0;line-height: 30px;} .service_31 .left{ padding: 0 100px 0 0; margin: 100px 0 50px 0; @@ -1051,7 +1072,7 @@ overflow: hidden; top: 0;} /*人才发展*/ -.talent_02{ position: relative; margin: 50px 0 100px 0;} +.talent_02{ position: relative; margin: 0 0 100px 0;} .talent_02 .title{ text-align: center; margin-top: 50px;} .talent_02 h2:nth-child(2){ font-size: 42px; color: #124AA0;} .talent_02 h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} @@ -1073,7 +1094,7 @@ overflow: hidden; /*表单*/ -.apply_box{ position: relative; margin: 50px 0 100px 0;} +.apply_box{ position: relative; margin: 0 0 100px 0;} .apply_box .title{ text-align: center; margin-top: 50px;} .apply_box .title h2:nth-child(2){ font-size: 42px; color: #124AA0;} .apply_box .title h2:nth-child(3){ font-size: 30px; color: #124AA0;margin-bottom: 40px;} diff --git a/images/董事长致辞@2x.png b/images/董事长致辞@2x.png index 7abd5ce..fc6f9d7 100644 Binary files a/images/董事长致辞@2x.png and b/images/董事长致辞@2x.png differ diff --git a/images/首页-banner2-pre.jpg b/images/首页-banner2-pre.jpg deleted file mode 100644 index 195d896..0000000 Binary files a/images/首页-banner2-pre.jpg and /dev/null differ diff --git a/images/首页-banner2.png b/images/首页-banner2.png deleted file mode 100644 index 3e715d6..0000000 Binary files a/images/首页-banner2.png and /dev/null differ diff --git a/news/news01.html b/news/news01.html index baf6ab8..71c85eb 100644 --- a/news/news01.html +++ b/news/news01.html @@ -126,7 +126,9 @@ url: 'https://suzhou.njrenzhou.cn/api.php/news/articleList', data:{ category_id:11, - page:pageCurrent + page:pageCurrent, + order:'asc', + sort:'weigh' }, dataType: 'json', diff --git a/news/news02.html b/news/news02.html index 7c0557d..949fb81 100644 --- a/news/news02.html +++ b/news/news02.html @@ -123,7 +123,9 @@ url: 'https://suzhou.njrenzhou.cn/api.php/news/articleList', data:{ category_id:13, - page:pageCurrent + page:pageCurrent, + order:'asc', + sort:'weigh' }, dataType: 'json', diff --git a/news/news03.html b/news/news03.html index b048ee0..abb27a0 100644 --- a/news/news03.html +++ b/news/news03.html @@ -114,7 +114,9 @@ url: 'https://suzhou.njrenzhou.cn/api.php/news/articleList', data:{ category_id:35, - page:pageCurrent + page:pageCurrent, + order:'asc', + sort:'weigh' }, dataType: 'json', diff --git a/service/service14.html b/service/service14.html index 60d873a..7ebf947 100644 --- a/service/service14.html +++ b/service/service14.html @@ -93,66 +93,18 @@

上市企业

LISTED ENTERPRISES

-
-
- -
-

无锡蠡湖增压技术股份有限公司

-
-
-
- -
-

四川华体照明科技股份有限公司

-
-
-
- -
-

上海数据港股份有限公司

-
-
-
- -
-

无锡蠡湖增压技术股份有限公司

-
-
-
- -
-

四川华体照明科技股份有限公司

-
-
-
- -
-

上海数据港股份有限公司

-
-
-
- -
+
+ + +
@@ -161,13 +113,15 @@
@@ -184,6 +138,68 @@ }); $("#footer").load("../public/footer.html"); }); + + let pageCurrent = 1; + // 明星项目/上市企业 + function news01_render(pageCurrent){ + console.log(pageCurrent); + $.ajax({ + type: 'post', + url: 'https://suzhou.njrenzhou.cn/api.php/busmap/starProject', + data:{ + limit:9, + page:pageCurrent + }, + dataType: 'json', + + success: function (res) { + if(res.code==200){ + let item = res.data.data; + let html = ''; + let page = ''; + console.log(item); + $('.project_wrap').empty(); + $('.pageNum_wrap').empty(); + + $.each(item,function(index){ + var title = item[index].title; + var thumb = item[index].thumb; + + html += "
"; + html += ""; + html += "

" + title + "

"; + }) + $('.project_wrap').append(html); + + newsNum = res.data.total; + pageNum = Math.ceil(newsNum/10); + + page += "
  • <
  • "; + + for (let index = 1; index <= pageNum; index++) { + if (index == pageCurrent) { + page += "
  • " + index + "
  • "; + }else{ + page += "
  • " + index + "
  • "; + } + + } + + page += "
  • >
  • "; + $('.pageNum_wrap').append(page); + + } + }, + error: function (err) { + console.log(err); + } + + }); + + } + + news01_render(pageCurrent); + diff --git a/work/work.html b/work/work.html index ade000a..66f4592 100644 --- a/work/work.html +++ b/work/work.html @@ -166,8 +166,8 @@ category_id:37, page:pageCurrent, limit:4, - sort:'flags', - order:'desc' + order:'asc', + sort:'weigh' }, dataType: 'json',