Commit dd355fcd by libai

ft活动上线

parent 2c07bd12
...@@ -107,6 +107,10 @@ ...@@ -107,6 +107,10 @@
background: url(../images/en/rule-btn.png) no-repeat; background: url(../images/en/rule-btn.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.bg-en .act-room-bg2 {
background: url(../images/en/act-room-bg2.png) no-repeat;
background-size: 100% 100%;
}
.rule-bg { .rule-bg {
height: 40.28rem; height: 40.28rem;
width: 10rem; width: 10rem;
...@@ -830,6 +834,8 @@ iframe { ...@@ -830,6 +834,8 @@ iframe {
height: 11.4rem; height: 11.4rem;
width: 10rem; width: 10rem;
margin-top: -2.8rem; margin-top: -2.8rem;
position: relative;
z-index: 10;
} }
.fly-task-box { .fly-task-box {
width: 9.38rem; width: 9.38rem;
......
...@@ -110,6 +110,10 @@ ...@@ -110,6 +110,10 @@
background: url(../images/en/rule-btn.png)no-repeat; background: url(../images/en/rule-btn.png)no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.act-room-bg2{
background:url(../images/en/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
}
} }
.rule-bg{ .rule-bg{
...@@ -840,6 +844,8 @@ iframe{ ...@@ -840,6 +844,8 @@ iframe{
width: 10rem; width: 10rem;
// background: pink; // background: pink;
margin-top: -2.8rem; margin-top: -2.8rem;
position: relative;
z-index: 10;
} }
.fly-task-box{ .fly-task-box{
width: 9.38rem; width: 9.38rem;
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<script> <script>
$(function(){ $(function(){
if(sessionStorage.lang!=2){ if(sessionStorage.lang!=2){
$("body").addClass("bg-en")
} }
$(".act-room-bg").on("click",function(){ $(".act-room-bg").on("click",function(){
var obj = { var obj = {
...@@ -69,9 +69,15 @@ $(function(){ ...@@ -69,9 +69,15 @@ $(function(){
if(data.result.userData.signReceive!=0){ if(data.result.userData.signReceive!=0){
$(".act-room-bg").removeClass("act-room-bg2") $(".act-room-bg").removeClass("act-room-bg2")
} }
if(sessionStorage.lang==2){
$(".act-room-p1").text('主播積分 : '+data.result.roomData.score+'') $(".act-room-p1").text('主播積分 : '+data.result.roomData.score+'')
if(data.result.roomData.rank!=-1)$(".act-room-p2").text('排名 : '+data.result.roomData.rank+'') if(data.result.roomData.rank!=-1)$(".act-room-p2").text('排名 : '+data.result.roomData.rank+'')
else $(".act-room-p2").text('排名 : --') else $(".act-room-p2").text('排名 : --')
}else{
$(".act-room-p1").text('score : '+data.result.roomData.score+'')
if(data.result.roomData.rank!=-1)$(".act-room-p2").text('rank : '+data.result.roomData.rank+'')
else $(".act-room-p2").text('rank : --')
}
} }
}) })
} }
......
...@@ -44,14 +44,14 @@ $(function(){ ...@@ -44,14 +44,14 @@ $(function(){
$(".rule-bg").addClass("rule-bg-en") $(".rule-bg").addClass("rule-bg-en")
} }
// var num=0.995 var num=0.995
// var num2=0.995 var num2=0.995
// for(var i=0;i<300;i++){ for(var i=0;i<299;i++){
// num=num*(num2-0.00005*i) num=num*(num2-0.00005*i)
// } }
// console.log(num) console.log(num)
if(sessionStorage.lang!=2){ if(sessionStorage.lang!=2){
$("body").addClass("bg-en") $("body").addClass("bg-en")
$("title").text('Journey Through Outer Space') $("title").text('Journey Through Outer Space')
......
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