| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <%@ 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="assetBase" value="/main/ffkj-portal/assets"/>
- <c:set var="departmentLogo" value="${assetBase}/official/logo.png"/>
- <c:if test="${not empty website.logo}"><c:set var="departmentLogo" value="${website.logo}"/></c:if>
- <!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">
- <c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
- </head>
- <body class="${portalThemeClass}">
- <div class="college-page college-department-page college-blue-page ${portalThemeClass}">
- <header class="college-header department-header">
- <div class="department-utility">
- <div class="wrap department-utility-inner">
- <nav aria-label="学院快捷入口"><c:choose><c:when test="${not empty utilityLinksNmv.articleList}"><c:forEach items="${utilityLinksNmv.articleList}" var="item" varStatus="vs"><c:if test="${vs.count le 8}"><a class="${vs.first ? 'department-school-home' : ''}" href="${item.url}" target="${item.target}">${item.title}</a></c:if></c:forEach></c:when><c:otherwise><a class="department-school-home" href="${schoolHomeUrl}">${schoolHomeName}</a></c:otherwise></c:choose></nav>
- <form class="department-search" action="/search" method="get">
- <input name="str" type="search" placeholder="搜索" aria-label="学院站内搜索">
- <button type="submit" aria-label="提交搜索"><svg class="department-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>
- </form>
- </div>
- </div>
- <div class="department-brand">
- <div class="wrap department-brand-inner">
- <a class="department-logo" href="/" aria-label="${website.name}">
- <img src="${departmentLogo}" alt="${website.name}">
- <span>${website.seoTitle}</span>
- </a>
- <button class="mobile-menu department-mobile-menu" type="button" aria-label="打开导航"><span></span><span></span><span></span></button>
- </div>
- </div>
- </header>
- <nav class="college-nav department-nav" aria-label="${website.name}导航">
- <div class="wrap college-nav-inner">
- ${desktopNavHtmlWithHome}
- </div>
- </nav>
- <div class="drawer-layer" hidden>
- <button class="drawer-mask" type="button" aria-label="关闭导航"></button>
- <aside class="drawer" aria-label="${website.name}移动端导航">
- <div class="drawer-head"><strong>${website.seoTitle}</strong><button type="button" aria-label="关闭导航">×</button></div>
- ${drawerNavHtmlWithHome}
- </aside>
- </div>
- <main>
- <section class="department-hero" aria-label="${website.name}焦点图">
- <div class="wrap department-hero-inner">
- <div class="department-hero-track">
- <c:choose>
- <c:when test="${not empty collegeHeroNmv.articleList}">
- <c:forEach items="${collegeHeroNmv.articleList}" var="slide" varStatus="vs">
- <c:set var="slideImage" value="${assetBase}/official/view-hero.jpg"/>
- <c:if test="${not empty slide.thumbnail}"><c:set var="slideImage" value="${slide.thumbnail}"/></c:if>
- <article class="${vs.first ? 'active' : ''}">
- <img src="${slideImage}" alt="${slide.title}">
- <div><h1>${slide.title}</h1><p>${slide.desc}</p></div>
- </article>
- </c:forEach>
- </c:when>
- <c:otherwise><article class="active"><img src="${assetBase}/official/view-hero.jpg" alt="${website.name}"><div><h1>${website.name}</h1><p>${website.seoDescription}</p></div></article></c:otherwise>
- </c:choose>
- <button class="department-hero-arrow prev" type="button" aria-label="上一张">‹</button>
- <button class="department-hero-arrow next" type="button" aria-label="下一张">›</button>
- <div class="department-hero-dots" aria-label="轮播分页"><c:forEach items="${collegeHeroNmv.articleList}" var="slide" varStatus="vs"><button type="button" class="${vs.first ? 'active' : ''}" aria-label="切换到第 ${vs.count} 张"></button></c:forEach></div>
- </div>
- </div>
- </section>
- <section class="department-main">
- <div class="wrap department-main-grid">
- <article class="department-news-panel">
- <div class="department-section-title"><h2>${empty collegeNewsNmv.navigationMap.name ? '新闻动态' : collegeNewsNmv.navigationMap.name}</h2><a href="${collegeNewsNmv.navigationMap.url}">查看更多</a></div>
- <div class="department-news-layout">
- <c:forEach items="${collegeNewsNmv.articleList}" var="item" varStatus="vs">
- <c:if test="${vs.first}">
- <c:set var="newsImage" value="${assetBase}/official/banner-1.jpg"/>
- <c:if test="${not empty item.thumbnail}"><c:set var="newsImage" value="${item.thumbnail}"/></c:if>
- <a class="department-feature-news" href="${item.url}" target="${item.target}"><span class="department-feature-image"><img src="${newsImage}" alt="${item.title}"></span><h3>${item.title}</h3><time>${fn:substring(item.release_time, 0, 10)}</time><p>${item.desc}</p></a>
- </c:if>
- </c:forEach>
- <ul class="department-news-list">
- <c:forEach items="${collegeNewsNmv.articleList}" var="item" varStatus="vs"><c:if test="${not vs.first}"><li><a href="${item.url}" target="${item.target}"><strong>${item.title}</strong><p>${item.desc}</p><time>${fn:substring(item.release_time, 0, 10)}</time></a></li></c:if></c:forEach>
- </ul>
- </div>
- </article>
- <aside class="department-notice-panel">
- <div class="department-section-title"><h2>${empty collegeMajorNmv.navigationMap.name ? '专业建设' : collegeMajorNmv.navigationMap.name}</h2><a href="${collegeMajorNmv.navigationMap.url}">查看更多</a></div>
- <ul>
- <c:forEach items="${collegeMajorNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><span><strong>${fn:substring(item.release_time, 8, 10)}</strong><em>${fn:substring(item.release_time, 0, 7)}</em></span><b>${item.title}</b><small>${item.desc}</small></a></li></c:forEach>
- </ul>
- </aside>
- </div>
- </section>
- <section class="department-life department-home-sections">
- <c:choose>
- <c:when test="${not empty collegeHomeSectionRows}">
- <c:forEach items="${collegeHomeSectionRows}" var="homeSectionRow" varStatus="rowVs">
- <div class="department-home-section-row department-home-section-row-${rowVs.index % 2 == 0 ? 'a' : 'b'}">
- <div class="wrap department-life-grid department-home-section-grid">
- <c:forEach items="${homeSectionRow}" var="homeSection">
- <c:set var="sectionNav" value="${homeSection.navigationMap}"/>
- <c:set var="sectionListStyleCode" value="${empty sectionNav.wnlscode ? 10000 : sectionNav.wnlscode}"/>
- <c:set var="sectionIsTextList" value="${sectionListStyleCode == 10000}"/>
- <c:set var="sectionIsGraphicList" value="${sectionListStyleCode == 10010}"/>
- <c:set var="sectionIsCarouselList" value="${sectionListStyleCode == 10020}"/>
- <c:set var="sectionIsMediaGrid" value="${sectionListStyleCode == 10030 or sectionListStyleCode == 10050}"/>
- <c:set var="sectionHref" value="${empty sectionNav.href ? sectionNav.url : sectionNav.href}"/>
- <article class="department-list-panel department-home-panel ${sectionIsGraphicList ? 'is-graphic-list' : ''} ${sectionIsCarouselList ? 'is-carousel-list' : ''} ${sectionIsMediaGrid ? 'is-media-grid' : ''}">
- <div class="department-section-title"><h2>${sectionNav.name}</h2><a href="${sectionHref}" target="${sectionNav.target}">查看更多</a></div>
- <c:choose>
- <c:when test="${sectionIsCarouselList}">
- <div class="department-section-carousel" aria-label="${sectionNav.name}轮播">
- <c:choose>
- <c:when test="${not empty homeSection.articleList}">
- <c:forEach items="${homeSection.articleList}" var="item" varStatus="vs">
- <c:if test="${vs.count le 5}">
- <c:set var="sectionImage" value="${assetBase}/official/campus-2.jpg"/>
- <c:if test="${not empty item.thumbnail}"><c:set var="sectionImage" value="${item.thumbnail}"/></c:if>
- <a class="department-section-slide ${vs.first ? 'active' : ''}" href="${item.url}" target="${item.target}">
- <img src="${sectionImage}" alt="${item.title}">
- <span><strong>${item.title}</strong><small>${item.desc}</small></span>
- </a>
- </c:if>
- </c:forEach>
- </c:when>
- <c:otherwise>
- <a class="department-section-slide active" href="${sectionHref}" target="${sectionNav.target}"><img src="${assetBase}/official/campus-2.jpg" alt="${sectionNav.name}"><span><strong>${sectionNav.name}</strong><small>${sectionNav.desc}</small></span></a>
- </c:otherwise>
- </c:choose>
- <button class="department-section-arrow prev" type="button" aria-label="上一条">‹</button>
- <button class="department-section-arrow next" type="button" aria-label="下一条">›</button>
- <div class="department-section-dots" aria-label="${sectionNav.name}轮播分页">
- <c:choose>
- <c:when test="${not empty homeSection.articleList}">
- <c:forEach items="${homeSection.articleList}" var="item" varStatus="vs"><c:if test="${vs.count le 5}"><button type="button" class="${vs.first ? 'active' : ''}" aria-label="切换到第 ${vs.count} 条"></button></c:if></c:forEach>
- </c:when>
- <c:otherwise><button type="button" class="active" aria-label="切换到第 1 条"></button></c:otherwise>
- </c:choose>
- </div>
- </div>
- </c:when>
- <c:when test="${sectionIsGraphicList}">
- <ul class="department-section-graphic-list">
- <c:forEach items="${homeSection.articleList}" var="item" varStatus="vs">
- <c:if test="${vs.count le 5}">
- <c:set var="sectionImage" value="${assetBase}/official/campus-2.jpg"/>
- <c:if test="${not empty item.thumbnail}"><c:set var="sectionImage" value="${item.thumbnail}"/></c:if>
- <li><a href="${item.url}" target="${item.target}"><span class="department-section-thumb"><img src="${sectionImage}" alt="${item.title}"></span><span class="department-section-copy"><b>${item.title}</b><small>${item.desc}</small><time>${fn:substring(item.release_time, 0, 10)}</time></span></a></li>
- </c:if>
- </c:forEach>
- </ul>
- </c:when>
- <c:when test="${sectionIsMediaGrid}">
- <ul class="department-section-media-grid">
- <c:forEach items="${homeSection.articleList}" var="item" varStatus="vs">
- <c:if test="${vs.count le 4}">
- <c:set var="sectionImage" value="${assetBase}/official/campus-2.jpg"/>
- <c:if test="${not empty item.thumbnail}"><c:set var="sectionImage" value="${item.thumbnail}"/></c:if>
- <li><a href="${item.url}" target="${item.target}"><span class="department-section-thumb"><img src="${sectionImage}" alt="${item.title}"></span><b>${item.title}</b></a></li>
- </c:if>
- </c:forEach>
- </ul>
- </c:when>
- <c:otherwise>
- <ul class="department-news-list department-plain-list">
- <c:forEach items="${homeSection.articleList}" var="item" varStatus="vs">
- <c:if test="${vs.count le 5}"><li><a href="${item.url}" target="${item.target}"><span><strong>${fn:substring(item.release_time, 8, 10)}</strong><em>${fn:substring(item.release_time, 0, 7)}</em></span><div><b>${item.title}</b><small>${item.desc}</small></div></a></li></c:if>
- </c:forEach>
- </ul>
- </c:otherwise>
- </c:choose>
- </article>
- </c:forEach>
- </div>
- </div>
- </c:forEach>
- </c:when>
- <c:otherwise>
- <div class="department-home-section-row department-home-section-row-a">
- <div class="wrap department-life-grid department-home-section-grid">
- <article class="department-list-panel department-home-panel">
- <div class="department-section-title"><h2>${empty collegeIntroNmv.navigationMap.name ? '专业介绍' : collegeIntroNmv.navigationMap.name}</h2><a href="${empty collegeIntroNmv.navigationMap.url ? collegeMajorNmv.navigationMap.url : collegeIntroNmv.navigationMap.url}">查看更多</a></div>
- <ul class="department-news-list department-plain-list"><c:forEach items="${empty collegeIntroNmv.articleList ? collegeMajorNmv.articleList : collegeIntroNmv.articleList}" var="major" varStatus="vs"><c:if test="${vs.count le 5}"><li><a href="${major.url}" target="${major.target}"><span><strong>${fn:substring(major.release_time, 8, 10)}</strong><em>${fn:substring(major.release_time, 0, 7)}</em></span><div><b>${major.title}</b><small>${major.desc}</small></div></a></li></c:if></c:forEach></ul>
- </article>
- <article class="department-list-panel department-home-panel">
- <div class="department-section-title"><h2>${empty collegeFeatureNmv.navigationMap.name ? '学院风采' : collegeFeatureNmv.navigationMap.name}</h2><a href="${collegeFeatureNmv.navigationMap.url}">查看更多</a></div>
- <ul class="department-news-list department-plain-list"><c:forEach items="${collegeFeatureNmv.articleList}" var="item" varStatus="vs"><c:if test="${vs.count le 5}"><li><a href="${item.url}" target="${item.target}"><span><strong>${fn:substring(item.release_time, 8, 10)}</strong><em>${fn:substring(item.release_time, 0, 7)}</em></span><div><b>${item.title}</b><small>${item.desc}</small></div></a></li></c:if></c:forEach></ul>
- </article>
- </div>
- </div>
- </c:otherwise>
- </c:choose>
- </section>
- </main>
- <%@ include file="gjjx-dept-footer.jsp"%>
- </div>
- <script src="/main/ffkj-portal/portal-zq.js?v=20260623-college-blue-nju-title"></script>
- </body>
- </html>
|