Commit 0987bc53 by libai

ft活动上线

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