Commit 53ad17a4 by libai

ft活动上线

parent 5f426272
......@@ -54,6 +54,7 @@ body {
.body-en .task-btn1 {
background: url(../images/en/task-btn1.png) no-repeat;
background-size: 100% 100%;
left: 7.9rem;
}
.body-en .task-btn2 {
background: url(../images/en/task-btn2.png) no-repeat;
......@@ -786,6 +787,13 @@ iframe {
position: relative;
margin: 0 auto;
}
.rule-bg-en {
position: relative;
width: 10rem;
height: 33.7rem;
background: url(../images/en/rule.png) no-repeat;
background-size: 100% auto;
}
.callKF {
width: 10rem;
position: absolute;
......
body{
background: #75b142;
}
.body-en{
.banner{
background: url(../images/en/banner.png)no-repeat;
......@@ -55,6 +56,7 @@ body{
.task-btn1 {
background: url(../images/en/task-btn1.png) no-repeat;
background-size: 100% 100%;
left: 7.9rem;
}
.task-btn2 {
background: url(../images/en/task-btn2.png) no-repeat;
......@@ -805,6 +807,13 @@ iframe{
position: relative;
margin: 0 auto;
}
.rule-bg-en{
position: relative;
width: 10rem;
height: 33.7rem;
background: url(../images/en/rule.png)no-repeat;
background-size: 100% auto;
}
.callKF{
width: 10rem;
position: absolute;
......
......@@ -138,7 +138,7 @@
</div>
<div style="display: none;" class="user-box">
<div class="task-box">
<div class="task3-time">(<span>0</span>/20分鐘)</div>
<div class="task3-time">(<span>0</span>/20<i class="en-txt1">分鐘</i>)</div>
<div data-type="1" class="task-btn1 task1"></div>
<div data-type="2" class="task-btn1 task2"></div>
<div data-type="3" class="task-btn1 task3"></div>
......@@ -229,6 +229,7 @@
$(function(){
if(sessionStorage.lang!=2){
$("body").addClass("body-en")
$("title").text('Her Secret Garden')
$(".top-mc-box-p1").text("top MC")
$(".top-mc-box2-p1").text("Player")
$(".rule-btn").attr("src","images/en/rule-btn.png")
......@@ -236,6 +237,7 @@ $(function(){
$(".top-mc-box2-p2").text("not yet")
$(".top-mc-box-p3").text("score:--")
$(".top-mc-box2-p3").text("score:--")
$(".en-txt1").text('min')
}
if(sessionStorage.lang==2)var titleName="她の秘密後花園"
else var titleName="Her Secret Garden"
......
......@@ -41,7 +41,7 @@
<script>
$(function(){
if(sessionStorage.lang!=2){
}
if(sessionStorage.lang==2)var titleName="她の秘密後花園"
else var titleName="Her Secret Garden"
......@@ -55,6 +55,8 @@ $(function(){
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
if(sessionStorage.lang!=2){
$()
$("title").text('Her Secret Garden')
$(".back").attr("src","images/en/back.png")
$("title").text("Her Secret Garden")
$(".rule-bg").addClass("rule-bg-en")
......

10.5 KB | W: | H:

43.7 KB | W: | H:

footseenIcon/action/images/en/act-room-bg.png
footseenIcon/action/images/en/act-room-bg.png
footseenIcon/action/images/en/act-room-bg.png
footseenIcon/action/images/en/act-room-bg.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -32,7 +32,7 @@
<body style="background: rgba(0, 0, 0, 0)">
<div class="act-room-bg1 ">
<div style="display: none;" class="num-box">0</div>
</div>>
</div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
<script src="lib/fsize.js"></script>
......@@ -90,7 +90,7 @@ $(function(){
}
})
})
},30000)
$(".act-room-bg1").on("click",function(){
var obj = {
"cid": 31,
......
......@@ -145,8 +145,10 @@
height: 5rem;
background: url(../images/act-room-bg2.png) no-repeat;
background-size: 100% 100%;
position: relative;
position: absolute;
transform: scale(0.33);
right: -3.33rem;
top: -1.65rem;
}
.act-room-p1 {
text-align: left;
......
......@@ -165,8 +165,10 @@
height: 5rem;
background: url(../images/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
position: relative;
position: absolute;
transform: scale(0.33);
right: -3.33rem;
top: -1.65rem;
}
.act-room-p1{
text-align: left;
......
......@@ -69,7 +69,7 @@
</div>
<div class="act-room-bg2">
<div style="display: none;" class="act-room-bg2">
<div class="act-room-p1">距離上一名 :--</div>
<div class="act-room-p2">當前排名:--</div>
<div class="act-room-p3"></div>
......@@ -108,20 +108,21 @@ $(function(){
success:function(data){
console.log('圖標數據',data)
if(sessionStorage.lang==2){
if(data.result.roomData.rank==1)$(".act-room-p1").text("距離被超越 :"+data.result.roomData.diffPreScore)
else $(".act-room-p1").text("距離上一名 :"+data.result.roomData.diffPreScore)
if(data.result.roomData.rank==1)$(".act-room-p1").text("距離被超越 : "+data.result.roomData.diffPreScore)
else $(".act-room-p1").text("距離上一名 : "+data.result.roomData.diffPreScore)
if(data.result.roomData.rank==-1) $(".act-room-p2").text("當前排名:未上榜")
else $(".act-room-p2").text('當前排名:'+data.result.roomData.rank)
else $(".act-room-p2").text('當前排名 : '+data.result.roomData.rank)
}else{
if(data.result.roomData.rank==1)$(".act-room-p1").text("be surpassed :"+data.result.roomData.diffPreScore)
else $(".act-room-p1").text("next :"+data.result.roomData.diffPreScore)
if(data.result.roomData.rank==-1) $(".act-room-p2").text("rank:--")
else $(".act-room-p2").text('rank:'+data.result.roomData.rank)
if(data.result.roomData.rank==-1) $(".act-room-p2").text("rank : --")
else $(".act-room-p2").text('rank : '+data.result.roomData.rank)
}
$(".act-room-bg2").show()
}
})
}
......
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