school-list.jsp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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=20260626-screen-red-inner-title-edge">
  39. </head>
  40. <body class="${portalThemeClass}">
  41. <div class="portal-shell inner-shell ${portalThemeClass} ${screenHeaderMode ? 'screen-shell screen-inner-shell screen-inner-hero-page' : ''}">
  42. <c:choose>
  43. <c:when test="${screenHeaderMode}">
  44. <header class="site-header screen-site-header">
  45. <div class="screen-header-inner">
  46. <button class="mobile-menu" type="button" aria-label="打开导航"><span></span><span></span><span></span></button>
  47. <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>
  48. <div class="screen-header-right">
  49. <div class="screen-top-row">
  50. <nav class="screen-utility" aria-label="快捷入口">
  51. <c:choose>
  52. <c:when test="${empty screenTopCustomLinksNmv.navigationMap}">
  53. <a href="/" target="_blank" rel="noopener">OA</a>
  54. <a href="http://xg.gzhxtc.edu.cn/xywz/#/xywz/article" target="_blank" rel="noopener">校友</a>
  55. <a href="http://xg.gzhxtc.edu.cn:4106/#/index1" target="_blank" rel="noopener">教职工</a>
  56. <a href="http://xg.gzhxtc.edu.cn:4106/#/index2" target="_blank" rel="noopener">学生</a>
  57. </c:when>
  58. <c:otherwise>
  59. <c:forEach items="${screenTopCustomLinksNmv.articleList}" var="link">
  60. <a href="${link.url}" target="${empty link.target ? '_blank' : link.target}" rel="noopener">${link.title}</a>
  61. </c:forEach>
  62. </c:otherwise>
  63. </c:choose>
  64. </nav>
  65. <form class="search-box screen-search" action="/search" method="get">
  66. <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>
  67. <input type="search" name="str" placeholder="搜索" aria-label="站内搜索">
  68. <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>
  69. </form>
  70. </div>
  71. <div class="screen-nav-row">
  72. <nav class="desktop-nav screen-desktop-nav" aria-label="主导航"><div class="nav-wrap">${desktopNavHtmlNoHome}</div></nav>
  73. </div>
  74. </div>
  75. </div>
  76. </header>
  77. </c:when>
  78. <c:otherwise>
  79. <header class="site-header inner-site-header">
  80. <div class="top-line">
  81. <div class="wrap top-line-inner">
  82. <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>
  83. <nav aria-label="辅助入口"><a href="/xinxigongkai/">信息公开</a><a href="/xiaoyuanfuwu/">校长信箱</a></nav>
  84. </div>
  85. </div>
  86. <div class="brand-line">
  87. <div class="wrap brand-inner">
  88. <a class="brand" href="/" aria-label="${website.name}首页"><img src="${assetBase}/official/logo.png" alt="${website.name}"></a>
  89. <form class="search-box inner-search" action="/search" method="get">
  90. <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>
  91. <input name="str" type="search" placeholder="搜索" aria-label="站内搜索">
  92. <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>
  93. </form>
  94. <button class="mobile-menu inner-mobile-menu" type="button" aria-label="打开导航"><span></span><span></span><span></span></button>
  95. </div>
  96. </div>
  97. <nav class="desktop-nav" aria-label="主导航"><div class="wrap nav-wrap">${desktopNavHtmlNoHome}</div></nav>
  98. </header>
  99. </c:otherwise>
  100. </c:choose>
  101. <div class="drawer-layer" hidden>
  102. <button class="drawer-mask" type="button" aria-label="关闭导航"></button>
  103. <aside class="drawer" aria-label="移动端导航">
  104. <div class="drawer-head"><strong>导航</strong><button type="button" aria-label="关闭导航">×</button></div>
  105. ${drawerNavHtmlNoHome}
  106. </aside>
  107. </div>
  108. <main class="inner-page">
  109. <section class="inner-hero school-inner-hero">
  110. <div class="wrap inner-hero-inner">
  111. <p class="inner-breadcrumb">
  112. <a href="/">首页</a>
  113. <c:forEach items="${crumbsNavList}" var="item"><span>/</span><a href="${item.url}">${item.name}</a></c:forEach>
  114. </p>
  115. <h1>${navigation.name}</h1>
  116. <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>
  117. </div>
  118. </section>
  119. <section class="inner-content">
  120. <div class="wrap inner-list-layout">
  121. <article class="inner-list-panel">
  122. <c:if test="${portalThemeClass ne 'screen-red-theme'}">
  123. <div class="section-title">
  124. <h2><span>${navigation.name}</span><em>${empty navigation.nameAssistant ? 'Column' : navigation.nameAssistant}</em></h2>
  125. <a href="/">返回首页</a>
  126. </div>
  127. </c:if>
  128. <c:choose>
  129. <c:when test="${not empty childrenNavList}">
  130. <ul class="inner-news-list inner-child-list<c:if test="${portalThemeClass eq 'screen-red-theme'}"> screen-child-thumb-list</c:if>">
  131. <c:forEach items="${childrenNavList}" var="item">
  132. <c:set var="childThumbStyle" value=""/>
  133. <c:if test="${screenRedCustomChildThumbList and not empty item.photoSizeWidth and not empty item.photoSizeHeight}">
  134. <c:set var="childThumbStyle" value="--inner-child-thumb-width:${item.photoSizeWidth}px;--inner-child-thumb-ratio:${item.photoSizeWidth} / ${item.photoSizeHeight};"/>
  135. </c:if>
  136. <li>
  137. <a href="${item.href}" target="${item.target}" style="${childThumbStyle}">
  138. <c:if test="${portalThemeClass eq 'screen-red-theme'}">
  139. <span class="inner-child-thumb">
  140. <c:choose>
  141. <c:when test="${not empty item.backgroundImage}"><img src="${item.backgroundImage}" alt="${item.name}"></c:when>
  142. <c:otherwise><em>暂无缩略图</em></c:otherwise>
  143. </c:choose>
  144. </span>
  145. </c:if>
  146. <div>
  147. <c:if test="${not empty item.nameAssistant}"><span>${item.nameAssistant}</span></c:if>
  148. <strong>${item.name}</strong>
  149. <p><c:choose><c:when test="${not empty item.desc}">${item.desc}</c:when><c:otherwise>进入${item.name}栏目。</c:otherwise></c:choose></p>
  150. </div>
  151. </a>
  152. </li>
  153. </c:forEach>
  154. </ul>
  155. </c:when>
  156. <c:otherwise>
  157. <c:choose>
  158. <c:when test="${isMediaList}">
  159. <ul class="article-media-grid ${mediaListClass}">
  160. <c:forEach items="${articleList}" var="item">
  161. <li>
  162. <a href="${item.url}" target="${item.target}" style="${articleThumbStyle}">
  163. <span class="article-media-thumb">
  164. <c:choose>
  165. <c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:when>
  166. <c:otherwise><em>暂无缩略图</em></c:otherwise>
  167. </c:choose>
  168. <c:if test="${isVideoList}"><i class="article-video-play" aria-hidden="true"></i></c:if>
  169. </span>
  170. <strong>${item.title}</strong>
  171. </a>
  172. </li>
  173. </c:forEach>
  174. <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>
  175. </ul>
  176. </c:when>
  177. <c:otherwise>
  178. <ul class="inner-news-list ${articleListClass}">
  179. <c:forEach items="${articleList}" var="item">
  180. <li>
  181. <a href="${item.url}" target="${item.target}" style="${articleThumbStyle}">
  182. <c:if test="${isGraphicList}">
  183. <span class="article-list-thumb">
  184. <c:choose>
  185. <c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:when>
  186. <c:otherwise><em>暂无缩略图</em></c:otherwise>
  187. </c:choose>
  188. </span>
  189. </c:if>
  190. <c:choose>
  191. <c:when test="${isGraphicList}">
  192. <div class="article-graphic-copy">
  193. <div class="article-graphic-head">
  194. <strong class="article-graphic-title">${item.title}</strong>
  195. <time class="article-graphic-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time>
  196. </div>
  197. <p>${item.desc}</p>
  198. </div>
  199. </c:when>
  200. <c:otherwise>
  201. <time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time>
  202. <div>
  203. <strong>${item.title}</strong>
  204. <p>${item.desc}</p>
  205. </div>
  206. </c:otherwise>
  207. </c:choose>
  208. </a>
  209. </li>
  210. </c:forEach>
  211. <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>
  212. </ul>
  213. </c:otherwise>
  214. </c:choose>
  215. </c:otherwise>
  216. </c:choose>
  217. <c:if test="${empty childrenNavList and pageCount > 1}">
  218. <nav class="inner-pagination" aria-label="分页">
  219. <c:if test="${curPageNo > 1}"><a href="${curHerf}?page=${curPageNo - 1}">上一页</a></c:if>
  220. <a class="active" href="${curHerf}?page=${curPageNo}">${curPageNo}</a>
  221. <c:if test="${curPageNo < pageCount}"><a href="${curHerf}?page=${curPageNo + 1}">下一页</a></c:if>
  222. </nav>
  223. </c:if>
  224. </article>
  225. <aside class="inner-side-panel">
  226. <div class="section-title"><h2><span>${navigation.name}导航</span><em>${empty navigation.nameAssistant ? 'Navigation' : navigation.nameAssistant}</em></h2></div>
  227. <nav class="inner-side-links" aria-label="栏目导航">
  228. <c:choose>
  229. <c:when test="${not empty childrenNavList}">
  230. <c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
  231. </c:when>
  232. <c:when test="${not empty brotherNavList}">
  233. <c:forEach items="${brotherNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
  234. </c:when>
  235. <c:otherwise><a href="${navigation.url}">${navigation.name}</a></c:otherwise>
  236. </c:choose>
  237. </nav>
  238. </aside>
  239. </div>
  240. </section>
  241. </main>
  242. <footer class="footer-top">
  243. <c:choose>
  244. <c:when test="${portalThemeClass eq 'screen-red-theme'}">
  245. <div class="wrap footer-main screen-footer-main">
  246. <div class="footer-address screen-footer-address">
  247. <div class="footer-logo screen-footer-logo" aria-label="${website.name}"></div>
  248. <p>中国 广东省广州市从化城鳌大道东772号</p>
  249. <p>校办电话:020-87868999</p>
  250. <p>招生电话:020-87865222</p>
  251. <p>就业办:020-87868935</p>
  252. </div>
  253. <%@ include file="screen-footer-social.jsp" %>
  254. <section class="screen-footer-links screen-footer-friend-links" aria-label="友情链接">
  255. <strong>友情链接</strong>
  256. <div class="screen-footer-friend-grid">
  257. <div>
  258. <c:forEach items="${schoolInternalQuickNmv.articleList}" var="item" varStatus="vs">
  259. <c:if test="${vs.count le 6}">
  260. <a href="${item.url}" target="${item.target}">${item.title}</a>
  261. </c:if>
  262. </c:forEach>
  263. </div>
  264. <div>
  265. <c:forEach items="${schoolExternalQuickNmv.articleList}" var="item" varStatus="vs">
  266. <c:if test="${vs.count le 6}">
  267. <a href="${item.url}" target="${item.target}">${item.title}</a>
  268. </c:if>
  269. </c:forEach>
  270. </div>
  271. </div>
  272. </section>
  273. <div class="footer-philosophy screen-footer-philosophy">
  274. <strong>办学理念</strong>
  275. <p>承华夏文明、育职业英才</p>
  276. <span>厚德、重能、敬业、善事</span>
  277. </div>
  278. </div>
  279. </c:when>
  280. <c:otherwise>
  281. <div class="wrap footer-main">
  282. <div class="footer-address"><p>中国 广东省广州市从化城鳌大道东772号</p><p>校办电话:020-87868999</p><p>招生电话:020-87865222</p><p>版权所有:${website.name}</p></div>
  283. <div class="footer-logo" aria-label="${website.name}"></div>
  284. <div class="footer-links">
  285. <c:set var="footerNavCount" value="0"/>
  286. <c:forEach items="${navList}" var="nav">
  287. <c:if test="${nav.name ne '首页' and nav.name ne '首页子栏目' and footerNavCount lt 2}">
  288. <div>
  289. <strong>${nav.name}</strong>
  290. <c:choose>
  291. <c:when test="${not empty nav.children}">
  292. <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>
  293. </c:when>
  294. <c:otherwise><a href="${nav.href}" target="${nav.target}">${nav.name}</a></c:otherwise>
  295. </c:choose>
  296. </div>
  297. <c:set var="footerNavCount" value="${footerNavCount + 1}"/>
  298. </c:if>
  299. </c:forEach>
  300. </div>
  301. </div>
  302. </c:otherwise>
  303. </c:choose>
  304. </footer>
  305. <footer class="copyright">
  306. <div class="wrap">
  307. <span>Copyright © Guangzhou Huaxia Vocational College All Rights Reserved</span>
  308. <c:if test="${portalThemeClass eq 'screen-red-theme'}">
  309. <span>版权所有:${website.name}</span>
  310. </c:if>
  311. <a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener">粤ICP备12042111号</a>
  312. </div>
  313. </footer>
  314. </div>
  315. <script src="/main/ffkj-portal/portal-zq.js?v=20260626-screen-red-nav-panel-fade"></script>
  316. </body>
  317. </html>