Commit 57273488 by libai

ft活动上线

parent 563e568a
.rule-bg-en {
background: url(../images/en/rule-bg.png) no-repeat !important;
background-size: 100% 100% !important;
height: 25.84rem !important;
}
.bg-en .banner {
background: url(../images/en/banner.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .gift-box {
background: url(../images/en/gift-box.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task1-btn {
background: url(../images/en/task1-btn.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task1-btn-end {
background: url(../images/en/task1-btn-end.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task2-btn {
background: url(../images/en/task2-btn.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task3-btn {
background: url(../images/en/task3-btn.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task4-btn {
background: url(../images/en/task4-btn.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task5-btn {
background: url(../images/en/task4-btn.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .task-btn-end {
background: url(../images/en/task1-btn-end.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .list-bg-box1 {
background: url(../images/en/list-box1.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .list1-btn1 {
background: url(../images/en/list1-btn1.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .list1-btn2 {
background: url(../images/en/list1-btn2.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .list-bg-box2 {
background: url(../images/en/list-box2.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .list2-btn1 {
background: url(../images/en/list2-btn1.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .list2-btn2 {
background: url(../images/en/list2-btn2.png) no-repeat !important;
background-size: 100% 100% !important;
}
.bg-en .layer-rule1 {
background: url(../images/en/layer-rule1.png) no-repeat !important;
background-size: 100% 100% !important;
height: 6.6rem !important;
}
.bg-en .layer-rule2 {
background: url(../images/en/layer-rule2.png) no-repeat !important;
background-size: 100% 100% !important;
height: 5.44rem !important;
}
.bg-en .task-box2-p1 {
font-size: 0.3rem !important;
}
.bg-en .task-box4 p {
font-size: 0.3rem !important;
}
.bg-en .task-box5 .task-box5-p1 {
font-size: 0.3rem !important;
}
.bg-en .king1-p1 {
font-size: 0.3rem !important;
}
.bg-en .king2-p1 {
font-size: 0.3rem !important;
}
.bg-en .like1 {
background: url(../images/en/like.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .like2 {
background: url(../images/en/like2.png) no-repeat;
background-size: 100% 100%;
}
i {
font-style: normal;
}
.bg {
width: 10rem;
margin: 0 auto;
......
.rule-bg-en{
background: url(../images/en/rule-bg.png) no-repeat !important;
background-size: 100% 100% !important;
height: 25.84rem !important;
.back{
}
}
.bg-en{
.banner{
background: url(../images/en/banner.png)no-repeat !important;
background-size: 100% 100% !important;
}
.gift-box{
background: url(../images/en/gift-box.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task1-btn{
background: url(../images/en/task1-btn.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task1-btn-end{
background: url(../images/en/task1-btn-end.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task2-btn{
background: url(../images/en/task2-btn.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task3-btn{
background: url(../images/en/task3-btn.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task4-btn{
background: url(../images/en/task4-btn.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task5-btn{
background: url(../images/en/task4-btn.png)no-repeat !important;
background-size: 100% 100% !important;
}
.task-btn-end{
background: url(../images/en/task1-btn-end.png)no-repeat !important;
background-size: 100% 100% !important;
}
.list-bg-box1{
background: url(../images/en/list-box1.png) no-repeat !important;
background-size: 100% 100% !important;
}
.list1-btn1{
background: url(../images/en/list1-btn1.png)no-repeat !important;
background-size: 100% 100% !important;
}
.list1-btn2{
background: url(../images/en/list1-btn2.png)no-repeat !important;
background-size: 100% 100% !important;
}
.list-bg-box2{
background: url(../images/en/list-box2.png) no-repeat !important;
background-size: 100% 100% !important;
}
.list2-btn1{
background: url(../images/en/list2-btn1.png)no-repeat !important;
background-size: 100% 100% !important;
}
.list2-btn2{
background: url(../images/en/list2-btn2.png)no-repeat !important;
background-size: 100% 100% !important;
}
.layer-rule1{
background: url(../images/en/layer-rule1.png)no-repeat !important;
background-size: 100% 100% !important;
height: 6.6rem !important;
}
.layer-rule2{
background: url(../images/en/layer-rule2.png)no-repeat !important;
background-size: 100% 100% !important;
height: 5.44rem !important;
}
.task-box2-p1{
font-size: 0.3rem !important;
}
.task-box4 p{
font-size: 0.3rem !important;
}
.task-box5 .task-box5-p1{
font-size: 0.3rem !important;
}
.king1-p1{
font-size: 0.3rem !important;
}
.king2-p1{
font-size: 0.3rem !important;
}
.like1{
background: url(../images/en/like.png) no-repeat;
background-size: 100% 100%;
}
.like2{
background: url(../images/en/like2.png) no-repeat;
background-size: 100% 100%;
}
}
i{
font-style: normal;
}
.bg{
width: 10rem;
margin: 0 auto;
......
......@@ -30,9 +30,10 @@
</head>
<script src="lib/lottie-player.js"></script>
<body style="background: #B1DCFF;">
<div style="display: none;" class="layer-rule1"></div>
<div style="display: none;" class="layer-rule2"></div>
<div class="bg">
<div style="display: none;" class="layer-rule1"></div>
<div style="display: none;" class="layer-rule2"></div>
<img class="ref" src="images/ref.png" alt="">
<a href="rule.html"><img class="rule-btn" src="images/rule-btn.png" alt=""></a>
<div class="bg-bottom"></div>
......@@ -44,27 +45,27 @@
<img class="question1" src="images/question.png" alt="">
<div class="task-tips1">(儲值任意金額后福利翻一番!)</div>
<div class="task-box1">
<p>1.每日簽到(贈<span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span></p>
<p><i class="en-t1">1.每日簽到(贈</i><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span></p>
<div class="task1-btn"></div>
</div>
<div class="task-box2">
<p class="task-box2-p1">2.觀看直播20分鐘(<span>--</span>/20分鐘</p>
<p class="task-box2-p2"><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span></p>
<p class="task-box2-p1">2.<i class="en-t2">觀看直播20分鐘</i><span>--</span>/20<i class="en-t3">分鐘</i></p>
<p class="task-box2-p2"><i class="en-t4"></i><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span></p>
<div class="task2-btn"></div>
</div>
<div class="task-box3">
<p class="task-box3-p1">3.直播間輸入口令</p>
<p class="task-box3-p2">火辣辣的女生,超讚</p>
<p class="task-box3-p3"><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span></p>
<p class="task-box3-p2"></p>
<p class="task-box3-p3"><i class="en-t4"></i><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span></p>
<div class="task3-btn"></div>
</div>
<div class="task-box4">
<p>1.每日首次儲值<span style="color: #fffb00;">too hot*10</span></p>
<p>4.<i class="en-t5">每日首次儲值</i><span style="color: #fffb00;">too hot*10</span></p>
<div class="task4-btn"></div>
</div>
<div class="task-box5">
<p class="task-box5-p1">2.累計每儲值300寶石</p>
<p class="task-box5-p2"><span style="color: #fffb00;">too hot*5</span> 可循環獲取)</p>
<p class="task-box5-p1">5.累計每儲值300寶石</p>
<p class="task-box5-p2"><i class="en-t4"></i><span style="color: #fffb00;">too hot*5</span> <i class="en-t6">可循環獲取)</i></p>
<div class="task5-btn"></div>
</div>
</div>
......@@ -182,7 +183,26 @@
<script src="layer-v3.1.0/layer/layer.js"></script>
<script src="lib/default.js?v='2023120901'"></script>
<script>
if(sessionStorage.lang!=2){
$(".bg").addClass("bg-en")
$(".rule-btn").attr("src","images/en/rule-btn.png")
$(".task-tips1").text('(Bonus doubles with any deposit!)')
$(".normal-text").text("nice !")
$(".task-top-title").text("Daily Welfare")
$(".en-t1").text("1.Daily Sign-in(for ")
$(".en-t2").text("Watch the live for 20 minutes.")
$(".en-t3").text("min")
$(".en-t4").text("for ")
$(".task-box3-p1").text("3.Enter code in live room.")
$(".en-t5").text("First recharge of the day.")
$(".task-box5-p1").text("5.Accumulate every recharge of 300 gems.")
$(".en-t6").text("Can be completed repeatedly.)")
$(".king1-p1").text("Yesterday's Hottest")
$(".king2-p1").text("Yesterday's Man")
//
}
$(function(){
task()
topMc()
$(".question1").on("click",function(){
......@@ -218,7 +238,8 @@ $(function(){
console.log("每日任務情況",data)
//是否首充用戶
if(data.result.isPaid==1){
$(".task-tips1").text('(尊貴的高級用戶,以為你福利翻一番)')
if(sessionStorage.lang==2)$(".task-tips1").text('(尊貴的高級用戶,以為你福利翻一番)')
else $(".task-tips1").text('(For VIPs, double rewards!)')
$(".hot-text").css("text-decoration","none")
$(".normal-text").css("text-decoration","line-through")
}
......@@ -234,7 +255,8 @@ $(function(){
$(".task-box2-p1 span").text(Math.floor(data.result.todayWatchTask.watchTime/60))
if(data.result.todayWatchTask.status==0){
$(".task2-btn").unbind("click").on("click",function(){
layer.msg("觀看直播20分鐘即可獲得獎勵")
if(sessionStorage.lang==2) layer.msg("觀看直播20分鐘即可獲得獎勵")
else layer.msg("Watching the live broadcast for 20 minutes will earn you a reward.")
})
}
else if(data.result.todayWatchTask.status==1){
......@@ -249,7 +271,8 @@ $(function(){
if(data.result.todaySpeakTask.status==0){
$(".task3-btn").unbind("click").on("click",function(){
copyTextToClipboard(data.result.todaySpeakTask.speakMsg);
layer.msg("已複製,趕緊去直播間發言吧")
if(sessionStorage.lang==2) layer.msg("已複製,趕緊去直播間發言吧")
else layer.msg("Copied, hurry up and go to the live broadcast room to comment!")
})
}
else if(data.result.todaySpeakTask.status==1){
......@@ -311,7 +334,9 @@ $(".list2-btn1 div").on("click",function(){
},
success:function(data){
console.log("獲取榜單數據",data)
type==1?scoreName='火辣指數' : scoreName='富豪值數'
if(sessionStorage.lang==2)type==1?scoreName='火辣指數' : scoreName='富豪值數'
else type==1?scoreName='Hot Index' : scoreName='Rich Index'
if(data.result.rankList[0]==undefined){
$(".list-top-box"+type+"").html('<h2>暫無數據~</h2>')
$(".list-ul"+type+"").html('')
......
......@@ -66,7 +66,7 @@ else{
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///D:/") > -1) {
sessionStorage.lang=2
sessionStorage.lang=1
sessionStorage.uid = 11145312;
sessionStorage.token = 'debug'
sessionStorage.roomId=11145272;
......
......@@ -40,6 +40,10 @@
<script src="lib/default.js?v='2023120901'"></script>
<script>
$(function(){
if(sessionStorage.lang!=2){
$(".rule-bg").addClass("rule-bg-en")
// $(".back").attr("src","images/en/back.png")
}
$(".callKF").on("click",function(){
var obj2 = {
"cid": 4,
......
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