anderx 4 vuotta sitten
vanhempi
commit
b6e6068635

+ 1 - 0
.idea/webContexts.xml

@@ -4,6 +4,7 @@
     <option name="state">
       <map>
         <entry key="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/common.html" value="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views" />
+        <entry key="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/portal/index.html" value="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/portal" />
       </map>
     </option>
   </component>

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

@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:th="http://www.thymeleaf.org">
-<head th:replace="common::header(~{::title},~{::link})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
 	<title>管理中心首页</title>
 	<link th:href="${staticHost+'/dll/dll.css'}" rel="stylesheet">
 	<link th:href="${staticHost+'/admin/index.css'}" rel="stylesheet">

+ 1 - 1
src/main/webapp/WEB-INF/views/admin/login.html

@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:th="http://www.thymeleaf.org">
-<head th:replace="common::header(~{::title},~{::link})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
 	<title>登录页</title>
 	<link th:href="${staticHost+'/dll/dll.css'}" rel="stylesheet">
 	<link th:href="${staticHost+'/admin/login.css'}" rel="stylesheet">

+ 3 - 7
src/main/webapp/WEB-INF/views/common.html

@@ -3,13 +3,9 @@
       xmlns:th="http://www.thymeleaf.org"
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
 
-<head th:fragment="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"/>
-    <meta name=" Keywords" Content="高新技术企业,财税筹划,军工三证,项目申报,科技项目,企业咨询,科德集团" />
-    <meta name=" description" Content="湖南科德信息咨询集团有限公司(www.kedexinxi.com)是一家拥有21年的专业咨询服务机构,累计超过近3万家企业选择科德咨询,服务内容涵盖:国家高新技术企业培育及认定咨询,财税筹划培训,军工三证,科技项目、企业税收优惠政策等服务的一站式服务专家。" />
-    <title>高新技术企业_财税筹划培训_军工三证咨询_企业咨询机构-科德集团</title>
+<head th:fragment="header(title, link,meta)">
+    <th:block th:replace="${meta}" />
+    <th:block th:replace="${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'}">

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

@@ -1,10 +1,10 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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>
+    <title>关于科德</title>
     <!-- 二级页面CSS -->
     <link rel="stylesheet"  th:href="${portalHost+'/css/secode.css'}">
     <link rel="stylesheet"  th:href="${portalHost+'/css/develop.css'}">

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

@@ -1,10 +1,10 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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>
+    <title>服务客户</title>
     <!-- 二级页面CSS -->
     <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
     <!-- 自定义动画样式 -->

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

@@ -1,10 +1,10 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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>
+    <title>联系我们</title>
     <!-- 二级页面CSS -->
     <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
 </head>

+ 4 - 2
src/main/webapp/WEB-INF/views/portal/index.html

@@ -1,10 +1,12 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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>
+    <meta name="Keywords" Content="高新技术企业,财税筹划,军工三证,项目申报,科技项目,企业咨询,科德集团"/>
+    <meta name="description" Content="湖南科德信息咨询集团有限公司(www.kedexinxi.com)是一家拥有21年的专业咨询服务机构,累计超过近3万家企业选择科德咨询,服务内容涵盖:国家高新技术企业培育及认定咨询,财税筹划培训,军工三证,科技项目、企业税收优惠政策等服务的一站式服务专家。"/>
+    <title>高新技术企业_财税筹划培训_军工三证咨询_企业咨询机构-科德集团</title>
     <!-- 首页内容样式 -->
     <link rel="stylesheet" th:href="${portalHost+'/css/index.css'}">
     <!-- swiper轮播图样式 -->

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

@@ -1,6 +1,6 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

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

@@ -1,6 +1,6 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

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

@@ -1,6 +1,6 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productService.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServiceCaisui.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServiceGaoxin.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServiceJunming.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServiceKejixiangmu.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServicePingtai.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServiceTxrz.html

@@ -1,7 +1,7 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/productServiceZhishi.html

@@ -1,6 +1,6 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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">

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

@@ -1,10 +1,10 @@
 <!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})">
+<head th:replace="common::header(~{::title},~{::link},~{::meta})">
     <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>
+    <title>战略合作</title>
 
     <!-- 二级页面CSS -->
     <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">