Browse Source

修改首页

wanghui 8 years ago
parent
commit
b1edcdf26d

+ 2 - 2
src/main/resources/props/config_local.properties

@@ -55,12 +55,12 @@ app.name=AFT
 template.cacheable=false
 
 static.host=//sb.jishutao.com/1.0.41
-portal.host=//sf.jishutao.com/portal/1.0.11
+portal.host=//sf.jishutao.com/portal/2.0.0
 avatar.host=//sb.jishutao.com
+avatar.upload.host=//sb.jishutao.com/upload
 
 upload.path=F:/data/public/upload
 upload.private.path=F:/data/private/upload
-avatar.upload.host=//sb.jishutao.com/upload
 
 accessKey=LTAIqTgQLLwz252Z
 accessSecret=ICGuiUnqzaar7urw4zecVcJrJ1MHg9

+ 82 - 115
src/main/webapp/WEB-INF/views/common.html

@@ -2,11 +2,12 @@
 <html xmlns="http://www.w3.org/1999/xhtml" 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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
-	<meta name="renderer" content="webkit">
-	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
+	<meta charset="utf-8" />
+    <link rel="icon" th:href="${portalHost}+'/img/ico_logo.ico'">
+    <meta name="Keywords" content=""/>
+    <meta name="Description" content=""/>
+	<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no">
+	<meta http-equiv="x-ua-compatible" content="ie=edge">
 	<title th:replace="${title}"></title>
 	<th:block th:replace="${link}" />
 	<!-- [if lt IE 9]>
@@ -17,25 +18,35 @@
 </head>
 
 <body>
-	<th:block th:fragment="{topNav}">
+	<th:block th:fragment="{nav}">
 		<div class="container">
-			<div class="lt">欢迎进入科技认知计算交易平台 - 公测版</div>
-			<div class="rt" th:if="${!isLogin}">
-				<a th:href="${basePath + '/user/login.html'}" class="login">登录</a>
-				<a th:href="${basePath + '/user/signIn.html'}">注册</a>
-				<a href="#">导航</a>
-				<a href="#">关于我们</a>
-				<a href="#">联系我们</a>
-			</div>
-			<div class="rt" th:if="${isLogin}">
-				<span>欢迎光临,</span>
-				<a class="login" th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}" th:text="${userName}">个人中心</a>
-				<a th:href="${basePath + '/user/logout'}">退出</a>
-				<a href="#">导航</a>
-				<a href="#">关于我们</a>
-				<a href="#">联系我们</a>
-			</div>
-		</div>
+  			<div class="logo">
+  				<a th:href="${basePath + '/portal/index.html'}">
+  					<img th:src="${portalHost}+'/img/Logo111.png'" alt="" title="技淘"/>
+  				</a>
+  			</div>
+  			<div class="nav">
+  				<ul>
+  					<li class="active">
+  						<a href="#">科技服务</a><img th:src="${portalHost}+'/img/hot.png'"/>
+  					</li>
+  					<li><a href="#">技术交易</a></li>
+  					<li><a href="#">智库咨询</a></li>
+  					<li><a href="#">科技金融</a></li>
+  					<li><a href="#">科技活动</a></li>
+  					<li><a href="#">平台共建</a></li> 					
+  				</ul>
+  			</div>
+  			<div class="nav_right" th:if="${!isLogin}">
+  				<a th:href="${basePath + '/user/signIn.html'}">注册</a>
+  				<a th:href="${basePath + '/user/login.html'}">登陆</a>
+  				<a href="">关于我们</a>
+  			</div>
+  			<div class="nav_right" th:if="${isLogin}">
+  				<a th:href="${basePath + '/user/logout'}">退出</a>
+  				<a href="">关于我们</a>
+  			</div>
+  		</div>
 	</th:block>
 
 	<th:block th:fragment="sublogo">
@@ -48,22 +59,16 @@
 		<ul class="nav_content">
 			<li class="home"><a th:href="${basePath + '/portal/index.html'}">首页</a></li>
 			<li th:classappend="${mainM=='tech'}? 'active'">
-				<!-- <a th:href="${basePath + '/portal/technologyTrading/index.html'}">技术交易</a> -->
 				<a th:href="${basePath + '/portal/technologyTrading/index.html'}">技术交易</a>
 				<ul class="secondary_navigation_nav" th:style="${'width:'+(4*75)+'px;left:-'+(4*75/2-74.25/2)+'px;'}">
 					<li th:classappend="${subM=='demand'}? 'active'"><a th:href="${basePath + '/portal/search/demand.html'}">需求谷</a></li>
 					<li th:classappend="${subM=='tech'}? 'active'"><a th:href="${basePath + '/portal/search/achievement.html'}">技术海</a></li>
-					<!-- <li><a href="#">Idea</a></li> -->
-					<li th:classappend="${subM=='company'}? 'active'"><a th:href="${basePath + '/portal/search/subscriberOrg.html'}">伙伴</a></li>
-					<li th:classappend="${subM=='person'}? 'active'"><a th:href="${basePath + '/portal/search/subscriberUser.html'}">行家</a></li>
-					<!-- <li th:classappend="${subM=='international'}? 'active'"><a th:href="${basePath + '/portal/international/internationalIndex.html'}">国际业务</a></li> -->
 				</ul>
 			</li>
 			<li th:classappend="${mainM=='service'}? 'active'">
 				<a th:href="${basePath + '/portal/service/serviceIndex.html'}">服务汇</a>
 				<ul class="secondary_navigation_nav" th:style="${'width:'+(3*75)+'px;left:-'+(3*75/2-74.25/2)+'px;'}">
 					<li th:classappend="${subM=='highTech'}? 'active'"><a th:href="${basePath + '/portal/highTech/authentication.html'}">高企认定</a></li>
-					<!-- <li><a th:href="${basePath + '/portal/highTech/authentication.html'}">科技项目</a></li> -->
 					<li th:classappend="${subM=='ipr'}? 'active'"><a th:href="${basePath + '/portal/ipr/service.html'}">知识产权</a></li>
 					<li th:classappend="${subM=='evaluate'}? 'active'"><a th:href="${basePath + '/portal/evaluation/index.html'}">技术评估</a></li>
 				</ul>
@@ -151,95 +156,57 @@
 	</th:block>
 
 	<th:block th:fragment="copyright">
-		<div class="contact" id="pendant_qq">
-			<div class="pendent_box">
-				<div class="return_top"><span>回到顶部</span><img th:src="${portalHost}+'/img/top.png'" /></div>
-			</div>
-			<div class="con_qq">
-				<img th:src="${portalHost}+'/img/qq.png'" />
-				<p>在线咨询</p>
-				<img class="direction_right" th:src="${portalHost}+'/img/right.png'" />
-				<img class="direction_left" th:src="${portalHost}+'/img/left.png'" />
-			</div>
-			<div class="con_text">
-				<ul>
-					<li class="fix_qq" id="pendant_qq">
-						<a href="tencent://Message/?Uin=2035994611&websiteName=q-zone.qq.com&Menu=yes"><span>高新认定</span><img th:src="${portalHost}+'/img/qq_content.png'"/></a>
-					</li>
-					<li class="fix_qq" id="pendant_qq">
-						<a href="tencent://Message/?Uin=2035994611&websiteName=q-zone.qq.com&Menu=yes"><span>科技项目</span><img th:src="${portalHost}+'/img/qq_content.png'"/></a>
-					</li>
-					<li class="fix_qq" id="pendant_qq">
-						<a href="tencent://Message/?Uin=2035994611&websiteName=q-zone.qq.com&Menu=yes"><span>知识产权</span><img th:src="${portalHost}+'/img/qq_content.png'"/></a>
-					</li>
-					<li class="fix_qq" id="pendant_qq">
-						<a href="tencent://Message/?Uin=2035994611&websiteName=q-zone.qq.com&Menu=yes"><span>技术评估</span><img th:src="${portalHost}+'/img/qq_content.png'"/></a>
-					</li>
-					<li>
-						<span>电话 </span><span> 400-8800-962</span>
-					</li>
-				</ul>
-
-			</div>
-		</div>
-		<div class="fix_box">
-			<div class="to_membership"><a th:href="${basePath + '/user/login.html'}">申请会员</a></div>
-			<div class="to_service"><a href="">联系客服</a></div>
-			<div class="return_top"><a href="">回到顶部</a></div>
-		</div>
-		<div class="container">
-			<div class="friendship_link">
-				<div class="friendship_link_tit">
-					<h4>友情链接
-						<!--<span>显示全部</span>-->
-					</h4>
-				</div>
-				<div class="friendship_link_content">
-					<a href="http://www.hnst.gov.cn/" target="_blank">湖南省科技厅</a>
-					<a href="http://www.cssti.cn/" target="_blank">长沙市科技局</a>
-					<a href="http://www.cast.org.cn/" target="_blank">中国科学技术协会</a>
-					<a href="http://www.chinatorch.gov.cn/" target="_blank">科技部火炬中心</a>
-					<a href="http://www.nosta.gov.cn/web/index.aspx" target="_blank">国家科技成果奖励办</a>
-					<a href="http://www.nast.org.cn/portal.php" target="_blank">国家科技成果网</a>
-					<a href="http://www.hnast.org.cn/portal/comm/index.action" target="_blank">湖南省科学技术协会</a>
-					<a href="http://www.hncgw.gov.cn/" target="_blank">湖南省科技成果转化公共服务平台</a>
-					<a href="http://www.hnjxw.gov.cn/" target="_blank">湖南省经济信息化委员会</a>
-					<a href="http://kyy.hnu.cn/" target="_blank">湖南大学科学技术研究院</a>
-				</div>
-				<div class="friendship_link_content">
-					<a href="http://www.gxst.gov.cn/" target="_blank">广西省科技厅</a>
-					<a href="http://www.cssti.cn/" target="_blank">内蒙古自治区科技厅</a>
-					<a href="http://www.cshtz.gov.cn/" target="_blank">长沙高新区管委会</a>
-					<a href="http://www.jxas.ac.cn/" target="_blank">江西省科学院</a>
-					<a href="http://www.cnic.cn/" target="_blank">中科院计算机网络信息中心</a>
-					<a href="http://kxyjb.csu.edu.cn/" target="_blank">中南大学科学研究部</a>
-					<a href="http://www.scei.org.cn/" target="_blank">中国科协创新创业服务中心</a>
-					<a href="http://www.hbstd.gov.cn/" target="_blank">湖北省科技厅</a>
-					<a href="http://www.gdstc.gov.cn/" target="_blank">广东省科技厅</a>
-					<a href="http://www.hnkjt.gov.cn/" target="_blank">河南省科技厅</a>
-				</div>
-			</div>
-			<div class="footer_contact">
-				<div class="address">
-					<p>湖南省长沙市营盘东路19号金山大厦八楼</p>
-				</div>
-				<div class="tel">
-					<p>合作电话:0731-89907207</br>400-8800-962</p>
+		<div id="bottom">
+			<div class="bottom">
+				<img th:src="${portalHost}+'/img/bottom1_02.jpg'" alt="" />
+				<div class="bottom_text">
+					<div class="text_top">
+						<a href="#">关于公司/</a> <a href="#">联系我们</a>
+						<p>Copyright &copy 2016-2017 科德 版权所有 湘ICP备15019731号 -2
+							技术支持:湖南阿凡提科技有限公司</p>
+					</div>
+					<div class="text_center">
+						<div class="cont_left">
+							<img th:src="${portalHost}+'/img/dizhi.jpg'" alt="" />
+							<p>湖南省长沙市营盘东路19号金山大厦</p>
+						</div>
+						<div class="cont_center">
+							<img th:src="${portalHost}+'/img/dianhua.jpg'" alt="" />
+							<p>合作电话:0731-89907207</p>
+							<p>400-8800-962八楼</p>
+						</div>
+						<div class="cont_right">
+							<img th:src="${portalHost}+'/img/erweima.jpg'" alt="" />
+							<p>科德公众号</p>
+						</div>
+					</div>
+					<div class="text_bottom">
+						<p>友情链接</p>
+						<a href="http://www.hnst.gov.cn/">湖南省科技厅/</a> <a
+							href="http://www.cssti.cn/">长沙市科技局/</a> <a
+							href="http://www.cast.org.cn/">中国科学技术协会/</a> <a
+							href="http://www.chinatorch.gov.cn/">科技部火炬中心/</a> <a
+							href="http://www.nosta.gov.cn/web/index.aspx">国家科技成果奖励办/</a> <a
+							href="http://www.nast.org.cn/">国家科技成果网/</a> <a
+							href="http://www.hnast.org.cn/portal/comm/index.action">湖南省科学技术协会/</a>
+						<a href="http://www.hncgw.gov.cn/">湖南省科技成果转化公共服务平台/</a> <a
+							href="http://www.hnjxw.gov.cn/">湖南省经济信息化委员会/</a> <a
+							href="http://kyy.hnu.cn/">湖南大学科学技术研究院/</a> <a
+							href="http://www.gxst.gov.cn/gxkjt/">广西省科技厅/</a> <a
+							href="http://www.nmkjt.gov.cn/">内蒙古自治区科技厅/</a> <a
+							href="http://www.cshtz.gov.cn/">长沙市高新区管委会/</a> <a
+							href="http://www.jxas.ac.cn/">江西省科学院/</a> <a
+							href="http://www.cnic.cn/front/index.html#/cnicSite/home">中科院计算机网络信息中心/</a>
+						<a href="http://kxyjb.csu.edu.cn/">中南大学科学研究部/</a> <a
+							href="http://www.cast.org.cn/">中国科协创新创业服务中心/</a> <a
+							href="http://www.hbstd.gov.cn/">湖北省科技厅/</a> <a
+							href="http://www.gdstc.gov.cn/">广东省科技厅/</a> <a
+							href="http://www.hnkjt.gov.cn/">河南省科技厅/</a> <a
+							href="http://www.cbtm.gov.cn/">技术合同登记官网</a>
+					</div>
 				</div>
-				<div></div>
 			</div>
 		</div>
-		<div class="company_link">
-			<a href="http://www.kedexinxi.com/about/?49.html" target="_blank">关于公司</a>
-			<a href="#">联系我们</a>
-		</div>
-		<div class="container support">
-			<a href="#">Copyright © 2016-2017 科德 版权所有 湘ICP备15019731号-2</a>
-			<a href="#">技术支持:湖南智明科技有限公司</a>
-		</div>
-		<div class="msg">
-			<span></span>
-		</div>
 	</th:block>
 
 	<th:block th:fragment="footer(scripts)">

File diff suppressed because it is too large
+ 276 - 234
src/main/webapp/WEB-INF/views/portal/index.html