school-list.jsp 17 KB

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