diff --git a/activeFt/luckyFly/css/index.css b/activeFt/luckyFly/css/index.css index edaa536..7006696 100644 --- a/activeFt/luckyFly/css/index.css +++ b/activeFt/luckyFly/css/index.css @@ -1,8 +1,202 @@ +.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 { width: 10rem; 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; + 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 { width: 10rem; height: 9.72rem; @@ -83,6 +277,26 @@ margin-top: -1rem; 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 { position: relative; width: 9.38rem; @@ -605,6 +819,7 @@ background-size: 100% 100%; } .game-top { + position: relative; width: 10rem; height: 6.64rem; background: url(../images/game-top.png) no-repeat; diff --git a/activeFt/luckyFly/css/index.less b/activeFt/luckyFly/css/index.less index f4400f9..029b10e 100644 --- a/activeFt/luckyFly/css/index.less +++ b/activeFt/luckyFly/css/index.less @@ -1,8 +1,207 @@ +.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{ width: 10rem; 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; - + 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{ width: 10rem; @@ -84,6 +283,26 @@ margin-top: -1rem; 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{ position: relative; width: 9.38rem; @@ -609,6 +828,7 @@ background-size: 100% 100%; } .game-top{ + position: relative; width: 10rem; height: 6.64rem; background: url(../images/game-top.png)no-repeat; diff --git a/activeFt/luckyFly/images/en/act-room-bg2.png b/activeFt/luckyFly/images/en/act-room-bg2.png new file mode 100644 index 0000000..4eddb58 Binary files /dev/null and b/activeFt/luckyFly/images/en/act-room-bg2.png differ diff --git a/activeFt/luckyFly/images/en/back.png b/activeFt/luckyFly/images/en/back.png new file mode 100644 index 0000000..bac4d11 Binary files /dev/null and b/activeFt/luckyFly/images/en/back.png differ diff --git a/activeFt/luckyFly/images/en/banner.png b/activeFt/luckyFly/images/en/banner.png new file mode 100644 index 0000000..c20e603 Binary files /dev/null and b/activeFt/luckyFly/images/en/banner.png differ diff --git a/activeFt/luckyFly/images/en/exc-btn.png b/activeFt/luckyFly/images/en/exc-btn.png new file mode 100644 index 0000000..73e2402 Binary files /dev/null and b/activeFt/luckyFly/images/en/exc-btn.png differ diff --git a/activeFt/luckyFly/images/en/fly-task-box.png b/activeFt/luckyFly/images/en/fly-task-box.png new file mode 100644 index 0000000..1213907 Binary files /dev/null and b/activeFt/luckyFly/images/en/fly-task-box.png differ diff --git a/activeFt/luckyFly/images/en/game-btn.png b/activeFt/luckyFly/images/en/game-btn.png new file mode 100644 index 0000000..af24178 Binary files /dev/null and b/activeFt/luckyFly/images/en/game-btn.png differ diff --git a/activeFt/luckyFly/images/en/game-top.png b/activeFt/luckyFly/images/en/game-top.png new file mode 100644 index 0000000..2e71959 Binary files /dev/null and b/activeFt/luckyFly/images/en/game-top.png differ diff --git a/activeFt/luckyFly/images/en/gift-box.png b/activeFt/luckyFly/images/en/gift-box.png new file mode 100644 index 0000000..2327c32 Binary files /dev/null and b/activeFt/luckyFly/images/en/gift-box.png differ diff --git a/activeFt/luckyFly/images/en/lang-btn1.png b/activeFt/luckyFly/images/en/lang-btn1.png new file mode 100644 index 0000000..d413427 Binary files /dev/null and b/activeFt/luckyFly/images/en/lang-btn1.png differ diff --git a/activeFt/luckyFly/images/en/lang-btn2.png b/activeFt/luckyFly/images/en/lang-btn2.png new file mode 100644 index 0000000..8dcae0a Binary files /dev/null and b/activeFt/luckyFly/images/en/lang-btn2.png differ diff --git a/activeFt/luckyFly/images/en/layer-rule.png b/activeFt/luckyFly/images/en/layer-rule.png new file mode 100644 index 0000000..3cb2965 Binary files /dev/null and b/activeFt/luckyFly/images/en/layer-rule.png differ diff --git a/activeFt/luckyFly/images/en/list-bg.png b/activeFt/luckyFly/images/en/list-bg.png new file mode 100644 index 0000000..a9a7579 Binary files /dev/null and b/activeFt/luckyFly/images/en/list-bg.png differ diff --git a/activeFt/luckyFly/images/en/list-btn1.png b/activeFt/luckyFly/images/en/list-btn1.png new file mode 100644 index 0000000..fce07e4 Binary files /dev/null and b/activeFt/luckyFly/images/en/list-btn1.png differ diff --git a/activeFt/luckyFly/images/en/list-btn2.png b/activeFt/luckyFly/images/en/list-btn2.png new file mode 100644 index 0000000..cc7033d Binary files /dev/null and b/activeFt/luckyFly/images/en/list-btn2.png differ diff --git a/activeFt/luckyFly/images/en/list-top.png b/activeFt/luckyFly/images/en/list-top.png new file mode 100644 index 0000000..708b1a5 Binary files /dev/null and b/activeFt/luckyFly/images/en/list-top.png differ diff --git a/activeFt/luckyFly/images/en/mc-list.png b/activeFt/luckyFly/images/en/mc-list.png new file mode 100644 index 0000000..dd4ed07 Binary files /dev/null and b/activeFt/luckyFly/images/en/mc-list.png differ diff --git a/activeFt/luckyFly/images/en/rule-bg.png b/activeFt/luckyFly/images/en/rule-bg.png new file mode 100644 index 0000000..448b93f Binary files /dev/null and b/activeFt/luckyFly/images/en/rule-bg.png differ diff --git a/activeFt/luckyFly/images/en/rule-btn.png b/activeFt/luckyFly/images/en/rule-btn.png new file mode 100644 index 0000000..6a47701 Binary files /dev/null and b/activeFt/luckyFly/images/en/rule-btn.png differ diff --git a/activeFt/luckyFly/images/en/rule-text.png b/activeFt/luckyFly/images/en/rule-text.png new file mode 100644 index 0000000..c5afea0 Binary files /dev/null and b/activeFt/luckyFly/images/en/rule-text.png differ diff --git a/activeFt/luckyFly/images/en/task-box.png b/activeFt/luckyFly/images/en/task-box.png new file mode 100644 index 0000000..322cb24 Binary files /dev/null and b/activeFt/luckyFly/images/en/task-box.png differ diff --git a/activeFt/luckyFly/images/en/task2.png b/activeFt/luckyFly/images/en/task2.png new file mode 100644 index 0000000..461034e Binary files /dev/null and b/activeFt/luckyFly/images/en/task2.png differ diff --git a/activeFt/luckyFly/images/en/task3.png b/activeFt/luckyFly/images/en/task3.png new file mode 100644 index 0000000..f60b710 Binary files /dev/null and b/activeFt/luckyFly/images/en/task3.png differ diff --git a/activeFt/luckyFly/images/en/task4.png b/activeFt/luckyFly/images/en/task4.png new file mode 100644 index 0000000..28c9f97 Binary files /dev/null and b/activeFt/luckyFly/images/en/task4.png differ diff --git a/activeFt/luckyFly/images/en/task5.png b/activeFt/luckyFly/images/en/task5.png new file mode 100644 index 0000000..2a6d186 Binary files /dev/null and b/activeFt/luckyFly/images/en/task5.png differ diff --git a/activeFt/luckyFly/images/en/task6.png b/activeFt/luckyFly/images/en/task6.png new file mode 100644 index 0000000..871e739 Binary files /dev/null and b/activeFt/luckyFly/images/en/task6.png differ diff --git a/activeFt/luckyFly/images/en/top-btn1.png b/activeFt/luckyFly/images/en/top-btn1.png new file mode 100644 index 0000000..c624d90 Binary files /dev/null and b/activeFt/luckyFly/images/en/top-btn1.png differ diff --git a/activeFt/luckyFly/images/en/top-btn2.png b/activeFt/luckyFly/images/en/top-btn2.png new file mode 100644 index 0000000..c5ea7bc Binary files /dev/null and b/activeFt/luckyFly/images/en/top-btn2.png differ diff --git a/activeFt/luckyFly/images/layer-rule.png b/activeFt/luckyFly/images/layer-rule.png new file mode 100644 index 0000000..a210084 Binary files /dev/null and b/activeFt/luckyFly/images/layer-rule.png differ diff --git a/activeFt/luckyFly/images/ref.png b/activeFt/luckyFly/images/ref.png new file mode 100644 index 0000000..e1c4844 Binary files /dev/null and b/activeFt/luckyFly/images/ref.png differ diff --git a/activeFt/luckyFly/images/rule-bg.png b/activeFt/luckyFly/images/rule-bg.png new file mode 100644 index 0000000..3ea3e9f Binary files /dev/null and b/activeFt/luckyFly/images/rule-bg.png differ diff --git a/activeFt/luckyFly/images/rule-btn.png b/activeFt/luckyFly/images/rule-btn.png new file mode 100644 index 0000000..82f998f Binary files /dev/null and b/activeFt/luckyFly/images/rule-btn.png differ diff --git a/activeFt/luckyFly/images/rule-text.png b/activeFt/luckyFly/images/rule-text.png new file mode 100644 index 0000000..f9be284 Binary files /dev/null and b/activeFt/luckyFly/images/rule-text.png differ diff --git a/activeFt/luckyFly/index.html b/activeFt/luckyFly/index.html index 9a1d5b3..7203dbb 100644 --- a/activeFt/luckyFly/index.html +++ b/activeFt/luckyFly/index.html @@ -8,7 +8,7 @@ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta content="telephone=no" name="format-detection"> <meta name="wap-font-scale" content="no"> - <title>Fishing Carnival</title> + <title>漫遊天空之旅</title> <script src="lib/fsize.js"></script> <link rel="stylesheet" href="css/base.css"> <link rel="stylesheet" href="css/layer.css"> @@ -31,9 +31,17 @@ </head> <script src="lib/lottie-player.js"></script> <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;"> <div class="bg"> + <div class="rule"></div> + <img class="ref" src="images/ref.png" alt=""> <div class="banner"></div> <div class="top-btn1"> <div></div> @@ -108,7 +116,10 @@ <div data-type="4" class="task4"></div> <div data-type="5" class="task5"></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> <div class="fly-task-box"> <div class="fly-task-bar"> @@ -132,7 +143,31 @@ <script src="lib/swiper.min.js"></script> <script> $(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(){ $(".user-box").hide() $(".mc-box").fadeIn(200) @@ -154,6 +189,9 @@ $(function(){ } } }) + $(".rule").on("click",function(){ + window.location.href="rule.html"+location.search + }) $(".list-btn1 div").on("click",function(){ var _self=$(this) if(_self.attr("data-type")==0){ @@ -174,6 +212,31 @@ $(function(){ 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) mcList(0) function mcList(e){ @@ -185,6 +248,10 @@ $(function(){ success:function(data){ console.log('主播榜单',data) 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++){ if(data.result.rankList[i]==undefined)break; var list=data.result.rankList[i] @@ -192,7 +259,8 @@ $(function(){ 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+='<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+='</div>'; } @@ -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+='<p>'+list.name+'</p>'; 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>'; } $(".mc-ul").html(html); @@ -222,6 +291,10 @@ $(function(){ success:function(data){ console.log('幸运值榜单',data) 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++){ var list=data.result.rankList[i]; html+='<li>'; @@ -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+='<p>'+list.name+'</p>'; 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>'; } $(".user-ul").html(html); diff --git a/activeFt/luckyFly/rule.html b/activeFt/luckyFly/rule.html index 4bb61b0..779a550 100644 --- a/activeFt/luckyFly/rule.html +++ b/activeFt/luckyFly/rule.html @@ -8,7 +8,7 @@ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta content="telephone=no" name="format-detection"> <meta name="wap-font-scale" content="no"> - <title>lucky777</title> + <title>漫遊太空之旅</title> <script src="lib/fsize.js"></script> <link rel="stylesheet" href="css/base.css"> <link rel="stylesheet" href="css/layer.css"> @@ -29,7 +29,7 @@ </style> </head> <script src="lib/lottie-player.js"></script> -<body style="background:#0C0904;"> +<body style="background:#1A086B;"> <div class="rule-bg"> <a href="javascript:history.go(-1);"><img class="back" src="images/back.png" alt=""></a> <div class="callKF">如有問題點擊聯繫 <span>7*24小時在線客服</span></div> @@ -41,20 +41,41 @@ <script> $(function(){ if(sessionStorage.lang!=2){ - $("title").text("Star-seeking Travel Corps") + $(".rule-bg").addClass("rule-bg-en") } - if(sessionStorage.lang==2)var titleName="尋星旅團" - else var titleName="Star-seeking Travel Corps" - var obj = { - "cid": 34, //修改网页title 居中显示。 - "data": { - "type": 2, //1 图片 2文本。 - "imgTxt": titleName, + // var num=0.995 + // var num2=0.995 + // for(var i=0;i<300;i++){ + // num=num*(num2-0.00005*i) + + + // } + // 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){ $("title").text('Her Secret Garden') $(".back").attr("src","images/en/back.png") diff --git a/activeFt/luckySpace/images/layer-rule.png b/activeFt/luckySpace/images/layer-rule.png index 7d4ec4c..a210084 100644 Binary files a/activeFt/luckySpace/images/layer-rule.png and b/activeFt/luckySpace/images/layer-rule.png differ diff --git a/activeFt/luckySpace/index.html b/activeFt/luckySpace/index.html index 8aa68ac..bb67a89 100644 --- a/activeFt/luckySpace/index.html +++ b/activeFt/luckySpace/index.html @@ -398,23 +398,6 @@ <script> $(function(){ 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") $(".layer-rule-content img").attr("src","images/en/rule-text.png") $(".en-txt1").text(" player") @@ -516,9 +499,8 @@ $(function(){ "cid": 12, "reqCode": new Date().getTime(), "data": { - "msg": '去儲值', - "jumptype": 16, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 28:跳转直播间 29:空间 26:设置 40:半屏宝石储值 41:礼物列表 42:背包列表 // 43: 跳转新人主播引导 - "hideTitle": 0 // 1隐藏头部,0 不隐藏, 默认为0 + "msg": "兌換露水", + "jumptype": 15, } } var obj2 = JSON.stringify(obj); @@ -809,7 +791,7 @@ $(function(){ $(".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-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() layer.open({ type: 1, @@ -828,7 +810,7 @@ $(function(){ $(".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-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() layer.open({ @@ -1174,15 +1156,15 @@ $(function(){ success:function(data){ console.log('用户登船',data) if(data.code==-116){ - layer.msg("露水不足") + if(sessionStorage.lang==2)layer.msg("露水不足") + else layer.msg("no DEWs") setTimeout(function(){ var obj = { "cid": 12, "reqCode": new Date().getTime(), "data": { - "msg": '去儲值', - "jumptype": 16, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 28:跳转直播间 29:空间 26:设置 40:半屏宝石储值 41:礼物列表 42:背包列表 // 43: 跳转新人主播引导 - "hideTitle": 0 // 1隐藏头部,0 不隐藏, 默认为0 + "msg": "兌換露水", + "jumptype": 15, } } var obj2 = JSON.stringify(obj);