|
@@ -9,7 +9,6 @@
|
|
|
<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 {
|
|
@@ -28,7 +27,7 @@
|
|
|
<div class="infoTwo">
|
|
|
<div class="infoThree">
|
|
|
<img src="./images/logo.png">
|
|
|
- <p class="title">吉林省计算中心科技直播大厅</p>
|
|
|
+ <p id="resP" class="title">吉林省计算中心科技直播大厅</p>
|
|
|
<p>主办方:吉林省计算中心</p>
|
|
|
<p>承办方:吉林省计算中心</p>
|
|
|
<p>技术支持:长春市福瑞科技有限公司</p>
|
|
@@ -48,12 +47,33 @@
|
|
|
|
|
|
|
|
|
</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>
|