| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <html>
- <head>
- <meta name="keywords" content="${website.seoKeywords}" />
- <meta name="description" content="${website.seoDescription}" />
- <meta name="lanmu" content="${navigation.name}">
- <title>${website.seoTitle}</title>
- <website-include page="head" />
- </head>
- <body>
- <website-include page="navigation" />
- <!-- 主体 -->
- <div class="content">
- <!-- 轮播 -->
- <div class="banner">
- <!-- Swiper -->
- <div class="swiper-container banner-swiper">
- <div class="swiper-wrapper">
- <c:forEach items="${lunbo.articleList}" var="item">
- <div class="swiper-slide">
- <a href="${item.url}" target="${item.target}">
- <img src="${item.thumbnail}" alt="" />
- <div class="slide-content">
-
- <h2>${item.title}</h2>
- <p>
- ${item.desc}
- </p>
- </div>
- </a>
- </div>
- </c:forEach>
- </div>
- <!-- Add Arrows -->
- <div class="swiper-button-prev swiper-button-white"></div>
- <div class="swiper-button-next swiper-button-white"></div>
- </div>
- </div>
- <div class="tabs">
- <button class="tab-button active" data-target="content1">
- 教学单位
- </button>
- <button class="tab-button" data-target="content2">行政教辅</button>
- </div>
-
- <div class="tab-contents">
- <div id="content1" class="tab-content active">
-
- <c:forEach items="${jiaoxuedanwei}" var="item">
- <div class="school-container">
- <h2 class="school-title">
-
- <a href="${item.navigationMap.desc}" target="_blank">
- ${item.navigationMap.name}
- <span class="school-icon">▶</span>
- </a>
- </h2>
- <div class="school-divider"></div>
- <img class="school-course-image" src="${item.navigationMap.background_image}" />
- <div class="school-content">
- <ul class="school-course-list">
- <c:forEach items="${item.articleList}" var="article">
- <li><a href="${article.url}" target="${article.target}">${article.title}</a></li>
- </c:forEach>
- </ul>
- </div>
- </div>
- </c:forEach>
-
- </div>
- <div id="content2" class="tab-content">
- <c:forEach items="${xingzhengjiaofu}" var="item">
- <div class="school-container">
- <h2 class="school-title">
- <a href="${item.navigationMap.desc}" target="_blank">
- ${item.navigationMap.name}
- <span class="school-icon">▶</span>
- </a>
- </h2>
- <div class="school-divider"></div>
- <img class="school-course-image" src="${item.navigationMap.background_image}" />
- <div class="school-content">
- <ul class="school-course-list">
- <c:forEach items="${item.articleList}" var="article">
- <li><a href="${article.url}" target="${article.target}">${article.title}</a></li>
- </c:forEach>
- </ul>
- </div>
- </div>
- </c:forEach>
- </div>
- </div>
- </div>
- <!-- 底部 -->
- <website-include page="footer" />
- <!-- <script src="/js/website.visit.js?v=20261111-visit-beacon"></script> -->
- </body>
- <script>
- $(document).ready(function () {
- $(".tab-button").on("click", function () {
- // 移除所有按钮的 active 类
- $(".tab-button").removeClass("active");
- // 为当前按钮添加 active 类
- $(this).addClass("active");
- // 隐藏所有内容
- $(".tab-content").removeClass("active");
- // 显示当前按钮对应的内容
- var target = $(this).data("target");
- $("#" + target).addClass("active");
- });
- });
- // banenr轮播
- var swiper1 = new Swiper(".banner-swiper", {
- grabCursor: true,
- effect: "fade",
- // pagination: {
- // el: ".swiper-pagination",
- // clickable: true,
- // },
- navigation: {
- nextEl: ".swiper-button-next",
- prevEl: ".swiper-button-prev",
- },
- loop: true,
- loopAdditionalSlides: 1,
- autoplay: {
- //自动切换
- delay: 5000,
- stopOnLastSlide: false,
- disableOnInteraction: true,
- },
- });
- // 关闭右侧边栏
- $(".sidebar-close").click(function () {
- $(this).parent(".sidebar").fadeOut();
- });
- // 飘窗
- // var adMove1 = new AdMove("adMove1", true);
- // adMove1.Run();
- </script>
- </html>
|