liveIndex.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0051)http://free.liaoningdoupo.com/static/liveIndex.html -->
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <title>吉林省计算中心</title>
  7. <link rel="stylesheet" type="text/css" href="css/style.css">
  8. <link rel="stylesheet" type="text/css" href="css/mubu2017.css">
  9. <link rel="stylesheet" type="text/css" href="css/iconfont.css">
  10. </head>
  11. <styLe>
  12. div[data-v-de97bcec] a {
  13. color: #ff0;
  14. font-size: 16px;
  15. position: relative;
  16. top: 97px;
  17. left: -105px;
  18. }
  19. </styLe>
  20. <body>
  21. <div class="mubu">
  22. <div class="mubu_main liveIndex">
  23. <div class="info">
  24. <div class="infoTwo">
  25. <div class="infoThree">
  26. <img src="./images/logo.png">
  27. <p id="resP" class="title">吉林省计算中心科技直播大厅</p>
  28. <p>主办方:吉林省计算中心</p>
  29. <p>承办方:吉林省计算中心</p>
  30. <p>技术支持:长春市福瑞科技有限公司</p>
  31. <a class="childpage" onclick="btnDirect()">进入活动现场<i class="iconfont icon-bofang"></i></a>
  32. <br>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="yanhua2"></div>
  38. <div class="yanhua3"></div>
  39. <div class="yanhua4"></div>
  40. </div>
  41. <div class="mubu_left"></div>
  42. <div class="mubu_right"></div>
  43. <div class="mubu_top"></div>
  44. </body>
  45. <script src="./js/jquery-1.8.3.min.js"></script>
  46. <script language="javascript">
  47. var query = window.location.search.substring(1);
  48. var str = query.substring(3);
  49. console.log(str);
  50. function btnDirect() {
  51. console.log(query);
  52. // window.open('../direct?'+query)
  53. window.location.href = "../direct?"+query
  54. }
  55. $.ajax({
  56. type: 'GET',
  57. contentType: 'application/json',
  58. url: 'http://free.liaoningdoupo.com/api/live/dock/'+str,
  59. dataType : "jsonp",
  60. success: function(data){
  61. // 从Controller里取得对象数组
  62. var res = data.res;
  63. console.log(data);
  64. if (res) {
  65. $("#resP").val();
  66. }
  67. },
  68. error: function(){
  69. // 请求错误时,提示用户
  70. console.log('系统错误');
  71. }
  72. });
  73. </script>
  74. </html>