Commit 2c07bd12 by libai

ft活动上线

parent 86592485
Showing with 558 additions and 46 deletions
.bg-en .banner {
background: url(../images/en/banner.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .top-btn1 {
background: url(../images/en/top-btn1.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .top-btn2 {
background: url(../images/en/top-btn2.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .gift-box {
background: url(../images/en/gift-box.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .mc-list {
background: url(../images/en/mc-list.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .list-btn1 {
background: url(../images/en/list-btn1.png) no-repeat;
background-size: 100% 100%;
margin-top: 4.4rem;
}
.bg-en .list-btn2 {
background: url(../images/en/list-btn2.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .mc-ul {
height: 7rem;
}
.bg-en .list-top {
background: url(../images/en/list-top.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .user-list-box {
background: url(../images/en/list-bg.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task-box {
height: 13.66rem;
background: url(../images/en/task-box.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .lang-btn1 {
background: url(../images/en/lang-btn1.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .lang-btn2 {
background: url(../images/en/lang-btn2.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task-box .task1 {
top: 4.1rem;
}
.bg-en .task-box .task2 {
top: 5.85rem;
}
.bg-en .task-box .task4 {
top: 9.4rem;
}
.bg-en .task-box .task5 {
top: 11.15rem;
}
.bg-en .game-top {
background: url(../images/en/game-top.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .fly-task-box {
background: url(../images/en/fly-task-box.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task2-btn {
background: url(../images/en/task2.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task3-btn {
background: url(../images/en/task3.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task4-btn {
background: url(../images/en/task4.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task5-btn {
background: url(../images/en/task5.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .task6-btn {
background: url(../images/en/task6.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .exc-btn {
background: url(../images/en/exc-btn.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .rule-btn {
background: url(../images/en/game-btn.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .layer-rule {
background: url(../images/en/layer-rule.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .rule {
background: url(../images/en/rule-btn.png) no-repeat;
background-size: 100% 100%;
}
.rule-bg {
height: 40.28rem;
width: 10rem;
background: url(../images/rule-bg.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto;
}
.rule-bg-en {
position: relative;
height: 52.5rem;
width: 10rem;
background: url(../images/en/rule-bg.png) no-repeat;
background-size: 100% auto;
}
.back {
width: 1.72rem;
height: 0.6rem;
position: fixed;
z-index: 500;
top: 5rem;
right: 0;
}
.callKF {
width: 10rem;
position: absolute;
bottom: 0.3rem;
height: 0.8rem;
color: #FBF3FF;
text-align: center;
font-size: 0.33rem;
}
.callKF > span {
height: 0.5rem;
padding: 0.08rem;
padding-left: 0.25rem;
padding-right: 0.25rem;
background: #f3f3f3;
border-radius: 0.1rem;
color: #50504a;
}
.rule {
width: 1.72rem;
height: 0.6rem;
position: fixed;
z-index: 500;
top: 5rem;
right: 0;
background: url(../images/rule-btn.png) no-repeat;
background-size: 100% 100%;
}
.ref {
width: 0.8rem;
position: fixed;
left: 0;
top: 5rem;
z-index: 500;
}
h2 {
text-align: center;
font-size: 0.6rem;
color: #fff;
line-height: 3.5rem;
}
.bg { .bg {
width: 10rem; width: 10rem;
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
} }
.layer-rule {
width: 10rem;
height: 10.72rem;
background: url(../images/layer-rule.png) no-repeat;
background-size: 100% 100%;
position: relative;
display: none;
}
.layer-rule-content {
width: 10rem;
height: 8.7rem;
position: absolute;
top: 1.726rem;
left: 0;
overflow: scroll;
-webkit-overflow-scrolling: touch;
text-align: center;
}
.layer-rule-content > img {
width: 9.4rem;
}
.banner { .banner {
width: 10rem; width: 10rem;
height: 9.72rem; height: 9.72rem;
...@@ -83,6 +277,26 @@ ...@@ -83,6 +277,26 @@
margin-top: -1rem; margin-top: -1rem;
overflow: hidden; overflow: hidden;
} }
.exc-btn {
position: absolute;
z-index: 50;
left: 0.2rem;
top: 2.45rem;
width: 2.426rem;
height: 0.86rem;
background: url(../images/exc-btn.png) no-repeat;
background-size: 100% 100%;
}
.rule-btn {
position: absolute;
z-index: 50;
right: 0.2rem;
top: 2.45rem;
width: 2.42rem;
height: 0.86rem;
background: url(../images/game-btn.png) no-repeat;
background-size: 100% 100%;
}
.mc-top { .mc-top {
position: relative; position: relative;
width: 9.38rem; width: 9.38rem;
...@@ -605,6 +819,7 @@ ...@@ -605,6 +819,7 @@
background-size: 100% 100%; background-size: 100% 100%;
} }
.game-top { .game-top {
position: relative;
width: 10rem; width: 10rem;
height: 6.64rem; height: 6.64rem;
background: url(../images/game-top.png) no-repeat; background: url(../images/game-top.png) no-repeat;
......
.bg-en{
.banner{
background: url(../images/en/banner.png) no-repeat;
background-size: 100% 100%;
}
.top-btn1{
background: url(../images/en/top-btn1.png) no-repeat;
background-size: 100% 100%;
}
.top-btn2{
background: url(../images/en/top-btn2.png) no-repeat;
background-size: 100% 100%;
}
.gift-box{
background: url(../images/en/gift-box.png) no-repeat;
background-size: 100% 100%;
}
.mc-list{
background: url(../images/en/mc-list.png)no-repeat;
background-size: 100% 100%;
}
.list-btn1{
background: url(../images/en/list-btn1.png) no-repeat;
background-size: 100% 100%;
margin-top: 4.4rem;
}
.list-btn2{
background: url(../images/en/list-btn2.png) no-repeat;
background-size: 100% 100%;
}
.mc-ul{
height: 7rem;
}
.list-top{
background: url(../images/en/list-top.png) no-repeat;
background-size: 100% 100%;
}
.user-list-box{
background: url(../images/en/list-bg.png) no-repeat;
background-size: 100% 100%;
}
.task-box{
height: 13.66rem;
background: url(../images/en/task-box.png) no-repeat;
background-size: 100% 100%;
}
.lang-btn1{
background: url(../images/en/lang-btn1.png) no-repeat;
background-size: 100% 100%;
}
.lang-btn2{
background: url(../images/en/lang-btn2.png) no-repeat;
background-size: 100% 100%;
}
.task-box{
.task1{
top: 4.1rem;
}
.task2{
top: 5.85rem;
}
.task4{
top: 9.4rem;
}
.task5{
top: 11.15rem;
}
}
.game-top{
background: url(../images/en/game-top.png) no-repeat;
background-size: 100% 100%;
}
.fly-task-box{
background: url(../images/en/fly-task-box.png) no-repeat;
background-size: 100% 100%;
}
.task2-btn{
background: url(../images/en/task2.png)no-repeat;
background-size: 100% 100%;
}
.task3-btn{
background: url(../images/en/task3.png)no-repeat;
background-size: 100% 100%;
}
.task4-btn{
background: url(../images/en/task4.png)no-repeat;
background-size: 100% 100%;
}
.task5-btn{
background: url(../images/en/task5.png)no-repeat;
background-size: 100% 100%;
}
.task6-btn{
background: url(../images/en/task6.png)no-repeat;
background-size: 100% 100%;
}
.exc-btn{
background: url(../images/en/exc-btn.png) no-repeat;
background-size: 100% 100%;
}
.rule-btn{
background: url(../images/en/game-btn.png) no-repeat;
background-size: 100% 100%;
}
.layer-rule{
background: url(../images/en/layer-rule.png)no-repeat;
background-size: 100% 100%;
}
.rule{
background: url(../images/en/rule-btn.png)no-repeat;
background-size: 100% 100%;
}
}
.rule-bg{
height: 40.28rem;
width: 10rem;
background: url(../images/rule-bg.png)no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto;
}
.rule-bg-en{
position: relative;
height: 52.5rem;
width: 10rem;
background: url(../images/en/rule-bg.png)no-repeat;
background-size: 100% auto;
}
.back{
width: 1.72rem;
height: 0.6rem;
position: fixed;
z-index: 500;
top: 5rem;
right: 0;
}
.callKF{
width: 10rem;
position: absolute;
bottom: 0.3rem;
height: 0.8rem;
color: #FBF3FF;
text-align: center;
font-size: 0.33rem;
>span{
height: 0.5rem;
padding: 0.08rem;
padding-left: 0.25rem;
padding-right: 0.25rem;
background: #f3f3f3;
border-radius: 0.1rem;
color: #50504a;
}
}
.rule{
width: 1.72rem;
height: 0.6rem;
position: fixed;
z-index: 500;
top: 5rem;
right: 0;
background: url(../images/rule-btn.png)no-repeat;
background-size: 100% 100%;
}
.ref{
width: 0.8rem;
position: fixed;
left: 0;
top: 5rem;
z-index: 500;
}
h2{
text-align: center;
font-size: 0.6rem;
color: #fff;
line-height: 3.5rem;
}
.bg{ .bg{
width: 10rem; width: 10rem;
margin: 0 auto; margin: 0 auto;
position: relative;
}
.layer-rule{
width: 10rem;
height: 10.72rem;
background: url(../images/layer-rule.png)no-repeat;
background-size: 100% 100%;
position: relative; position: relative;
display: none;
}
.layer-rule-content{
width: 10rem;
height: 8.7rem;
// background: pink;
position: absolute;
top: 1.726rem;
left: 0;
overflow: scroll;
-webkit-overflow-scrolling: touch;
text-align: center;
>img{
width: 9.4rem;
}
} }
.banner{ .banner{
width: 10rem; width: 10rem;
...@@ -84,6 +283,26 @@ ...@@ -84,6 +283,26 @@
margin-top: -1rem; margin-top: -1rem;
overflow: hidden; overflow: hidden;
} }
.exc-btn{
position: absolute;
z-index: 50;
left: 0.2rem;
top: 2.45rem;
width: 2.426rem;
height: 0.86rem;
background: url(../images/exc-btn.png)no-repeat;
background-size: 100% 100%;
}
.rule-btn{
position: absolute;
z-index: 50;
right: 0.2rem;
top: 2.45rem;
width: 2.42rem;
height: 0.86rem;
background: url(../images/game-btn.png)no-repeat;
background-size: 100% 100%;
}
.mc-top{ .mc-top{
position: relative; position: relative;
width: 9.38rem; width: 9.38rem;
...@@ -609,6 +828,7 @@ ...@@ -609,6 +828,7 @@
background-size: 100% 100%; background-size: 100% 100%;
} }
.game-top{ .game-top{
position: relative;
width: 10rem; width: 10rem;
height: 6.64rem; height: 6.64rem;
background: url(../images/game-top.png)no-repeat; background: url(../images/game-top.png)no-repeat;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection"> <meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no"> <meta name="wap-font-scale" content="no">
<title>Fishing Carnival</title> <title>漫遊天空之旅</title>
<script src="lib/fsize.js"></script> <script src="lib/fsize.js"></script>
<link rel="stylesheet" href="css/base.css"> <link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layer.css"> <link rel="stylesheet" href="css/layer.css">
...@@ -31,9 +31,17 @@ ...@@ -31,9 +31,17 @@
</head> </head>
<script src="lib/lottie-player.js"></script> <script src="lib/lottie-player.js"></script>
<div class="layer-dew"></div> <div class="layer-dew"></div>
<div class="layer-rule"></div> <div class="layer-rule">
<div class="layer-rule-content">
<img src="images/rule-text.png?v=2024062901" alt="">
<div style="height: 0.5rem;"></div>
</div>
</div>
<body style="background:#1A086B;"> <body style="background:#1A086B;">
<div class="bg"> <div class="bg">
<div class="rule"></div>
<img class="ref" src="images/ref.png" alt="">
<div class="banner"></div> <div class="banner"></div>
<div class="top-btn1"> <div class="top-btn1">
<div></div> <div></div>
...@@ -108,7 +116,10 @@ ...@@ -108,7 +116,10 @@
<div data-type="4" class="task4"></div> <div data-type="4" class="task4"></div>
<div data-type="5" class="task5"></div> <div data-type="5" class="task5"></div>
</div> </div>
<div class="game-top"></div> <div class="game-top">
<div class="exc-btn"></div>
<div class="rule-btn"></div>
</div>
<iframe src="" frameborder="0"></iframe> <iframe src="" frameborder="0"></iframe>
<div class="fly-task-box"> <div class="fly-task-box">
<div class="fly-task-bar"> <div class="fly-task-bar">
...@@ -132,7 +143,31 @@ ...@@ -132,7 +143,31 @@
<script src="lib/swiper.min.js"></script> <script src="lib/swiper.min.js"></script>
<script> <script>
$(function(){ $(function(){
var oneGame=true;0 if(sessionStorage.lang!=2){
$("body").addClass("bg-en")
$("title").text('Journey Through Outer Space')
$(".layer-rule-content img").attr("src","images/en/rule-text.png?v=2024062901")
var obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 2, //1 图片 2文本。
"imgTxt": 'Journey Through Outer Space',
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
}else{
var obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 2, //1 图片 2文本。
"imgTxt": '漫遊太空之旅',
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
}
var oneGame=true;
$(".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)
...@@ -154,6 +189,9 @@ $(function(){ ...@@ -154,6 +189,9 @@ $(function(){
} }
} }
}) })
$(".rule").on("click",function(){
window.location.href="rule.html"+location.search
})
$(".list-btn1 div").on("click",function(){ $(".list-btn1 div").on("click",function(){
var _self=$(this) var _self=$(this)
if(_self.attr("data-type")==0){ if(_self.attr("data-type")==0){
...@@ -174,6 +212,31 @@ $(function(){ ...@@ -174,6 +212,31 @@ $(function(){
userList(1000) userList(1000)
} }
}) })
$(".exc-btn").on("click",function(){
var obj = {
"cid": 12,
"reqCode": new Date().getTime(),
"data": {
"msg": "兌換露水",
"jumptype": 15,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
$(".rule-btn").on("click",function(){
layer.open({
type: 1,
title: false,
shadeClose: true,
skin: "yourclass5",
area: ["10rem", "10.72rem"],
content: $(".layer-rule"),
end: function () {
$(".layui-layer-shade").hide()
}
})
})
userList(2) userList(2)
mcList(0) mcList(0)
function mcList(e){ function mcList(e){
...@@ -185,6 +248,10 @@ $(function(){ ...@@ -185,6 +248,10 @@ $(function(){
success:function(data){ success:function(data){
console.log('主播榜单',data) console.log('主播榜单',data)
var html=''; var html='';
if(data.result.rankList.length==0){
if(sessionStorage.lang==2)html+='<h2>暫無數據</h2>'
else html+='<h2>Not data</h2>'
}
for(var i=0;i<3;i++){ for(var i=0;i<3;i++){
if(data.result.rankList[i]==undefined)break; if(data.result.rankList[i]==undefined)break;
var list=data.result.rankList[i] var list=data.result.rankList[i]
...@@ -192,7 +259,8 @@ $(function(){ ...@@ -192,7 +259,8 @@ $(function(){
html+='<a href="yazhai://_' + list.uid + '_zone"><div class="king"></div></a>'; html+='<a href="yazhai://_' + list.uid + '_zone"><div class="king"></div></a>';
html+='<img class="king-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt="">'; html+='<img class="king-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt="">';
html+='<p class="top-p1">'+list.name+'</p>'; html+='<p class="top-p1">'+list.name+'</p>';
html+='<p class="top-p2">探索值</p>'; if(sessionStorage.lang==2)html+='<p class="top-p2">探索值</p>';
else html+='<p class="top-p2">points</p>';
html+='<p class="top-p3">'+list.score+'</p>'; html+='<p class="top-p3">'+list.score+'</p>';
html+='</div>'; html+='</div>';
} }
...@@ -206,7 +274,8 @@ $(function(){ ...@@ -206,7 +274,8 @@ $(function(){
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>'; 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>';
html+='<p>'+list.name+'</p>'; html+='<p>'+list.name+'</p>';
html+='</div>'; html+='</div>';
html+='<div class="mc-li3">探索值 <span>'+list.score+'</span></div>'; if(sessionStorage.lang==2)html+='<div class="mc-li3">探索值 <span>'+list.score+'</span></div>';
else html+='<div class="mc-li3">points <span>'+list.score+'</span></div>';
html+='</li>'; html+='</li>';
} }
$(".mc-ul").html(html); $(".mc-ul").html(html);
...@@ -222,6 +291,10 @@ $(function(){ ...@@ -222,6 +291,10 @@ $(function(){
success:function(data){ success:function(data){
console.log('幸运值榜单',data) console.log('幸运值榜单',data)
var html=[]; var html=[];
if(data.result.rankList.length==0){
if(sessionStorage.lang==2)html+='<h2>暫無數據</h2>'
else html+='<h2>Not data</h2>'
}
for(var i=0;i<data.result.rankList.length;i++){ for(var i=0;i<data.result.rankList.length;i++){
var list=data.result.rankList[i]; var list=data.result.rankList[i];
html+='<li>'; html+='<li>';
...@@ -230,7 +303,8 @@ $(function(){ ...@@ -230,7 +303,8 @@ $(function(){
html+='<a href="yazhai://_' + list.uid + '_zone"><img class="user-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90" alt=""></a>'; html+='<a href="yazhai://_' + list.uid + '_zone"><img class="user-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="user-li3">飛行值 : <span>'+list.score+'</span></div>'; if(sessionStorage.lang==2)html+='<div class="user-li3">飛行值 : <span>'+list.score+'</span></div>';
else html+='<div class="user-li3">points : <span>'+list.score+'</span></div>';
html+='</li>'; html+='</li>';
} }
$(".user-ul").html(html); $(".user-ul").html(html);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection"> <meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no"> <meta name="wap-font-scale" content="no">
<title>lucky777</title> <title>漫遊太空之旅</title>
<script src="lib/fsize.js"></script> <script src="lib/fsize.js"></script>
<link rel="stylesheet" href="css/base.css"> <link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layer.css"> <link rel="stylesheet" href="css/layer.css">
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</style> </style>
</head> </head>
<script src="lib/lottie-player.js"></script> <script src="lib/lottie-player.js"></script>
<body style="background:#0C0904;"> <body style="background:#1A086B;">
<div class="rule-bg"> <div class="rule-bg">
<a href="javascript:history.go(-1);"><img class="back" src="images/back.png" alt=""></a> <a href="javascript:history.go(-1);"><img class="back" src="images/back.png" alt=""></a>
<div class="callKF">如有問題點擊聯繫 <span>7*24小時在線客服</span></div> <div class="callKF">如有問題點擊聯繫 <span>7*24小時在線客服</span></div>
...@@ -41,20 +41,41 @@ ...@@ -41,20 +41,41 @@
<script> <script>
$(function(){ $(function(){
if(sessionStorage.lang!=2){ if(sessionStorage.lang!=2){
$("title").text("Star-seeking Travel Corps")
$(".rule-bg").addClass("rule-bg-en") $(".rule-bg").addClass("rule-bg-en")
} }
if(sessionStorage.lang==2)var titleName="尋星旅團" // var num=0.995
else var titleName="Star-seeking Travel Corps" // var num2=0.995
var obj = { // for(var i=0;i<300;i++){
"cid": 34, //修改网页title 居中显示。 // num=num*(num2-0.00005*i)
"data": {
"type": 2, //1 图片 2文本。
"imgTxt": titleName, // }
// console.log(num)
if(sessionStorage.lang!=2){
$("body").addClass("bg-en")
$("title").text('Journey Through Outer Space')
var obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 2, //1 图片 2文本。
"imgTxt": 'Journey Through Outer Space',
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
}else{
var obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 2, //1 图片 2文本。
"imgTxt": '漫遊太空之旅',
}
} }
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
} }
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
if(sessionStorage.lang!=2){ if(sessionStorage.lang!=2){
$("title").text('Her Secret Garden') $("title").text('Her Secret Garden')
$(".back").attr("src","images/en/back.png") $(".back").attr("src","images/en/back.png")
......

47.9 KB | W: | H:

51.1 KB | W: | H:

activeFt/luckySpace/images/layer-rule.png
activeFt/luckySpace/images/layer-rule.png
activeFt/luckySpace/images/layer-rule.png
activeFt/luckySpace/images/layer-rule.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -398,23 +398,6 @@ ...@@ -398,23 +398,6 @@
<script> <script>
$(function(){ $(function(){
if(sessionStorage.lang!=2){ if(sessionStorage.lang!=2){
// <p class="layer-yes2-txt1">贏取露水總額</p>
// <p class="layer-yes2-txt2">500813</p>
// </div>
// <div class="layer-yes2-p2">
// <div class="line"></div>
// <p class="layer-yes2-txt1">飛船最高高度</p>
// <p class="layer-yes2-txt2">655</p>
// </div>
// <div class="layer-yes2-p3">
// <div class="line"></div>
// <p class="layer-yes2-txt1">初始攜帶露水</p>
// <p class="layer-yes2-txt2">500813</p>
// </div>
// <div class="layer-yes2-p4">
// <div class="line"></div>
// <p class="layer-yes2-txt1">我的勝利倍率</p>
// <p class="layer-yes2-txt2">2.53x</p>
$("body").addClass("bg-en") $("body").addClass("bg-en")
$(".layer-rule-content img").attr("src","images/en/rule-text.png") $(".layer-rule-content img").attr("src","images/en/rule-text.png")
$(".en-txt1").text(" player") $(".en-txt1").text(" player")
...@@ -516,9 +499,8 @@ $(function(){ ...@@ -516,9 +499,8 @@ $(function(){
"cid": 12, "cid": 12,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
"data": { "data": {
"msg": '去儲值', "msg": "兌換露水",
"jumptype": 16, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 28:跳转直播间 29:空间 26:设置 40:半屏宝石储值 41:礼物列表 42:背包列表 // 43: 跳转新人主播引导 "jumptype": 15,
"hideTitle": 0 // 1隐藏头部,0 不隐藏, 默认为0
} }
} }
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
...@@ -809,7 +791,7 @@ $(function(){ ...@@ -809,7 +791,7 @@ $(function(){
$(".layer-yes2-p1 .layer-yes2-txt2").text(data.result.userData.jumpRewardChip) $(".layer-yes2-p1 .layer-yes2-txt2").text(data.result.userData.jumpRewardChip)
$(".layer-yes2-p2 .layer-yes2-txt2").text(""+data.result.shipData.launchHeight+""+textArr[0]+"") $(".layer-yes2-p2 .layer-yes2-txt2").text(""+data.result.shipData.launchHeight+""+textArr[0]+"")
$(".layer-yes2-p3 .layer-yes2-txt2").text(""+data.result.userData.userBetAmount+"") $(".layer-yes2-p3 .layer-yes2-txt2").text(""+data.result.userData.userBetAmount+"")
$(".layer-yes2-p4 .layer-yes2-txt2").text(data.result.userData.jumpHeight/10+'x') $(".layer-yes2-p4 .layer-yes2-txt2").text(data.result.userData.jumpHeight/100+'x')
getTopUser() getTopUser()
layer.open({ layer.open({
type: 1, type: 1,
...@@ -828,7 +810,7 @@ $(function(){ ...@@ -828,7 +810,7 @@ $(function(){
$(".layer-yes2-p1 .layer-yes2-txt2").text(data.result.userData.jumpRewardChip) $(".layer-yes2-p1 .layer-yes2-txt2").text(data.result.userData.jumpRewardChip)
$(".layer-yes2-p2 .layer-yes2-txt2").text(""+data.result.shipData.launchHeight+""+textArr[0]+"") $(".layer-yes2-p2 .layer-yes2-txt2").text(""+data.result.shipData.launchHeight+""+textArr[0]+"")
$(".layer-yes2-p3 .layer-yes2-txt2").text(""+data.result.userData.userBetAmount+"") $(".layer-yes2-p3 .layer-yes2-txt2").text(""+data.result.userData.userBetAmount+"")
$(".layer-yes2-p4 .layer-yes2-txt2").text(data.result.userData.jumpHeight/10+'x') $(".layer-yes2-p4 .layer-yes2-txt2").text(data.result.userData.jumpHeight/100+'x')
//跳船失败 //跳船失败
getTopUser() getTopUser()
layer.open({ layer.open({
...@@ -1174,15 +1156,15 @@ $(function(){ ...@@ -1174,15 +1156,15 @@ $(function(){
success:function(data){ success:function(data){
console.log('用户登船',data) console.log('用户登船',data)
if(data.code==-116){ if(data.code==-116){
layer.msg("露水不足") if(sessionStorage.lang==2)layer.msg("露水不足")
else layer.msg("no DEWs")
setTimeout(function(){ setTimeout(function(){
var obj = { var obj = {
"cid": 12, "cid": 12,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
"data": { "data": {
"msg": '去儲值', "msg": "兌換露水",
"jumptype": 16, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 28:跳转直播间 29:空间 26:设置 40:半屏宝石储值 41:礼物列表 42:背包列表 // 43: 跳转新人主播引导 "jumptype": 15,
"hideTitle": 0 // 1隐藏头部,0 不隐藏, 默认为0
} }
} }
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