소스 검색

优化样式

Memory_LG 3 달 전
부모
커밋
f96226902c

+ 1 - 1
src/main/resources/templates/www/tuiyijunren/content-yzgw.html

@@ -6,7 +6,7 @@
 
 <!--中间内容开始-->
 <div class="er_content">
-	<div class="dqwz"><span>当前位置:<a href="${frontPath}/${site.siteId}">网站首页</a>><a href="${frontPath}/${site.siteId}/1237.html">优质岗位</a></span></div>
+	<div class="dqwz"><span>当前位置:<a href="${frontPath}/${site.siteId}">网站首页</a>><a href="${frontPath}/${site.siteId}/1221.html">就业信息</a>><a href="${frontPath}/${site.siteId}/${category.categoryId}.html">${category.categoryName}</a></span></div>
 	<div class="news_txt jy_news">
 		<div class="jy_news_top">
 			<h1>${content.title!}</h1>

+ 10 - 0
src/main/resources/templates/www/tuiyijunren/content-zslb.html

@@ -11,9 +11,19 @@
 		<p>${content.content}</p>
 	</div>
 </div>
+<script>
+
+	$(function () {
+		$('.navi').removeClass("on")
+		let id = "1244";
+		$("#"+id).addClass("on");
+	});
+</script>
 <!--中间内容结束-->
 <!--底部开始-->
 @includeFileTemplate("/www/tuiyijunren/include/footer.html"){}
 <!--底部结束-->
 </body>
+
+
 </html>

+ 2 - 2
src/main/resources/templates/www/tuiyijunren/include/header-index.html

@@ -48,8 +48,8 @@
         <a href="${frontPath}/${site.siteId}/1229.html">学历提升</a>
         <a href="${frontPath}/${site.siteId}/1236.html">综合服务</a>
         <a href="${frontPath}/${site.siteId}/1238.html">孵化基地</a>
-        <a  href="${frontPath}/${site.siteId}/1241.html">合作企业</a>
-        <a href="${frontPath}/${site.siteId}/1244.html">证书认证</a>
+        <a href="${frontPath}/${site.siteId}/1241.html">合作企业</a>
+        <a id="1244" href="${frontPath}/${site.siteId}/1244.html">证书认证</a>
     </div>
 </div>
 <!--导航结束-->

+ 3 - 3
src/main/resources/templates/www/tuiyijunren/include/header.html

@@ -43,7 +43,7 @@
         <a class="navi" href="${frontPath}/${site.siteId}/1236.html">综合服务</a>
         <a class="navi" href="${frontPath}/${site.siteId}/1238.html">孵化基地</a>
         <a class="navi" href="${frontPath}/${site.siteId}/1241.html">合作企业</a>
-        <a class="navi" href="${frontPath}/${site.siteId}/1244.html">证书认证</a>
+        <a class="navi" id="1244" href="${frontPath}/${site.siteId}/1244.html">证书认证</a>
     </div>
 </div>
 <script>
@@ -51,13 +51,13 @@
         [], // 网站首页
         [1217], // 最新动态
         [1213, 1215, 1216], // 政策宣传
-        // [1213], // 就业信息
+        [1220,1221, 1222, 1223, 1224, 1245], // 就业信息
         [1226, 1227], // 创业服务
         [1229, 1230, 1231], // 学历提升
         [1236, 1235, 1234, 1233], // 综合服务
         [1238, 1239, 1240], // 孵化基地
         [1241], // 合作企业
-        // [1213], // 证书认证
+        [1249, 1248], // 证书认证
     ]
     let url = window.location.href;
     let id = url.split(".html")[0].split("/")[5] * 1;

+ 0 - 5
src/main/resources/templates/www/tuiyijunren/list-jyxx.html

@@ -1,11 +1,6 @@
 <!--头部开始-->
 @includeFileTemplate("/www/tuiyijunren/include/header.html"){}
 <!--头部结束-->
-<style>
-    .yincang{
-        display: none;
-    }
-</style>
 <script src="${ctxPath}/static/js/register/jyxx.js"></script>
 <!--中间内容开始-->
 <div class="er_content clearfix">

+ 4 - 5
src/main/resources/templates/www/tuiyijunren/list-zslb.html

@@ -6,7 +6,7 @@
 		<div class="news_list">
 			@for(item in model.list){
 			<a class="news_list_div clearfix" href="${frontPath}/${siteId}/${item.categoryId}/${item.contentId}.html">
-				<img src="${item.thumb!}" alt="${item.title!}"/>
+				<img src="${item.thumb!}" alt="${item.title!}" style="width: 150px !important;"/>
 				<div class="news_list_text">
 					<h2>${item.title!}</h2>
 					<h2>${item.keywords!}</h2>
@@ -16,13 +16,12 @@
 			</a>
 			@}
 		</div>
-		<div class="fenye">
-			@includeFileTemplate("/www/tuiyijunren/include/page.html"){}
-		</div>
 </div>
 <script>
+
 	$(function () {
-		let id = "${categoryId}";
+		$('.navi').removeClass("on")
+		let id = "1244";
 		$("#"+id).addClass("on");
 	});
 </script>