-
+
@@ -211,7 +211,7 @@ var bodyContent = {
-
+
@@ -229,7 +229,7 @@ var bodyContent = {
-
+
diff --git a/platform/src/main/webapp/template/web/static/css/news.css b/platform/src/main/webapp/template/web/static/css/news.css
index ab85461..3d1699d 100644
--- a/platform/src/main/webapp/template/web/static/css/news.css
+++ b/platform/src/main/webapp/template/web/static/css/news.css
@@ -1,12 +1,16 @@
.page-container .news-content {
width: 100%;
- background: #EFF3F8;
- padding: 20px 0 0 0;
+ /*background: #EFF3F8;*/
+ padding: 20px 0 40px 0;
+ min-height: 600px;
+ background: url("../image/news_bg.jpg") no-repeat;
+ background-size: cover;
}
.news-content .news-container {
width: 1200px;
margin: 0 auto;
+ background: #ffffff;
}
.news-container .news-tab {
@@ -44,6 +48,7 @@
justify-content: space-between;
align-items: center;
border-bottom: 1px dashed #E0E0E0;
+ padding: 0 15px;
}
.news-item .point {
diff --git a/platform/src/main/webapp/template/web/static/css/product.css b/platform/src/main/webapp/template/web/static/css/product.css
index 4ae9b8c..b5af372 100644
--- a/platform/src/main/webapp/template/web/static/css/product.css
+++ b/platform/src/main/webapp/template/web/static/css/product.css
@@ -1,6 +1,3 @@
-.demand-container {
-}
-
.content-container {
width: 1200px;
margin: 0 auto;
@@ -222,9 +219,17 @@
margin: 0 auto;
}
+.demand-panel {
+ background: url("../image/server_bg.jpg") no-repeat;
+ background-size: cover;
+ padding: 0 0 40px 0;
+}
+
.demand-container {
width: 1200px;
margin: 0 auto;
+ background: #ffffff;
+ padding: 0 0 6px 0;
}
.demand-container .pagination {
diff --git a/platform/src/main/webapp/template/web/static/image/header_logo.png b/platform/src/main/webapp/template/web/static/image/header_logo.png
new file mode 100644
index 0000000..128dd74
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/header_logo.png differ
diff --git a/platform/src/main/webapp/template/web/static/image/home_banner2.jpg b/platform/src/main/webapp/template/web/static/image/home_banner2.jpg
new file mode 100644
index 0000000..ce10258
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/home_banner2.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/news_bg.jpg b/platform/src/main/webapp/template/web/static/image/news_bg.jpg
new file mode 100644
index 0000000..44dbc8a
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/news_bg.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/server_bg.jpg b/platform/src/main/webapp/template/web/static/image/server_bg.jpg
new file mode 100644
index 0000000..a192363
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/server_bg.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/service_card1.jpg b/platform/src/main/webapp/template/web/static/image/service_card1.jpg
new file mode 100644
index 0000000..826f19b
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/service_card1.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/service_card2.jpg b/platform/src/main/webapp/template/web/static/image/service_card2.jpg
new file mode 100644
index 0000000..a459e28
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/service_card2.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/service_card3.jpg b/platform/src/main/webapp/template/web/static/image/service_card3.jpg
new file mode 100644
index 0000000..c867df8
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/service_card3.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/service_card4.jpg b/platform/src/main/webapp/template/web/static/image/service_card4.jpg
new file mode 100644
index 0000000..0c15311
Binary files /dev/null and b/platform/src/main/webapp/template/web/static/image/service_card4.jpg differ
diff --git a/platform/src/main/webapp/template/web/static/image/title_left.png b/platform/src/main/webapp/template/web/static/image/title_left.png
index df2e3ad..b789bc9 100644
Binary files a/platform/src/main/webapp/template/web/static/image/title_left.png and b/platform/src/main/webapp/template/web/static/image/title_left.png differ
diff --git a/platform/src/main/webapp/template/web/static/image/title_right.png b/platform/src/main/webapp/template/web/static/image/title_right.png
index 1b583d4..38586a9 100644
Binary files a/platform/src/main/webapp/template/web/static/image/title_right.png and b/platform/src/main/webapp/template/web/static/image/title_right.png differ
diff --git a/platform/src/main/webapp/template/web/static/js/home.js b/platform/src/main/webapp/template/web/static/js/home.js
index da4f1e3..bb2bf6e 100644
--- a/platform/src/main/webapp/template/web/static/js/home.js
+++ b/platform/src/main/webapp/template/web/static/js/home.js
@@ -1,20 +1,27 @@
$(function () {
- var isMobile = document.body.clientWidth <= 768
+ window.onload = function() {
+ var mySwiper = new Swiper ('.swiper-container', {
+ direction: 'horizontal',
+ loop: true,
+ speed: 500,
+ autoplay: {
+ disableOnInteraction: false, //手动滑动之后不打断播放
+ delay: 2000
+ },
- const productCards = [
- {
- id: 1,
- imageUrl: '',
- title: '科技服务业',
- content: '打造双创基地、产业集聚生态空间',
- iconList: [
- {
- iconUrl: '',
- iconTitle: '基础服务'
- }
- ]
- }
- ]
+ // 如果需要分页器
+ pagination: {
+ el: '.swiper-pagination',
+ },
+
+ // 如果需要滚动条
+ scrollbar: {
+ el: '.swiper-scrollbar',
+ },
+ })
+ }
+
+ var isMobile = document.body.clientWidth <= 768
//index banner
$('.banner_index').flexslider({
--
libgit2 0.21.2