Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / fsActive

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit e5ef2f19 authored 10 months ago by libai's avatar libai
Browse files
Options
  • Browse Files
  • Download
  • Plain Diff

Merge branch 'ceshi' of git.yabolive.net:libai/fsActive into ceshi

parents 477d0e2a 97ca3324 ceshi
Hide whitespace changes
Inline Side-by-side
Showing with 741 additions and 546 deletions
  • activeFt/liveData/index2.html
  • activeFt/liveData/rule2.html
activeFt/liveData/index2.html
View file @ e5ef2f19
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<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">
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
} }
</style> </style>
</head> </head>
<body> <body>
<div class="bg"> <div class="bg">
<div style="display: none;" class="tips-shadow"> <div style="display: none;" class="tips-shadow">
...@@ -57,9 +58,11 @@ ...@@ -57,9 +58,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="live-title"><span>今日直播</span> &nbsp;<i style="font-style: normal;"></i></div> <div class="live-title"><span>今日直播</span> &nbsp;<i style="font-style: normal;"></i></div>
<a href="rule.html?v=2022010601"><div class="rule-btn">活動規則></div></a> <a href="rule2.html?v=2022010601">
<div class="rule-btn">活動規則></div>
</a>
<div class="live-top-box"> <div class="live-top-box">
<p class="live-top-p1">0小時</p> <p class="live-top-p1">0小時</p>
<p class="live-top-p2">目標 : 2小時</p> <p class="live-top-p2">目標 : 2小時</p>
...@@ -91,14 +94,14 @@ ...@@ -91,14 +94,14 @@
<p></p> <p></p>
<div style="display: none;" class="top-box-tips"> <div style="display: none;" class="top-box-tips">
<div class="triangle"></div> <div class="triangle"></div>
<div class="top-box-content-tips">羽毛收益越高則禮物指數越高</div> <div class="top-box-content-tips">螢火收益越高則禮物指數越高</div>
</div> </div>
</li> </li>
</ul> </ul>
<div class="top-box-view"> <div class="top-box-view">
<div class="circleChart1" ></div> <div class="circleChart1"></div>
<div class="circleChart2" ></div> <div class="circleChart2"></div>
<div class="circleChart3" ></div> <div class="circleChart3"></div>
</div> </div>
</div> </div>
<div class="live-line2"></div> <div class="live-line2"></div>
...@@ -107,7 +110,7 @@ ...@@ -107,7 +110,7 @@
<p class="day-top-box-p2">總獎勵 : <img src="images/7590/fire1.png?v=2023050901" alt="">--</p> <p class="day-top-box-p2">總獎勵 : <img src="images/7590/fire1.png?v=2023050901" alt="">--</p>
</div> </div>
<div class="day-box-content clearfix"> <div class="day-box-content clearfix">
<div class="day-box1"> <div class="day-box1">
<p class="day-title">直播</p> <p class="day-title">直播</p>
<p class="day-num">2小時</p> <p class="day-num">2小時</p>
...@@ -188,556 +191,587 @@ ...@@ -188,556 +191,587 @@
<script src="lib/default.js?v='2024061701'"></script> <script src="lib/default.js?v='2024061701'"></script>
<script> <script>
$(function(){ $(function () {
var t1=null var t1 = null
var textObj={ var textObj = {
txt1:"小時", txt1: "小時",
txt2:"獎勵", txt2: "獎勵",
txt3:"總獎勵", txt3: "總獎勵",
}
if(sessionStorage.lang==1){
textObj={
txt1:"hours",
txt2:"Rewards",
txt3:"total reward",
} }
$(".day-top-box-p").text("Today's Goal") if (sessionStorage.lang == 1) {
$("title").text("Live overview") textObj = {
$(".btn-get").addClass("btn-get-en") txt1: "hours",
$(".rule-btn").text('Event Rules >') txt2: "Rewards",
$(".day-box1 .day-title").text('Live') txt3: "total reward",
$(".day-box2 .day-title").text('income') }
$(".day-box3 .day-title").text('Pop Index') $(".day-top-box-p").text("Today's Goal")
$(".day-box4 .day-title").text('Interactive') $("title").text("Live overview")
$(".day-box5 .day-title").text('Pop Index') $(".btn-get").addClass("btn-get-en")
$(".day-box6 .day-title").text("Interactive") $(".rule-btn").text('Event Rules >')
$(".live-top-p2").text("Goals: 2hours") $(".day-box1 .day-title").text('Live')
$(".live-title span").text("Today's Live") $(".day-box2 .day-title").text('income')
$(".top-box-li1 .top-box-content-tips").text("The more people online and giving gifts in the average hourly live room, the higher the Pop Index.") $(".day-box3 .day-title").text('Pop Index')
$(".top-box-li1 .top-box-tips").css("height","3.7rem").css("width","3.8rem") $(".day-box4 .day-title").text('Interactive')
$(".top-box-li1 .top-box-tips1").html('Pop Index: <span></span>') $(".day-box5 .day-title").text('Pop Index')
$(".top-box-li1 .top-box-tips2").html('Avg Online Users: <span></span>') $(".day-box6 .day-title").text("Interactive")
$(".top-box-li1 .top-box-tips3").html('Sending gifts Users: <span></span>') $(".live-top-p2").text("Goals: 2hours")
$(".top-box-li2 .top-box-tips1").html('Interactive index: <span></span>') $(".live-title span").text("Today's Live")
$(".top-box-li2 .top-box-tips2").html('Chat Users: <span></span>') $(".top-box-li1 .top-box-content-tips").text("The more people online and giving gifts in the average hourly live room, the higher the Pop Index.")
$(".top-box-li2 .top-box-tips3").html('Chat Messages: <span></span>') $(".top-box-li1 .top-box-tips").css("height", "3.7rem").css("width", "3.8rem")
$(".top-box-li2 .top-box-content-tips").text("The more people chat in the average hourly live room, the higher the Interactive Index.") $(".top-box-li1 .top-box-tips1").html('Pop Index: <span></span>')
$(".top-box-li3 .top-box-content-tips").text('The more gifts received (increased FEATHERs), the higher the Gift Index') $(".top-box-li1 .top-box-tips2").html('Avg Online Users: <span></span>')
$(".top-box-li2 .top-box-tips").css("height","3.7rem") $(".top-box-li1 .top-box-tips3").html('Sending gifts Users: <span></span>')
$(".top-box-li3 .top-box-tips").css("height","1.8rem") $(".top-box-li2 .top-box-tips1").html('Interactive index: <span></span>')
$(".top-box-li1").addClass("top-box-li1-en") $(".top-box-li2 .top-box-tips2").html('Chat Users: <span></span>')
$(".top-box-li2").addClass("top-box-li2-en") $(".top-box-li2 .top-box-tips3").html('Chat Messages: <span></span>')
$(".top-box-li3").addClass("top-box-li3-en") $(".top-box-li2 .top-box-content-tips").text("The more people chat in the average hourly live room, the higher the Interactive Index.")
$(".tips1").addClass("tips1-en") $(".top-box-li3 .top-box-content-tips").text('The more gifts received (increased FIREs), the higher the Gift Index')
$(".tips2").addClass("tips2-en") $(".top-box-li2 .top-box-tips").css("height", "3.7rem")
$(".tips3").addClass("tips3-en") $(".top-box-li3 .top-box-tips").css("height", "1.8rem")
$(".tips1-ok").css("top","5.38rem").css("left","3.4rem") $(".top-box-li1").addClass("top-box-li1-en")
$(".tips2-ok").css("top","5.4rem").css("left","3.35rem") $(".top-box-li2").addClass("top-box-li2-en")
$(".tips3-ok").css("top","5.55rem").css("left","3.25rem") $(".top-box-li3").addClass("top-box-li3-en")
} $(".tips1").addClass("tips1-en")
if(sessionStorage.lang==8){ $(".tips2").addClass("tips2-en")
textObj={ $(".tips3").addClass("tips3-en")
txt1:"giờ", $(".tips1-ok").css("top", "5.38rem").css("left", "3.4rem")
txt2:"thưởng", $(".tips2-ok").css("top", "5.4rem").css("left", "3.35rem")
txt3:"tổng phần thưởng", $(".tips3-ok").css("top", "5.55rem").css("left", "3.25rem")
} }
$(".day-top-box-p").text("Mục tiêu hôm nay") if (sessionStorage.lang == 8) {
$("title").text("Tổng quan trực tiếp") textObj = {
$(".btn-get").addClass("btn-get-tv") txt1: "giờ",
$(".rule-btn").text('Thể lệ sự kiện') txt2: "thưởng",
$(".day-box1 .day-title").text('Trực tiếp') txt3: "tổng phần thưởng",
$(".day-box2 .day-title").text('thu nhập') }
$(".day-box3 .day-title").text('chỉ số nhạc pop') $(".day-top-box-p").text("Mục tiêu hôm nay")
$(".day-box4 .day-title").text('chỉ số tương tác') $("title").text("Tổng quan trực tiếp")
$(".day-box5 .day-title").text('chỉ số nhạc pop') $(".btn-get").addClass("btn-get-tv")
$(".day-box6 .day-title").text("chỉ số tương tác") $(".rule-btn").text('Thể lệ sự kiện')
$(".live-top-p2").text("Bàn thắng: 2giờ") $(".day-box1 .day-title").text('Trực tiếp')
$(".live-title span").text("Trực tiếp hôm nay") $(".day-box2 .day-title").text('thu nhập')
$(".top-box-li1 .top-box-content-tips").text("Càng nhiều người trực tuyến và tặng quà trong phòng trực tiếp trung bình mỗi giờ, Chỉ số Pop càng cao.") $(".day-box3 .day-title").text('chỉ số nhạc pop')
$(".top-box-li1 .top-box-tips").css("height","4.3rem").css("width","3.9rem") $(".day-box4 .day-title").text('chỉ số tương tác')
$(".top-box-li1 .top-box-content-tips").css("width","3.7rem") $(".day-box5 .day-title").text('chỉ số nhạc pop')
$(".top-box-li1 .top-box-tips1").html('chỉ số nhạc pop: <span></span>') $(".day-box6 .day-title").text("chỉ số tương tác")
$(".top-box-li1 .top-box-tips2").html('Số người dùng trực tuyến trung bình: <span></span>') $(".live-top-p2").text("Bàn thắng: 2giờ")
$(".top-box-li1 .top-box-tips3").html('Số người tặng quà: <span></span>') $(".live-title span").text("Trực tiếp hôm nay")
$(".top-box-li2 .top-box-tips1").html('chỉ số tương tác: <span></span>') $(".top-box-li1 .top-box-content-tips").text("Càng nhiều người trực tuyến và tặng quà trong phòng trực tiếp trung bình mỗi giờ, Chỉ số Pop càng cao.")
$(".top-box-li2 .top-box-tips2").html('Số người trò chuyện: <span></span>') $(".top-box-li1 .top-box-tips").css("height", "4.3rem").css("width", "3.9rem")
$(".top-box-li2 .top-box-tips3").html('Số cuộc trò chuyện: <span></span>') $(".top-box-li1 .top-box-content-tips").css("width", "3.7rem")
$(".top-box-li2 .top-box-content-tips").text("Càng nhiều người trò chuyện trong phòng trực tiếp trung bình mỗi giờ, Chỉ số tương tác càng cao.") $(".top-box-li1 .top-box-tips1").html('chỉ số nhạc pop: <span></span>')
$(".top-box-li3 .top-box-content-tips").text('Nhận càng nhiều quà (tăng LÔNG) thì chỉ số Quà càng cao.') $(".top-box-li1 .top-box-tips2").html('Số người dùng trực tuyến trung bình: <span></span>')
$(".top-box-li2 .top-box-tips").css("height","4.7rem") $(".top-box-li1 .top-box-tips3").html('Số người tặng quà: <span></span>')
$(".top-box-li3 .top-box-tips").css("height","1.8rem") $(".top-box-li2 .top-box-tips1").html('chỉ số tương tác: <span></span>')
$(".top-box-li1").addClass("top-box-li1-tv") $(".top-box-li2 .top-box-tips2").html('Số người trò chuyện: <span></span>')
$(".top-box-li2").addClass("top-box-li2-tv") $(".top-box-li2 .top-box-tips3").html('Số cuộc trò chuyện: <span></span>')
$(".top-box-li3").addClass("top-box-li3-tv") $(".top-box-li2 .top-box-content-tips").text("Càng nhiều người trò chuyện trong phòng trực tiếp trung bình mỗi giờ, Chỉ số tương tác càng cao.")
$(".tips1").addClass("tips1-tv") $(".top-box-li3 .top-box-content-tips").text('Nhận càng nhiều quà (tăng LÔNG) thì chỉ số Quà càng cao.')
$(".tips2").addClass("tips2-tv") $(".top-box-li2 .top-box-tips").css("height", "4.7rem")
$(".tips3").addClass("tips3-tv") $(".top-box-li3 .top-box-tips").css("height", "1.8rem")
$(".tips1-ok").css("top","5.38rem").css("left","3.4rem") $(".top-box-li1").addClass("top-box-li1-tv")
$(".tips2-ok").css("top","5.4rem").css("left","3.35rem") $(".top-box-li2").addClass("top-box-li2-tv")
$(".tips3-ok").css("top","5.55rem").css("left","3.25rem") $(".top-box-li3").addClass("top-box-li3-tv")
//修改越南语样式 $(".tips1").addClass("tips1-tv")
$(".tips3-box").css("left","0rem") $(".tips2").addClass("tips2-tv")
$(".day-box3 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips3").addClass("tips3-tv")
$(".day-box4 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips1-ok").css("top", "5.38rem").css("left", "3.4rem")
$(".day-box5 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips2-ok").css("top", "5.4rem").css("left", "3.35rem")
$(".day-box6 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips3-ok").css("top", "5.55rem").css("left", "3.25rem")
} //修改越南语样式
if(sessionStorage.lang==10){ $(".tips3-box").css("left", "0rem")
textObj={ $(".day-box3 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
txt1:"horas", $(".day-box4 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
txt2:"Premio", $(".day-box5 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
txt3:"recompensa total", $(".day-box6 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
} }
$(".day-top-box-p").text("Objetivo de hoy") if (sessionStorage.lang == 10) {
$("title").text("Visión general en vivo") textObj = {
$(".btn-get").addClass("btn-get-es") txt1: "horas",
$(".rule-btn").text('Reglas del evento >') txt2: "Premio",
$(".day-box1 .day-title").text('En vivo') txt3: "recompensa total",
$(".day-box2 .day-title").text('ingresos') }
$(".day-box3 .day-title").text('Índice pop') $(".day-top-box-p").text("Objetivo de hoy")
$(".day-box4 .day-title").html('Índice de<br> interacción') $("title").text("Visión general en vivo")
$(".day-box5 .day-title").text('Índice pop') $(".btn-get").addClass("btn-get-es")
$(".day-box6 .day-title").html("Índice de<br> interacción") $(".rule-btn").text('Reglas del evento >')
$(".live-top-p2").text("Objetivos: 2horas") $(".day-box1 .day-title").text('En vivo')
$(".live-title span").text("Vivo de hoy") $(".day-box2 .day-title").text('ingresos')
$(".top-box-li1 .top-box-content-tips").text("Cuantas más personas estén en línea y hagan regalos en la sala en vivo de media por hora, mayor será el Índice pop.") $(".day-box3 .day-title").text('Índice pop')
$(".top-box-li1 .top-box-tips").css("height","5.5rem").css("width","4rem") $(".day-box4 .day-title").html('Índice de<br> interacción')
$(".top-box-li1 .top-box-tips1").html('Índice pop: <span></span>') $(".day-box5 .day-title").text('Índice pop')
$(".top-box-li1 .top-box-tips2").html('Usuarios de media en línea: <span></span>') $(".day-box6 .day-title").html("Índice de<br> interacción")
$(".top-box-li1 .top-box-tips3").html('Envío de regalos a usuarios: <span></span>') $(".live-top-p2").text("Objetivos: 2horas")
$(".top-box-li2 .top-box-tips1").html('Índice de interacción: <span></span>') $(".live-title span").text("Vivo de hoy")
$(".top-box-li2 .top-box-tips2").html('Usuarios de chat: <span></span>') $(".top-box-li1 .top-box-content-tips").text("Cuantas más personas estén en línea y hagan regalos en la sala en vivo de media por hora, mayor será el Índice pop.")
$(".top-box-li2 .top-box-tips3").html('Mensajes de chat: <span></span>') $(".top-box-li1 .top-box-tips").css("height", "5.5rem").css("width", "4rem")
$(".top-box-li2 .top-box-content-tips").text("Cuantas más personas chateen en la sala de estar de media por hora, mayor será el Índice de interacción.") $(".top-box-li1 .top-box-tips1").html('Índice pop: <span></span>')
$(".top-box-li3 .top-box-content-tips").text('Cuantos más regalos se reciban (aumento de PLUMAS), mayor será el Índice de regalos') $(".top-box-li1 .top-box-tips2").html('Usuarios de media en línea: <span></span>')
$(".top-box-li2 .top-box-tips").css("height","4.5rem").css("width","4.5rem") $(".top-box-li1 .top-box-tips3").html('Envío de regalos a usuarios: <span></span>')
$(".top-box-li3 .top-box-tips").css("height","2.8rem") $(".top-box-li2 .top-box-tips1").html('Índice de interacción: <span></span>')
$(".top-box-li1").addClass("top-box-li1-es") $(".top-box-li2 .top-box-tips2").html('Usuarios de chat: <span></span>')
$(".top-box-li2").addClass("top-box-li2-es") $(".top-box-li2 .top-box-tips3").html('Mensajes de chat: <span></span>')
$(".top-box-li3").addClass("top-box-li3-es") $(".top-box-li2 .top-box-content-tips").text("Cuantas más personas chateen en la sala de estar de media por hora, mayor será el Índice de interacción.")
$(".tips1").addClass("tips1-es") $(".top-box-li3 .top-box-content-tips").text('Cuantos más regalos se reciban (aumento de PLUMAS), mayor será el Índice de regalos')
$(".tips2").addClass("tips2-es") $(".top-box-li2 .top-box-tips").css("height", "4.5rem").css("width", "4.5rem")
$(".tips3").addClass("tips3-es") $(".top-box-li3 .top-box-tips").css("height", "2.8rem")
$(".tips1-ok").css("top","5.38rem").css("left","3.4rem") $(".top-box-li1").addClass("top-box-li1-es")
$(".tips2-ok").css("top","5.4rem").css("left","3.35rem") $(".top-box-li2").addClass("top-box-li2-es")
$(".tips3-ok").css("top","5.55rem").css("left","3.25rem") $(".top-box-li3").addClass("top-box-li3-es")
//修改越南语样式 $(".tips1").addClass("tips1-es")
$(".tips3-box").css("left","0rem") $(".tips2").addClass("tips2-es")
$(".day-box3 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips3").addClass("tips3-es")
$(".day-box4 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips1-ok").css("top", "5.38rem").css("left", "3.4rem")
$(".day-box5 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips2-ok").css("top", "5.4rem").css("left", "3.35rem")
$(".day-box6 .day-title").css("font-size","0.35rem").css("top","0.42rem").css("left","0.2rem") $(".tips3-ok").css("top", "5.55rem").css("left", "3.25rem")
} //修改越南语样式
$(".tips-shadow").css("height",$(document).height()+'px') $(".tips3-box").css("left", "0rem")
$(".day-box3 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
$(".day-box4 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
$(".day-box5 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
$(".day-box6 .day-title").css("font-size", "0.35rem").css("top", "0.42rem").css("left", "0.2rem")
}
$(".tips-shadow").css("height", $(document).height() + 'px')
try {
let obj = {
"cid": 34,
"data": {
"type": 2,
"imgTxt": $("title").text(),
}
}
let obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
} catch (error) {
console.log(error)
}
var myTime = 0
liveView()
var myTime=0 if (localStorage.one == undefined) {
liveView() localStorage.one = 1
guide()
if(localStorage.one==undefined){ }
localStorage.one=1 function guide() {
guide() $(".tips-shadow").fadeIn(350)
} $(".tips1-box").show()
function guide(){ $(".tips1-ok").unbind("click").on("click", function () {
$(".tips-shadow").fadeIn(350) $(".tips1-box").hide()
$(".tips1-box").show() $(".tips2-box").fadeIn(350)
$(".tips1-ok").unbind("click").on("click",function(){ })
$(".tips1-box").hide() $(".tips2-ok").unbind("click").on("click", function () {
$(".tips2-box").fadeIn(350) scrollTo(".day-box3", 500)
}) $(".tips2-box").hide()
$(".tips2-ok").unbind("click").on("click",function(){ $(".tips3-box").fadeIn(350)
scrollTo(".day-box3",500) })
$(".tips2-box").hide() $(".tips3-ok").unbind("click").on("click", function () {
$(".tips3-box").fadeIn(350) $(".tips-shadow").fadeOut(350)
}) })
$(".tips3-ok").unbind("click").on("click",function(){ }
$(".tips-shadow").fadeOut(350) function liveView() {
}) $.ajax({
} url: $ip + '/actPopularInteractIndex/queryUserIndexInfo.html',
function liveView(){ data: {
$.ajax({ roomId: sessionStorage.uid
url:$ip+'/actPopularInteractIndex/queryUserIndexInfo.html', },
data:{ success: function (data) {
roomId:sessionStorage.uid console.log('查询主播互动指数', data)
}, clearInterval(t1)
success:function(data){ $(".live-title i").text('(' + timeDeal2(data.result.endTodayTimeStamp, data.result.timeStamp)[1] + ':' + timeDeal2(data.result.endTodayTimeStamp, data.result.timeStamp)[2] + ':' + timeDeal2(data.result.endTodayTimeStamp, data.result.timeStamp)[3] + ')')
console.log('查询主播互动指数',data) t1 = setInterval(function () {
clearInterval(t1) data.result.timeStamp += 1000
$(".live-title i").text('('+timeDeal2(data.result.endTodayTimeStamp,data.result.timeStamp)[1]+':'+timeDeal2(data.result.endTodayTimeStamp,data.result.timeStamp)[2]+':'+timeDeal2(data.result.endTodayTimeStamp,data.result.timeStamp)[3]+')') $(".live-title i").text('(' + timeDeal2(data.result.endTodayTimeStamp, data.result.timeStamp)[1] + ':' + timeDeal2(data.result.endTodayTimeStamp, data.result.timeStamp)[2] + ':' + timeDeal2(data.result.endTodayTimeStamp, data.result.timeStamp)[3] + ')')
t1=setInterval(function(){ }, 1000)
data.result.timeStamp+=1000 $(".day-box1,.day-box2,.day-box3,.day-box4,.day-box5,.day-box6").unbind("click")
$(".live-title i").text('('+timeDeal2(data.result.endTodayTimeStamp,data.result.timeStamp)[1]+':'+timeDeal2(data.result.endTodayTimeStamp,data.result.timeStamp)[2]+':'+timeDeal2(data.result.endTodayTimeStamp,data.result.timeStamp)[3]+')') $(".day-box1").on("click", function () {
},1000) if (data.result.liveTimeData.hour < 2) {
$(".day-box1,.day-box2,.day-box3,.day-box4,.day-box5,.day-box6").unbind("click") if (sessionStorage.lang == 1) layer.msg("Other rewards can be received after <br> the live broadcast reaches 2 hours")
$(".day-box1").on("click",function(){ else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận được<br> sau khi phát sóng trực tiếp đạt 2 giờ")
if(data.result.liveTimeData.hour<2){ else if (sessionStorage.lang == 10) layer.msg("Se pueden recibir otras recompensas una vez<br> que la transmisión en vivo llegue a las 2 horas")
if(sessionStorage.lang==1) layer.msg("Other rewards can be received after <br> the live broadcast reaches 2 hours") else layer.msg("直播達到2小時后可領取其他獎勵")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận được<br> sau khi phát sóng trực tiếp đạt 2 giờ") } else {
else if(sessionStorage.lang==10)layer.msg("Se pueden recibir otras recompensas una vez<br> que la transmisión en vivo llegue a las 2 horas") if (sessionStorage.lang == 1) layer.msg("The live broadcast goals have been achieved, you can continued <br> to complete other goals to receive rewards")
else layer.msg("直播達到2小時后可領取其他獎勵") else if (sessionStorage.lang == 8) layer.msg("Các mục tiêu phát sóng trực tiếp đã đạt <br> được, bạn có thể tiếp tục hoàn thành các mục tiêu khác để nhận phần thưởng")
}else{ else if (sessionStorage.lang == 10) layer.msg("Una vez conseguidos los objetivos de la transmisión en vivo,<br> puede seguir completando otros objetivos para recibir recompensas.")
if(sessionStorage.lang==1) layer.msg("The live broadcast goals have been achieved, you can continued <br> to complete other goals to receive rewards") else layer.msg("直播目標已達成,可完成其他目標獎勵")
else if(sessionStorage.lang==8)layer.msg("Các mục tiêu phát sóng trực tiếp đã đạt <br> được, bạn có thể tiếp tục hoàn thành các mục tiêu khác để nhận phần thưởng")
else if(sessionStorage.lang==10)layer.msg("Una vez conseguidos los objetivos de la transmisión en vivo,<br> puede seguir completando otros objetivos para recibir recompensas.") }
else layer.msg("直播目標已達成,可完成其他目標獎勵")
}
})
if(data.result.bondsData.bonds<3000){
$(".day-box2").on("click",function(){
if(sessionStorage.lang==1)layer.msg("Rewards can be received after <br> reaching "+data.result.bondsData.bondsTarget1+" Feathers")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận được sau <br> khi đạt "+data.result.bondsData.bondsTarget1+" lông vũ")
else if(sessionStorage.lang==10)layer.msg("Phần thưởng có thể nhận được sau <br> khi đạt "+data.result.bondsData.bondsTarget1+" lông vũ")
else layer.msg("收益到達"+data.result.bondsData.bondsTarget1+"羽毛后可領取")
}) })
} if (data.result.bondsData.bonds < 3000) {
$(".day-box3").on("click",function(){ $(".day-box2").on("click", function () {
if(sessionStorage.lang==1) layer.msg("Rewards can be received after the Pop <br> Index reaches "+data.result.popualrData.popularTarget1+"") if (sessionStorage.lang == 1) layer.msg("Rewards can be received after <br> reaching " + data.result.bondsData.bondsTarget1 + " FIREs")
else if(sessionStorage.lang==8)layer.msg('Phần thưởng có thể nhận được sau khi <br> Chỉ số Pop đạt '+data.result.popualrData.popularTarget1+'') else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận được sau <br> khi đạt " + data.result.bondsData.bondsTarget1 + " lông vũ")
else if(sessionStorage.lang==10)layer.msg('Las recompensas se pueden recibir después <br> de que el Índice pop alcanza las '+data.result.popualrData.popularTarget1+'') else if (sessionStorage.lang == 10) layer.msg("Phần thưởng có thể nhận được sau <br> khi đạt " + data.result.bondsData.bondsTarget1 + " lông vũ")
else layer.msg("人氣指數到達"+data.result.popualrData.popularTarget1+"后可領取") else layer.msg("收益到達" + data.result.bondsData.bondsTarget1 + "螢火后可領取")
})
}) }
$(".day-box4").on("click",function(){ $(".day-box3").on("click", function () {
if(sessionStorage.lang==1) layer.msg("Rewards can be received after <br> the Interactive index reaches "+data.result.interactData.interactTarget1+"") if (sessionStorage.lang == 1) layer.msg("Rewards can be received after the Pop <br> Index reaches " + data.result.popualrData.popularTarget1 + "")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận sau khi chỉ số <br> Tương tác đạt "+data.result.interactData.interactTarget1+"") else if (sessionStorage.lang == 8) layer.msg('Phần thưởng có thể nhận được sau khi <br> Chỉ số Pop đạt ' + data.result.popualrData.popularTarget1 + '')
else if(sessionStorage.lang==10)layer.msg("Las recompensas se pueden recibir después <br> de que el interacción alcanza las "+data.result.interactData.interactTarget1+"") else if (sessionStorage.lang == 10) layer.msg('Las recompensas se pueden recibir después <br> de que el Índice pop alcanza las ' + data.result.popualrData.popularTarget1 + '')
else layer.msg("互動指數到達"+data.result.interactData.interactTarget1+"后可領取") else layer.msg("人氣指數到達" + data.result.popualrData.popularTarget1 + "后可領取")
})
$(".day-box5").on("click",function(){
if(sessionStorage.lang==1) layer.msg("Rewards can be received after <br> the Pop Index reaches "+data.result.popualrData.popularTarget2+"")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận được sau khi <br> Chỉ số Pop đạt "+data.result.popualrData.popularTarget2+"")
else if(sessionStorage.lang==10)layer.msg("Las recompensas se pueden recibir después >nr? de que el Índice pop alcanza las "+data.result.popualrData.popularTarget2+"")
else layer.msg("人氣指數到達"+data.result.popualrData.popularTarget2+"后可領取")
})
$(".day-box6").on("click",function(){
if(sessionStorage.lang==1) layer.msg("Rewards can be received after <br> the Interactive index reaches "+data.result.interactData.interactTarget2+"")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận sau khi chỉ số <br> Tương tác đạt "+data.result.interactData.interactTarget2+"")
else if(sessionStorage.lang==10)layer.msg("Las recompensas se pueden recibir después <br> de que el interacción alcanza las "+data.result.interactData.interactTarget2+"")
else layer.msg("互動指數到達"+data.result.interactData.interactTarget2+"后可領取")
})
//直播时长
myTime=data.result.liveTimeData.hour
$(".day-box1 .day-num").html(''+data.result.liveTimeData.hourTarget+''+textObj.txt1+'')
$(".live-top-p1").text(''+data.result.liveTimeData.hour+''+textObj.txt1+'')
var barWidth=Math.floor((data.result.liveTimeData.hour/data.result.liveTimeData.hourTarget)*100)
if(barWidth>100)barWidth=100
$(".day-box1 .percentage-num").text(''+barWidth+'%')
$(".day-box1 .bar-nav").css("width",barWidth+"%")
//主播收益
$(".top-box-li3 p").text(data.result.bondsData.bonds)
$(".day-box2 .day-num").html('<img src="images/7590/fire1.png?v=2023050901">'+data.result.bondsData.bondsReward1+'')
var barWidth=Math.floor((data.result.bondsData.bonds/data.result.bondsData.bondsTarget1)*100)
if(barWidth>100)barWidth=100
$(".day-box2 .bar-nav").css("width",""+barWidth+"%")
$(".day-box2 .percentage-num").text(''+barWidth+'%')
$(".day-box2 .award-box").html(''+textObj.txt2+': <img src="images/7590/fire2.png?v=2023050901"> '+data.result.bondsData.bondsTarget1+'')
//人气收益1
$(".day-box3 .day-num").text(data.result.popualrData.popularTarget1)
$(".day-box3 .award-box").html(''+textObj.txt2+': <img src="images/7590/fire2.png?v=2023050901"> '+data.result.popualrData.popularReward1+'')
var barWidth=Math.floor((data.result.popualrData.popualr/data.result.popualrData.popularTarget1)*100)
if(barWidth>100)barWidth=100
$(".day-box3 .percentage-num").text(''+barWidth+'%')
$(".day-box3 .bar-nav").css("width",""+barWidth+"%")
if(data.result.statusData.popularStatus1==0&&barWidth==100){
$(".day-box3 .bar-big-box").hide()
$(".day-box3 .btn-get").show()
$(".day-box3 .btn-get").unbind("click").on("click",function(){
if(sessionStorage.lang==1) layer.msg("Other rewards can be received after <br> the live broadcast reaches 2 hours")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận được<br> sau khi phát sóng trực tiếp đạt 2 giờ")
else if(sessionStorage.lang==10)layer.msg("Se pueden recibir otras recompensas una vez<br> que la transmisión en vivo llegue a las 2 horas")
else layer.msg("直播達到2小時后可領取其他獎勵")
event.stopPropagation();
return;
})
}
//人气收益2
$(".day-box5 .day-num").text(data.result.popualrData.popularTarget2)
$(".day-box5 .award-box").html(''+textObj.txt2+': <img src="images/7590/fire2.png?v=2023050901"> '+data.result.popualrData.popularReward2+'')
var barWidth=Math.floor((data.result.popualrData.popualr/data.result.popualrData.popularTarget2)*100)
if(barWidth>100)barWidth=100
$(".day-box5 .percentage-num").text(''+barWidth+'%')
$(".day-box5 .bar-nav").css("width",""+barWidth+"%")
//互动收益1
$(".day-box4 .day-num").text(data.result.interactData.interactTarget1)
$(".day-box4 .award-box").html(''+textObj.txt2+': <img src="images/7590/fire2.png?v=2023050901"> '+data.result.interactData.interactReward1+'')
var barWidth=Math.floor((data.result.interactData.interact/data.result.interactData.interactTarget1)*100)
if(barWidth>100)barWidth=100
$(".day-box4 .percentage-num").text(''+barWidth+'%')
$(".day-box4 .bar-nav").css("width",""+barWidth+"%")
//互动收益2
$(".day-box6 .day-num").text(data.result.interactData.interactTarget2)
$(".day-box6 .award-box").html(''+textObj.txt2+': <img src="images/7590/fire2.png?v=2023050901"> '+data.result.interactData.interactReward2+'')
var barWidth=Math.floor((data.result.interactData.interact/data.result.interactData.interactTarget2)*100)
if(barWidth>100)barWidth=100
$(".day-box6 .percentage-num").text(''+barWidth+'%')
$(".day-box6 .bar-nav").css("width",""+barWidth+"%")
var allNum=data.result.interactData.interactReward1+data.result.interactData.interactReward2+data.result.popualrData.popularReward1+data.result.popualrData.popularReward2+data.result.bondsData.bondsReward1
$(".day-top-box-p2").html(''+textObj.txt3+' : <img src="images/7590/fire1.png?v=2023050901" alt=""><span>'+allNum+'</span>')
//顶部数据
$(".top-box-li1 >p").text(data.result.popualrData.popualr)
$(".top-box-li2 >p").text(data.result.interactData.interact)
$(".top-box-li3 >p").text(data.result.bondsData.bonds)
var value1=Math.floor((data.result.bondsData.bonds/data.result.bondsData.bondsTarget1)*100)
if(value1>100)value1=100
if(value1==0)value1=1
var value2=Math.floor((data.result.interactData.interact/data.result.interactData.interactReward2)*100)
if(value2>100)value2=100
if(value2==0)value2=1
var value3=Math.floor((data.result.popualrData.popualr/data.result.popualrData.popularReward2)*100)
if(value3>100)value3=100
if(value3==0)value3=1
$(".circleChart1").circleChart({
value: value3,
startAngle: 75,
speed: 0,
animation: "easeInOutCubic",
color: "#FE5DA3",
backgroundColor: "#FFC6DF",
size: 340,
lineCap: "round",
});
$(".circleChart2").circleChart({
value: value2,
startAngle: 75,
speed: 0,
animation: "easeInOutCubic",
color: "#5BE7DC",
backgroundColor: "#C6F7F3",
size: 268,
lineCap: "round",
widthRatio: 0.25,
});
$(".circleChart3").circleChart({
value: value1,
startAngle: 75,
speed: 0,
animation: "easeInOutCubic",
color: "#B993FA",
backgroundColor: "#E7D9FC",
size: 198,
lineCap: "round",
widthRatio: 0.3,
});
$(".top-box-li1 .top-box-tips1 span").text(data.result.popualrData.popualr)
$(".top-box-li1 .top-box-tips2 span").text(data.result.liveAvgOnline)
$(".top-box-li1 .top-box-tips3 span").text(data.result.giftDriverTotal)
$(".top-box-li2 .top-box-tips1 span").text(data.result.interactData.interact)
$(".top-box-li2 .top-box-tips2 span").text(data.result.speakDriverTotal)
$(".top-box-li2 .top-box-tips3 span").text(data.result.speakSendTotal)
$("body").unbind("click").on("click",function(){
$(".top-box-li1 .top-box-tips").hide()
$(".top-box-li2 .top-box-tips").hide()
$(".top-box-li3 .top-box-tips").hide()
})
$(".top-box-li1").unbind("click").on("click",function(){
setTimeout(function(){
$(".top-box-li1 .top-box-tips").fadeIn(200)
},100)
}) })
$(".top-box-li2").unbind("click").on("click",function(){ $(".day-box4").on("click", function () {
setTimeout(function(){ if (sessionStorage.lang == 1) layer.msg("Rewards can be received after <br> the Interactive index reaches " + data.result.interactData.interactTarget1 + "")
$(".top-box-li2 .top-box-tips").fadeIn(200) else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận sau khi chỉ số <br> Tương tác đạt " + data.result.interactData.interactTarget1 + "")
},100) else if (sessionStorage.lang == 10) layer.msg("Las recompensas se pueden recibir después <br> de que el interacción alcanza las " + data.result.interactData.interactTarget1 + "")
}) else layer.msg("互動指數到達" + data.result.interactData.interactTarget1 + "后可領取")
$(".top-box-li3").unbind("click").on("click",function(){
setTimeout(function(){
$(".top-box-li3 .top-box-tips").fadeIn(200)
},100)
})
//領取狀態
if(data.result.statusData.bondsStatus==1){
$(".day-box2 .bar-big-box").hide()
$(".day-box2 .btn-get").show()
$(".day-box2").unbind("click")
}
if(data.result.statusData.bondsStatus==2){
var html=[];
html+='<div class="box-shadow">';
html+='<img class="check" src="images/check.png" alt="">';
html+='</div>';
$(".day-box2").append(html)
}
if(data.result.statusData.popularStatus1==1){
$(".day-box3 .bar-big-box").hide()
$(".day-box3 .btn-get").show()
$(".day-box3").unbind("click")
}
if(data.result.statusData.popularStatus1==2){
var html=[];
html+='<div class="box-shadow">';
html+='<img class="check" src="images/check.png" alt="">';
html+='</div>';
$(".day-box3").append(html)
$(".day-box3").unbind("click")
}
if(data.result.statusData.interactStatus1==1){
$(".day-box4 .bar-big-box").hide()
$(".day-box4 .btn-get").show()
$(".day-box4").unbind("click")
}
if(data.result.statusData.interactStatus1==2){
var html=[];
html+='<div class="box-shadow">';
html+='<img class="check" src="images/check.png" alt="">';
html+='</div>';
$(".day-box4").append(html)
$(".day-box4").unbind("click")
}
if(data.result.statusData.popularStatus2==1){
$(".day-box5 .bar-big-box").hide()
$(".day-box5 .btn-get").show()
$(".day-box5").unbind("click")
}
if(data.result.statusData.popularStatus2==2){
var html=[];
html+='<div class="box-shadow">';
html+='<img class="check" src="images/check.png" alt="">';
html+='</div>';
$(".day-box5").append(html)
$(".day-box5").unbind("click")
}
if(data.result.statusData.interactStatus2==1){
$(".day-box6 .bar-big-box").hide()
$(".day-box6 .btn-get").show()
$(".day-box6").unbind("click")
}
if(data.result.statusData.interactStatus2==2){
var html=[];
html+='<div class="box-shadow">';
html+='<img class="check" src="images/check.png" alt="">';
html+='</div>';
$(".day-box6").append(html)
$(".day-box6").unbind("click")
}
if(data.result.statusData.popularStatus1==0){
var html=[];
html+='<div class="box-shadow">';
html+='<img class="lock" src="images/lock.png" alt="">';
html+='</div>';
$(".day-box4 ,.day-box5").append(html)
$(".day-box4").unbind("click").on("click",function(){
if(sessionStorage.lang==1)layer.msg("It can be unlocked after <br> the Pop Index reaches"+data.result.popualrData.popularTarget1+"")
else if(sessionStorage.lang==8)layer.msg("Nó có thể được mở khóa sau khi Chỉ <br> số Pop đạt "+data.result.popualrData.popularTarget1+"")
else if(sessionStorage.lang==10)layer.msg("Se puede desbloquear cuando el Índice pop alcanza las "+data.result.popualrData.popularTarget1+"")
else layer.msg("人氣指數達到"+data.result.popualrData.popularTarget1+"后可解鎖")
})
$(".day-box5").unbind("click").on("click",function(){
if(sessionStorage.lang==1)layer.msg("It can be unlocked after <br> the Pop Index reaches"+data.result.popualrData.popularTarget1+"")
else if(sessionStorage.lang==8)layer.msg("Nó có thể được mở khóa sau khi Chỉ <br> số Pop đạt "+data.result.popualrData.popularTarget1+"")
else if(sessionStorage.lang==10)layer.msg("Se puede desbloquear cuando el Índice pop alcanza las "+data.result.popualrData.popularTarget1+"")
else layer.msg("人氣指數達到"+data.result.popualrData.popularTarget1+"后可解鎖")
})
}
if(data.result.statusData.popularStatus2==0){ })
var html=[]; $(".day-box5").on("click", function () {
html+='<div class="box-shadow">'; if (sessionStorage.lang == 1) layer.msg("Rewards can be received after <br> the Pop Index reaches " + data.result.popualrData.popularTarget2 + "")
html+='<img class="lock" src="images/lock.png" alt="">'; else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận được sau khi <br> Chỉ số Pop đạt " + data.result.popualrData.popularTarget2 + "")
html+='</div>'; else if (sessionStorage.lang == 10) layer.msg("Las recompensas se pueden recibir después >nr? de que el Índice pop alcanza las " + data.result.popualrData.popularTarget2 + "")
$(".day-box6").append(html) else layer.msg("人氣指數到達" + data.result.popualrData.popularTarget2 + "后可領取")
$(".day-box6").unbind("click").on("click",function(){
if(sessionStorage.lang==1) layer.msg("It can be unlocked after <br> the Pop Index reaches"+data.result.popualrData.popularTarget2+"") })
else if(sessionStorage.lang==8)layer.msg("Nó có thể được mở khóa sau khi Chỉ <br> số Pop đạt "+data.result.popualrData.popularTarget2+"") $(".day-box6").on("click", function () {
else if(sessionStorage.lang==10)layer.msg("Se puede desbloquear cuando el Índice pop alcanza las "+data.result.popualrData.popularTarget2+"") if (sessionStorage.lang == 1) layer.msg("Rewards can be received after <br> the Interactive index reaches " + data.result.interactData.interactTarget2 + "")
else layer.msg("人氣指數達到"+data.result.popualrData.popularTarget2+"后可解鎖") else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận sau khi chỉ số <br> Tương tác đạt " + data.result.interactData.interactTarget2 + "")
else if (sessionStorage.lang == 10) layer.msg("Las recompensas se pueden recibir después <br> de que el interacción alcanza las " + data.result.interactData.interactTarget2 + "")
}) else layer.msg("互動指數到達" + data.result.interactData.interactTarget2 + "后可領取")
} })
// if(data.result.liveTimeData.hour<2){ //直播时长
// var html=[]; myTime = data.result.liveTimeData.hour
// html+='<div class="box-shadow">'; $(".day-box1 .day-num").html('' + data.result.liveTimeData.hourTarget + '' + textObj.txt1 + '')
// html+='<img class="lock" src="images/lock.png" alt="">'; $(".live-top-p1").text('' + data.result.liveTimeData.hour + '' + textObj.txt1 + '')
// html+='</div>'; var barWidth = Math.floor((data.result.liveTimeData.hour / data.result.liveTimeData.hourTarget) * 100)
// $(".day-box5,.day-box6").append(html) if (barWidth > 100) barWidth = 100
// } $(".day-box1 .percentage-num").text('' + barWidth + '%')
} $(".day-box1 .bar-nav").css("width", barWidth + "%")
}) //主播收益
$(".top-box-li3 p").text(data.result.bondsData.bonds)
$(".day-box2 .day-num").html('<img src="images/7590/fire1.png?v=2023050901">' + data.result.bondsData.bondsReward1 + '')
var barWidth = Math.floor((data.result.bondsData.bonds / data.result.bondsData.bondsTarget1) * 100)
if (barWidth > 100) barWidth = 100
$(".day-box2 .bar-nav").css("width", "" + barWidth + "%")
$(".day-box2 .percentage-num").text('' + barWidth + '%')
$(".day-box2 .award-box").html('' + textObj.txt2 + ': <img src="images/7590/fire2.png?v=2023050901"> ' + data.result.bondsData.bondsTarget1 + '')
//人气收益1
$(".day-box3 .day-num").text(data.result.popualrData.popularTarget1)
$(".day-box3 .award-box").html('' + textObj.txt2 + ': <img src="images/7590/fire2.png?v=2023050901"> ' + data.result.popualrData.popularReward1 + '')
var barWidth = Math.floor((data.result.popualrData.popualr / data.result.popualrData.popularTarget1) * 100)
if (barWidth > 100) barWidth = 100
$(".day-box3 .percentage-num").text('' + barWidth + '%')
$(".day-box3 .bar-nav").css("width", "" + barWidth + "%")
if (data.result.statusData.popularStatus1 == 0 && barWidth == 100) {
$(".day-box3 .bar-big-box").hide()
$(".day-box3 .btn-get").show()
$(".day-box3 .btn-get").unbind("click").on("click", function () {
if (sessionStorage.lang == 1) layer.msg("Other rewards can be received after <br> the live broadcast reaches 2 hours")
else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận được<br> sau khi phát sóng trực tiếp đạt 2 giờ")
else if (sessionStorage.lang == 10) layer.msg("Se pueden recibir otras recompensas una vez<br> que la transmisión en vivo llegue a las 2 horas")
else layer.msg("直播達到2小時后可領取其他獎勵")
event.stopPropagation();
return;
})
}
//人气收益2
$(".day-box5 .day-num").text(data.result.popualrData.popularTarget2)
$(".day-box5 .award-box").html('' + textObj.txt2 + ': <img src="images/7590/fire2.png?v=2023050901"> ' + data.result.popualrData.popularReward2 + '')
var barWidth = Math.floor((data.result.popualrData.popualr / data.result.popualrData.popularTarget2) * 100)
if (barWidth > 100) barWidth = 100
$(".day-box5 .percentage-num").text('' + barWidth + '%')
$(".day-box5 .bar-nav").css("width", "" + barWidth + "%")
//互动收益1
$(".day-box4 .day-num").text(data.result.interactData.interactTarget1)
$(".day-box4 .award-box").html('' + textObj.txt2 + ': <img src="images/7590/fire2.png?v=2023050901"> ' + data.result.interactData.interactReward1 + '')
var barWidth = Math.floor((data.result.interactData.interact / data.result.interactData.interactTarget1) * 100)
if (barWidth > 100) barWidth = 100
$(".day-box4 .percentage-num").text('' + barWidth + '%')
$(".day-box4 .bar-nav").css("width", "" + barWidth + "%")
//互动收益2
$(".day-box6 .day-num").text(data.result.interactData.interactTarget2)
$(".day-box6 .award-box").html('' + textObj.txt2 + ': <img src="images/7590/fire2.png?v=2023050901"> ' + data.result.interactData.interactReward2 + '')
var barWidth = Math.floor((data.result.interactData.interact / data.result.interactData.interactTarget2) * 100)
if (barWidth > 100) barWidth = 100
$(".day-box6 .percentage-num").text('' + barWidth + '%')
$(".day-box6 .bar-nav").css("width", "" + barWidth + "%")
var allNum = data.result.interactData.interactReward1 + data.result.interactData.interactReward2 + data.result.popualrData.popularReward1 + data.result.popualrData.popularReward2 + data.result.bondsData.bondsReward1
$(".day-top-box-p2").html('' + textObj.txt3 + ' : <img src="images/7590/fire1.png?v=2023050901" alt=""><span>' + allNum + '</span>')
//顶部数据
$(".top-box-li1 >p").text(data.result.popualrData.popualr)
$(".top-box-li2 >p").text(data.result.interactData.interact)
$(".top-box-li3 >p").text(data.result.bondsData.bonds)
var value1 = Math.floor((data.result.bondsData.bonds / data.result.bondsData.bondsTarget1) * 100)
if (value1 > 100) value1 = 100
if (value1 == 0) value1 = 1
var value2 = Math.floor((data.result.interactData.interact / data.result.interactData.interactReward2) * 100)
if (value2 > 100) value2 = 100
if (value2 == 0) value2 = 1
var value3 = Math.floor((data.result.popualrData.popualr / data.result.popualrData.popularReward2) * 100)
if (value3 > 100) value3 = 100
if (value3 == 0) value3 = 1
$(".circleChart1").circleChart({
value: value3,
startAngle: 75,
speed: 0,
animation: "easeInOutCubic",
color: "#FE5DA3",
backgroundColor: "#FFC6DF",
size: 340,
lineCap: "round",
});
$(".circleChart2").circleChart({
value: value2,
startAngle: 75,
speed: 0,
animation: "easeInOutCubic",
color: "#5BE7DC",
backgroundColor: "#C6F7F3",
size: 268,
lineCap: "round",
widthRatio: 0.25,
});
$(".circleChart3").circleChart({
value: value1,
startAngle: 75,
speed: 0,
animation: "easeInOutCubic",
color: "#B993FA",
backgroundColor: "#E7D9FC",
size: 198,
lineCap: "round",
widthRatio: 0.3,
});
$(".top-box-li1 .top-box-tips1 span").text(data.result.popualrData.popualr)
$(".top-box-li1 .top-box-tips2 span").text(data.result.liveAvgOnline)
$(".top-box-li1 .top-box-tips3 span").text(data.result.giftDriverTotal)
$(".top-box-li2 .top-box-tips1 span").text(data.result.interactData.interact)
$(".top-box-li2 .top-box-tips2 span").text(data.result.speakDriverTotal)
$(".top-box-li2 .top-box-tips3 span").text(data.result.speakSendTotal)
$("body").unbind("click").on("click", function () {
$(".top-box-li1 .top-box-tips").hide()
$(".top-box-li2 .top-box-tips").hide()
$(".top-box-li3 .top-box-tips").hide()
})
$(".top-box-li1").unbind("click").on("click", function () {
setTimeout(function () {
$(".top-box-li1 .top-box-tips").fadeIn(200)
}, 100)
})
$(".top-box-li2").unbind("click").on("click", function () {
setTimeout(function () {
$(".top-box-li2 .top-box-tips").fadeIn(200)
}, 100)
})
$(".top-box-li3").unbind("click").on("click", function () {
setTimeout(function () {
$(".top-box-li3 .top-box-tips").fadeIn(200)
}, 100)
})
//領取狀態
if (data.result.statusData.bondsStatus == 1) {
$(".day-box2 .bar-big-box").hide()
$(".day-box2 .btn-get").show()
$(".day-box2").unbind("click")
}
if (data.result.statusData.bondsStatus == 2) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="check" src="images/check.png" alt="">';
html += '</div>';
$(".day-box2").append(html)
}
if (data.result.statusData.popularStatus1 == 1) {
$(".day-box3 .bar-big-box").hide()
$(".day-box3 .btn-get").show()
$(".day-box3").unbind("click")
}
if (data.result.statusData.popularStatus1 == 2) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="check" src="images/check.png" alt="">';
html += '</div>';
$(".day-box3").append(html)
$(".day-box3").unbind("click")
}
if (data.result.statusData.interactStatus1 == 1) {
$(".day-box4 .bar-big-box").hide()
$(".day-box4 .btn-get").show()
$(".day-box4").unbind("click")
}
if (data.result.statusData.interactStatus1 == 2) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="check" src="images/check.png" alt="">';
html += '</div>';
$(".day-box4").append(html)
$(".day-box4").unbind("click")
}
if (data.result.statusData.popularStatus2 == 1) {
$(".day-box5 .bar-big-box").hide()
$(".day-box5 .btn-get").show()
$(".day-box5").unbind("click")
}
if (data.result.statusData.popularStatus2 == 2) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="check" src="images/check.png" alt="">';
html += '</div>';
$(".day-box5").append(html)
$(".day-box5").unbind("click")
}
if (data.result.statusData.interactStatus2 == 1) {
$(".day-box6 .bar-big-box").hide()
$(".day-box6 .btn-get").show()
$(".day-box6").unbind("click")
}
if (data.result.statusData.interactStatus2 == 2) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="check" src="images/check.png" alt="">';
html += '</div>';
$(".day-box6").append(html)
$(".day-box6").unbind("click")
}
if (data.result.statusData.popularStatus1 == 0) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="lock" src="images/lock.png" alt="">';
html += '</div>';
$(".day-box4 ,.day-box5").append(html)
$(".day-box4").unbind("click").on("click", function () {
if (sessionStorage.lang == 1) layer.msg("It can be unlocked after <br> the Pop Index reaches" + data.result.popualrData.popularTarget1 + "")
else if (sessionStorage.lang == 8) layer.msg("Nó có thể được mở khóa sau khi Chỉ <br> số Pop đạt " + data.result.popualrData.popularTarget1 + "")
else if (sessionStorage.lang == 10) layer.msg("Se puede desbloquear cuando el Índice pop alcanza las " + data.result.popualrData.popularTarget1 + "")
else layer.msg("人氣指數達到" + data.result.popualrData.popularTarget1 + "后可解鎖")
})
$(".day-box5").unbind("click").on("click", function () {
if (sessionStorage.lang == 1) layer.msg("It can be unlocked after <br> the Pop Index reaches" + data.result.popualrData.popularTarget1 + "")
else if (sessionStorage.lang == 8) layer.msg("Nó có thể được mở khóa sau khi Chỉ <br> số Pop đạt " + data.result.popualrData.popularTarget1 + "")
else if (sessionStorage.lang == 10) layer.msg("Se puede desbloquear cuando el Índice pop alcanza las " + data.result.popualrData.popularTarget1 + "")
else layer.msg("人氣指數達到" + data.result.popualrData.popularTarget1 + "后可解鎖")
})
}
if (data.result.statusData.popularStatus2 == 0) {
var html = [];
html += '<div class="box-shadow">';
html += '<img class="lock" src="images/lock.png" alt="">';
html += '</div>';
$(".day-box6").append(html)
$(".day-box6").unbind("click").on("click", function () {
if (sessionStorage.lang == 1) layer.msg("It can be unlocked after <br> the Pop Index reaches" + data.result.popualrData.popularTarget2 + "")
else if (sessionStorage.lang == 8) layer.msg("Nó có thể được mở khóa sau khi Chỉ <br> số Pop đạt " + data.result.popualrData.popularTarget2 + "")
else if (sessionStorage.lang == 10) layer.msg("Se puede desbloquear cuando el Índice pop alcanza las " + data.result.popualrData.popularTarget2 + "")
else layer.msg("人氣指數達到" + data.result.popualrData.popularTarget2 + "后可解鎖")
})
}
// if(data.result.liveTimeData.hour<2){
// var html=[];
// html+='<div class="box-shadow">';
// html+='<img class="lock" src="images/lock.png" alt="">';
// html+='</div>';
// $(".day-box5,.day-box6").append(html)
// }
}
})
}
$(".btn-get").unbind("click").on("click",function(){
var _self=$(this).attr("data-type")
if(myTime<2){
if(sessionStorage.lang==1) layer.msg("Other rewards can be received after the live broadcast reaches 2 hours")
else if(sessionStorage.lang==8)layer.msg("Phần thưởng có thể nhận được sau khi phát sóng trực tiếp đạt 2 giờ")
else if(sessionStorage.lang==10)layer.msg("Se pueden recibir otras recompensas una vez que la transmisión en vivo llegue a las 2 horas")
else layer.msg("直播達到2小時后可領取其他獎勵")
return;
} }
$.ajax({ $(".btn-get").unbind("click").on("click", function () {
url:$ip+'/actPopularInteractIndex/receiveReward.html', var _self = $(this).attr("data-type")
data:{ if (myTime < 2) {
roomId:sessionStorage.uid, if (sessionStorage.lang == 1) layer.msg("Other rewards can be received after the live broadcast reaches 2 hours")
lang:sessionStorage.lang, else if (sessionStorage.lang == 8) layer.msg("Phần thưởng có thể nhận được sau khi phát sóng trực tiếp đạt 2 giờ")
rewardType:_self else if (sessionStorage.lang == 10) layer.msg("Se pueden recibir otras recompensas una vez que la transmisión en vivo llegue a las 2 horas")
}, else layer.msg("直播達到2小時后可領取其他獎勵")
success:function(data){ return;
console.log('领取奖励',data) }
if(data.code!=1){ $.ajax({
url: $ip + '/actPopularInteractIndex/receiveReward.html',
data: {
roomId: sessionStorage.uid,
lang: sessionStorage.lang,
rewardType: _self
},
success: function (data) {
console.log('领取奖励', data)
if (data.code != 1) {
layer.msg(data.msg)
return;
}
liveView()
layer.msg(data.msg) layer.msg(data.msg)
return;
} }
liveView() })
layer.msg(data.msg) event.stopPropagation();
}
}) })
event.stopPropagation(); function webAppCollaboration(msg) {
}) let sUserAgent = navigator.userAgent.toLowerCase();
// 定义一个新cid=30(注意以上打开的所有网页都可以使用cid=14关闭网页来主动关闭) let bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
// popupType 1全屏 2半屏 3浮动屏(默认居中) let bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
// heightR 弹窗高度 单位vw(是指相对于视口的宽度;视口会被均分为100单位的vw,则1vw等于视口宽度的1%) let bIsMidp = sUserAgent.match(/midp/i) == "midp";
// widthR 弹窗宽度 单位vw let bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
// clickBlank 点击页面外区域是否关闭 0不关闭 1关闭 let bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
// url: 需要打开的页面的url(默认拼接uid token roomid,判断链接是否有已带参数如果有参数拼接& 符号,如无带有参数拼接? 符号) let bIsAndroid = sUserAgent.match(/android/i) == "android";
// top: 距离顶部位置 单位vw let bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
// left: 距离左边位置 单位vw let bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
// bottom: 距离底部位置 单位vw if (!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) {
// right: 距离右边位置 单位vw }
else if (bIsAndroid) {
// 如 popupType ==1时 只需要用到url参数 window.yazhai.appCollaboration(msg);
// 如 popupType ==2时 用到heightR clickBlank url 三个参数 } else if (bIsIphoneOs || bIsIpad) {
// 如 popupType ==3时 优先级 top>bottom left>right (如果没传相关参数,即居中显示) window.webkit.messageHandlers.appCollaboration.postMessage(msg);
}
}
// 定义一个新cid=30(注意以上打开的所有网页都可以使用cid=14关闭网页来主动关闭)
// popupType 1全屏 2半屏 3浮动屏(默认居中)
// heightR 弹窗高度 单位vw(是指相对于视口的宽度;视口会被均分为100单位的vw,则1vw等于视口宽度的1%)
// widthR 弹窗宽度 单位vw
// clickBlank 点击页面外区域是否关闭 0不关闭 1关闭
// url: 需要打开的页面的url(默认拼接uid token roomid,判断链接是否有已带参数如果有参数拼接& 符号,如无带有参数拼接? 符号)
// top: 距离顶部位置 单位vw
// left: 距离左边位置 单位vw
// bottom: 距离底部位置 单位vw
// right: 距离右边位置 单位vw
// 如 popupType ==1时 只需要用到url参数
// 如 popupType ==2时 用到heightR clickBlank url 三个参数
// 如 popupType ==3时 优先级 top>bottom left>right (如果没传相关参数,即居中显示)
// 例子1(打开全屏网页):
// var obj = {
// "cid": 30,
// "reqCode": new Date().getTime(),
// "data": {
// "msg": '打开新网页',
// "popupType": 1,
// "url":'url',
// }
// }
// 例子2(打开半屏网页): // 例子1(打开全屏网页):
// var obj = { // var obj = {
// "cid": 30, // "cid": 30,
// "reqCode": new Date().getTime(), // "reqCode": new Date().getTime(),
// "data": { // "data": {
// "msg": '打开新网页', // "msg": '打开新网页',
// "popupType": 2, // "popupType": 1,
// "clickBlank":1, // "url":'url',
// "heightR":100, // }
// "url":'url', // }
// }
// } // 例子2(打开半屏网页):
// 例子3(打开浮动网页): // var obj = {
// var obj = { // "cid": 30,
// "cid": 30, // "reqCode": new Date().getTime(),
// "reqCode": new Date().getTime(), // "data": {
// "data": { // "msg": '打开新网页',
// "msg": '打开新网页', // "popupType": 2,
// "popupType": 3, // "clickBlank":1,
// "clickBlank":1, // "heightR":100,
// "heightR":100, // "url":'url',
// "widthR":100, // }
// "url":'url', // }
// } // 例子3(打开浮动网页):
// } // var obj = {
}) // "cid": 30,
// "reqCode": new Date().getTime(),
// "data": {
// "msg": '打开新网页',
// "popupType": 3,
// "clickBlank":1,
// "heightR":100,
// "widthR":100,
// "url":'url',
// }
// }
})
</script> </script>
</html> </html>
\ No newline at end of file
This diff is collapsed. Click to expand it.
activeFt/liveData/rule2.html 0 → 100644
View file @ e5ef2f19
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<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></title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layer.css">
<link rel="stylesheet" href="css/index.css?v=202407121829">
<script src="lib/fsize.js"></script>
<style>
</style>
</head>
<body>
<div id="app" class="rule-bg">
<div style="height: 0.05rem;"></div>
<p class="rule-p1">{{textObj.txt1}}</p>
<div class="table highVer"></div>
<p class="rule-p2">{{textObj.txt2}}</p>
<p class="rule-p3"><span>1.</span>{{textObj.txt3}}</p>
<p class="rule-p4"><span>2.</span>{{textObj.txt4}}</p>
<p class="rule-p5"><span>3.</span>{{textObj.txt5}}</p>
<p class="rule-p6"><span>4.</span>{{textObj.txt6}}</p>
<p class="rule-p7">{{textObj.txt7}}</p>
<p class="rule-p8"><span>1.</span>{{textObj.txt8}}</p>
<p class="rule-p9"><span>2.</span>{{textObj.txt9}}</p>
<p class="rule-p10"><span>3.</span>{{textObj.txt10}}</p>
<p class="rule-p11"><span>4.</span>{{textObj.txt11}}</p>
<p class="rule-p12"><span>5.</span>{{textObj.txt12}}</p>
<p class="rule-p13"><span>6.</span>{{textObj.txt13}}</p>
<p class="rule-p14"><span>7.</span>{{textObj.txt14}}</p>
<p class="rule-p15"><span>8.</span>{{textObj.txt15}}</p>
</div>
</body>
<script src="lib/vue.min.js"></script>
<script src="lib/jquery-3.1.1.min.js"></script>
<script src="lib/default.js?v=23123"></script>
<script>
$(function () {
var app = new Vue({
el: '#app',
data: {
textObj: '',
titleName: '',
},
mounted: function () {
this.$nextTick(function () {
if (sessionStorage.version >= 7590) {
$(".table").addClass('highVer');
}
if (sessionStorage.lang == 1) {
titleName = 'Event Rules'
document.getElementsByTagName("title")[0].innerHTML = titleName
$(".table").addClass("table-en")
this.textObj = {
txt1: "Live two hours a day to get corresponding rewards according to the Pop Index, Interaction Index, and Gift Index to reach the goals. You can get up to 8000 Fire rewards every day.",
txt2: 'Glossary:',
txt3: "Pop Index:The Pop Index is affected by the number of online users and gift givers. The more people online and giving gifts in the average hourly live room, the higher the Pop Index.",
txt4: "Interactive index:The Interactive index is affected by the number of people chatting and chats. The more people chat in the average hourly live room, the higher the Interactive Index.",
txt5: "Gift Index:The more gifts received (increased Fires), the higher the Gift Index.",
txt6: 'The Pop Index and Interaction Index are average values, which will both rise and fall. The live broadcast time and Gift Index are growth values, which will only increase.',
txt7: 'Rules:',
txt8: 'All rewards must meet the basic goal of “2 hours of live broadcast”. No rewards can be received if the live broadcast does not reach 2 hours.',
txt9: 'Both the Pop Index and the Interaction Index are divided into two goals: basic and advanced. You must complete the Pop Index goal before you can unlock the Interaction Index goal. (That is, after completing the basic goal of popularity, the basic goal of interaction will be unlocked; after completing the advanced goal of popularity, the advanced goal of interaction will be unlocked)',
txt10: 'If the Pop Index reaches the goal and falls below the target again, the corresponding Interaction Index goal will be re-locked to the unlocked state.',
txt11: 'Event data is updated every minute.',
txt12: 'Each user is limited to receive once, and multiple accounts will cancel the activity qualification and no reply will be given.',
txt13: 'During the restricted activity qualification period, all event data will be invalid and must be obtained again after the restriction is lifted.',
txt14: 'The time is based on GMT+08:00 and all rewards must to be received manually on the same day. If it is overtime, rewards will be cleared.',
txt15: 'The final interpretation right of the activity belongs to the platform'
}
}
else if (sessionStorage.lang == 8) {
titleName = 'Quy tắc'
document.getElementsByTagName("title")[0].innerHTML = titleName
$(".table").addClass("table-tv")
this.textObj = {
txt1: "Thể lệ sự kiện Live hai giờ mỗi ngày để nhận phần thưởng tương ứng theo Chỉ số Pop, Chỉ số Tương tác và Chỉ số Quà tặng để đạt được các mục tiêu. Bạn có thể nhận tới 8000 Fire mỗi ngày. ",
txt2: 'Bảng chú giải:',
txt3: "Chỉ số nhạc pop: Chỉ số Pop bị ảnh hưởng bởi số lượng người dùng trực tuyến và người tặng quà. Càng nhiều người trực tuyến và tặng quà trong phòng live mỗi giờ, Chỉ số Pop càng cao.",
txt4: "Chỉ số tương tác: Chỉ số Tương tác bị ảnh hưởng bởi số người trò chuyện và cuộc trò chuyện. Càng nhiều người trò chuyện trong phòng live mỗi giờ, Chỉ số tương tác càng cao.",
txt5: "Chỉ số quà tặng Nhận càng nhiều quà (tăng LÔNG) thì chỉ số Quà càng cao.",
txt6: 'Chỉ số Pop và Chỉ số tương tác là các giá trị trung bình, sẽ tăng và giảm.Thời gian phát sóng trực tiếp và Chỉ số quà tặng là những giá trị tăng trưởng, sẽ chỉ tăng lên.',
txt7: 'Quy tắc :',
txt8: 'Tất cả các phần thưởng phải đáp ứng mục tiêu cơ bản là “2 giờ phát sóng trực tiếp”. Không thể nhận phần thưởng nếu phát sóng trực tiếp không đạt 2 giờ. ',
txt9: ' Cả Chỉ số Pop và Chỉ số Tương tác đều được chia thành hai mục tiêu: cơ bản và nâng cao. Bạn phải hoàn thành mục tiêu Chỉ mục quảng cáo trước khi có thể mở khóa mục tiêu Chỉ mục tương tác. (Tức là sau khi hoàn thành mục tiêu phổ biến cơ bản thì sẽ mở khóa mục tiêu tương tác cơ bản; sau khi hoàn thành mục tiêu phổ biến nâng cao thì sẽ mở khóa mục tiêu tương tác nâng cao)',
txt10: 'Nếu Chỉ số Pop đạt được mục tiêu và lại tụt xuống dưới mục tiêu, thì mục tiêu Chỉ số tương tác tương ứng sẽ được khóa lại ở trạng thái không khóa.',
txt11: 'Dữ liệu sự kiện được cập nhật mỗi phút. ',
txt12: 'Mỗi người dùng bị giới hạn nhận một lần và nhiều tài khoản sẽ hủy tư cách hoạt động và sẽ không có phản hồi. ',
txt13: 'Trong thời gian đủ điều kiện hoạt động bị hạn chế, tất cả dữ liệu sự kiện sẽ không hợp lệ và phải được lấy lại sau khi hạn chế được dỡ bỏ.',
txt14: 'Thời gian dựa trên GMT+08:00 và tất cả các, Phần thưởng cần được nhận thủ công trong cùng một ngày. Thu ngoài giờ không được phép.',
txt15: 'Quyền giải thích cuối cùng của hoạt động thuộc về nền tảng.'
}
}
else if (sessionStorage.lang == 10) {
titleName = 'Reglas del evento'
document.getElementsByTagName("title")[0].innerHTML = titleName
$(".table").addClass("table-es")
this.textObj = {
txt1: "Para lograr los objetivos, haga directo dos horas al día para conseguir las recompensas correspondientes según el Índice pop, el Índice de interacción y el Índice de regalos. Puede obtener hasta 8000 plumas de recompensa todos los días.",
txt2: 'ilustrar:',
txt3: "Índice pop :El Índice pop se ve afectado por el número de usuarios en línea y de personas que hacen regalos. Cuantas más personas estén en línea y hagan regalos en la sala en vivo de media por hora, mayor será el Índice pop;",
txt4: "Índice de interacción:El Índice de interacción se ve afectado por el número de personas que chatean y los chats. Cuantas más personas chateen en la sala de estar de media por hora, mayor será el Índice de interacción;",
txt5: "Índice de regalos:Cuantos más regalos se reciban (aumento de PLUMAS), mayor será el Índice de regalos;",
txt6: 'El Índice pop y el Índice de interacción son valores medios, que pueden subir o bajar. El tiempo de transmisión en vivo y el Índice de regalos son valores que crecen y solo aumentarán.',
txt7: 'Reglas:',
txt8: 'Todas las recompensas deben cumplir el objetivo básico de «2 horas de transmisión en directo». No se recibirán recompensas si la transmisión en vivo no alcanza las 2 horas.;',
txt9: 'Tanto el Índice pop como el Índice de interacción se dividen en dos objetivos: básico y avanzado. Debe completar el objetivo Índice pop antes de poder desbloquear el objetivo Índice de interacción. (Es decir, tras completar el objetivo básico de popularidad, se desbloqueará el objetivo básico de interacción; tras completar el objetivo avanzado de popularidad, se desbloqueará el objetivo avanzado de interacción).',
txt10: 'Si el Índice pop alcanza el objetivo y vuelve a caer por debajo del objetivo, el objetivo de Índice de interacción correspondiente se volverá a bloquear en el estado desbloqueado.;',
txt11: 'los datos del evento se actualizan cada minuto.; ',
txt12: 'Cada usuario solo puede recibir una vez y, si tiene varias cuentas, se cancelará la calificación de la actividad y no se dará ninguna respuesta.;',
txt13: 'Durante el periodo de calificación de actividad restringida, todos los datos del evento no serán válidos y deberán obtenerse de nuevo una vez levantada la restricción.;',
txt14: ' La hora se basa en GMT+08:00 y todas las recompensas deben recibirse de forma manual el mismo día. Si se trata de horas extraordinarias, se eliminarán las recompensas.;',
txt15: ' El derecho de interpretación final de la actividad pertenece a la plataforma'
}
}
else {
titleName = '活動規則'
document.getElementsByTagName("title")[0].innerHTML = titleName
this.textObj = {
txt1: "每天直播2小時,根據人氣指數、互動指數、禮物指數達到目標值可獲得對應的獎勵,每天最多可獲得8000螢火獎勵",
txt2: '名詞說明:',
txt3: "人氣指數:平均每小時直播間在線人數越多、送禮人數越多則人氣指數越高;",
txt4: "互動指數:平均每小時直播間聊天人數越多、聊天數量越多則互動指數越高;",
txt5: "禮物指數:收到的禮物越多(增加的螢火)則禮物指數越高;",
txt6: '人氣指數、互動指數為平均值,既會出現上升,亦會出現下降,直播時長、禮物指數為增長值,只會上升,不會下降。',
txt7: '規則說明:',
txt8: '所有獎勵的必須滿足基礎目標「直播2小時」,若直播未達到2小時,無法獲得任何獎勵;',
txt9: '人氣指數、互動指數均分為基礎、進階2個目標,需要先完成人氣目標,才能解鎖應對的互動目標。(即完成人氣的基礎目標後,解鎖互動的基礎目標;完成人氣的進階目標後,解鎖互動的進階目標)',
txt10: '若人氣指數達到目標後,又下降至目標下,則對應的互動指數目標,在解鎖之後,將重新鎖定為未解鎖狀態;',
txt11: '活動數據每分鐘更新一次; ',
txt12: '每人僅限一個賬號領取,多賬號領取將取消活動資格不再回復;',
txt13: '被限制活動參與資格期間,所有活動數據均為無效數據,需在解除限制後重新獲取;',
txt14: '時間以GMT+08:00(東八區)為準,獎勵均需在當日手動領取,若超時(東八區0點)將無法領取;',
txt15: '活動最終解釋權歸平台所有。'
}
}
});
},
methods: {
},
computed: {
}
});
})
</script>
</html>
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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