星火官网,前端页面(前台)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 399B

123456789101112
  1. $(function () {
  2. $(".header_root").load("./sections/comm/header.html");
  3. $(".footer_root").load("./sections/comm/footer.html");
  4. // nav传值显示下划线
  5. $(".header_root").data("nav_info", null);
  6. let mySwiper = new Swiper ('.home_swiper_container.swiper-container', {
  7. loop: true,
  8. autoplay: 5000,
  9. // 如果需要分页器
  10. pagination: '.swiper-pagination'
  11. })
  12. });