school-list.jsp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
  4. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  5. <c:set var="assetBase" value="/main/ffkj-portal/assets"/>
  6. <c:set var="screenHeaderMode" value="${portalThemeClass eq 'screen-blue-theme' or portalThemeClass eq 'screen-red-theme'}"/>
  7. <c:set var="listStyleCode" value="10010"/>
  8. <c:if test="${not empty navigation.wnlscode}"><c:set var="listStyleCode" value="${navigation.wnlscode}"/></c:if>
  9. <c:set var="forceScreenRedNoticeTextList" value="${portalThemeClass eq 'screen-red-theme' and (navigation.idcard eq 'FFKJ_SCHOOL_NOTICE' or navigation.url eq '/tongzhigonggao/')}"/>
  10. <c:set var="isTextList" value="${listStyleCode == 10000}"/>
  11. <c:set var="isGraphicList" value="${listStyleCode == 10010}"/>
  12. <c:set var="isMediaList" value="${listStyleCode == 10020 or listStyleCode == 10030 or listStyleCode == 10050}"/>
  13. <c:set var="isVideoList" value="${listStyleCode == 10050}"/>
  14. <c:set var="mediaListClass" value="article-image-grid"/>
  15. <c:if test="${isVideoList}"><c:set var="mediaListClass" value="article-video-grid"/></c:if>
  16. <c:set var="articleListClass" value="article-text-list"/>
  17. <c:if test="${isGraphicList}"><c:set var="articleListClass" value="article-graphic-list"/></c:if>
  18. <c:if test="${forceScreenRedNoticeTextList}">
  19. <c:set var="isTextList" value="${true}"/>
  20. <c:set var="isGraphicList" value="${false}"/>
  21. <c:set var="articleListClass" value="article-text-list"/>
  22. </c:if>
  23. <c:set var="articleThumbStyle" value=""/>
  24. <c:if test="${not empty navigation.photoSizeWidth and not empty navigation.photoSizeHeight}">
  25. <c:set var="articleThumbStyle" value="--article-thumb-ratio:${navigation.photoSizeWidth} / ${navigation.photoSizeHeight};"/>
  26. </c:if>
  27. <c:if test="${portalThemeClass eq 'screen-red-theme' and isGraphicList}">
  28. <c:set var="articleThumbStyle" value="--article-thumb-ratio:16 / 9;"/>
  29. </c:if>
  30. <c:set var="screenRedCustomChildThumbList" value="${portalThemeClass eq 'screen-red-theme' and navigation.url eq '/xiaoyuanxinwen/zhuantizhuanlan/'}"/>
  31. <!doctype html>
  32. <html lang="zh-CN">
  33. <head>
  34. <meta charset="UTF-8">
  35. <meta name="viewport" content="width=device-width, initial-scale=1">
  36. <meta name="description" content="${navigation.desc}">
  37. <title>${navigation.name}_${website.seoTitle}</title>
  38. <link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20260708-crumb-arrow">
  39. <%@ include file="school-schema-jsonld-include.jsp"%>
  40. </head>
  41. <body class="${portalThemeClass}">
  42. <div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell screen-inner-hero-page' : ''}">
  43. <c:choose>
  44. <c:when test="${screenHeaderMode}">
  45. <header class="site-header screen-site-header">
  46. <div class="screen-header-inner">
  47. <button class="mobile-menu" type="button" aria-label="打开导航"><span></span><span></span><span></span></button>
  48. <a class="brand screen-brand" href="/" aria-label="${website.name}首页"><img class="screen-logo-white" src="${assetBase}/official/logo.png" alt="${website.name}"><img class="screen-logo-color" src="${assetBase}/official/logo-color.png" alt="" aria-hidden="true"></a>
  49. <div class="screen-header-right">
  50. <div class="screen-top-row">
  51. <nav class="screen-utility" aria-label="快捷入口">
  52. <c:choose>
  53. <c:when test="${empty screenTopCustomLinksNmv.navigationMap}">
  54. <a href="/" target="_blank" rel="noopener">OA</a>
  55. <a href="http://xg.gzhxtc.edu.cn/xywz/#/xywz/article" target="_blank" rel="noopener">校友</a>
  56. <a href="http://xg.gzhxtc.edu.cn:4106/#/index1" target="_blank" rel="noopener">教职工</a>
  57. <a href="http://xg.gzhxtc.edu.cn:4106/#/index2" target="_blank" rel="noopener">学生</a>
  58. </c:when>
  59. <c:otherwise>
  60. <c:forEach items="${screenTopCustomLinksNmv.articleList}" var="link">
  61. <a href="${link.url}" target="${empty link.target ? '_blank' : link.target}" rel="noopener">${link.title}</a>
  62. </c:forEach>
  63. </c:otherwise>
  64. </c:choose>
  65. </nav>
  66. <form class="search-box screen-search" action="/search" method="get">
  67. <button class="search-toggle" type="button" aria-label="打开搜索"><svg class="search-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="10.8" cy="10.8" r="6.6"></circle><path d="m15.7 15.7 4.7 4.7"></path></svg></button>
  68. <input type="search" name="str" placeholder="搜索" aria-label="站内搜索">
  69. <button class="search-submit" type="submit" aria-label="提交搜索"><svg class="search-icon search-submit-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="10.8" cy="10.8" r="6.6"></circle><path d="m15.7 15.7 4.7 4.7"></path></svg><span class="search-submit-label">查找</span></button>
  70. </form>
  71. </div>
  72. <div class="screen-nav-row">
  73. <nav class="desktop-nav screen-desktop-nav" aria-label="主导航"><div class="nav-wrap">${desktopNavHtmlNoHome}</div></nav>
  74. </div>
  75. </div>
  76. </div>
  77. </header>
  78. </c:when>
  79. <c:otherwise>
  80. <header class="site-header inner-site-header">
  81. <div class="top-line">
  82. <div class="wrap top-line-inner">
  83. <nav aria-label="角色入口"><a href="http://xg.gzhxtc.edu.cn:4106/#/index2" target="_blank" rel="noopener">学生</a><a href="http://xg.gzhxtc.edu.cn:4106/#/index1" target="_blank" rel="noopener">教职工</a><a href="http://zsw.gzhxtc.edu.cn/" target="_blank" rel="noopener">考生</a><a href="http://xg.gzhxtc.edu.cn/xywz/#/xywz/article" target="_blank" rel="noopener">校友</a></nav>
  84. <nav aria-label="辅助入口"><a href="/xinxigongkai/">信息公开</a><a href="/xiaoyuanfuwu/">校长信箱</a></nav>
  85. </div>
  86. </div>
  87. <div class="brand-line">
  88. <div class="wrap brand-inner">
  89. <a class="brand" href="/" aria-label="${website.name}首页"><img src="${assetBase}/official/logo.png" alt="${website.name}"></a>
  90. <form class="search-box inner-search" action="/search" method="get">
  91. <button class="search-toggle" type="button" aria-label="打开搜索"><svg class="search-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="10.8" cy="10.8" r="6.6"></circle><path d="m15.7 15.7 4.7 4.7"></path></svg></button>
  92. <input name="str" type="search" placeholder="搜索" aria-label="站内搜索">
  93. <button class="search-submit" type="submit" aria-label="提交搜索"><svg class="search-icon search-submit-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="10.8" cy="10.8" r="6.6"></circle><path d="m15.7 15.7 4.7 4.7"></path></svg></button>
  94. </form>
  95. <button class="mobile-menu inner-mobile-menu" type="button" aria-label="打开导航"><span></span><span></span><span></span></button>
  96. </div>
  97. </div>
  98. <nav class="desktop-nav" aria-label="主导航"><div class="wrap nav-wrap">${desktopNavHtmlNoHome}</div></nav>
  99. </header>
  100. </c:otherwise>
  101. </c:choose>
  102. <div class="drawer-layer" hidden>
  103. <button class="drawer-mask" type="button" aria-label="关闭导航"></button>
  104. <aside class="drawer" aria-label="移动端导航">
  105. <div class="drawer-head"><strong>导航</strong><button type="button" aria-label="关闭导航">×</button></div>
  106. ${drawerNavHtmlNoHome}
  107. </aside>
  108. </div>
  109. <main class="inner-page">
  110. <section class="inner-hero school-inner-hero">
  111. <div class="wrap inner-hero-inner">
  112. <div class="crumb-links">
  113. <a href="/">首页</a>
  114. <c:forEach items="${crumbsNavList}" var="item"><span>/</span><a href="${item.url}">${item.name}</a></c:forEach>
  115. </div>
  116. <h1>${navigation.name}</h1>
  117. <c:if test="${portalThemeClass ne 'screen-red-theme'}"><span><c:choose><c:when test="${not empty navigation.desc}">${navigation.desc}</c:when><c:otherwise>聚合${navigation.name}相关动态。</c:otherwise></c:choose></span></c:if>
  118. </div>
  119. </section>
  120. <section class="inner-content">
  121. <div class="wrap inner-list-layout">
  122. <article class="inner-list-panel">
  123. <c:if test="${portalThemeClass ne 'screen-red-theme'}">
  124. <div class="section-title">
  125. <h2><span>${navigation.name}</span><em>${empty navigation.nameAssistant ? 'Column' : navigation.nameAssistant}</em></h2>
  126. <a href="/">返回首页</a>
  127. </div>
  128. </c:if>
  129. <c:choose>
  130. <c:when test="${not empty childrenNavList}">
  131. <ul class="inner-news-list inner-child-list<c:if test="${portalThemeClass eq 'screen-red-theme'}"> screen-child-thumb-list</c:if>">
  132. <c:forEach items="${childrenNavList}" var="item">
  133. <c:set var="childThumbStyle" value=""/>
  134. <c:if test="${screenRedCustomChildThumbList and not empty item.photoSizeWidth and not empty item.photoSizeHeight}">
  135. <c:set var="childThumbStyle" value="--inner-child-thumb-width:${item.photoSizeWidth}px;--inner-child-thumb-ratio:${item.photoSizeWidth} / ${item.photoSizeHeight};"/>
  136. </c:if>
  137. <li>
  138. <a href="${item.href}" target="${item.target}" style="${childThumbStyle}">
  139. <c:if test="${portalThemeClass eq 'screen-red-theme'}">
  140. <span class="inner-child-thumb">
  141. <c:choose>
  142. <c:when test="${not empty item.backgroundImage}"><img src="${item.backgroundImage}" alt="${item.name}"></c:when>
  143. <c:otherwise><em>暂无缩略图</em></c:otherwise>
  144. </c:choose>
  145. </span>
  146. </c:if>
  147. <div>
  148. <c:if test="${not empty item.nameAssistant}"><span>${item.nameAssistant}</span></c:if>
  149. <strong>${item.name}</strong>
  150. <p><c:choose><c:when test="${not empty item.desc}">${item.desc}</c:when><c:otherwise>进入${item.name}栏目。</c:otherwise></c:choose></p>
  151. </div>
  152. </a>
  153. </li>
  154. </c:forEach>
  155. </ul>
  156. </c:when>
  157. <c:otherwise>
  158. <c:choose>
  159. <c:when test="${isMediaList}">
  160. <ul class="article-media-grid ${mediaListClass}">
  161. <c:forEach items="${articleList}" var="item">
  162. <li>
  163. <a href="${item.url}" target="${item.target}" style="${articleThumbStyle}">
  164. <span class="article-media-thumb">
  165. <c:choose>
  166. <c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:when>
  167. <c:otherwise><em>暂无缩略图</em></c:otherwise>
  168. </c:choose>
  169. <c:if test="${isVideoList}"><i class="article-video-play" aria-hidden="true"></i></c:if>
  170. </span>
  171. <strong>${item.title}</strong>
  172. </a>
  173. </li>
  174. </c:forEach>
  175. <c:if test="${empty articleList}"><li><a href="javascript:void(0)" role="button" data-empty-article="true" data-empty-article-message="该栏目还未有文章,请浏览其他栏目"><strong>暂无内容</strong></a></li></c:if>
  176. </ul>
  177. </c:when>
  178. <c:otherwise>
  179. <ul class="inner-news-list ${articleListClass}">
  180. <c:forEach items="${articleList}" var="item">
  181. <li>
  182. <a href="${item.url}" target="${item.target}" style="${articleThumbStyle}">
  183. <c:if test="${isGraphicList}">
  184. <span class="article-list-thumb">
  185. <c:choose>
  186. <c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:when>
  187. <c:otherwise><em>暂无缩略图</em></c:otherwise>
  188. </c:choose>
  189. </span>
  190. </c:if>
  191. <c:choose>
  192. <c:when test="${isGraphicList}">
  193. <div class="article-graphic-copy">
  194. <div class="article-graphic-head">
  195. <strong class="article-graphic-title">${item.title}</strong>
  196. <time class="article-graphic-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time>
  197. </div>
  198. <p>${item.desc}</p>
  199. </div>
  200. </c:when>
  201. <c:otherwise>
  202. <time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time>
  203. <div>
  204. <strong>${item.title}</strong>
  205. <p>${item.desc}</p>
  206. </div>
  207. </c:otherwise>
  208. </c:choose>
  209. </a>
  210. </li>
  211. </c:forEach>
  212. <c:if test="${empty articleList}"><li><a href="javascript:void(0)" role="button" data-empty-article="true" data-empty-article-message="该栏目还未有文章,请浏览其他栏目"><div><strong>暂无内容</strong><p>该栏目暂未发布文章。</p></div></a></li></c:if>
  213. </ul>
  214. </c:otherwise>
  215. </c:choose>
  216. </c:otherwise>
  217. </c:choose>
  218. <c:if test="${empty childrenNavList and pageCount > 1}">
  219. <nav class="inner-pagination" aria-label="分页">
  220. <c:if test="${curPageNo > 1}"><a href="${curHerf}?page=${curPageNo - 1}">上一页</a></c:if>
  221. <a class="active" href="${curHerf}?page=${curPageNo}">${curPageNo}</a>
  222. <c:if test="${curPageNo < pageCount}"><a href="${curHerf}?page=${curPageNo + 1}">下一页</a></c:if>
  223. </nav>
  224. </c:if>
  225. </article>
  226. <aside class="inner-side-panel">
  227. <div class="section-title"><h2><span>${navigation.name}导航</span><em>${empty navigation.nameAssistant ? 'Navigation' : navigation.nameAssistant}</em></h2></div>
  228. <nav class="inner-side-links" aria-label="栏目导航">
  229. <c:choose>
  230. <c:when test="${not empty childrenNavList}">
  231. <c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
  232. </c:when>
  233. <c:when test="${not empty brotherNavList}">
  234. <c:forEach items="${brotherNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
  235. </c:when>
  236. <c:otherwise><a href="${navigation.url}">${navigation.name}</a></c:otherwise>
  237. </c:choose>
  238. </nav>
  239. </aside>
  240. </div>
  241. </section>
  242. </main>
  243. <footer class="footer-top">
  244. <c:choose>
  245. <c:when test="${portalThemeClass eq 'screen-red-theme'}">
  246. <div class="wrap footer-main screen-footer-main">
  247. <div class="footer-address screen-footer-address">
  248. <div class="footer-logo screen-footer-logo" aria-label="${website.name}"></div>
  249. <p>中国 广东省广州市从化城鳌大道东772号</p>
  250. <p>校办电话:020-87868999</p>
  251. <p>招生电话:020-87865222</p>
  252. <p>就业办:020-87868935</p>
  253. </div>
  254. <%@ include file="screen-footer-social.jsp" %>
  255. <section class="screen-footer-links screen-footer-friend-links" aria-label="友情链接">
  256. <strong>友情链接</strong>
  257. <div class="screen-footer-friend-grid">
  258. <div>
  259. <c:forEach items="${schoolInternalQuickNmv.articleList}" var="item" varStatus="vs">
  260. <c:if test="${vs.count le 6}">
  261. <a href="${item.url}" target="${item.target}">${item.title}</a>
  262. </c:if>
  263. </c:forEach>
  264. </div>
  265. <div>
  266. <c:forEach items="${schoolExternalQuickNmv.articleList}" var="item" varStatus="vs">
  267. <c:if test="${vs.count le 6}">
  268. <a href="${item.url}" target="${item.target}">${item.title}</a>
  269. </c:if>
  270. </c:forEach>
  271. </div>
  272. </div>
  273. </section>
  274. <div class="footer-philosophy screen-footer-philosophy">
  275. <strong>办学理念</strong>
  276. <p>承华夏文明、育职业英才</p>
  277. <span>厚德、重能、敬业、善事</span>
  278. </div>
  279. </div>
  280. </c:when>
  281. <c:otherwise>
  282. <div class="wrap footer-main">
  283. <div class="footer-address"><p>中国 广东省广州市从化城鳌大道东772号</p><p>校办电话:020-87868999</p><p>招生电话:020-87865222</p><p>版权所有:${website.name}</p></div>
  284. <div class="footer-logo" aria-label="${website.name}"></div>
  285. <div class="footer-links">
  286. <c:set var="footerNavCount" value="0"/>
  287. <c:forEach items="${navList}" var="nav">
  288. <c:if test="${nav.name ne '首页' and nav.name ne '首页子栏目' and footerNavCount lt 2}">
  289. <div>
  290. <strong>${nav.name}</strong>
  291. <c:choose>
  292. <c:when test="${not empty nav.children}">
  293. <c:forEach items="${nav.children}" var="child" varStatus="childVs"><c:if test="${childVs.count le 3}"><a href="${child.href}" target="${child.target}">${child.name}</a></c:if></c:forEach>
  294. </c:when>
  295. <c:otherwise><a href="${nav.href}" target="${nav.target}">${nav.name}</a></c:otherwise>
  296. </c:choose>
  297. </div>
  298. <c:set var="footerNavCount" value="${footerNavCount + 1}"/>
  299. </c:if>
  300. </c:forEach>
  301. </div>
  302. </div>
  303. </c:otherwise>
  304. </c:choose>
  305. </footer>
  306. <footer class="copyright">
  307. <div class="wrap">
  308. <span>Copyright © Guangzhou Huaxia Vocational College All Rights Reserved</span>
  309. <c:if test="${portalThemeClass eq 'screen-red-theme'}">
  310. <span>版权所有:${website.name}</span>
  311. </c:if>
  312. <a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener">粤ICP备12042111号</a>
  313. </div>
  314. </footer>
  315. </div>
  316. <script src="/main/ffkj-portal/portal-zq.js?v=20260626-screen-red-nav-panel-fade"></script>
  317. <%@ include file="website-guest-gate-include.jsp"%>
  318. </body>
  319. </html>