148 lines
4.6 KiB
HTML
148 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
|
|
<head>
|
|
<title>YY PK CHANNEL</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<script type="text/javascript" src="yyapiv13.js?_=10096" language="javascript"></script>
|
|
<script type="text/javascript" src="swfobject.js"></script>
|
|
<style type="text/css">
|
|
html, body {height:100%; margin:0;padding:0;}
|
|
html
|
|
{
|
|
overflow: hidden;
|
|
}
|
|
body
|
|
{
|
|
overflow: hidden;
|
|
}
|
|
#pkSwfDiv{
|
|
float:left;
|
|
z-index:224;
|
|
height: 100%;
|
|
}
|
|
#pkSwf{
|
|
position: relative;
|
|
overflow:hidden;
|
|
margin:0 auto;
|
|
}
|
|
#testT{
|
|
position:fixed;
|
|
left:0;
|
|
top:0;
|
|
}
|
|
|
|
#loadingBg{
|
|
width:100%;
|
|
height: 100%;
|
|
background-color:#170d3f;
|
|
}
|
|
|
|
#loadingBg div{
|
|
position: relative;
|
|
height: 100%;
|
|
background: url(http://vipweb.bs2cdn.yy.com/vipinter_419e9790179448a198a7a34f44a43aab.jpg);
|
|
/*background: url(http://file.do.yy.com/group3/M03/D2/05/tz0MYFhKXFaAXQHvAAC7E2b7b2A303.jpg);*/
|
|
/*background: url(http://vipweb.bs2cdn.yy.com/vipinter_b762de36b1cf4d9c92125c5a11027b16.jpg);*/
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
.popiframe{
|
|
position: absolute;
|
|
z-index:9999;
|
|
}
|
|
|
|
.expand-bar {
|
|
cursor: pointer;
|
|
height: 8px;
|
|
background-color:#f4f4f4;
|
|
background-image:url(http://vipweb.bs2cdn.yy.com/vipinter_c7af33ef7b7647609db6496670d26669.png);
|
|
}
|
|
.expand-bar-up{
|
|
cursor: pointer;
|
|
height: 8px;
|
|
background-color:#f4f4f4;
|
|
background-image:url(http://vipweb.bs2cdn.yy.com/vipinter_870401d8609546369bd08ef795be1c3e.png);
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="mainWrap" style="width:100%;height:100%">
|
|
<div id="pkRightWrap" style="width: 0px;height:100%; float: right; position: relative;">
|
|
<div id="pkRankTop" style="position:relative;width:100%;background-color: #F4F4F4;clear: both;display: block">
|
|
<div id="pkRankTopMain" style="position:relative;width:100%;height:165px;background-color: #F4F4F4;clear: both;"></div>
|
|
</div>
|
|
<div class="expand-bar expand-bar-up" id="expand-bar-btn"></div>
|
|
<div id="pkVideosTop" style="position:relative;width:100%;background-color: #e7e7e7;">
|
|
<div id="pkVideosTopMain" style="position:relative;width:100%;height:0px;background-color: #e7e7e7;">
|
|
<img src="" style="position:absolute;left:15px;top:3px"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="pkChatWrap" style="position:relative;width:100%;height:428px">
|
|
<iframe id="pkChat" src="" width="100%" height="100%" frameborder="0" scrolling="no" style="width:100%;height:100%"></iframe>
|
|
<div id="pkYYShowTop" style="position:absolute;width:100%;height:75px;right:0px;top:0px;z-index:999;">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="pkMainWrap" style="margin-right: 0px;height:100%;position: relative;">
|
|
|
|
<div id="loadingBg">
|
|
<div id="loadingBgImage"></div>
|
|
</div>
|
|
|
|
<div id="pkSwfDiv">
|
|
<div id="pkSwf">
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="logId" style="position:absolute;left:45%;top:62%;z-index:344;color:#ffffff"></div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript" src="chat.js?_=10016"></script>
|
|
|
|
<script type="text/javascript" src="pk.js?_=10018"></script>
|
|
|
|
<script type="text/javascript" src="jquery-1.12.4.min.js?_=10095" ></script>
|
|
|
|
<script type="text/javascript">
|
|
$.ajax({ url: "http://vip.yy.com/vip/actpushs?adNo=60029", dataType: "jsonp", async:true, success: function(data){
|
|
if(data.result && data.code == 0 && data.data && data.data.length > 0)
|
|
{
|
|
var obj = data.data[0];
|
|
var urlObj = $.parseJSON(obj.url);
|
|
if(urlObj)
|
|
{
|
|
var imgSrc = urlObj.img;
|
|
var webUrl = urlObj.url;
|
|
var webWidth = urlObj.width || 670;
|
|
var webHeight = urlObj.height || 450;
|
|
var pkVideosTopMain = document.getElementById("pkVideosTopMain");
|
|
pkVideosTopMain.style.height = "72px";
|
|
$("#pkVideosTopMain img").attr('src',imgSrc);
|
|
if(webUrl)
|
|
{
|
|
$("#pkVideosTopMain img").css("cursor","pointer");
|
|
$("#pkVideosTopMain img").click(function(){
|
|
var sendPamras = {url:webUrl,width:webWidth,height:webHeight};
|
|
sendCmd("openInnerWeb",JSON.stringify(sendPamras));
|
|
});
|
|
}
|
|
|
|
}
|
|
}
|
|
}});
|
|
</script>
|
|
|
|
</html> |