school-list.jsp 18 KB

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