index.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  6. <title>2021全国大学生软件测试大赛</title>
  7. <link rel="shortcut icon" href="./static/img/logo.png">
  8. </head>
  9. <body>
  10. <div id="app"></div>
  11. <!-- built files will be auto injected -->
  12. </body>
  13. <script src="./static/jquery-nav.min.js"></script>
  14. <script language="JavaScript">
  15. $(document).click(function(){
  16. $('.nav-list').removeClass('open')
  17. })
  18. $('.nav-menu,.nav-list').click(function(e){e.stopPropagation()})
  19. $('nav').find('.nav-menu').click(function(e){
  20. $('.nav-list').toggleClass('open')
  21. })
  22. $(".fullSlide").hover(function(){
  23. $(this).find(".prev,.next").stop(true, true).fadeTo("show", 0.5)
  24. },
  25. function(){
  26. $(this).find(".prev,.next").fadeOut()
  27. });
  28. $(".fullSlide").slide&&$(".fullSlide").slide({
  29. titCell: ".hd ul",
  30. mainCell: ".bd ul",
  31. effect: "fold",
  32. autoPlay: true,
  33. autoPage: true,
  34. trigger: "click",
  35. startFun: function(i) {
  36. var curLi = jQuery(".fullSlide .bd li").eq(i);
  37. if ( !! curLi.attr("_src")) {
  38. curLi.css("background-image", curLi.attr("_src")).removeAttr("_src")
  39. }
  40. }
  41. });
  42. </script>
  43. </html>