Commit 0987bc53 by libai

ft活动上线

parent a0df282a
......@@ -4,6 +4,13 @@
position: relative;
overflow: hidden;
}
.ref {
position: fixed;
top: 5rem;
right: 0;
z-index: 500;
width: 0.8rem;
}
.banner {
width: 10rem;
height: 7.49rem;
......@@ -264,8 +271,8 @@ iframe {
}
.act-room-bg {
float: right;
width: 8rem;
height: 3.352rem;
width: 8.8rem;
height: 3.687rem;
background: url(../images/act-room1.png) no-repeat;
background-size: 100% 100%;
}
......@@ -285,3 +292,6 @@ iframe {
top: 6.2rem;
left: 3.435rem;
}
.ref {
width: 0.72rem;
}
......@@ -4,6 +4,13 @@
position: relative;
overflow: hidden;
}
.ref{
position: fixed;
top: 5rem;
right: 0;
z-index: 500;
width: 0.8rem;
}
.banner{
width: 10rem;
height: 7.49rem;
......@@ -268,8 +275,8 @@ iframe{
}
.act-room-bg{
float: right;
width: 8rem;
height: 3.352rem;
width: 8.8rem;
height: 3.687rem;
background: url(../images/act-room1.png)no-repeat;
background-size: 100% 100%;
}
......@@ -288,4 +295,7 @@ iframe{
position: absolute;
top: 6.2rem;
left: 3.435rem;
}
.ref{
width: 0.72rem;
}
\ No newline at end of file
......@@ -34,6 +34,7 @@
<div class="layer-rule"></div>
<body style="background:#12479D;">
<div class="bg">
<img class="ref" src="images/ref.png" alt="">
<div class="banner"></div>
<div class="task-box">
<div data-type="1" class="task-btn1"></div>
......@@ -85,6 +86,18 @@ $(function(){
}else{
$("iframe").attr("src","https://yazhaigray.qigame1024.com/fcarnivallive"+location.search+""+"&roomid=999991")
}
$(".exc-btn").on("click",function(){
var obj = {
"cid": 12,
"reqCode": new Date().getTime(),
"data": {
"msg": "兌換露水",
"jumptype": 15,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
$(".dew-btn").on("click",function(){
layer.open({
type: 1,
......
......@@ -50,7 +50,7 @@ $(function(){
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url": $url + "/activeFt/Fishing/index.html" + location.search+'&jump='+jump+'',
"url": $url + "/activeFt/Fishing/index.html" + location.search+'',
}
}
var obj2 = JSON.stringify(obj);
......
......@@ -51,7 +51,7 @@ $(function(){
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url": $url + "/activeFt/Fishing/index.html" + location.search+'&jump='+jump+'',
"url": $url + "/activeFt/Fishing/index.html" + location.search+'',
}
}
var obj2 = JSON.stringify(obj);
......@@ -81,22 +81,23 @@ $(function(){
},60000)
setTimeout(function(){
if(sessionStorage.lang==2)return;
if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){
localStorage.lucky777=(Number(new Date().getTime())+86400000)
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/lucky777/pop.html",
height:'0.5',
heightR:'75',
x:'0',
y:'0.5',
},
success:function(){
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/Fishing/pop.html",
height:'0.5',
heightR:'80',
x:'0',
y:'0.5',
},
success:function(){
}
})
if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){
localStorage.fish=(Number(new Date().getTime())+86400000)
}
})
}
},30000)
function getData(roomid) {
......
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