浏览代码

战略合作页面开发

Signed-off-by: anderx <312518615@qq.com>
anderx 5 年之前
父节点
当前提交
a7a4aab9f4

+ 18 - 0
src/main/java/com/kede/common/controller/WebpageController.java

@@ -123,6 +123,24 @@ public class WebpageController extends BaseController {
 		modelview.addObject("banners",o);
 		return modelview;
 	}
+	/**
+	 * 战略合作
+	 * @param request
+	 * @param modelview
+	 * @return
+	 */
+	@SuppressWarnings("unchecked")
+	@RequestMapping(value = "/portal/strategic", method = RequestMethod.GET)
+	public ModelAndView portalStrategic(HttpServletRequest request, ModelAndView modelview,Integer id) {
+		modelview.setViewName("/portal/strategic");
+		InputBannerDetails ibd=new InputBannerDetails(1,2);
+		OutBannerDetails o=new OutBannerDetails();
+		List<OutBannerDetails> list=(List<OutBannerDetails>) bannersService.listBannersDetails(ibd, 1, 1).getList();
+		o=list.size()>0?list.get(0):null;
+		modelview.addObject("banners",o);
+		return modelview;
+	}
+	
 	
 	/**
 	 * 客户列表

+ 2 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -8,6 +8,7 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>湖南科德信息咨询有限公司</title>
+    <link rel="icon" th:href="${portalHost+'/images/icon/kedexinxi.ico'}"  type="image/x-icon">
     <!--Bootstrap CSS 文件 -->
     <link rel="stylesheet" th:href="${portalHost+'/css/bootstrap.min.css'}">
     <!-- 字体图标 -->
@@ -44,7 +45,7 @@
             <nav class="pc_nav">
                 <!-- LOGO -->
                 <div class="logo">
-                    <a href="#"><img th:src="${portalHost+'/images/logo.png'}" alt="科德咨询" /></a>
+                    <a th:href="${basePath+'/portal/index'}"><img th:src="${portalHost+'/images/logo.png'}" alt="科德咨询" /></a>
                 </div>
                 <ul>
                     <div class="nav-dog"></div>

+ 0 - 1
src/main/webapp/WEB-INF/views/portal/aboutKede.html

@@ -5,7 +5,6 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>科德信息咨询</title>
-    <link rel="icon"  th:href="${portalHost+'/images/icon/kedexinxi.ico'}" type="image/x-icon">
     <!-- 二级页面CSS -->
     <link rel="stylesheet"  th:href="${portalHost+'/css/secode.css'}">
 </head>

+ 0 - 1
src/main/webapp/WEB-INF/views/portal/client.html

@@ -5,7 +5,6 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>科德信息咨询</title>
-    <link rel="icon" th:href="${portalHost+'/images/icon/kedexinxi.ico'}"  type="image/x-icon">
     <!-- 二级页面CSS -->
     <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
     <!-- 自定义动画样式 -->

+ 0 - 1
src/main/webapp/WEB-INF/views/portal/contactUs.html

@@ -5,7 +5,6 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>科德信息咨询</title>
-    <link rel="icon" th:href="${portalHost+'/images/icon/kedexinxi.ico'}"  type="image/x-icon">
     <!-- 二级页面CSS -->
     <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
 </head>

+ 0 - 1
src/main/webapp/WEB-INF/views/portal/index.html

@@ -5,7 +5,6 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>湖南科德信息咨询有限公司</title>
-    <link rel="icon" th:href="${portalHost+'/images/icon/kedexinxi.ico'}"  type="image/x-icon">
     <!-- 首页内容样式 -->
     <link rel="stylesheet" th:href="${portalHost+'/css/index.css'}">
     <!-- swiper轮播图样式 -->

+ 0 - 1
src/main/webapp/WEB-INF/views/portal/newsDetails.html

@@ -5,7 +5,6 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>科德信息咨询</title>
-    <link rel="icon"  th:href="${portalHost+'/images/icon/kedexinxi.ico'}" type="image/x-icon">
     <!-- 二级页面CSS -->
     <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
 </head>

+ 75 - 0
src/main/webapp/WEB-INF/views/portal/strategic.html

@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="common::header(~{::title},~{::link})">
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>科德信息咨询</title>
+    
+    <!-- 二级页面CSS -->
+    <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
+    <!-- 自定义动画样式 -->
+    <link rel="stylesheet" th:href="${portalHost+'/css/swiper.min.css'}">
+</head>
+
+<body>
+    <div class="app">
+        <!-- 头部 -->
+        <header>
+           <div th:replace="common::nav('','')"></div>
+            <!-- 新闻轮播图  -->
+            <div class="swiper-containerx">
+            	<img th:src="${banners}==null?${portalHost+'/images/banner/news_bg.jpg'}:${avatarUploadHost}+${banners.bannerUrl}" />
+            </div>
+            <!-- 新闻轮播图 end -->
+        </header>
+        <!-- 头部  end -->
+        <!-- 主体内容 -->
+        <div class="main-str  main">
+            <div class="product-title">
+                <h4>战略合作</h4>
+                <p>已为26000+企业,获得国家高新技术企业认证!</p>
+            </div>
+            <div class="strategic container">
+                    <div class="">
+                        <ul class="">
+                        </ul>
+                    </div>
+                    <!-- 分页 -->
+                    <div class="page_3"></div>
+                    <!-- 分页 end -->
+                </div>
+            </div>
+            <div class="strate-f">
+                <div class="container">
+                    <div class="str-f-text">
+                        <p>商务恰谈,渠道合作</p>
+                        <p>技术转移事业部</p>
+                        <p>联系人:陈女士</p>
+                    </div>
+                    <div class="str-f-number">
+                        <p>电话: 0731-89907207</p>
+                        <p>QQ:1924306267</p>
+                        <p>邮箱:1924306267@qq.com</p>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <!-- 主体内容  end -->
+        <!-- 底部 -->
+         <footer>
+           	<div th:replace="common::copyright"></div>
+        </footer>
+        <!-- 底部  end -->
+    </div>
+    
+     <div th:replace="common::footer(~{::script})">
+    <!-- 引入轮播 -->
+    <script th:src="${portalHost+'/js/page.js'}"></script>
+    <script >
+        cooperation()
+    </script>
+    </div>   
+</body>
+
+</html>