index.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
  6. <title>顽主杯实盘大赛</title>
  7. <!-- <link rel="stylesheet" href="bootstrap.min.css"> -->
  8. <meta name="顽主杯" content="顽主杯实盘大赛">
  9. <link rel="stylesheet" href="index.css">
  10. <script src="jquery-3.6.1.min.js"></script>
  11. </head>
  12. <body>
  13. <div class="banner phone">
  14. <h1>大A顶级实盘赛</h1><span>下载顽主杯App,参与比赛/围观比赛</span> <br>
  15. <button class="down_load">点击下载</button>
  16. <img width="90%" src="img/banner.png" alt="">
  17. </div>
  18. <div class="banner pc">
  19. <table>
  20. <tr>
  21. <td colspan="2">
  22. <h1>大A顶级实盘赛</h1><span>下载顽主杯App,参与比赛/围观比赛</span>
  23. </td>
  24. </tr>
  25. <tr>
  26. <td class="ewm"><img width="200" src="img/ewm.png" alt=""></td>
  27. <td class="app_down" width="20%">
  28. <a class="android" href="http://www.hunanwanzhu.com/wanzhubei.apk" target="_blank">
  29. <img height="30" src="img/android.png" alt="">
  30. 安卓 Android</a>
  31. <a class="ios" style="margin: 0" href="https://apps.apple.com/cn/app/%E9%A1%BD%E4%B8%BB%E6%9D%AF/id6444557166" target="_blank">
  32. <img height="30" src="img/ios.png" alt="">苹果 iPhone</a>
  33. </td>
  34. </tr>
  35. </table>
  36. <img class="banner_img" src="img/banner.png" alt="">
  37. </div>
  38. <div class="content pc">
  39. <div class="part play_1 act_1">
  40. <div class="row">
  41. <div class="img"></div>
  42. <div class="des">
  43. <h1>大A顶级实盘赛</h1>
  44. <p>每届上千人参与,人气鼎盛</p>
  45. <img src="img/1-1.png" alt="">
  46. </div>
  47. </div>
  48. </div>
  49. <div class="part play_2">
  50. <div class="row">
  51. <div class="des"><h1>海量牛人聚集地</h1>
  52. <p>学习高手零距离</p></div>
  53. <div class="img"></div>
  54. </div>
  55. </div>
  56. <div class="part play_3">
  57. <div class="row">
  58. <div class="img"></div>
  59. <div class="des"><h1>场内情绪风向标</h1><p>及时发现热门牛股</p><img src="img/3-1.png" alt=""></div>
  60. </div>
  61. </div>
  62. <div class="part play_4">
  63. <div class="row">
  64. <div class="des "><h1>比赛数据追溯回看</h1><p>不错过每一场赛事</p></div>
  65. <div class="img"></div>
  66. </div>
  67. </div>
  68. <!-- <div class="part row play_5">
  69. <div class="col-sm-6 col-xs-6 img"></div>
  70. <div class="col-sm-6 col-xs-6 des"><h1>会议干货,精彩分享</h1><p>听大佬解读行业政策,分享行业干货</p></div>
  71. </div> -->
  72. </div>
  73. <div class="content phone">
  74. <div class="part play_1 act_1">
  75. <div class="row">
  76. <div class="des">
  77. <h1>大A顶级实盘赛</h1>
  78. <p>每届上千人参与,人气鼎盛</p>
  79. <img src="img/1-1.png" alt="">
  80. </div>
  81. <div class="img"></div>
  82. </div>
  83. </div>
  84. <div class="part play_2">
  85. <div class="row">
  86. <div class="des"><h1>海量牛人聚集地</h1>
  87. <p>学习高手零距离</p></div>
  88. <div class="img"></div>
  89. </div>
  90. </div>
  91. <div class="part play_3">
  92. <div class="row">
  93. <div class="des"><h1>场内情绪风向标</h1><p>及时发现热门牛股</p><img src="img/3-1.png" alt=""></div>
  94. <div class="img"></div>
  95. </div>
  96. </div>
  97. <div class="part play_4">
  98. <div class="row">
  99. <div class="des "><h1>比赛数据追溯回看</h1><p>不错过每一场赛事</p></div>
  100. <div class="img"></div>
  101. </div>
  102. </div>
  103. <!-- <div class="part row play_5">
  104. <div class="col-sm-6 col-xs-6 img"></div>
  105. <div class="col-sm-6 col-xs-6 des"><h1>会议干货,精彩分享</h1><p>听大佬解读行业政策,分享行业干货</p></div>
  106. </div> -->
  107. </div>
  108. <div class="footer">
  109. <h1>大A顶级实盘赛,欢迎你的参与</h1>
  110. <button class="pc">下载App参与比赛</button>
  111. <button class="phone">点击下载</button>
  112. <p>Copyright©️2023 长沙淼莱信息科技有限公司 版权所有 湘ICP备2021013011号-1</p>
  113. </div>
  114. <div class="bg_iphone"></div>
  115. <div class="bg_az"></div>
  116. </body>
  117. <script>
  118. $('.footer .pc').on('click', function() {
  119. $('html, body').stop().animate({
  120. scrollTop: 0
  121. })
  122. })
  123. $('.bg_iphone,.bg_az').click(function(){
  124. $(this).hide()
  125. })
  126. $(".down_load,.phone").on("click", function () {
  127. var ua = navigator.userAgent.toLowerCase();
  128. var isWeixin = ua.indexOf('micromessenger') != -1;
  129. if(isWeixin){
  130. $('html, body').stop().animate({
  131. scrollTop: 0
  132. })
  133. if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { //判断iPhone|iPad|iPod|iOS
  134. $('.bg_az').show()
  135. } else if (/(Android)/i.test(navigator.userAgent)) { //判断Android
  136. $('.bg_az').show()
  137. }
  138. }else{
  139. if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { //判断iPhone|iPad|iPod|iOS
  140. window.location = "https://apps.apple.com/cn/app/%E9%A1%BD%E4%B8%BB%E6%9D%AF/id6444557166";
  141. } else if (/(Android)/i.test(navigator.userAgent)) { //判断Android
  142. window.location = "http://www.hunanwanzhu.com/wanzhubei.apk";
  143. }
  144. }
  145. });
  146. if(window.screen.width<768){
  147. $('.play_1').addClass('act_1')
  148. $('.play_2').addClass('act_2')
  149. $('.play_3').addClass('act_3')
  150. }
  151. function animate(div,cssname){
  152. var b,c,d;
  153. d=div.offset().top;
  154. b=$(window).scrollTop();
  155. c=$(window).height();
  156. if(b+c>d){
  157. div.addClass((cssname));
  158. }else {
  159. div.removeClass((cssname));
  160. }
  161. }
  162. $(document).ready(function(e) {
  163. $(window).scroll(function(){
  164. $('.part').each(function () {
  165. var _index=$(this).index()+1
  166. var Class="act_"+_index
  167. animate($(this),Class);
  168. })
  169. });
  170. });
  171. </script>
  172. </html>