2 次代碼提交 265a93ce7f ... 600c2b317a

作者 SHA1 備註 提交日期
  wangzhe 600c2b317a Merge remote-tracking branch 'origin/master' 3 月之前
  wangzhe 9150c4dfa4 首页 最新动态 3 月之前

文件差異過大導致無法顯示
+ 34 - 0
src/main/resources/templates/www/tuiyijunren/content-zxdt.html


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

@@ -30,7 +30,7 @@
 <div class="nav">
     <div class="wid1200">
         <a class="on" href="${frontPath}/${site.siteId}">网站首页</a>
-        <a>最新动态</a>
+        <a href="${frontPath}/${site.siteId}/1217.html">最新动态</a>
         <a>政策宣传</a>
         <a>就业信息</a>
         <a href="${frontPath}/${site.siteId}/1226.html">创业服务</a>

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

@@ -24,16 +24,27 @@
 <!--导航开始-->
 <div class="nav">
     <div class="wid1200">
-        <a class="on" href="${frontPath}/${site.siteId}">网站首页</a>
-        <a>最新动态</a>
-        <a>政策宣传</a>
-        <a>就业信息</a>
-        <a href="${frontPath}/${site.siteId}/1226.html">创业服务</a>
-        <a>学历提升</a>
-        <a>综合服务</a>
-        <a href="${frontPath}/${site.siteId}/1238.html">孵化基地</a>
-        <a>合作企业</a>
-        <a>证书认证</a>
+        <a class="navi" href="${frontPath}/${site.siteId}">网站首页</a>
+        <a class="navi" href="${frontPath}/${site.siteId}/1217.html">最新动态</a>
+        <a class="navi">政策宣传</a>
+        <a class="navi">就业信息</a>
+        <a class="navi" href="${frontPath}/${site.siteId}/1226.html">创业服务</a>
+        <a class="navi">学历提升</a>
+        <a class="navi">综合服务</a>
+        <a class="navi" href="${frontPath}/${site.siteId}/1238.html">孵化基地</a>
+        <a class="navi">合作企业</a>
+        <a class="navi">证书认证</a>
     </div>
 </div>
+<script>
+    let url = window.location.href;
+    let naviTags = document.getElementsByClassName("navi");
+    for (let i = 0; i < naviTags.length; i++) {
+        if(url == naviTags[i].href){
+            naviTags[i].className = "navi on";
+        }else {
+            naviTags[i].className = "navi";
+        }
+    }
+</script>
 <!--导航结束-->

+ 33 - 0
src/main/resources/templates/www/tuiyijunren/list-zxdt.html

@@ -0,0 +1,33 @@
+<!--头部开始-->
+@includeFileTemplate("/www/tuiyijunren/include/header.html"){}
+<!--头部结束-->
+<!--中间内容开始-->
+<div class="er_content">
+	<!--列表开始-->
+	<div class="news_list">
+		<#cms_pagination siteId="${site.siteId}" categoryId="${categoryId}" page="${page}" moreNum="6" var="page">
+			<#cms_content_list siteId="${site.siteId}" categoryId="${categoryId}" orderBy="3" isHot="0" hasChild="0" isRecommend="0" size="8" titleLen="24" var="bean">
+				<a class="news_list_div clearfix" href="${bean.url!}">
+					<img src="${bean.thumb!}" alt="${bean.title!}"/>
+					<div class="news_list_text">
+						<h2>${bean.title!}</h2>
+						<span>${bean.description!}</span>
+						<p><i class="date">${bean.inputdate,dateFormat="yyyy年MM月dd日"}</i><i class="djl">点击量:${bean.viewNum!}</i></p>
+					</div>
+				</a>
+			</#cms_content_list>
+		</#cms_pagination>
+	</div>
+	<!--列表结束-->
+	<!--分页开始-->
+	<div class="fenye">
+		@includeFileTemplate("/www/tuiyijunren/include/page.html"){}
+	</div>
+	<!--分页结束-->
+</div>
+<!--中间内容结束-->
+<!--底部开始-->
+@includeFileTemplate("/www/tuiyijunren/include/footer.html"){}
+<!--底部结束-->
+</body>
+</html>