index.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>答题游戏</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link rel="stylesheet" href="css/index.css">
  8. </head>
  9. <body>
  10. <!-- 等待页 -->
  11. <section class="waitting full" id="load">
  12. <div class="loader-inner pacman">
  13. <div></div>
  14. <div></div>
  15. <div></div>
  16. <div></div>
  17. <div></div>
  18. <p class="wait-text">正在等待他人加入,请勿关闭...</p>
  19. </div>
  20. </section>
  21. <div class="all">
  22. <!-- 背景 -->
  23. <section class="bg full"></section>
  24. <p class="ren-text">剩余:<span id="ren">0</span>人</p>
  25. <!-- 人物 -->
  26. <section class="full">
  27. <div class="line l2"></div>
  28. <div class="line l3"></div>
  29. <div class="box" id="figureBox"></div>
  30. </section>
  31. <!-- 陷阱-->
  32. <section class="trapbox full" id="trapID">
  33. <div class="trap "></div>
  34. <div class="trap"></div>
  35. </section>
  36. <section class="full" id="go">
  37. <!-- 倒计时 -->
  38. <section class="time"><span id="countDown">30</span></section>
  39. <!-- 问题框 -->
  40. <section class="question-box">
  41. <div class="question" id="ques"></div>
  42. <div class="text"><span id="num">1</span>/<span id="allQues">15</span></div>
  43. </section>
  44. <!-- 答题框 -->
  45. <section class="answer-box" id="ansBox">
  46. <div class="ans ans-1" data-id="0">A</div>
  47. <div class="ans ans-3" data-id="2">B</div>
  48. </section>
  49. </section>
  50. <section class="time-box"></section>
  51. <!-- 答题结束 -->
  52. <section class="end-box full" id="endBox">
  53. <div class="end" id="success">恭喜你<br/>答题之王就是您!!!</div>
  54. <div class="end" id="fail">很遗憾<br/>你的答题之旅结束了!!!</div>
  55. </section>
  56. </div>
  57. <script src="js/jquery.js"></script>
  58. <script src="js/jquery.transit.min.js"></script>
  59. <script src="js/game.js"></script>
  60. </body>
  61. </html>