gjjx-index.jsp 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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/functions" prefix="fn"%>
  4. <c:set var="gjjxAsset" value="/main/ffkj-portal/gjjx"/>
  5. <c:set var="gjjxFallback" value="${gjjxAsset}/hero-1.jpg"/>
  6. <c:set var="gjjxNoticeMediaDone" value="false"/>
  7. <c:set var="gjjxIndustryServiceDone" value="false"/>
  8. <!doctype html>
  9. <html lang="zh-CN">
  10. <head>
  11. <meta charset="UTF-8">
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. <meta name="keywords" content="${website.seoKeywords}">
  14. <meta name="description" content="${website.seoDescription}">
  15. <title>${website.seoTitle}</title>
  16. <link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261117-360-legacy-layout-r2"><link rel="stylesheet" href="/web/upload/modules/sys/upload/files/2026/11/17/portal-360-compat-r2.css?v=20261117-360-compat-r2">
  17. <link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261019-gjjx-social-34">
  18. </head>
  19. <body class="screen-blue-theme gjjx-site">
  20. <div class="portal-shell screen-shell screen-blue-theme gjjx-site">
  21. <%@ include file="gjjx-header.jsp"%>
  22. <main>
  23. <c:forEach items="${gjjxHomeSections}" var="section" varStatus="sectionStatus">
  24. <c:set var="sectionNav" value="${section.navigationMap}"/>
  25. <c:set var="sectionId" value="${sectionNav.idcard}"/>
  26. <c:choose>
  27. <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_HERO'}">
  28. <section class="gjjx-hero-section" id="gjjx-hero" aria-label="${sectionNav.name}">
  29. <div class="gjjx-hero" data-gjjx-hero>
  30. <c:forEach items="${section.articleList}" var="item" varStatus="vs">
  31. <c:set var="heroImage" value="${empty item.thumbnail ? gjjxFallback : item.thumbnail}"/>
  32. <c:set var="heroUrlLower" value="${fn:toLowerCase(item.url)}"/>
  33. <c:set var="heroDirectVideo" value="${fn:endsWith(heroUrlLower,'.mp4') or fn:endsWith(heroUrlLower,'.webm') or fn:endsWith(heroUrlLower,'.ogg') or fn:endsWith(heroUrlLower,'.m4v') or fn:endsWith(heroUrlLower,'.mov')}"/>
  34. <div class="gjjx-hero-slide${vs.first ? ' is-active' : ''}" data-gjjx-hero-slide="${vs.index}">
  35. <c:choose>
  36. <c:when test="${heroDirectVideo}">
  37. <video class="gjjx-hero-media" autoplay muted loop playsinline poster="${heroImage}"><source src="${item.url}"></video>
  38. </c:when>
  39. <c:otherwise><a class="gjjx-hero-media-link" href="${item.url}" target="${item.target}"><img class="gjjx-hero-media" src="${heroImage}" alt="${item.title}"></a></c:otherwise>
  40. </c:choose>
  41. <div class="gjjx-hero-caption"><span>${empty sectionNav.nameAssistant ? 'HUAXIA TECHNICAL SCHOOL' : sectionNav.nameAssistant}</span><h1>${item.title}</h1><p>${item.desc}</p></div>
  42. </div>
  43. </c:forEach>
  44. <c:if test="${empty section.articleList}"><div class="gjjx-hero-slide is-active"><img class="gjjx-hero-media" src="${gjjxFallback}" alt="${website.name}"></div></c:if>
  45. <c:if test="${fn:length(section.articleList) gt 1}">
  46. <button class="gjjx-hero-arrow prev" type="button" aria-label="上一张">‹</button>
  47. <button class="gjjx-hero-arrow next" type="button" aria-label="下一张">›</button>
  48. <div class="gjjx-hero-dots"><c:forEach items="${section.articleList}" var="item" varStatus="vs"><button type="button" class="${vs.first ? 'is-active' : ''}" data-gjjx-hero-dot="${vs.index}" aria-label="切换到第 ${vs.count} 张"></button></c:forEach></div>
  49. </c:if>
  50. </div>
  51. </section>
  52. </c:when>
  53. <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_NEWS'}">
  54. <section class="gjjx-section" id="gjjx-news">
  55. <div class="wrap">
  56. <div class="gjjx-section-title"><h2>${empty sectionNav.name ? '校园新闻' : sectionNav.name}</h2><em>${empty sectionNav.nameAssistant ? 'CAMPUS NEWS' : sectionNav.nameAssistant}</em><a href="${sectionNav.href}" target="${sectionNav.target}">更多 →</a></div>
  57. <div class="gjjx-news-layout">
  58. <div class="gjjx-news-feature" data-gjjx-news-carousel>
  59. <c:set var="featureCount" value="0"/>
  60. <c:forEach items="${section.articleList}" var="item" varStatus="vs">
  61. <c:if test="${not empty item.thumbnail and featureCount lt 5}">
  62. <c:set var="featureCount" value="${featureCount + 1}"/>
  63. <a class="gjjx-news-slide${featureCount eq 1 ? ' is-active' : ''}" data-gjjx-news-slide="${featureCount - 1}" href="${item.url}" target="${item.target}"><img src="${item.thumbnail}" alt="${item.title}"><span><strong>${item.title}</strong><time>${fn:substring(item.release_time,0,10)}</time></span></a>
  64. </c:if>
  65. </c:forEach>
  66. <c:if test="${featureCount eq 0}"><a class="gjjx-news-slide is-active" href="${sectionNav.href}"><img src="${gjjxFallback}" alt="${sectionNav.name}"></a></c:if>
  67. <div class="gjjx-news-dots"><c:forEach items="${section.articleList}" var="item" varStatus="vs"><c:if test="${not empty item.thumbnail and vs.count le 5}"><button type="button" class="${vs.first ? 'is-active' : ''}" data-gjjx-news-dot="${vs.index}"></button></c:if></c:forEach></div>
  68. </div>
  69. <ul class="gjjx-news-list">
  70. <c:forEach items="${section.articleList}" var="item" varStatus="vs"><c:if test="${vs.count le 5}"><li><a href="${item.url}" target="${item.target}"><span class="gjjx-date"><strong>${fn:substring(item.release_time,8,10)}</strong><em>${fn:substring(item.release_time,0,7)}</em></span><span><b>${item.title}</b><small>${item.desc}</small></span></a></li></c:if></c:forEach>
  71. </ul>
  72. </div>
  73. </div>
  74. </section>
  75. </c:when>
  76. <c:when test="${(sectionId eq 'FFKJ_GJJX_HOME_NOTICE' or sectionId eq 'FFKJ_GJJX_HOME_MEDIA') and not gjjxNoticeMediaDone}">
  77. <c:set var="gjjxNoticeMediaDone" value="true"/>
  78. <section class="gjjx-section gjjx-section-soft" id="gjjx-notice-media">
  79. <div class="wrap gjjx-two-column">
  80. <article class="gjjx-panel gjjx-media-panel" id="gjjx-media">
  81. <div class="gjjx-section-title"><h2>${empty gjjxMediaNmv.navigationMap.name ? '媒体聚焦' : gjjxMediaNmv.navigationMap.name}</h2><em>${empty gjjxMediaNmv.navigationMap.nameAssistant ? 'MEDIA' : gjjxMediaNmv.navigationMap.nameAssistant}</em><a href="${gjjxMediaNmv.navigationMap.href}">更多 →</a></div>
  82. <ul class="gjjx-media-list"><c:forEach items="${gjjxMediaNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><span class="gjjx-media-thumb"><c:if test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:if></span><span><b>${item.title}</b><small>${item.source}</small></span></a></li></c:forEach></ul>
  83. </article>
  84. <article class="gjjx-panel gjjx-notice-panel" id="gjjx-notice">
  85. <div class="gjjx-section-title"><h2>${empty gjjxNoticeNmv.navigationMap.name ? '通知公告' : gjjxNoticeNmv.navigationMap.name}</h2><em>${empty gjjxNoticeNmv.navigationMap.nameAssistant ? 'NOTICES' : gjjxNoticeNmv.navigationMap.nameAssistant}</em><a href="${gjjxNoticeNmv.navigationMap.href}">更多 →</a></div>
  86. <ul class="gjjx-notice-list"><c:forEach items="${gjjxNoticeNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><time>${fn:substring(item.release_time,0,10)}</time><span>${item.title}</span></a></li></c:forEach></ul>
  87. </article>
  88. </div>
  89. </section>
  90. </c:when>
  91. <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_ADMISSION'}">
  92. <section class="gjjx-section" id="gjjx-admission">
  93. <div class="wrap">
  94. <div class="gjjx-section-title"><h2>${empty sectionNav.name ? '招生信息' : sectionNav.name}</h2><em>${empty sectionNav.nameAssistant ? 'ADMISSIONS' : sectionNav.nameAssistant}</em><a href="${sectionNav.href}" target="${sectionNav.target}">更多 →</a></div>
  95. <div class="gjjx-card-grid"><c:forEach items="${section.articleList}" var="item"><a class="gjjx-card" href="${item.url}" target="${item.target}"><c:if test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:if><strong>${item.title}</strong><p>${item.desc}</p></a></c:forEach></div>
  96. </div>
  97. </section>
  98. </c:when>
  99. <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_PEOPLE'}">
  100. <section class="gjjx-section gjjx-people-section" id="gjjx-people">
  101. <div class="wrap">
  102. <div class="gjjx-section-title gjjx-people-title">
  103. <h2>${empty sectionNav.name ? '华夏人物' : sectionNav.name}</h2><em>${empty sectionNav.nameAssistant ? 'HUAXIA PEOPLE' : sectionNav.nameAssistant}</em>
  104. <div class="gjjx-people-tabs" role="tablist" aria-label="华夏人物分类">
  105. <c:forEach items="${gjjxPeopleCategoryList}" var="category" varStatus="status">
  106. <button type="button" class="${status.first ? 'is-active' : ''}" role="tab" aria-selected="${status.first ? 'true' : 'false'}" data-gjjx-people-tab="${category.navigationMap.navigationid}">${category.navigationMap.name}</button>
  107. </c:forEach>
  108. </div>
  109. </div>
  110. <div class="gjjx-people-feature" data-gjjx-people>
  111. <div class="gjjx-people-main">
  112. <div class="gjjx-people-portrait-ring">
  113. <c:set var="firstPersonCategory" value="${gjjxPeopleCategoryList[0]}"/>
  114. <c:set var="firstPerson" value="${firstPersonCategory.articleList[0]}"/>
  115. <c:set var="firstPersonImage" value="${gjjxAsset}/person-1.png"/>
  116. <c:if test="${not empty firstPerson.thumbnail}"><c:set var="firstPersonImage" value="${firstPerson.thumbnail}"/></c:if>
  117. <img data-gjjx-person-portrait src="${firstPersonImage}" alt="${firstPerson.title}">
  118. </div>
  119. <div class="gjjx-people-profile">
  120. <em data-gjjx-person-role>${empty firstPerson.source ? '华夏人物' : firstPerson.source}</em>
  121. <h3 data-gjjx-person-name>${firstPerson.title}</h3>
  122. <span class="gjjx-people-line"></span>
  123. <p data-gjjx-person-desc>${firstPerson.desc}</p>
  124. </div>
  125. </div>
  126. <div class="gjjx-people-cards">
  127. <c:forEach items="${gjjxPeopleCategoryList}" var="category" varStatus="categoryStatus">
  128. <div class="gjjx-people-panel${categoryStatus.first ? ' is-active' : ''}" data-gjjx-people-panel="${category.navigationMap.navigationid}">
  129. <c:forEach items="${category.articleList}" var="item" varStatus="vs"><c:set var="personImage" value="${gjjxAsset}/person-${(vs.index % 6) + 1}.png"/><c:if test="${not empty item.thumbnail}"><c:set var="personImage" value="${item.thumbnail}"/></c:if><a class="gjjx-person-card${item.title eq firstPerson.title ? ' is-active' : ''}" data-gjjx-person-card data-portrait="${personImage}" data-name="${fn:escapeXml(item.title)}" data-role="${fn:escapeXml(category.navigationMap.name)}" data-desc="${fn:escapeXml(item.desc)}" href="${item.url}" target="${item.target}"><span class="gjjx-person-photo"><img src="${personImage}" alt="${item.title}"></span><strong>${item.title}</strong></a></c:forEach>
  130. </div>
  131. </c:forEach>
  132. </div>
  133. </div>
  134. </div>
  135. </section>
  136. </c:when>
  137. <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_SOCIAL'}">
  138. <section class="gjjx-section gjjx-social-section" id="gjjx-social">
  139. <div class="wrap">
  140. <div class="gjjx-social-heading">
  141. <div class="gjjx-social-heading-copy"><span>${empty sectionNav.nameAssistant ? 'FOLLOW US' : sectionNav.nameAssistant}</span><h2>${empty sectionNav.name ? '社交媒体上的我们' : sectionNav.name}</h2></div>
  142. <div class="gjjx-social-platforms" aria-label="学校社交媒体平台"><a href="#" aria-label="微信公众号" title="微信公众号"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M10.4 4.6c-4.2 0-7.6 2.8-7.6 6.2 0 1.9 1 3.6 2.6 4.7l-.7 2.2 2.6-1.3c1 .3 2 .4 3.1.4 4.2 0 7.6-2.8 7.6-6.2s-3.4-6-7.6-6Zm-2.7 3.2a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8Zm5.5 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8Z"/><path d="M21.2 11.5c-3.2 0-5.8 2.2-5.8 4.9 0 2.6 2.6 4.8 5.8 4.8.8 0 1.5-.1 2.2-.3l1.9 1-.5-1.7c1.1-.9 1.8-2.1 1.8-3.5 0-2.9-2.4-5.2-5.4-5.2Zm-2 3a.7.7 0 1 1 0 1.4.7.7 0 0 1 0-1.4Zm4 0a.7.7 0 1 1 0 1.4.7.7 0 0 1 0-1.4Z"/></svg></a><a href="#" aria-label="微信视频号" title="微信视频号"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="4"/><path d="m10 9 5 3-5 3V9Z" class="is-cutout"/></svg></a><a href="#" aria-label="抖音号" title="抖音号"><img src="/main/ffkj-portal/assets/social/douyin.svg" alt=""></a><a href="#" aria-label="哔哩哔哩" title="哔哩哔哩"><img src="/main/ffkj-portal/assets/social/bilibili.svg" alt=""></a></div>
  143. </div>
  144. <div class="gjjx-social-feed"><c:forEach items="${section.articleList}" var="item" varStatus="vs"><c:if test="${vs.count le 5}"><a class="gjjx-social-post gjjx-social-post-${vs.count}" href="${item.url}" target="${item.target}" title="${fn:escapeXml(item.title)}"><c:choose><c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}" loading="lazy"></c:when><c:otherwise><span class="gjjx-social-placeholder" aria-hidden="true"></span></c:otherwise></c:choose><span class="gjjx-social-post-caption"><small>${empty item.source ? '新媒体中心' : item.source}</small><strong>${item.title}</strong></span></a></c:if></c:forEach></div>
  145. <a class="gjjx-social-more" href="${sectionNav.href}" target="${sectionNav.target}">查看更多 <span>→</span></a>
  146. </div>
  147. </section>
  148. </c:when>
  149. <c:when test="${(sectionId eq 'FFKJ_GJJX_HOME_INDUSTRY' or sectionId eq 'FFKJ_GJJX_HOME_SERVICE') and not gjjxIndustryServiceDone}">
  150. <c:set var="gjjxIndustryServiceDone" value="true"/>
  151. <section class="gjjx-section" id="gjjx-industry-service">
  152. <div class="wrap">
  153. <div class="gjjx-dual-heading"><div class="gjjx-section-title"><h2>${empty gjjxIndustryNmv.navigationMap.name ? '产教融合' : gjjxIndustryNmv.navigationMap.name}</h2><em>${empty gjjxIndustryNmv.navigationMap.nameAssistant ? 'INDUSTRY & EDUCATION' : gjjxIndustryNmv.navigationMap.nameAssistant}</em></div><div class="gjjx-section-title"><h2>${empty gjjxServiceNmv.navigationMap.name ? '服务直通车' : gjjxServiceNmv.navigationMap.name}</h2><em>${empty gjjxServiceNmv.navigationMap.nameAssistant ? 'SERVICE EXPRESS' : gjjxServiceNmv.navigationMap.nameAssistant}</em></div></div>
  154. <div class="gjjx-two-column gjjx-industry-service"><article class="gjjx-panel" id="gjjx-industry"><div class="gjjx-logo-cloud" aria-label="校企合作企业 Logo 墙"><c:forEach items="${gjjxIndustryNmv.articleList}" var="item" varStatus="vs"><a class="gjjx-logo-float" href="${item.url}" target="${item.target}" style="--logo-index:${vs.index}"><c:choose><c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:when><c:otherwise><img src="${gjjxAsset}/enterprise-${(vs.index % 8) + 1}.svg" alt="${item.title}"></c:otherwise></c:choose></a></c:forEach></div><a class="gjjx-more-link" href="${gjjxIndustryNmv.navigationMap.href}">查看合作案例 →</a></article><article class="gjjx-panel" id="gjjx-service"><div class="gjjx-service-grid"><c:forEach items="${gjjxServiceNmv.articleList}" var="item"><a href="${item.url}" target="${item.target}"><span><c:if test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:if></span><strong>${item.title}</strong></a></c:forEach></div></article></div>
  155. </div>
  156. </section>
  157. </c:when>
  158. <c:when test="${sectionId ne 'FFKJ_GJJX_HOME_NOTICE' and sectionId ne 'FFKJ_GJJX_HOME_MEDIA' and sectionId ne 'FFKJ_GJJX_HOME_INDUSTRY' and sectionId ne 'FFKJ_GJJX_HOME_SERVICE' and sectionId ne 'FFKJ_GJJX_HOME_FLOAT_NAV'}">
  159. <section class="gjjx-section"><div class="wrap"><div class="gjjx-section-title"><h2>${sectionNav.name}</h2><em>${sectionNav.nameAssistant}</em><a href="${sectionNav.href}" target="${sectionNav.target}">更多 →</a></div><ul class="gjjx-simple-list"><c:forEach items="${section.articleList}" var="item"><li><a href="${item.url}" target="${item.target}">${item.title}<time>${fn:substring(item.release_time,0,10)}</time></a></li></c:forEach></ul></div></section>
  160. </c:when>
  161. </c:choose>
  162. </c:forEach>
  163. </main>
  164. <c:if test="${not empty gjjxHomeSections}">
  165. <c:set var="gjjxFloatLogo" value="${gjjxAsset}/logo-white.png?v=20261019-logo-1"/>
  166. <aside class="gjjx-float-nav" aria-label="首页快速导览" data-gjjx-float-nav><div class="gjjx-float-top"><span class="gjjx-float-logo"><img src="${gjjxFloatLogo}" alt="${website.name}"></span></div><ul class="gjjx-float-menu"><c:forEach items="${gjjxHomeSections}" var="quickSection"><c:set var="quickId" value="${quickSection.navigationMap.idcard}"/><c:set var="quickHref" value=""/><c:choose><c:when test="${quickId eq 'FFKJ_GJJX_HOME_NEWS'}"><c:set var="quickHref" value="#gjjx-news"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_NOTICE'}"><c:set var="quickHref" value="#gjjx-notice"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_MEDIA'}"><c:set var="quickHref" value="#gjjx-media"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_ADMISSION'}"><c:set var="quickHref" value="#gjjx-admission"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_PEOPLE'}"><c:set var="quickHref" value="#gjjx-people"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_SOCIAL'}"><c:set var="quickHref" value="#gjjx-social"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_INDUSTRY'}"><c:set var="quickHref" value="#gjjx-industry"/></c:when><c:when test="${quickId eq 'FFKJ_GJJX_HOME_SERVICE'}"><c:set var="quickHref" value="#gjjx-service"/></c:when></c:choose><c:if test="${not empty quickHref}"><c:set var="quickName" value="${empty quickSection.navigationMap.desc ? quickSection.navigationMap.name : quickSection.navigationMap.desc}"/><li><a href="${quickHref}" title="${fn:escapeXml(quickName)}">${quickName}</a></li></c:if></c:forEach></ul><div class="gjjx-float-bottom"><a href="#gjjx-hero" aria-label="返回顶部"><img src="${gjjxAsset}/float-nav-up.png" alt="返回顶部"></a></div></aside>
  167. </c:if>
  168. <%@ include file="gjjx-footer.jsp"%>
  169. </div>
  170. <script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-27"></script>
  171. <script src="/main/ffkj-portal/gjjx-blue.js?v=20261019-gjjx-float-36"></script>
  172. </body>
  173. </html>