Browse Source

修正华夏部门模版导航和列表结构

主导航增加二级栏目下拉,鼠标悬停展开,保留一级导航文字下方短线;移除下拉面板顶部整条红线。一级和二级栏目统一为列表型:一级页面左侧显示一级栏目名称并展示后代文章记录,二级栏目直接进入自身列表。初始化脚本同步调整栏目类型,并补充 7 条本地栏目说明文章便于预览。

Validation:
- 浏览器 hover:二级面板展开,面板 border-top 为 0px,一级短下划线保留
- 一级栏目 /xueyuangaikuang/:左侧显示学院概况,右侧显示信息工程学院简介
- 二级栏目 /xinwengonggao/xueyuanxinwen/:直接显示自身文章列表
- 全量 110 个本地 URL:全部 HTTP 200,禁用外部域名 0 条
非繁 1 tháng trước cách đây
mục cha
commit
700574a785

+ 12 - 0
WebRoot/main/ffkj-portal/dept-red.css

@@ -891,3 +891,15 @@ body.screen-red-theme .screen-footer-philosophy span {
   .dept-side-list li a{display:block}
   .dept-side-list li a time{display:block;float:none;margin:5px 0 0}
 }
+
+/* 主导航二级栏目下拉 */
+.main-nav>ul>li.has-children{position:relative}
+.main-nav .dept-nav-panel{position:absolute;top:100%;left:50%;z-index:30;display:none;width:220px;height:auto;margin:0;padding:8px 0;transform:translateX(-50%);background:#fff;box-shadow:0 12px 26px rgba(0,0,0,.14);list-style:none}
+.main-nav .dept-nav-panel li{display:block;height:auto}
+.main-nav .dept-nav-panel a{display:block;width:100%;height:auto;min-height:0;padding:10px 18px;border:0;color:#333;font-size:15px;line-height:22px;text-align:center;white-space:nowrap}
+.main-nav .dept-nav-panel a:hover,.main-nav .dept-nav-panel a.active{color:var(--red);background:#f7f4f1}
+.main-nav>ul>li.has-children:hover>.dept-nav-panel{display:block}
+@media (max-width:900px){
+  .main-nav .dept-nav-panel{position:static;display:block;width:100%;padding:0 0 6px 14px;transform:none;background:transparent;border-top:0;box-shadow:none}
+  .main-nav .dept-nav-panel a{min-height:42px;padding:8px 14px;color:#555;font-size:14px;text-align:left}
+}

+ 1 - 1
WebRoot/web/upload/ffkj-template/dept-red-catalog.jsp

@@ -10,7 +10,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20260922-top-right-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20261017-dept-nav-1">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ include file="dept-red-header.jsp"%>

+ 1 - 1
WebRoot/web/upload/ffkj-template/dept-red-details.jsp

@@ -7,7 +7,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20260922-top-right-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20261017-dept-nav-1">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="dept-red-header.jsp"%>

+ 8 - 1
WebRoot/web/upload/ffkj-template/dept-red-header.jsp

@@ -27,7 +27,14 @@
 	<li><a class="${empty navigation ? 'active' : ''}" href="/">首页</a></li>
 	<c:forEach items="${navList}" var="item">
 		<c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}">
-			<li><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></li>
+			<li class="${not empty item.children ? 'has-children' : ''}">
+				<a class="${item.navigationid eq navigation.navigationid or item.navigationid eq navigation.parentNid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a>
+				<c:if test="${not empty item.children}">
+					<ul class="dept-nav-panel">
+						<c:forEach items="${item.children}" var="child"><li><a href="${child.href}" target="${child.target}">${child.name}</a></li></c:forEach>
+					</ul>
+				</c:if>
+			</li>
 		</c:if>
 	</c:forEach>
 </ul></nav>

+ 1 - 1
WebRoot/web/upload/ffkj-template/dept-red-index.jsp

@@ -10,7 +10,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20261014-dept-red-1">
+	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20261017-dept-nav-1">
 </head>
 <body class="screen-red-theme dept-red-page">
 	<%@ include file="dept-red-header.jsp"%>

+ 6 - 6
WebRoot/web/upload/ffkj-template/dept-red-list.jsp

@@ -4,8 +4,8 @@
 <c:set var="assetBase" value="/main/ffkj-portal/news-red"/>
 <c:set var="defaultListImage" value="/main/ffkj-portal/news-red/hero-building.jpg"/>
 <c:set var="websiteDisplayTitle" value="${empty website.seoTitle ? website.name : website.seoTitle}"/>
-<c:set var="sidebarTitle" value="${empty parNavigation.name ? websiteDisplayTitle : parNavigation.name}"/>
-<c:set var="sidebarIsTopLevel" value="true"/>
+<c:set var="sidebarTitle" value="${empty parNavigation.name ? navigation.name : parNavigation.name}"/>
+<c:set var="sidebarIsTopLevel" value="${empty parNavigation.name}"/>
 <c:set var="sidebarImage" value="${empty navigation.backgroundImage ? defaultListImage : navigation.backgroundImage}"/>
 <!doctype html>
 <html lang="zh-CN">
@@ -13,7 +13,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20260922-top-right-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20261017-dept-nav-1">
 </head>
 <body class="screen-red-theme screen-list-page">
 	<%@ include file="dept-red-header.jsp"%>
@@ -24,12 +24,12 @@
 				<div class="news-sidebar-media"><img src="${sidebarImage}" alt="${sidebarTitle}"><div class="news-sidebar-caption is-news"><img class="news-sidebar-logo" src="/main/ffkj-portal/news-red/logo-mark.png" alt="${website.name}"><strong class="news-sidebar-title">${sidebarTitle}</strong></div></div>
 				<nav class="news-sidebar-links" aria-label="${sidebarTitle}导航">
 					<c:choose>
-						<c:when test="${not empty brotherNavList}">
-							<c:forEach items="${brotherNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
-						</c:when>
 						<c:when test="${not empty childrenNavList}">
 							<c:forEach items="${childrenNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
 						</c:when>
+						<c:when test="${not empty brotherNavList}">
+							<c:forEach items="${brotherNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
+						</c:when>
 						<c:otherwise><c:forEach items="${navList}" var="item"><c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:if></c:forEach></c:otherwise>
 					</c:choose>
 				</nav>

+ 1 - 1
WebRoot/web/upload/ffkj-template/dept-red-search.jsp

@@ -8,7 +8,7 @@
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>站内搜索_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20260922-top-right-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/dept-red.css?v=20261017-dept-nav-1">
 </head>
 <body class="screen-red-theme">
 	<%@ include file="dept-red-header.jsp"%>

+ 23 - 13
local-run/repairs/2026-10-14-huaxia-dept-template.sql

@@ -101,14 +101,14 @@ CREATE TEMPORARY TABLE dept_red_nav_seed (
 
 INSERT INTO dept_red_nav_seed VALUES
 ('FFKJ_DEPT_HOME', NULL, '首页', 'Home', '/', NULL, 10000, 10000, NULL, 1),
-('FFKJ_DEPT_ABOUT', NULL, '学院概况', 'About', '/xueyuangaikuang/', 'xueyuangaikuang', 10050, 10000, NULL, 10),
+('FFKJ_DEPT_ABOUT', NULL, '学院概况', 'About', '/xueyuangaikuang/', 'xueyuangaikuang', 10010, 10000, 10000, 10),
 ('FFKJ_DEPT_MAJOR', NULL, '专业介绍', 'Majors', '/zhuanyejieshao/', 'zhuanyejieshao', 10010, 10000, 10000, 20),
-('FFKJ_DEPT_NEWS', NULL, '新闻公告', 'News', '/xinwengonggao/', 'xinwengonggao', 10050, 10000, NULL, 30),
-('FFKJ_DEPT_STUDENT', NULL, '学生工作', 'Students', '/xueshenggongzuo/', 'xueshenggongzuo', 10050, 10000, NULL, 40),
-('FFKJ_DEPT_PARTY', NULL, '党建工作', 'Party Building', '/zhaoshengjiuye/', 'zhaoshengjiuye', 10050, 10000, NULL, 50),
-('FFKJ_DEPT_ADMISSION', NULL, '招生就业', 'Admission & Employment', '/zhaoshengjiuye1/', 'zhaoshengjiuye1', 10050, 10000, NULL, 60),
-('FFKJ_DEPT_TEACHING', NULL, '教学天地', 'Teaching', '/jiaoxuetiandi/', 'jiaoxuetiandi', 10050, 10000, NULL, 70),
-('FFKJ_DEPT_ABOUT_INTRO', 'FFKJ_DEPT_ABOUT', '学院简介', 'Introduction', '/xueyuangaikuang/xueyuanjianjie/', 'xueyuanjianjie', 10060, 10000, NULL, 1),
+('FFKJ_DEPT_NEWS', NULL, '新闻公告', 'News', '/xinwengonggao/', 'xinwengonggao', 10010, 10000, 10000, 30),
+('FFKJ_DEPT_STUDENT', NULL, '学生工作', 'Students', '/xueshenggongzuo/', 'xueshenggongzuo', 10010, 10000, 10000, 40),
+('FFKJ_DEPT_PARTY', NULL, '党建工作', 'Party Building', '/zhaoshengjiuye/', 'zhaoshengjiuye', 10010, 10000, 10000, 50),
+('FFKJ_DEPT_ADMISSION', NULL, '招生就业', 'Admission & Employment', '/zhaoshengjiuye1/', 'zhaoshengjiuye1', 10010, 10000, 10000, 60),
+('FFKJ_DEPT_TEACHING', NULL, '教学天地', 'Teaching', '/jiaoxuetiandi/', 'jiaoxuetiandi', 10010, 10000, 10000, 70),
+('FFKJ_DEPT_ABOUT_INTRO', 'FFKJ_DEPT_ABOUT', '学院简介', 'Introduction', '/xueyuangaikuang/xueyuanjianjie/', 'xueyuanjianjie', 10010, 10000, 10000, 1),
 ('FFKJ_DEPT_ABOUT_LEADERS', 'FFKJ_DEPT_ABOUT', '党政领导班子简介', 'Leadership', '/xueyuangaikuang/dangzhenglingdao/', 'dangzhenglingdao', 10010, 10000, 10000, 2),
 ('FFKJ_DEPT_ABOUT_ORG', 'FFKJ_DEPT_ABOUT', '机构设置', 'Organization', '/xueyuangaikuang/jigoushezhi/', 'jigoushezhi', 10010, 10000, 10000, 3),
 ('FFKJ_DEPT_ABOUT_TEACHING_TEAM', 'FFKJ_DEPT_ABOUT', '教学团队', 'Teaching Team', '/xueyuangaikuang/jiaoxeutuandui/', 'jiaoxeutuandui', 10010, 10000, 10000, 4),
@@ -121,11 +121,11 @@ INSERT INTO dept_red_nav_seed VALUES
 ('FFKJ_DEPT_MAJOR_BIGDATA', 'FFKJ_DEPT_MAJOR', '大数据技术专业', 'Big Data', '/zhuanyejieshao/dashujujishu/', 'dashujujishu', 10010, 10000, 10000, 6),
 ('FFKJ_DEPT_MAJOR_AI', 'FFKJ_DEPT_MAJOR', '人工智能技术应用专业', 'Artificial Intelligence', '/zhuanyejieshao/rengongzhinnegjishuyingyong/', 'rengongzhinnegjishuyingyong', 10010, 10000, 10000, 7),
 ('FFKJ_DEPT_MAJOR_ELECTRONIC', 'FFKJ_DEPT_MAJOR', '电子信息工程技术专业', 'Electronic Information', '/zhuanyejieshao/xinxianquanjishuyingyong/', 'xinxianquanjishuyingyong', 10010, 10000, 10000, 8),
-('FFKJ_DEPT_MAJOR_SMART_PRODUCT', 'FFKJ_DEPT_MAJOR', '智能产品开发与应用', 'Smart Products', '/zhuanyejieshao/zhineng', 'zhineng', 10060, 10000, NULL, 9),
-('FFKJ_DEPT_MAJOR_VR', 'FFKJ_DEPT_MAJOR', '虚拟现实技术应用', 'Virtual Reality', '/zhuanyejieshao/xuni', 'xuni', 10060, 10000, NULL, 10),
-('FFKJ_DEPT_MAJOR_NETWORK_ELITE', 'FFKJ_DEPT_MAJOR', '计算机网络技术(创新精英班)', 'Computer Network Elite', '/zhuanyejieshao/jisuanban', 'jisuanban', 10060, 10000, NULL, 11),
-('FFKJ_DEPT_MAJOR_DIGITAL_MEDIA_ELITE', 'FFKJ_DEPT_MAJOR', '数字媒体技术(创新精英班)', 'Digital Media Elite', '/zhuanyejieshao/shuziban', 'shuziban', 10060, 10000, NULL, 12),
-('FFKJ_DEPT_MAJOR_AI_ELITE', 'FFKJ_DEPT_MAJOR', '人工智能技术应用(创新精英班)', 'Artificial Intelligence Elite', '/zhuanyejieshao/rengongban', 'rengongban', 10060, 10000, NULL, 13),
+('FFKJ_DEPT_MAJOR_SMART_PRODUCT', 'FFKJ_DEPT_MAJOR', '智能产品开发与应用', 'Smart Products', '/zhuanyejieshao/zhineng', 'zhineng', 10010, 10000, 10000, 9),
+('FFKJ_DEPT_MAJOR_VR', 'FFKJ_DEPT_MAJOR', '虚拟现实技术应用', 'Virtual Reality', '/zhuanyejieshao/xuni', 'xuni', 10010, 10000, 10000, 10),
+('FFKJ_DEPT_MAJOR_NETWORK_ELITE', 'FFKJ_DEPT_MAJOR', '计算机网络技术(创新精英班)', 'Computer Network Elite', '/zhuanyejieshao/jisuanban', 'jisuanban', 10010, 10000, 10000, 11),
+('FFKJ_DEPT_MAJOR_DIGITAL_MEDIA_ELITE', 'FFKJ_DEPT_MAJOR', '数字媒体技术(创新精英班)', 'Digital Media Elite', '/zhuanyejieshao/shuziban', 'shuziban', 10010, 10000, 10000, 12),
+('FFKJ_DEPT_MAJOR_AI_ELITE', 'FFKJ_DEPT_MAJOR', '人工智能技术应用(创新精英班)', 'Artificial Intelligence Elite', '/zhuanyejieshao/rengongban', 'rengongban', 10010, 10000, 10000, 13),
 ('FFKJ_DEPT_NEWS_COLLEGE', 'FFKJ_DEPT_NEWS', '学院新闻', 'College News', '/xinwengonggao/xueyuanxinwen/', 'xueyuanxinwen', 10010, 10000, 10000, 1),
 ('FFKJ_DEPT_NEWS_NOTICE', 'FFKJ_DEPT_NEWS', '通知', 'Notices', '/xinwengonggao/tongzhi/', 'tongzhi', 10010, 10000, 10000, 2),
 ('FFKJ_DEPT_STUDENT_YOUTH', 'FFKJ_DEPT_STUDENT', '团委学生工作', 'Youth League', '/xueshenggongzuo/tuanweixuehsenggongzuo/', 'tuanweixuehsenggongzuo', 10010, 10000, 10000, 1),
@@ -138,7 +138,7 @@ INSERT INTO dept_red_nav_seed VALUES
 ('FFKJ_DEPT_PARTY_FACULTY', 'FFKJ_DEPT_PARTY', '教工党支部动态', 'Faculty Party Branch', '/zhaoshengjiuye/jiaogongdangzhibu/', 'jiaogongdangzhibu', 10010, 10000, 10000, 2),
 ('FFKJ_DEPT_PARTY_STUDENT', 'FFKJ_DEPT_PARTY', '学生党支部动态', 'Student Party Branch', '/zhaoshengjiuye/xueshengdangzhibudongtai/', 'xueshengdangzhibudongtai', 10010, 10000, 10000, 3),
 ('FFKJ_DEPT_PARTY_DYNAMIC', 'FFKJ_DEPT_PARTY', '党总支动态', 'Party Branch News', '/zhaoshengjiuye/dangzongzhidongtai/', 'dangzongzhidongtai', 10010, 10000, 10000, 4),
-('FFKJ_DEPT_ADMISSION_FRESHMAN', 'FFKJ_DEPT_ADMISSION', '新生资讯', 'Freshman Information', '/zhaoshengjiuye1/xinshengzixun/', 'xinshengzixun', 10050, 10000, NULL, 1),
+('FFKJ_DEPT_ADMISSION_FRESHMAN', 'FFKJ_DEPT_ADMISSION', '新生资讯', 'Freshman Information', '/zhaoshengjiuye1/xinshengzixun/', 'xinshengzixun', 10010, 10000, 10000, 1),
 ('FFKJ_DEPT_ADMISSION_NEWS', 'FFKJ_DEPT_ADMISSION_FRESHMAN', '招生动态', 'Admission News', '/zhaoshengjiuye1/xinshengzixun/zhaoshengdongtai/', 'zhaoshengdongtai', 10010, 10000, 10000, 1),
 ('FFKJ_DEPT_ADMISSION_PLAN', 'FFKJ_DEPT_ADMISSION_FRESHMAN', '招生计划', 'Admission Plan', '/zhaoshengjiuye1/xinshengzixun/zhaoshengjihua/', 'zhaoshengjihua', 10010, 10000, 10000, 2),
 ('FFKJ_DEPT_ADMISSION_AID', 'FFKJ_DEPT_ADMISSION_FRESHMAN', '奖助贷政策', 'Financial Aid', '/zhaoshengjiuye1/xinshengzixun/jiangzhudaizhengce/', 'jiangzhudaizhengce', 10010, 10000, 10000, 3),
@@ -319,6 +319,16 @@ INSERT INTO dept_red_article_seed VALUES
 ('FFKJ_DEPT_FOOTER_LOGO','信息工程学院logo','信息工程学院logo','广州华夏职业学院','/web/upload/modules//sys/upload/files/2025/1/17/nwjnsWCmbVBYCMPob6F4bNsRn5.png',10000,'/web/upload/2024/08/06/2024080614290450_b6vmpetHZhyKukKH.html','/web/upload/2024/08/06/20240806142903980_IIaIPBRs2dFzhXcS.html','/logo/000000031367.htm',1,'2024-08-06 14:28:32')
 ;
 
+INSERT INTO dept_red_article_seed VALUES
+('FFKJ_DEPT_ABOUT_INTRO','信息工程学院简介','广州华夏职业学院信息工程学院坚持立德树人,面向区域产业需求培养高素质技术技能人才。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/xueyuangaikuang/xueyuanjianjie/FFKJDEPT1001.htm',1,'2026-10-17 09:00:00'),
+('FFKJ_DEPT_MAJOR_NETWORK','计算机网络技术专业介绍','计算机网络技术专业面向网络建设、系统运维和网络安全等岗位培养技术技能人才。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/zhuanyejieshao/jisuanjiwangluojishu/FFKJDEPT1002.htm',1,'2026-10-17 09:00:00'),
+('FFKJ_DEPT_NEWS_COLLEGE','信息工程学院新闻动态','集中展示信息工程学院教学、科研、学生活动和产教融合等新闻动态。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/xinwengonggao/xueyuanxinwen/FFKJDEPT1003.htm',1,'2026-10-17 09:00:00'),
+('FFKJ_DEPT_STUDENT_YOUTH','团委学生工作','信息工程学院团委学生工作聚焦青年成长、校园文化和社会实践。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/xueshenggongzuo/tuanweixuehsenggongzuo/FFKJDEPT1004.htm',1,'2026-10-17 09:00:00'),
+('FFKJ_DEPT_PARTY_INTRO','党总支简介','信息工程学院党总支围绕学院中心工作,持续推进党建与业务融合发展。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/zhaoshengjiuye/dnagzongzhijianjie/FFKJDEPT1005.htm',1,'2026-10-17 09:00:00'),
+('FFKJ_DEPT_ADMISSION_NEWS','招生动态','发布信息工程学院招生政策、专业介绍和招生服务相关信息。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/zhaoshengjiuye1/xinshengzixun/zhaoshengdongtai/FFKJDEPT1006.htm',1,'2026-10-17 09:00:00'),
+('FFKJ_DEPT_TEACHING_PROJECT','项目作品','展示信息工程学院师生项目作品、课程成果和竞赛获奖作品。','广州华夏职业学院信息工程学院','',10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html','/jiaoxuetiandi/xiangmuzuopin/FFKJDEPT1007.htm',1,'2026-10-17 09:00:00');
+
+
 INSERT INTO article (
   dcode, websiteid, unitid, ascode, navigationid, title, ajtcode, `desc`, source, thumbnail,
   sticktop, sticktop_end_time, sticktop_schedulesid, `release`, release_time, release_task_schedulesid,

+ 64 - 0
src/space/apps/moudules/website/template/ffkjdeptred1/WebSiteArticleService.java

@@ -5,9 +5,11 @@ import apps.pojo.WebsiteNavigation;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
+import space.apps.moudules.website.template.common.WebsiteArticleManager;
 import space.apps.moudules.website.template.common.WebsiteCommonService;
 import space.apps.moudules.website.template.common.WebsiteNavManager;
 import space.apps.moudules.website.template.common.WebsiteTmplateConstvars.navigationType;
+import space.apps.moudules.website.template.common.bean.ArticleListView;
 import space.apps.moudules.website.template.common.bean.NavigationMiniView;
 import space.apps.moudules.website.template.util.WebsiteTemplateArticleUtil;
 import space.apps.moudules.website.template.util.WebsiteTemplateNavUtil;
@@ -46,6 +48,9 @@ public class WebSiteArticleService extends BaseTransaction {
 			return "toCatalog";
 		}
 		String forward = WebsiteCommonService.controller(gdba, website, 10, getRequest());
+		if (nav != null && navigationType.LIST.getCode().equals(nav.getWntcode())) {
+			fillListFromDescendant(gdba, website, nav);
+		}
 		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
 		return forward;
 	}
@@ -216,6 +221,65 @@ public class WebSiteArticleService extends BaseTransaction {
 		}
 	}
 
+	private void fillListFromDescendant(GeneralDBAccess gdba, Website website, WebsiteNavigation nav)
+			throws Exception {
+		Object currentArticleList = getRequest().getAttribute("articleList");
+		if (currentArticleList instanceof List && !((List<?>) currentArticleList).isEmpty()) {
+			return;
+		}
+		List<WebsiteNavigation> leafNavList = new ArrayList<WebsiteNavigation>();
+		collectLeafNavigation(gdba, website, nav.getNavigationid(), leafNavList);
+		if (leafNavList.size() == 0) {
+			return;
+		}
+		int pageNo = 1;
+		try {
+			String page = getRequest().getParameter("page");
+			if (page != null && page.trim().length() > 0) {
+				pageNo = Integer.valueOf(page.trim()).intValue();
+			}
+		} catch (Exception e) {
+			pageNo = 1;
+		}
+		for (WebsiteNavigation leafNav : leafNavList) {
+			PageBean page = new PageBean();
+			page.setRowCountPerPage(10);
+			page.setCurrentPageNo(pageNo < 1 ? 1 : pageNo);
+			ArticleListView articleListView = WebsiteArticleManager.getArticleListView(gdba, website,
+					leafNav.getNavigationid(), page);
+			if (articleListView == null || articleListView.getArticleList() == null
+					|| articleListView.getArticleList().size() == 0) {
+				continue;
+			}
+			int rowCount = page.getRowCount();
+			int pageSize = page.getRowCountPerPage();
+			int pageCount = rowCount / pageSize + (rowCount % pageSize == 0 ? 0 : 1);
+			setRequestAttribute("articleList", articleListView.getArticleList());
+			setRequestAttribute("pageCount", pageCount);
+			setRequestAttribute("curPageNo", page.getCurrentPageNo());
+			setRequestAttribute("curHerf", WebsiteTemplateNavUtil.getNavigationHref(gdba, nav));
+			return;
+		}
+	}
+
+	private void collectLeafNavigation(GeneralDBAccess gdba, Website website, Long navigationid,
+			List<WebsiteNavigation> leafNavList) throws Exception {
+		List<Map<String, Object>> children = WebsiteNavManager.getChildrenNavigation(gdba, website, navigationid);
+		if (children == null || children.size() == 0) {
+			WebsiteNavigation nav = WebsiteNavManager.getNavigationByID(gdba, website, navigationid);
+			if (nav != null) {
+				leafNavList.add(nav);
+			}
+			return;
+		}
+		for (Map<String, Object> child : children) {
+			if (child == null || child.get("navigationid") == null) {
+				continue;
+			}
+			collectLeafNavigation(gdba, website, Long.valueOf(child.get("navigationid").toString()), leafNavList);
+		}
+	}
+
 	private void setCatalogAttributes(GeneralDBAccess gdba, Website website, WebsiteNavigation nav) throws Exception {
 		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
 		setRequestAttribute("website", website);