Skip to content

Commit 247b4da

Browse files
SunSun
authored andcommitted
修复获取URl获取标题错误问题
1 parent d68fda2 commit 247b4da

File tree

3 files changed

+13
-19
lines changed

3 files changed

+13
-19
lines changed

.idea/workspace.xml

Lines changed: 12 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
-->
1919
<!DOCTYPE html>
2020
<html>
21-
2221
<head>
2322
<meta charset="utf-8" />
2423
<title>
@@ -30,7 +29,6 @@
3029
<link rel="stylesheet" href="css/bootstrap.css" />
3130
<script type="text/javascript" src="js/jquery.js"></script>
3231
<script type="text/javascript" src="js/bootstrap.js"></script>
33-
<script type="text/javascript" src="js/tv-beipy.js" /></script>
3432
<!--微博引入关注插件-->
3533
<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
3634
<link rel="stylesheet" href="css/style.css" />
@@ -386,9 +384,9 @@
386384
<!--畅言内容框-->
387385
<?php echo $aik['changyan'];?>
388386
<!--PC和WAP自适应版-->
389-
<!---->
390387
</div></div>
391388
<?php include 'footer.php';?>
389+
<script type="text/javascript" src="js/tv-beipy.js" /></script>
392390
<script>
393391
console.log("%c%c源码作者%c北漂鱼", "line-height:28px;", "line-height:28px;padding:4px;background:#222;color:#FADFA3;font-size:14px;", "padding:4px;background:#FADFA3;color:#000;line-height:28px;font-size:14px;");
394392
console.log("%c%c网站地址%chttp://www.beipy.com", "line-height:28px;", "line-height:28px;padding:4px;background:#222;color:#FADFA3;font-size:14px;", "padding:6px 6px 6px 2px;background:#FADFA3;color:#0093fff;line-height:28px;font-size:12px;");

js/tv-beipy.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ function play() {
99
var jkv = jxApi.options[jxurl].value; //获取选择接口链接
1010
var paly = document.getElementById("palybox"); //获取播放窗口位置
1111
paly.src = jkv + rul; //接口赋值
12-
1312
//ajax数据传递
14-
1513
var tittext = document.getElementById("tittext");
1614
//1,create ajax核心对象:
1715
var xhr = getxhr();
@@ -29,7 +27,6 @@ function play() {
2927
tittext.innerHTML = xhr.responseText; //获取服务器响应数据
3028
}
3129
}
32-
3330
function getxhr() {
3431
var xhr = null;
3532
if(window.XMLHttpRequest) {

0 commit comments

Comments
 (0)