Commit 0bfa1bbc by libai

ft活动上线

parent 8a99d52c
...@@ -133,7 +133,13 @@ $(function(){ ...@@ -133,7 +133,13 @@ $(function(){
$(".mc-box").hide() $(".mc-box").hide()
$(".user-box").fadeIn(200) $(".user-box").fadeIn(200)
$(".top-btn1").addClass("top-btn2") $(".top-btn1").addClass("top-btn2")
$("iframe").attr("src","http://test.ybact.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=999996") var bbb = location.href;
if (bbb.indexOf("https://fsactive.fusi.club/") > -1) {
$("iframe").attr("src","https://activity.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=868812")
}else{
$("iframe").attr("src","http://test.ybact.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=999996")
}
userRank(2) userRank(2)
task() task()
} }
...@@ -153,7 +159,11 @@ $(function(){ ...@@ -153,7 +159,11 @@ $(function(){
$(".mc-box").hide() $(".mc-box").hide()
$(".user-box").fadeIn(200) $(".user-box").fadeIn(200)
$(".top-btn1").addClass("top-btn2") $(".top-btn1").addClass("top-btn2")
$("iframe").attr("src","http://test.ybact.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=999996") if (bbb.indexOf("https://fsactive.fusi.club/") > -1) {
$("iframe").attr("src","https://activity.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=868812")
}else{
$("iframe").attr("src","http://test.ybact.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=999996")
}
userRank(2) userRank(2)
task() task()
}) })
...@@ -354,7 +364,13 @@ $(function(){ ...@@ -354,7 +364,13 @@ $(function(){
else if(i==5){ else if(i==5){
$(".task"+(i+1)+"").addClass("task6-btn") $(".task"+(i+1)+"").addClass("task6-btn")
$(".task6-btn").unbind("click").on("click",function(){ $(".task6-btn").unbind("click").on("click",function(){
window.location.href='yazhai://_999996_room' var bbb = location.href;
if (bbb.indexOf("https://fsactive.fusi.club/") > -1) {
window.location.href='yazhai://_868812_room'
}else{
window.location.href='yazhai://_999996_room'
}
}) })
} }
else { else {
......
...@@ -93,7 +93,7 @@ $(function(){ ...@@ -93,7 +93,7 @@ $(function(){
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.lang==2)return; if(sessionStorage.lang==2)return;
if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){ if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){
// localStorage.lucky777=(Number(new Date().getTime())+86400000) localStorage.lucky777=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
......
...@@ -54,20 +54,39 @@ $(function(){ ...@@ -54,20 +54,39 @@ $(function(){
}) })
$(".pop-btn").on("click",function(){ $(".pop-btn").on("click",function(){
$.ajax({ var bbb = location.href;
url:$ip+'/actSecretGarden/openPopup.html', if (bbb.indexOf("https://fsactive.fusi.club/") > -1) {
data:{ $.ajax({
width:'0', url:$ip+'/actSecretGarden/openPopup.html',
popupUrl: "http://test.ybact.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=999996", data:{
height:'0.5', width:'0',
heightR:'102', popupUrl: "https://activity.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=868812",
x:'0', height:'0.5',
y:'0.5', heightR:'102',
}, x:'0',
success:function(){ y:'0.5',
},
success:function(){
}
})
}else{
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl: "http://test.ybact.yazhaiyabo.com/active2020/superDew/index.html"+location.search+""+"&roomid=999996",
height:'0.5',
heightR:'102',
x:'0',
y:'0.5',
},
success:function(){
}
})
}
}
})
var obj = { var obj = {
"cid": 14, "cid": 14,
......
...@@ -106,7 +106,7 @@ $(function(){ ...@@ -106,7 +106,7 @@ $(function(){
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.lang==2)return; if(sessionStorage.lang==2)return;
if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){ if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){
// localStorage.lucky777=(Number(new Date().getTime())+86400000) localStorage.lucky777=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
......
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