食堂消费管理系统是一种用于学校食堂管理的软件系统,主要用于记录和管理学生和教职工在食堂的消费行为。以下是该系统可能包括的一些功能:1. 消费...
Learn More$(function() { //Banner var indexBnrSwiper = new Swiper('#index-bnr .swiper-container', { pagination: '#index-bnr .swiper-pagination', autoplay: 4000, effect: 'fade', speed: 1000, prevButton: '', nextButton: '', paginationClickable: true, autoplayDisableOnInteraction: false, onInit: function(swiper) { $('#index-bnr .swiper-pagination .swiper-pagination-bullet').html(""); $('#index-bnr .swiper-pagination .swiper-pagination-bullet-active i').animate({ "left": 0 }, 4000, function() { $('#index-bnr .swiper-pagination .swiper-pagination-bullet i').stop().css("left", "-100%"); }); }, onSlideChangeEnd: function() { $('#index-bnr .swiper-pagination .swiper-pagination-bullet i').stop().css("left", "-100%"); $('#index-bnr .swiper-pagination .swiper-pagination-bullet-active i').animate({ "left": 0 }, 4000, function() { $('#index-bnr .swiper-pagination .swiper-pagination-bullet i').stop().css("left", "-100%"); }); } }); var indexWebBnrSwiper = new Swiper('#index-webBnr .swiper-container', { pagination: '#index-webBnr .swiper-pagination', autoplay: 4000, effect: 'fade', speed: 1000, prevButton: '', nextButton: '', paginationClickable: true, autoplayDisableOnInteraction: false }); //我们的产品 indexPro(0); $(".Ipro-nav a").bind("click", function() { indexPro($(this).index()); }); //新闻 indexNews(0); $(".Inews-nav a").hover(function() { indexNews($(this).index()); }, function() {}); var scrollArrtyData = ['.index-media']; scrollArrty(scrollArrtyData); }) //我们的产品 function indexPro(index) { $(".Ipro-nav a").eq(index).addClass("cur").siblings("a").removeClass("cur"); $(".Ipro-wrap .Ipro-box").eq(index).stop().fadeIn(300).siblings(".Ipro-box").hide(); } //新闻 function indexNews(index) { $(".Inews-nav a").eq(index).addClass("cur").siblings("a").removeClass("cur"); $(".Inews-wrap").eq(index).stop().fadeIn(300).siblings(".Inews-wrap").hide(); var $InewsSwiper = $(".Inews-wrap").eq(index).find(".swiper-container"); if ($InewsSwiper['hasClass']("hasSwiper")) return false; var InewsSwiperName = 'InewsSwiper' + (index + 1); InewsSwiperName = new Swiper($InewsSwiper, { pagination: $(".Inews-wrap").eq(index).find(".InSwiper-pagination .swiper-pagination"), paginationClickable: true, autoplayDisableOnInteraction: false }); $InewsSwiper['addClass']("hasSwiper"); } // 数字动画 $(".index_advantage_list .counter").countUp(); // 关于 var swiperAbout = new Swiper('.index_about_list .swiper-container', { speed: 800, autoplay: { delay: 1500, disableOnInteraction: false, }, loop: true, observer: true, //当li节点被修改的时候自动更新Swiper observeParents: true, //当容器container宽度改变的时候(window.onresize或者自适应)自动更新Swiper }); // 团队 var swiperTeam = new Swiper('.index_team_list .swiper-container', { speed: 800, autoplay: { delay: 1500, disableOnInteraction: false, }, loop: true, observer: true, //当li节点被修改的时候自动更新Swiper observeParents: true, //当容器container宽度改变的时候(window.onresize或者自适应)自动更新Swiper slidesPerView: 4, spaceBetween: 0, breakpoints: { 1365: { slidesPerView: 3, }, 991: { slidesPerView: 2, }, 479: { slidesPerView: 1, } } }); $(".index_team_list").mouseover(function(){ swiperTeam.autoplay.stop(); }).mouseleave(function(){ swiperTeam.autoplay.start(); });