Commit b127b824 by libai

测试

parent ce4c8026
Showing with 17 additions and 4 deletions
......@@ -23,8 +23,8 @@ if (bbb.indexOf("www.footseen.xyz/video.html") > -1) {
$api='https://zhibo.lvdou66.com/'
checkIp()
}
$ip = "https://cpapi.footseen.xyz/";
$ws = "wss://websocket.footseen.xyz:12308/"
// $ip = "https://cpapi.footseen.xyz/";
// $ws = "wss://websocket.footseen.xyz:12308/"
var bbb = location.href;
var data = url_get_params(bbb)
if (sessionStorage.kkk == undefined) {
......
......@@ -900,7 +900,7 @@ $(function () {
var list=data.dataList.activitys[i]
html+='<div class="swiper-slide"><img data-type="'+list.url+'" data-type2="'+list.urlType+'" class="act-btn" src="https://zhibocdn.yabolive.net/comm'+list.webIcon+'?x-oss-process=image/resize,w_174" alt=""></div>';
}
html+='<div class="swiper-slide"><img data-type="https://www.footseen.xyz/mobile/download/downApp.html" data-type2="0" class="act-btn" src="images/roomDown.png" alt=""></div>';
html+='<div class="swiper-slide"><img data-type="https://www.footseen.xyz/mobile/download/downApp.html" data-type2="3" class="act-btn" src="images/roomDown.png" alt=""></div>';
$(".swiper-wrapper").html(html);
if(data.dataList.activitys.length>0){
var swiper = new Swiper(".mySwiper", {
......@@ -918,11 +918,24 @@ $(function () {
});
}
$(".act-btn").unbind("click").on("click",function(){
var _self=$(this)
if(_self.attr("data-type2")==3){
layer.open({
type: 2,
title: false,
shadeClose: true,
skin: "active-layer",
area: ["360px", "634px"],
content: _self.attr("data-type")+'?uid='+localStorage.uid+'&token='+localStorage.token+'&roomid='+sessionStorage.roomId+'&os=pc',
})
$(".layui-layer-shade").hide()
return
}
if(localStorage.token==undefined){
loginLayer()
return;
}
var _self=$(this)
if(_self.attr("data-type2")==1){
layer.open({
type: 2,
......
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