Commit 83430208 by libai

ft活动上线

parent 3409b995
...@@ -504,3 +504,11 @@ iframe { ...@@ -504,3 +504,11 @@ iframe {
background-size: 100% 100%; background-size: 100% 100%;
float: right; float: right;
} }
.layer-game {
display: none;
width: 10rem;
height: 7.4rem;
background: url(../images/layer-game.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
...@@ -518,4 +518,12 @@ iframe{ ...@@ -518,4 +518,12 @@ iframe{
background: url(../images/act-room-bg.png)no-repeat; background: url(../images/act-room-bg.png)no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
float: right; float: right;
}
.layer-game{
display: none;
width: 10rem;
height: 7.4rem;
background: url(../images/layer-game.png)no-repeat;
background-size: 100% 100%;
position: relative;
} }
\ No newline at end of file
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
</head> </head>
<script src="lib/lottie-player.js"></script> <script src="lib/lottie-player.js"></script>
<body> <body>
<div class="layer-game"></div>
<div class="bg"> <div class="bg">
<div class="banner"></div> <div class="banner"></div>
<div class="top-btn1 "> <div class="top-btn1 ">
...@@ -213,6 +214,19 @@ ...@@ -213,6 +214,19 @@
<script src="lib/swiper.min.js"></script> <script src="lib/swiper.min.js"></script>
<script> <script>
$(function(){ $(function(){
$(".lucky-tips").on("click",function(){
layer.open({
type: 1,
title: false,
shadeClose: true,
skin: "yourclass5",
area: ["10rem", "7.4rem"],
content: $(".layer-game"),
end: function () {
$(".layui-layer-shade").hide()
}
})
})
$(".top-btn1 div").eq(0).on("click",function(){ $(".top-btn1 div").eq(0).on("click",function(){
$(".user-box").hide() $(".user-box").hide()
$(".mc-box").fadeIn(200) $(".mc-box").fadeIn(200)
...@@ -267,7 +281,7 @@ $(function(){ ...@@ -267,7 +281,7 @@ $(function(){
if(data.result.rankList[i]==undefined)continue; if(data.result.rankList[i]==undefined)continue;
var list=data.result.rankList[i] var list=data.result.rankList[i]
html+='<div class="list-top'+(i+1)+'">'; html+='<div class="list-top'+(i+1)+'">';
html+='<div class="top-face"></div>'; html+='<a href="yazhai://_' + list.uid + '_zone"><div class="top-face"></div></a>';
html+='<img class="top-mc-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt="">'; html+='<img class="top-mc-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt="">';
html+='<p class="top-mc-p1">'+list.name+'</p>'; html+='<p class="top-mc-p1">'+list.name+'</p>';
html+='<p class="top-mc-p2">花園積分</p>'; html+='<p class="top-mc-p2">花園積分</p>';
...@@ -283,7 +297,7 @@ $(function(){ ...@@ -283,7 +297,7 @@ $(function(){
html+='<li>'; html+='<li>';
html+='<div class="list-box1">'+(i+1)+'</div>'; html+='<div class="list-box1">'+(i+1)+'</div>';
html+='<div class="list-box2">'; html+='<div class="list-box2">';
html+='<img class="list-mc-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt="">'; html+='<a href="yazhai://_' + list.uid + '_zone"><img class="list-mc-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt=""></a>';
html+='<p>'+list.name+'</p>'; html+='<p>'+list.name+'</p>';
html+='</div>'; html+='</div>';
html+='<div class="list-box3">花園積分 : '+list.score+'</div>'; html+='<div class="list-box3">花園積分 : '+list.score+'</div>';
...@@ -369,7 +383,7 @@ $(function(){ ...@@ -369,7 +383,7 @@ $(function(){
html+='<li>'; html+='<li>';
html+='<div class="user-list-box1">'+(i+1)+'</div>'; html+='<div class="user-list-box1">'+(i+1)+'</div>';
html+='<div class="user-list-box2">'; html+='<div class="user-list-box2">';
html+='<img src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt="">'+list.name+''; html+='<a href="yazhai://_' + list.uid + '_zone"><img src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt=""></a>'+list.name+'';
html+='</div>'; html+='</div>';
html+='<div class="user-list-box3">經驗值: '+list.score+'</div>'; html+='<div class="user-list-box3">經驗值: '+list.score+'</div>';
html+='</li>'; html+='</li>';
......
...@@ -50,7 +50,7 @@ $(function(){ ...@@ -50,7 +50,7 @@ $(function(){
"data": { "data": {
"msg": '跳转集合功能', "msg": '跳转集合功能',
"jumptype": 3, "jumptype": 3,
"url":"http://test.ybact.yazhaiyabo.com/games/fireGarden2/index.html" + location.search, "url":"http://test.ybact.yazhaiyabo.com/games/fireGarden2/index.html" + location.search +'&jump=fusi',
} }
} }
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
......
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