| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
- <c:set var="gjjxAsset" value="/main/ffkj-portal/gjjx"/>
- <c:set var="gjjxFallback" value="${gjjxAsset}/hero-1.jpg"/>
- <c:set var="gjjxNoticeMediaDone" value="false"/>
- <c:set var="gjjxIndustryServiceDone" value="false"/>
- <!doctype html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="keywords" content="${website.seoKeywords}">
- <meta name="description" content="${website.seoDescription}">
- <title>${website.seoTitle}</title>
- <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">
- <link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261019-gjjx-social-34">
- </head>
- <body class="screen-blue-theme gjjx-site">
- <div class="portal-shell screen-shell screen-blue-theme gjjx-site">
- <%@ include file="gjjx-header.jsp"%>
- <main>
- <c:forEach items="${gjjxHomeSections}" var="section" varStatus="sectionStatus">
- <c:set var="sectionNav" value="${section.navigationMap}"/>
- <c:set var="sectionId" value="${sectionNav.idcard}"/>
- <c:choose>
- <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_HERO'}">
- <section class="gjjx-hero-section" id="gjjx-hero" aria-label="${sectionNav.name}">
- <div class="gjjx-hero" data-gjjx-hero>
- <c:forEach items="${section.articleList}" var="item" varStatus="vs">
- <c:set var="heroImage" value="${empty item.thumbnail ? gjjxFallback : item.thumbnail}"/>
- <c:set var="heroUrlLower" value="${fn:toLowerCase(item.url)}"/>
- <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')}"/>
- <div class="gjjx-hero-slide${vs.first ? ' is-active' : ''}" data-gjjx-hero-slide="${vs.index}">
- <c:choose>
- <c:when test="${heroDirectVideo}">
- <video class="gjjx-hero-media" autoplay muted loop playsinline poster="${heroImage}"><source src="${item.url}"></video>
- </c:when>
- <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>
- </c:choose>
- <div class="gjjx-hero-caption"><span>${empty sectionNav.nameAssistant ? 'HUAXIA TECHNICAL SCHOOL' : sectionNav.nameAssistant}</span><h1>${item.title}</h1><p>${item.desc}</p></div>
- </div>
- </c:forEach>
- <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>
- <c:if test="${fn:length(section.articleList) gt 1}">
- <button class="gjjx-hero-arrow prev" type="button" aria-label="上一张">‹</button>
- <button class="gjjx-hero-arrow next" type="button" aria-label="下一张">›</button>
- <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>
- </c:if>
- </div>
- </section>
- </c:when>
- <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_NEWS'}">
- <section class="gjjx-section" id="gjjx-news">
- <div class="wrap">
- <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>
- <div class="gjjx-news-layout">
- <div class="gjjx-news-feature" data-gjjx-news-carousel>
- <c:set var="featureCount" value="0"/>
- <c:forEach items="${section.articleList}" var="item" varStatus="vs">
- <c:if test="${not empty item.thumbnail and featureCount lt 5}">
- <c:set var="featureCount" value="${featureCount + 1}"/>
- <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>
- </c:if>
- </c:forEach>
- <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>
- <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>
- </div>
- <ul class="gjjx-news-list">
- <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>
- </ul>
- </div>
- </div>
- </section>
- </c:when>
- <c:when test="${(sectionId eq 'FFKJ_GJJX_HOME_NOTICE' or sectionId eq 'FFKJ_GJJX_HOME_MEDIA') and not gjjxNoticeMediaDone}">
- <c:set var="gjjxNoticeMediaDone" value="true"/>
- <section class="gjjx-section gjjx-section-soft" id="gjjx-notice-media">
- <div class="wrap gjjx-two-column">
- <article class="gjjx-panel gjjx-media-panel" id="gjjx-media">
- <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>
- <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>
- </article>
- <article class="gjjx-panel gjjx-notice-panel" id="gjjx-notice">
- <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>
- <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>
- </article>
- </div>
- </section>
- </c:when>
- <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_ADMISSION'}">
- <section class="gjjx-section" id="gjjx-admission">
- <div class="wrap">
- <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>
- <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>
- </div>
- </section>
- </c:when>
- <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_PEOPLE'}">
- <section class="gjjx-section gjjx-people-section" id="gjjx-people">
- <div class="wrap">
- <div class="gjjx-section-title gjjx-people-title">
- <h2>${empty sectionNav.name ? '华夏人物' : sectionNav.name}</h2><em>${empty sectionNav.nameAssistant ? 'HUAXIA PEOPLE' : sectionNav.nameAssistant}</em>
- <div class="gjjx-people-tabs" role="tablist" aria-label="华夏人物分类">
- <c:forEach items="${gjjxPeopleCategoryList}" var="category" varStatus="status">
- <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>
- </c:forEach>
- </div>
- </div>
- <div class="gjjx-people-feature" data-gjjx-people>
- <div class="gjjx-people-main">
- <div class="gjjx-people-portrait-ring">
- <c:set var="firstPersonCategory" value="${gjjxPeopleCategoryList[0]}"/>
- <c:set var="firstPerson" value="${firstPersonCategory.articleList[0]}"/>
- <c:set var="firstPersonImage" value="${gjjxAsset}/person-1.png"/>
- <c:if test="${not empty firstPerson.thumbnail}"><c:set var="firstPersonImage" value="${firstPerson.thumbnail}"/></c:if>
- <img data-gjjx-person-portrait src="${firstPersonImage}" alt="${firstPerson.title}">
- </div>
- <div class="gjjx-people-profile">
- <em data-gjjx-person-role>${empty firstPerson.source ? '华夏人物' : firstPerson.source}</em>
- <h3 data-gjjx-person-name>${firstPerson.title}</h3>
- <span class="gjjx-people-line"></span>
- <p data-gjjx-person-desc>${firstPerson.desc}</p>
- </div>
- </div>
- <div class="gjjx-people-cards">
- <c:forEach items="${gjjxPeopleCategoryList}" var="category" varStatus="categoryStatus">
- <div class="gjjx-people-panel${categoryStatus.first ? ' is-active' : ''}" data-gjjx-people-panel="${category.navigationMap.navigationid}">
- <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>
- </div>
- </c:forEach>
- </div>
- </div>
- </div>
- </section>
- </c:when>
- <c:when test="${sectionId eq 'FFKJ_GJJX_HOME_SOCIAL'}">
- <section class="gjjx-section gjjx-social-section" id="gjjx-social">
- <div class="wrap">
- <div class="gjjx-social-heading">
- <div class="gjjx-social-heading-copy"><span>${empty sectionNav.nameAssistant ? 'FOLLOW US' : sectionNav.nameAssistant}</span><h2>${empty sectionNav.name ? '社交媒体上的我们' : sectionNav.name}</h2></div>
- <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>
- </div>
- <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>
- <a class="gjjx-social-more" href="${sectionNav.href}" target="${sectionNav.target}">查看更多 <span>→</span></a>
- </div>
- </section>
- </c:when>
- <c:when test="${(sectionId eq 'FFKJ_GJJX_HOME_INDUSTRY' or sectionId eq 'FFKJ_GJJX_HOME_SERVICE') and not gjjxIndustryServiceDone}">
- <c:set var="gjjxIndustryServiceDone" value="true"/>
- <section class="gjjx-section" id="gjjx-industry-service">
- <div class="wrap">
- <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>
- <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>
- </div>
- </section>
- </c:when>
- <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'}">
- <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>
- </c:when>
- </c:choose>
- </c:forEach>
- </main>
- <c:if test="${not empty gjjxHomeSections}">
- <c:set var="gjjxFloatLogo" value="${gjjxAsset}/logo-white.png?v=20261019-logo-1"/>
- <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>
- </c:if>
- <%@ include file="gjjx-footer.jsp"%>
- </div>
- <script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-27"></script>
- <script src="/main/ffkj-portal/gjjx-blue.js?v=20261019-gjjx-float-36"></script>
- </body>
- </html>
|