Commit 8ea04ff0 by libai

ft活动上线

parent 83430208
......@@ -497,13 +497,6 @@ iframe {
text-align: center;
color: #FFFF50;
}
.act-room-bg1 {
width: 8rem;
height: 10.375rem;
background: url(../images/act-room-bg.png) no-repeat;
background-size: 100% 100%;
float: right;
}
.layer-game {
display: none;
width: 10rem;
......@@ -512,3 +505,23 @@ iframe {
background-size: 100% 100%;
position: relative;
}
.act-room-bg1 {
width: 8rem;
height: 10.375rem;
background: url(../images/act-room-bg.png) no-repeat;
background-size: 100% 100%;
float: right;
}
.act-room-bg1 .num-box {
position: absolute;
right: 0.2rem;
top: 1.25rem;
width: 2rem;
height: 2rem;
border-radius: 50%;
font-size: 1.3rem;
text-align: center;
line-height: 2rem;
font-weight: 700;
color: #f0ff25;
}
......@@ -511,14 +511,6 @@ iframe{
text-align: center;
color: #FFFF50;
}
.act-room-bg1{
width: 8rem;
height: 10.375rem;
background: url(../images/act-room-bg.png)no-repeat;
background-size: 100% 100%;
float: right;
}
.layer-game{
display: none;
width: 10rem;
......@@ -527,3 +519,26 @@ iframe{
background-size: 100% 100%;
position: relative;
}
.act-room-bg1{
width: 8rem;
height: 10.375rem;
background: url(../images/act-room-bg.png)no-repeat;
background-size: 100% 100%;
float: right;
.num-box{
position: absolute;
right: 0.2rem;
top: 1.25rem;
width: 2rem;
height: 2rem;
// background: pink;
border-radius: 50%;
font-size: 1.3rem;
text-align: center;
line-height: 2rem;
font-weight: 700;
color: rgb(240, 255, 37);
}
}
......@@ -31,7 +31,7 @@
<script src="lib/lottie-player.js"></script>
<body style="background: rgba(0, 0, 0, 0);">
<div class="act-room-bg1 ">
<div class="num-box">0</div>
</div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
......@@ -61,9 +61,18 @@ $(function(){
}
function view(){
$.ajax({
url:$ip+'/actSecretGarden/getRoomPartData.html',
success:function(data){
console.log('圖標數據',data)
$(".num-box").text(data.result.roomData.flowerNum)
}
})
}
view()
setInterval(function(){
view()
},60000)
function getData(roomid) {
var opts = {
reconnectionDelay: 5000,
......
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