Просмотр исходного кода

首页,公共底部,顶部更改

anderx лет назад: 3
Родитель
Сommit
7c0c4e1a7a

+ 60 - 8
src/main/webapp/WEB-INF/views/common.html

@@ -57,7 +57,7 @@
 					</li>
 
 					<li>
-						<a class="reg"  style="color: #fff;" th:href="@{/user/signIn}">注册</a>
+						<a class="reg"  style="color: #fff;" th:if="!${isLogin}" th:href="@{/user/signIn}">注册</a>
 					</li>
 					<li>
 						<a class="head_login log"  style="color: #1566ED;" th:if="!${isLogin}" href="javascript:;" >登录</a>
@@ -65,7 +65,7 @@
 					<li th:if="${isLogin}" class="signin">
 						<a th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}"
 							th:text="${#strings.isEmpty(userName)?'个人中心':userName}">个人中心</a>
-						<a th:href="${basePath + '/user/logout'}">退出</a>
+						<a th:href="${basePath + '/user/logout'}">[退出]</a>
 					</li>
 				</ul>
 			</div>
@@ -350,7 +350,7 @@
 						<a href="/portal/technologyTrading/demandList">
 							<div class="newbottom_clitxt">技术需求</div>
 						</a>
-						<a href="">
+						<a href="/portal/service/patent">
 							<div class="newbottom_clitxt">交易政策</div>
 						</a>
 						<a href="/portal/adviser">
@@ -359,19 +359,19 @@
 					</div>
 					<div class="newbottom_clitem">
 						<div class="newbottom_clitit">实用工具</div>
-						<a href="">
+						<a href="/portal/technologyTrading/achievementList">
 							<div class="newbottom_clitxt">智能匹配</div>
 						</a>
-						<a href="">
+						<a href="/portal/evaluation/evaluate">
 							<div class="newbottom_clitxt">在线评估</div>
 						</a>
-						<a href="">
+						<a href="/portal/technologyTrading/demandList">
 							<div class="newbottom_clitxt">精准匹配</div>
 						</a>
-						<a href="">
+						<a href="/portal/service/patent">
 							<div class="newbottom_clitxt">深度挖掘</div>
 						</a>
-						<a href="">
+						<a href="/portal/adviser">
 							<div class="newbottom_clitxt">全程跟进</div>
 						</a>
 					</div>
@@ -400,6 +400,10 @@
 						<img class="newbottom_cricode" th:src="${portalHost + '/img/erweima_android.jpg'}" alt="" />
 						Android版
 					</div>
+					<div class="newbottom_critem">
+						<img class="newbottom_cricode" th:src="${portalHost + '/img/erweima_iphone.png'}" alt="" />
+						IOS版
+					</div>
 				</div>
 			</div>
 			<div class="newbottom_info">
@@ -414,6 +418,54 @@
 			</div>
 			<div>Copyright © 2016-2022 科德 版权所有 湘ICP备15019731号 -2 技术支持:阿凡提信息科技(湖南)股份有限公司</div>
 		</div>
+		<div class="pub_fix">
+			<ul>
+				<li>
+					<a href="" class="pendent_box">
+						<span class="glyphicon glyphicon-plane"></span>
+					</a>
+				</li>
+<!--				<li>-->
+<!--					<a onclick="openZoosUrl('chatwin');">-->
+<!--						<span class="glyphicon glyphicon-user"></span>-->
+<!--					</a>-->
+<!--				</li>-->
+				<li class="phonefix">
+					<a>
+						<span class="glyphicon glyphicon-phone-alt"></span>
+					</a>
+					<div class="phoneTxt">
+						<p>联系电话</p>
+						<p>400-8800-962</p>
+					</div>
+				</li>
+				<li >
+					<a>
+						<span class="glyphicon glyphicon-send"></span>
+					</a>
+					<div class="phoneTxt">
+						<p>公众号</p>
+						<img th:src="${portalHost+'/img/erweima.jpg'}" alt="">
+					</div>
+				</li>
+				<li>
+					<a>
+						<span class="glyphicon glyphicon-bookmark"></span>
+					</a>
+					<div class="phoneTxt">
+						<p>APP</p>
+						<div>
+							<img th:src="${portalHost+'/img/erweima_iphone.png'}" alt="">
+							<p>iPhone版</p>
+						</div>
+						<div>
+							<img th:src="${portalHost+'/img/erweima_android.jpg'}" alt="">
+							<p>Android版</p>
+						</div>
+					</div>
+				</li>
+			</ul>
+		</div>
 	</th:block>
 	<th:block th:fragment="login">
 			<!--登陆页面-->

+ 27 - 26
src/main/webapp/WEB-INF/views/portal/eventPlanning.html

@@ -1,5 +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">
+<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">
@@ -8,37 +9,37 @@
     <link th:href="${portalHost + '/dll/dll.css'}" rel="stylesheet">
     <link th:href="${portalHost + '/vendors.css'}" rel="stylesheet">
     <link th:href="${portalHost + '/eventPlanning.css'}" rel="stylesheet">
-
 </head>
 
 <body>
-    <div class="app">
-        <div th:replace="common::nav('','eventPlanning')"></div>
-        <!-- 主体内容 -->
-        <div class="news main">
-            <div class="container">
-                <!-- 新闻列表 -->
+<div th:replace="common::nav('','eventPlanning')"></div>
+<div class="app">
+    <!-- 主体内容 -->
+    <div class="news main">
+        <div class="container">
+            <!-- 新闻列表 -->
 
-                <ul class="newslist">
+            <ul class="newslist">
 
-                </ul>
-                <!-- 新闻列表  end -->
-                <!-- 分页 -->
-                <div class="page_1"></div>
-                <!-- 分页 end -->
-            </div>
+            </ul>
+            <!-- 新闻列表  end -->
+            <!-- 分页 -->
+            <div class="page_1"></div>
+            <!-- 分页 end -->
         </div>
-        <!-- 主体内容  end -->
-        <!-- 底部 -->
-        <footer>
-            <div th:replace="common::copyright"></div>
-            <div th:replace="common::login"></div>
-        </footer>
     </div>
-        <div th:replace="common::footer(~{::script})">
-            <script type="text/javascript" th:src="${portalHost + '/dll/dll.js'}"></script>
-            <script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
-            <script type="text/javascript" th:src="${portalHost + '/eventPlanning.js'}"></script>
-        </div>
+    <!-- 主体内容  end -->
+</div>
+<!-- 公共底部  省略 -->
+<footer>
+    <div th:replace="common::copyright"></div>
+    <div th:replace="common::login"></div>
+</footer>
+<div th:replace="common::footer(~{::script})">
+    <script type="text/javascript" th:src="${portalHost + '/dll/dll.js'}"></script>
+    <script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
+    <script type="text/javascript" th:src="${portalHost + '/eventPlanning.js'}"></script>
+</div>
 </body>
+
 </html>

+ 10 - 7
src/main/webapp/WEB-INF/views/portal/index.html

@@ -101,8 +101,13 @@
 					<div class="newapply_userinfo">
 						<div class="newapply_username">您好,欢迎来到技淘!</div>
 						<div>
-							<button class="newapply_res">免费注册</button>
-							<button class="newapply_log">一键登录</button>
+							<a th:href="@{/user/signIn}"><button class="newapply_res" th:if="!${isLogin}">免费注册</button></a>
+							<button class="newapply_log head_login" th:if="!${isLogin}" href="javascript:;" >一键登录</button>
+						</div>
+						<div th:if="${isLogin}" class="signin">
+							<a th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}"
+							   th:text="${#strings.isEmpty(userName)?'个人中心':userName}" style="color: #fff; font-size: 20px ">个人中心</a>
+							<a th:href="${basePath + '/user/logout'}" style="color: #fff; font-size: 20px ">[退出]</a>
 						</div>
 					</div>
 				</div>
@@ -291,24 +296,22 @@
 		<div class="newapplications_count">
 			<div class="newapplications_one">
 				<img class="newapplications_oneback" th:src="${portalHost+'/img/newapplications/app.png'}" alt="" />
-				<div class="newapplications_onetit">国际市场开发</div>
-				<div class="newapplications_onetxt">披着铠甲走出国门</div>
 			</div>
-			<a href="">
+			<a href="/portal/service/patentDetail?id=1db41f68-9bff-4e2c-af6e-accefc9f881a">
 				<div class="newapplications_two">
 					<img class="newapplications_twoback" th:src="${portalHost+'/img/newapplications/gjzl.png'}" alt="" />
 					<div class="newapplications_twotit">国际专利</div>
 					<div class="newapplications_twotxt">国际专利为您企业走出国门保驾护航!</div>
 				</div>
 			</a>
-			<a href="">
+			<a href="/portal/service/patentDetail?id=726e63b5-f36d-4b24-a8ef-b8bb4b1cf42b">
 				<div class="newapplications_two">
 					<img class="newapplications_twoback" th:src="${portalHost+'/img/newapplications/bqzr.png'}" alt="" />
 					<div class="newapplications_twotit">版权转让</div>
 					<div class="newapplications_twotxt">各类优质著作权转让,为让企业发展助力!</div>
 				</div>
 			</a>
-			<a href="">
+			<a href="/portal/service/patentDetail?id=891cf7c6-5a03-4887-a8fc-1e77c867e528">
 				<div class="newapplications_two">
 					<img class="newapplications_twoback" th:src="${portalHost+'/img/newapplications/pctzl.png'}" alt="" />
 					<div class="newapplications_twotit">PTC专利</div>