liuyu 5 年之前
父節點
當前提交
7fab7604b4
共有 1 個文件被更改,包括 4 次插入24 次删除
  1. 4 24
      public/static/liveIndex.html

+ 4 - 24
public/static/liveIndex.html

@@ -9,6 +9,7 @@
   <link rel="stylesheet" type="text/css" href="css/style.css">
   <link rel="stylesheet" type="text/css" href="css/mubu2017.css">
   <link rel="stylesheet" type="text/css" href="css/iconfont.css">
+  <script src="jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
 </head>
 <styLe>
   div[data-v-de97bcec] a {
@@ -27,7 +28,7 @@
         <div class="infoTwo">
           <div class="infoThree">
               <img src="./images/logo.png">
-            <p id="resP" class="title">吉林省计算中心科技直播大厅</p>
+            <p class="title">吉林省计算中心科技直播大厅</p>
             <p>主办方:吉林省计算中心</p>
             <p>承办方:吉林省计算中心</p>
             <p>技术支持:长春市福瑞科技有限公司</p>
@@ -47,33 +48,12 @@
 
 
 </body>
-<script src="./js/jquery-1.8.3.min.js"></script>
 <script language="javascript">
-var query = window.location.search.substring(1);
-var str = query.substring(3);
-console.log(str);
  function btnDirect() {
+     var query = window.location.search.substring(1);
      console.log(query);
     //  window.open('../direct?'+query)
    window.location.href = "../direct?"+query
- }
- $.ajax({
-    type: 'GET',
-    contentType: 'application/json',
-    url: 'http://free.liaoningdoupo.com/api/live/dock/'+str,
-    dataType : "jsonp",
-    success: function(data){
-      // 从Controller里取得对象数组
-      var res = data.res;
-      console.log(data);
-      if (res) {
-        $("#resP").val();
-      }
-    },
-    error: function(){
-      // 请求错误时,提示用户
-      console.log('系统错误');
-    }
-  });
+  }
 </script>
 </html>