Commit 7d697813 by libai

测试

parent 8d8e7d76
Showing with 39 additions and 4 deletions
This diff is collapsed. Click to expand it.
......@@ -15,7 +15,7 @@
<meta name="renderer" content="webkit">
<meta name="applicable-device" content="pc">
<title>footseen-直播間-腳控足控天堂-超激情美女主播視訊</title>
<meta name="keywords" content="footseen,foot live,激情美女視訊,激情美女影片,腳控足控,絲足,裸足,美腿,絲襪,黑絲,台灣UU聊天室,swag,視訊聊天室,live173,uplive,vklive,nonolive,foot rub,foot fetish">
<meta class="keywords-meta" name="keywords" content="footseen,foot live,激情美女視訊,激情美女影片,腳控足控,絲足,裸足,美腿,絲襪,黑絲,台灣UU聊天室,swag,視訊聊天室,live173,uplive,vklive,nonolive,foot rub,foot fetish">
<meta class="description" name="description" content="footseen,腳控足控天堂,絲足美腿視訊影片,台灣足控第一高效約會軟體,免費影片立即觀看,在線美女激情互動,成人視訊線上體驗,徹底釋放你的慾望。">
<link rel="stylesheet" href="../css/base.css?v=20220630">
<link rel="stylesheet" href="../css/layer.css">
......@@ -460,6 +460,7 @@
</body>
<script src="../lib/jquery-3.1.1.min.js"></script>
<script src="../lib/keywords.js"></script>
<script src="../lib/swiper.min.js"></script>
<script src="../layer-v3.1.0/layer/layer.js"></script>
<script src="../lib/flv.js"></script>
......@@ -495,15 +496,49 @@ $(function () {
// window.location.href='../index.html'
// }
// console.log('进入直播间', data)
console.log('进入直播间', data)
if(data.code==-20060){
alert("您已被移出直播,暫時不能進入")
window.location.href="../index.html"
return;
}
$("title").text(data.room.introduce+'-'+data.room.roomName+'的直播間')
$(".description").attr("content",'來自'+data.roomBaseInfo.addr+'的'+data.roomBaseInfo.work+''+data.roomBaseInfo.sign.replace("Firefly Live","Footseen")+''+data.room.introduce)
var mcKeyArr
if(data.room.rating==0||data.room.rating==1){
//A類
mcKeyArr=[keyAArr[Math.floor(Math.random()*keyAArr.length)],keyAArr[Math.floor(Math.random()*keyAArr.length)],keyAArr[Math.floor(Math.random()*keyAArr.length)]]
}
else if(data.room.rating==5){
//E類
if(data.room.specialRating==551)mcKeyArr=[keyE1Arr[Math.floor(Math.random()*keyE1Arr.length)],keyE1Arr[Math.floor(Math.random()*keyE1Arr.length)],keyE1Arr[Math.floor(Math.random()*keyE1Arr.length)]]
else if(data.room.specialRating==552)mcKeyArr=[keyE2Arr[Math.floor(Math.random()*keyE2Arr.length)],keyE2Arr[Math.floor(Math.random()*keyE2Arr.length)],keyE2Arr[Math.floor(Math.random()*keyE2Arr.length)]]
else mcKeyArr=[keyEArr[Math.floor(Math.random()*keyEArr.length)],keyEArr[Math.floor(Math.random()*keyEArr.length)],keyEArr[Math.floor(Math.random()*keyEArr.length)]]
}
else if(data.room.rating==6){
//F類
if(data.room.specialRating==661) mcKeyArr=[keyF1Arr[Math.floor(Math.random()*keyF1Arr.length)],keyF1Arr[Math.floor(Math.random()*keyF1Arr.length)],keyF1Arr[Math.floor(Math.random()*keyF1Arr.length)]]
else mcKeyArr=[keyFArr[Math.floor(Math.random()*keyFArr.length)],keyFArr[Math.floor(Math.random()*keyFArr.length)],keyFArr[Math.floor(Math.random()*keyFArr.length)]]
}
else if(data.room.rating==7){
//Z類
mcKeyArr=[keyZArr[Math.floor(Math.random()*keyZArr.length)],keyZArr[Math.floor(Math.random()*keyZArr.length)],keyZArr[Math.floor(Math.random()*keyZArr.length)]]
}
else if(data.room.rating==8){
//H類
mcKeyArr=[keyHArr[Math.floor(Math.random()*keyHArr.length)],keyHArr[Math.floor(Math.random()*keyHArr.length)],keyHArr[Math.floor(Math.random()*keyHArr.length)]]
}
else if(data.room.rating==22){
//V類
mcKeyArr=[keyVArr[Math.floor(Math.random()*keyVArr.length)],keyVArr[Math.floor(Math.random()*keyVArr.length)],keyVArr[Math.floor(Math.random()*keyVArr.length)]]
}
else {
mcKeyArr=[keyEArr[Math.floor(Math.random()*keyEArr.length)],keyEArr[Math.floor(Math.random()*keyEArr.length)],keyEArr[Math.floor(Math.random()*keyEArr.length)]]
}
$("title").text(data.room.introduce+'-'+data.room.roomName+'的直播間-'+mcKeyArr[0])
$(".description").attr("content",'來自'+data.roomBaseInfo.addr+'的'+data.roomBaseInfo.work+'-'+data.roomBaseInfo.sign.replace("Firefly Live","Footseen")+'-'+data.room.introduce)
$(".keywords-meta").attr("content",''+mcKeyArr[0]+','+mcKeyArr[1]+','+mcKeyArr[2]+','+data.roomBaseInfo.nickname +'')
if(data.room.liveScope==3&&data.room.selfLock==0&&localStorage.uid!=sessionStorage.roomId){
$(".secret-face img").attr("src",'https://zhibocdn.yabolive.net/comm'+data.room.face.split('?')[0]+'?x-oss-process=image/resize,w_90')
$(".secret-rich-box").html('<img src="images/diamond.png" alt=""> '+data.room.tollPrice+'')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment