区分 新版每日消费以及旧版每日消费
@@ -32,146 +32,48 @@ body {
|
||||
|
||||
.header {
|
||||
width: px2rem(750);
|
||||
height: px2rem(1756);
|
||||
height: px2rem(940);
|
||||
background: url(../images/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
|
||||
.date_tip {
|
||||
background: url(../images/date_tip.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: absolute;
|
||||
top: px2rem(410);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-family: PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: px2rem(28);
|
||||
color: #FFF783;
|
||||
padding: px2rem(12) 0;
|
||||
min-width: px2rem(500);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.rule_icon {
|
||||
width: px2rem(140);
|
||||
height: px2rem(50);
|
||||
line-height: px2rem(50);
|
||||
line-height: px2rem(45);
|
||||
background: url(../images/rule_cion.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FFED70;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
top: px2rem(672);
|
||||
top: px2rem(412);
|
||||
right: px2rem(0);
|
||||
text-align: center;
|
||||
text-indent: 2px;
|
||||
}
|
||||
|
||||
.lastTopUserVos {
|
||||
top: px2rem(750);
|
||||
position: relative;
|
||||
|
||||
.bg_img {
|
||||
width: px2rem(750);
|
||||
height: px2rem(570);
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: px2rem(308);
|
||||
height: px2rem(308);
|
||||
position: absolute;
|
||||
top: px2rem(97);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: px2rem(32);
|
||||
color: #FFF783;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(420);
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.nick {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: px2rem(34);
|
||||
color: #FFF783;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(515);
|
||||
z-index: 99;
|
||||
}
|
||||
}
|
||||
|
||||
.tab_list {
|
||||
position: absolute;
|
||||
top: px2rem(1353);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.tab_box {
|
||||
width: px2rem(245);
|
||||
background: url(../images/tab_bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: px2rem(30);
|
||||
color: #FFE4E4;
|
||||
line-height: px2rem(32);
|
||||
padding: px2rem(50) 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.act_tab {
|
||||
background: url(../images/act_tab_bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FFF783;
|
||||
}
|
||||
}
|
||||
|
||||
.timeBox {
|
||||
// width: 7.16rem;
|
||||
// height: px2rem(122);
|
||||
width: 7.16rem;
|
||||
height: px2rem(122);
|
||||
box-sizing: border-box;
|
||||
padding: 0 px2rem(50);
|
||||
position: absolute;
|
||||
top: px2rem(1515);
|
||||
top: px2rem(636);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.hour,
|
||||
.min,
|
||||
.sec,
|
||||
.day {
|
||||
width: px2rem(110);
|
||||
div {
|
||||
width: px2rem(100);
|
||||
height: px2rem(100);
|
||||
background: url(../images/time.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
padding-top: px2rem(10);
|
||||
line-height: px2rem(100);
|
||||
|
||||
b {
|
||||
color: #FFED70;
|
||||
@@ -180,33 +82,26 @@ body {
|
||||
font-family: PingFang SC;
|
||||
}
|
||||
|
||||
p {
|
||||
// position: absolute;
|
||||
// left: 50%;
|
||||
// transform: translateX(-50%);
|
||||
// bottom: px2rem(-41);
|
||||
span {
|
||||
width: px2rem(180);
|
||||
height: px2rem(36);
|
||||
line-height: px2rem(36);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: px2rem(-41);
|
||||
text-align: center;
|
||||
color: #FFED70;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 400;
|
||||
font-family: PingFang SC;
|
||||
margin-top: px2rem(10);
|
||||
}
|
||||
}
|
||||
|
||||
.maohao {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 px2rem(17);
|
||||
|
||||
img {
|
||||
width: px2rem(16);
|
||||
height: px2rem(40);
|
||||
background: url(../images/timeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.day {
|
||||
margin-right: px2rem(50);
|
||||
margin-right: px2rem(59);
|
||||
}
|
||||
|
||||
.colon {
|
||||
@@ -223,74 +118,59 @@ body {
|
||||
.myBox {
|
||||
width: px2rem(750);
|
||||
height: px2rem(604);
|
||||
background: url(../images/day_box.png) no-repeat;
|
||||
background: url(../images/box.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: -1.1rem auto px2rem(35);
|
||||
position: relative;
|
||||
padding: px2rem(126) px2rem(75);
|
||||
box-sizing: border-box;
|
||||
|
||||
.info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.left {
|
||||
.ts {
|
||||
width: px2rem(156);
|
||||
height: px2rem(156);
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(156);
|
||||
height: px2rem(156);
|
||||
z-index: 1;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
margin: 0 px2rem(20);
|
||||
|
||||
.name {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #FFF783;
|
||||
font-size: px2rem(34);
|
||||
font-weight: 600;
|
||||
font-family: PingFang SC;
|
||||
}
|
||||
|
||||
.Today_Support,
|
||||
.Upgrade_Requires {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: px2rem(28);
|
||||
color: #FFF783;
|
||||
line-height: px2rem(42);
|
||||
margin-top: px2rem(20);
|
||||
}
|
||||
}
|
||||
.ts {
|
||||
width: px2rem(128);
|
||||
height: px2rem(128);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(183);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(128);
|
||||
height: px2rem(128);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(183);
|
||||
z-index: 1;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.name {
|
||||
width: px2rem(360);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(321);
|
||||
text-align: center;
|
||||
color: #FFED70;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.lineBox {
|
||||
width: px2rem(600);
|
||||
// width: px2rem(750);
|
||||
width: px2rem(620);
|
||||
height: px2rem(16);
|
||||
border-radius: px2rem(16);
|
||||
background: #000000;
|
||||
background: #824115;
|
||||
position: absolute;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(420);
|
||||
top: px2rem(439);
|
||||
border-radius: px2rem(16);
|
||||
|
||||
// padding: 0 px2rem(60);
|
||||
.line {
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
@@ -302,9 +182,9 @@ body {
|
||||
}
|
||||
|
||||
.boxs {
|
||||
width: px2rem(66);
|
||||
height: px2rem(66);
|
||||
// background: url(../images/false.png) no-repeat;
|
||||
width: px2rem(62);
|
||||
height: px2rem(62);
|
||||
background: url(../images/false.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
@@ -329,37 +209,20 @@ body {
|
||||
margin: 0 px2rem(5);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.boxs:nth-child(odd) {
|
||||
span {
|
||||
top: px2rem(70);
|
||||
// bottom: px2rem(550);
|
||||
}
|
||||
}
|
||||
|
||||
.box1 {
|
||||
left: px2rem(0);
|
||||
left: px2rem(150);
|
||||
}
|
||||
|
||||
.box2 {
|
||||
left: px2rem(0);
|
||||
left: px2rem(339);
|
||||
}
|
||||
|
||||
.box3 {
|
||||
left: px2rem(0);
|
||||
}
|
||||
|
||||
.box4 {
|
||||
left: px2rem(0);
|
||||
}
|
||||
|
||||
.box5 {
|
||||
right: px2rem(0);
|
||||
}
|
||||
|
||||
|
||||
.act {
|
||||
background: url(../images/true.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
@@ -428,7 +291,7 @@ body {
|
||||
width: px2rem(750);
|
||||
height: auto;
|
||||
margin: 0 auto px2rem(31);
|
||||
display: none;
|
||||
// display: none;
|
||||
|
||||
.contentBox1,
|
||||
.contentBox2,
|
||||
@@ -739,7 +602,6 @@ body {
|
||||
font-weight: 400;
|
||||
opacity: 0.6;
|
||||
margin-bottom: px2rem(40);
|
||||
margin-top: px2rem(20);
|
||||
}
|
||||
|
||||
.video,
|
||||
@@ -840,136 +702,6 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.reward_list {
|
||||
.reward_box {
|
||||
width: px2rem(750);
|
||||
|
||||
.top {
|
||||
background: url(../images/top_bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
height: px2rem(368);
|
||||
width: 100%;
|
||||
position: relative;
|
||||
|
||||
.title {
|
||||
background: url(../images/act_tab_bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: px2rem(547);
|
||||
height: px2rem(190);
|
||||
font-family: PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: px2rem(40);
|
||||
color: #FFED70;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(130);
|
||||
|
||||
img {
|
||||
width: px2rem(40);
|
||||
height: px2rem(40);
|
||||
margin: 0 px2rem(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
background: url(../images/content_bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
width: px2rem(600);
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
background: url(../images/bottom_bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: 100%;
|
||||
height: px2rem(370);
|
||||
|
||||
.priority_title {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: px2rem(32);
|
||||
color: #FFED70;
|
||||
text-align: center;
|
||||
padding-top: px2rem(28);
|
||||
}
|
||||
|
||||
.user_list {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin: px2rem(27) auto 0;
|
||||
div {
|
||||
width: px2rem(120);
|
||||
height: px2rem(120);
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
border: px2rem(3) #FFED70 solid;
|
||||
}
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #FFED70;
|
||||
font-size: px2rem(26);
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: -0.6rem;
|
||||
height: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.nextBtn,
|
||||
.prevBtn {
|
||||
position: absolute;
|
||||
|
||||
img {
|
||||
width: px2rem(100);
|
||||
height: px2rem(100);
|
||||
}
|
||||
}
|
||||
|
||||
.nextBtn {
|
||||
top: px2rem(583);
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.prevBtn {
|
||||
top: px2rem(583);
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-slide {
|
||||
width: px2rem(750);
|
||||
// display: flex;
|
||||
// flex: 1;
|
||||
}
|
||||
|
||||
.arabic {
|
||||
.header {
|
||||
background: url(../images/header-ar.png) no-repeat;
|
||||
@@ -1062,70 +794,57 @@ body {
|
||||
background: url(../images/header-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content1 .contentBox1 .box {
|
||||
.content1 .contentBox1 .box{
|
||||
background: url(../images/700-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content1 .contentBox2 .box {
|
||||
.content1 .contentBox2 .box{
|
||||
background: url(../images/350-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content1 .contentBox3 .box {
|
||||
.content1 .contentBox3 .box{
|
||||
background: url(../images/70-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content2 .contentBox1 .box {
|
||||
.content2 .contentBox1 .box{
|
||||
background: url(../images/7-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content2 .contentBox2 .box {
|
||||
.content2 .contentBox2 .box{
|
||||
background: url(../images/3500-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content2 .contentBox3 .box {
|
||||
.content2 .contentBox3 .box{
|
||||
background: url(../images/210-zh.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.Turkiye {
|
||||
.header {
|
||||
background: url(../images/header-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content1 .contentBox1 .box {
|
||||
.content1 .contentBox1 .box{
|
||||
background: url(../images/700-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content1 .contentBox2 .box {
|
||||
.content1 .contentBox2 .box{
|
||||
background: url(../images/350-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content1 .contentBox3 .box {
|
||||
.content1 .contentBox3 .box{
|
||||
background: url(../images/70-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content2 .contentBox1 .box {
|
||||
.content2 .contentBox1 .box{
|
||||
background: url(../images/7-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content2 .contentBox2 .box {
|
||||
.content2 .contentBox2 .box{
|
||||
background: url(../images/3500-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.content2 .contentBox3 .box {
|
||||
.content2 .contentBox3 .box{
|
||||
background: url(../images/210-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 602 KiB After Width: | Height: | Size: 835 KiB |
Before Width: | Height: | Size: 604 KiB After Width: | Height: | Size: 848 KiB |
Before Width: | Height: | Size: 602 KiB After Width: | Height: | Size: 839 KiB |
Before Width: | Height: | Size: 601 KiB After Width: | Height: | Size: 843 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 14 KiB |
@@ -7,8 +7,6 @@
|
||||
<title class="text1"></title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.0">
|
||||
<link rel="stylesheet" href="./css/swiper-bundle.min.css" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -18,67 +16,28 @@
|
||||
</div>
|
||||
<!-- 头部 -->
|
||||
<div class="header">
|
||||
<div class="date_tip"></div>
|
||||
<div class="rule_icon text2"></div>
|
||||
<!-- 历史榜单 -->
|
||||
<div class="lastTopUserVos">
|
||||
<div class="bg_img">
|
||||
<img src="./images/tx_day.png" alt=""></img>
|
||||
</div>
|
||||
<div class="avatar">
|
||||
<img src="" alt="">
|
||||
</div>
|
||||
<div class="title">Yesterday's Champion</div>
|
||||
<div class="nick"></div>
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<div class="tab_list">
|
||||
<div class="tab_box Daily_Support act_tab" activityType="DAY_CONSUME" ></div>
|
||||
<div class="tab_box Weekly_Support" activityType="WEEK_CONSUME"></div>
|
||||
<div class="tab_box Monthly_Support" activityType="MONTH_CONSUME"></div>
|
||||
</div>
|
||||
<!-- 倒计时 -->
|
||||
<div class="timeBox">
|
||||
<div class="day">
|
||||
<b>00</b>
|
||||
<p class="Days"></p>
|
||||
</div>
|
||||
<div class="hour">
|
||||
<b>00</b>
|
||||
<p class="text3"></p>
|
||||
</div>
|
||||
<div class="maohao">
|
||||
<img src="./images/maohao.png" alt="">
|
||||
<span class="text3"></span>
|
||||
</div>
|
||||
<div class="min">
|
||||
<b>00</b>
|
||||
<p class="text4"></p>
|
||||
</div>
|
||||
<div class="maohao">
|
||||
<img src="./images/maohao.png" alt="">
|
||||
<span class="text4"></span>
|
||||
</div>
|
||||
<div class="sec">
|
||||
<b>00</b>
|
||||
<p class="text5"></p>
|
||||
<span class="text5"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--我的消费进度 -->
|
||||
<div class="myBox">
|
||||
<div class="info">
|
||||
<div class="left">
|
||||
<img src="./images/txk.png" alt="" class="ts">
|
||||
<img src="" alt="" class="tx">
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="name"></div>
|
||||
<div class="Today_Support">
|
||||
<span class="title"></span>
|
||||
<span class="goldNum"></span>
|
||||
</div>
|
||||
<div class="Upgrade_Requires"></div>
|
||||
</div>
|
||||
</div>
|
||||
<img src="./images/txk.png" alt="" class="ts">
|
||||
<img src="" alt="" class="tx">
|
||||
<div class="name"></div>
|
||||
<div class="lineBox">
|
||||
<div class="line"></div>
|
||||
<div class="box1 boxs">
|
||||
@@ -90,32 +49,17 @@
|
||||
<div class="box3 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
<div class="box4 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
<div class="box5 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="tetxBox">
|
||||
<div class="tetxBox">
|
||||
<div class="l text6"></div>
|
||||
<div class="r"><b>0</b>/<strong></strong></div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<!-- <div class="tab">
|
||||
<div class="tab">
|
||||
<div class="tabbox act text7"></div>
|
||||
<div class="text8"></div>
|
||||
</div> -->
|
||||
|
||||
<div class="reward_list">
|
||||
<div class="swiper">
|
||||
<div class="swiper-wrapper">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 档位1 -->
|
||||
<div class="content1">
|
||||
<div class="contentBox1 level3">
|
||||
@@ -276,5 +220,4 @@
|
||||
<script src="./local/tr.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="./js/index.js?v=1.0"></script>
|
||||
<script src="../../common/local/langHandler.js"></script>
|
||||
<script src="./js/swiper-bundle.min.js"></script>
|
||||
<script src="../../common/local/langHandler.js"></script>
|
@@ -58,7 +58,6 @@ $(function () {
|
||||
localLang = window.lang;
|
||||
translateFun();
|
||||
getConfig();
|
||||
swiperFun();
|
||||
}, 100)
|
||||
})
|
||||
// 处理SVGA
|
||||
@@ -116,99 +115,65 @@ function translateFun() {
|
||||
|
||||
$('.null').text(langReplace(localLang.demoModule.text16));
|
||||
}
|
||||
$('.Daily_Support').html(langReplace(localLang.demoModule.Daily_Support));
|
||||
$('.Weekly_Support').html(langReplace(localLang.demoModule.Weekly_Support));
|
||||
$('.Monthly_Support').html(langReplace(localLang.demoModule.Monthly_Support));
|
||||
$('.Days').html(langReplace(localLang.demoModule.Days));
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Yesterday_Champion))
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Today_Support));
|
||||
}
|
||||
console.log(unitProcessingAr(7000000, 1));
|
||||
var activityType = 'DAY_CONSUME';
|
||||
// var gearPosition = {
|
||||
// DAY_CONSUME: [70000, 350000, 700000, 2100000, 3500000],
|
||||
// WEEK_CONSUME: [560000, 2800000, 5600000, 16800000, 28000000],
|
||||
// MONTH_CONSUME: [7000000, 21000000, 35000000, 70000000, 140000000],
|
||||
// };
|
||||
var boxImgOption = {
|
||||
DAY_CONSUME: {
|
||||
ordinary: './images/day_ordinarybox.png',
|
||||
actBox: './images/day_actbox.png'
|
||||
},
|
||||
WEEK_CONSUME: {
|
||||
ordinary: './images/week_ordinarybox.png',
|
||||
actBox: './images/week_actbox.png'
|
||||
},
|
||||
MONTH_CONSUME: {
|
||||
ordinary: './images/month_ordinarybox.png',
|
||||
actBox: './images/month_actbox.png'
|
||||
}
|
||||
}
|
||||
// 配置接口
|
||||
function getConfig() {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/activity/h5/dayConsume',
|
||||
data: {
|
||||
uid: pubInfo.uid,
|
||||
activityType
|
||||
},
|
||||
data: { uid: pubInfo.uid },
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
// 分区规则
|
||||
$('.rule .rule_in .box').html(res.data.partitionId == 2 || res.data.partitionId == 8 ? langReplace(localLang.demoModule.arRule) : res.data.partitionId == 1 ? langReplace(localLang.demoModule.enRule) : langReplace(localLang.demoModule.en2Rule));
|
||||
$('.rule .rule_in .box').html(res.data.partitionId == 2 ? langReplace(localLang.demoModule.arRule) : langReplace(localLang.demoModule.enRule));
|
||||
// 处理是否代理人
|
||||
res.data.rechargeUser ? $('.myBox').hide() : $('.myBox').show();
|
||||
// 处理等级不足不显示榜单
|
||||
res.data.wealth <= 7 ? $('.priorityWinners,.priorityWinnersBox').hide() : $('.priorityWinners,.priorityWinnersBox').show()
|
||||
|
||||
$('.header .date_tip').text(res.data.startDate + '-' + res.data.endDate)
|
||||
|
||||
// 榜单信息
|
||||
if (res.data.lastTopUserVos.length > 0) {
|
||||
$('.lastTopUserVos .avatar img').attr("src", res.data.lastTopUserVos[0].avatar)
|
||||
$('.lastTopUserVos .nick').text(res.data.lastTopUserVos[0].name)
|
||||
} else {
|
||||
$('.lastTopUserVos .avatar img').attr("src", './images/null.png')
|
||||
$('.lastTopUserVos .nick').text(langReplace(localLang.demoModule.waiting))
|
||||
}
|
||||
// 处理倒计时
|
||||
countup(res.data.expireNanos);
|
||||
let gearPosition = res.data.activityLevelUserVo
|
||||
// res.data.goldNum = 8000000;
|
||||
countup(res.data.endTime - res.timestamp);
|
||||
// 处理顶部进度以及个人信息
|
||||
$('.myBox .tx').attr('src', res.data.avatar);
|
||||
$('.myBox .name').text(res.data.nick);
|
||||
$('.myBox .Today_Support .goldNum').text( res.data.goldNum);
|
||||
$('.myBox .Upgrade_Requires').text(langReplace(localLang.demoModule.Upgrade_Requires) + getNextLevelDifference(res.data.goldNum, gearPosition));
|
||||
// 轮播图清空
|
||||
$('.reward_list .swiper-wrapper .swiper-slide').remove();
|
||||
let htmlStr = '';
|
||||
gearPosition.forEach((item, index) => {
|
||||
$(`.myBox .lineBox .box${index + 1} span b`).text(unitProcessingAr(item.usb, 1));
|
||||
// 均匀分配每个档位的进度条宽度
|
||||
const totalLevels = gearPosition.length;
|
||||
const levelWidth = 100 / totalLevels; // 每个档位的宽度百分比
|
||||
$(`.myBox .lineBox .box${index + 1}`).css('left', `${levelWidth * (index+1) -10}%`);
|
||||
|
||||
// 到达档位 - 宝箱高亮
|
||||
if (res.data.goldNum >= item.usb) {
|
||||
$(`.myBox .lineBox .box${index + 1}`).css({
|
||||
'background': `url(${boxImgOption[activityType].actBox}) no-repeat`,
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .tetxBox .r b').text(res.data.goldNum);
|
||||
console.log(res.data.goldNum < 700000);
|
||||
if (res.data.goldNum < 700000) {
|
||||
$('.myBox .tetxBox .r strong').text(700000);
|
||||
$('.myBox .lineBox .box1 span b').text('70K');
|
||||
$('.myBox .lineBox .box1').css('left', `${(70000 / 700000) * 100}%`);
|
||||
$('.myBox .lineBox .box2 span b').text('350K');
|
||||
$('.myBox .lineBox .box2').css('left', `${(350000 / 700000) * 100}%`);
|
||||
$('.myBox .lineBox .box3 span b').text('700K');
|
||||
$('.myBox .lineBox .box3').css('right', `0%`);
|
||||
$('.myBox .lineBox .line').css('width', `${((res.data.goldNum / 700000) * 100) > 100 ? 100 : (res.data.goldNum / 700000) * 100}%`);
|
||||
if (res.data.goldNum >= 70000) { $('.myBox .lineBox .box1').addClass('act') }
|
||||
if (res.data.goldNum >= 350000) { $('.myBox .lineBox .box2').addClass('act') }
|
||||
if (res.data.goldNum >= 700000) { $('.myBox .lineBox .box3').addClass('act') }
|
||||
} else {
|
||||
$('.myBox .tetxBox .r strong').text(7000000);
|
||||
$('.myBox .lineBox .box1 span b').text('210K');
|
||||
$('.myBox .lineBox .box1').css('left', `${(70000 / 7000000) * 100}%`);
|
||||
$('.myBox .lineBox .box2 span b').text('3500K');
|
||||
$('.myBox .lineBox .box2').css('left', `${(3500000 / 7000000) * 100}%`);
|
||||
$('.myBox .lineBox .box3 span b').text('7M');
|
||||
$('.myBox .lineBox .box3').css('right', `0`);
|
||||
$('.myBox .lineBox .line').css('width', `${((res.data.goldNum / 7000000) * 100) > 100 ? 100 : (res.data.goldNum / 7000000) * 100}%`);
|
||||
if (res.data.goldNum >= 210000) { $('.myBox .lineBox .box1').addClass('act') }
|
||||
if (res.data.goldNum >= 3500000) { $('.myBox .lineBox .box2').addClass('act') }
|
||||
if (res.data.goldNum >= 7000000) { $('.myBox .lineBox .box3').addClass('act') }
|
||||
}
|
||||
// 处理每个档位的用户前四名
|
||||
res.data.activityLevelUserVo.forEach((res, i) => {
|
||||
var str = '';
|
||||
if ((res.level) <= 3) {
|
||||
$(`.content1 .level${res.level} .priorityWinnersBox div`).remove();
|
||||
} else {
|
||||
$(`.myBox .lineBox .box${index + 1}`).css({
|
||||
'background': `url(${boxImgOption[activityType].ordinary}) no-repeat`,
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$(`.content2 .level${res.level} .priorityWinnersBox div`).remove();
|
||||
}
|
||||
// 渲染轮播图
|
||||
let str = '';
|
||||
// 处理每个档位的用户前四名
|
||||
if (item.userVos.length > 0) {
|
||||
item.userVos.forEach(val => {
|
||||
if (res.userVos.length > 0) {
|
||||
res.userVos.forEach(val => {
|
||||
str += `
|
||||
<div>
|
||||
<img src="${val.avatar}" alt="">
|
||||
@@ -224,59 +189,12 @@ function getConfig() {
|
||||
</div>
|
||||
`
|
||||
}
|
||||
htmlStr += `
|
||||
<div class="swiper-slide">
|
||||
<div class="reward_box">
|
||||
<div class="top">
|
||||
<div class="title">${localLang.demoModule.Consume} ${unitProcessingAr(item.usb, 1)} <img src="./images/gold.png" alt=""> </div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<img src="./images/content.png" alt="">
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="priority_title">${localLang.demoModule.priorityWinners}</div>
|
||||
<div class="user_list">
|
||||
${str}
|
||||
</div>
|
||||
</div>
|
||||
<div class="nextBtn">
|
||||
<img src="./images/Next.png" alt="">
|
||||
</div>
|
||||
<div class="prevBtn">
|
||||
<img src="./images/Prev.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
});
|
||||
// 渲染轮播图
|
||||
$('.reward_list .swiper-wrapper').append(htmlStr);
|
||||
// 轮播图回到第一张
|
||||
mySwiper.slideTo(0);
|
||||
|
||||
// 调整进度条宽度为均匀分布
|
||||
let currentLevelIndex = getCurrentLevelIndex(res.data.goldNum, gearPosition);
|
||||
|
||||
if (currentLevelIndex >= gearPosition.length) {
|
||||
$('.myBox .lineBox .line').css('width', '100%');
|
||||
} else if (currentLevelIndex === 0) {
|
||||
// 特殊处理第一个档位
|
||||
let firstLevelValue = gearPosition[0].usb;
|
||||
let progressWidth = (res.data.goldNum / firstLevelValue) * (50 / gearPosition.length );
|
||||
$('.myBox .lineBox .line').css('width', `${progressWidth}%`);
|
||||
} else {
|
||||
let nextLevelValue = gearPosition[currentLevelIndex].usb;
|
||||
let totalLevels = gearPosition.length;
|
||||
let prevLevelValue = gearPosition[currentLevelIndex - 1].usb;
|
||||
|
||||
// 防止除以零的情况
|
||||
let levelRange = nextLevelValue - prevLevelValue;
|
||||
let progress = levelRange === 0 ? 0 : (res.data.goldNum - prevLevelValue) / levelRange;
|
||||
let progressWidth = (currentLevelIndex / totalLevels) * 100 + progress * (50 / totalLevels);
|
||||
|
||||
$('.myBox .lineBox .line').css('width', `${progressWidth}%`);
|
||||
}
|
||||
|
||||
if ((res.level) <= 3) {
|
||||
$(`.content1 .level${res.level} .priorityWinnersBox`).append(str);
|
||||
} else {
|
||||
$(`.content2 .level${res.level} .priorityWinnersBox`).append(str);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -288,20 +206,6 @@ function getConfig() {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 新增函数:获取当前等级索引
|
||||
function getCurrentLevelIndex(currentValue, levels) {
|
||||
for (let i = 0; i < levels.length; i++) {
|
||||
if (currentValue < levels[i].usb) {
|
||||
return i;
|
||||
} else if (currentValue === levels[i].usb) {
|
||||
// 如果当前值正好匹配档位值,返回下一个索引
|
||||
return i + 1;
|
||||
}
|
||||
}
|
||||
return levels.length; // 当前值大于等于最高等级,返回 levels.length
|
||||
}
|
||||
|
||||
// 倒計時
|
||||
function countup(leftTime) {
|
||||
clearTimeout(countupTime)
|
||||
@@ -320,7 +224,6 @@ function countup(leftTime) {
|
||||
m = getzf(Math.floor(leftTime / 1000 / 60 % 60));
|
||||
s = getzf(Math.floor(leftTime / 1000 % 60));
|
||||
//將倒計時賦值到div中
|
||||
$('.header .timeBox .day b').text(d);
|
||||
$('.header .timeBox .hour b').text(h);
|
||||
$('.header .timeBox .min b').text(m);
|
||||
$('.header .timeBox .sec b').text(s);
|
||||
@@ -409,60 +312,4 @@ $('.header .rule_icon').click(function () {
|
||||
$('.rule .rule_in .close').click(function () {
|
||||
$('.rule').hide();
|
||||
bodyScroolFun(false);
|
||||
})
|
||||
// 点击tab
|
||||
$('.tab_list .tab_box').click(function () {
|
||||
$(this).addClass('act_tab').siblings().removeClass('act_tab');
|
||||
activityType = $(this).attr('activityType');
|
||||
if (activityType == 'DAY_CONSUME') {
|
||||
// 日消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Yesterday_Champion))
|
||||
$('.header .lastTopUserVos .bg_img img').attr('src', './images/tx_day.png');
|
||||
$('.myBox').css({
|
||||
'background': 'url(./images/day_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Today_Support));
|
||||
} else if (activityType == 'WEEK_CONSUME') {
|
||||
// 周消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Last_Elite))
|
||||
$('.header .lastTopUserVos .bg_img img').attr('src', './images/tx_week.png');
|
||||
$('.myBox').css({
|
||||
'background': 'url(./images/week_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Weekly_SupportTwo));
|
||||
} else if (activityType == 'MONTH_CONSUME') {
|
||||
// 月消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Last_Legend))
|
||||
$('.header .lastTopUserVos .bg_img img').attr('src', './images/tx_month.png');
|
||||
$('.myBox').css({
|
||||
'background': 'url(./images/month_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Monthly_SupportTwo));
|
||||
}
|
||||
getConfig();
|
||||
})
|
||||
function getNextLevelDifference(currentValue, levels) {
|
||||
for (let i = 0; i < levels.length; i++) {
|
||||
if (currentValue < levels[i].usb) {
|
||||
return levels[i].usb - currentValue;
|
||||
}
|
||||
}
|
||||
return 0; // 当前值大于等于最高等级,无需再升级
|
||||
}
|
||||
// 輪播
|
||||
function swiperFun() {
|
||||
mySwiper = new Swiper('.swiper', {
|
||||
loop: false,
|
||||
});
|
||||
}
|
||||
// 切换上一张
|
||||
$(document).on('click', '.prevBtn', function () {
|
||||
mySwiper.slidePrev();
|
||||
})
|
||||
// 切换下一张
|
||||
$(document).on('click', '.nextBtn', function () {
|
||||
mySwiper.slideNext();
|
||||
})
|
@@ -24,64 +24,36 @@ langAr = {
|
||||
priorityWinners: `الفائزون ذوو الأولوية`,
|
||||
enRule: `
|
||||
<p>
|
||||
1. وقت الحدث: يوم/أسبوع/شهر (بتوقيت غرينتش +8).<br>
|
||||
2. خلال الحدث، سيتم احتساب عملاتك التي أنفقتها على المنصة. (إرسال عملة واحدة كهدية عادية = قيمة عملة واحدة؛ عملة واحدة كهدية محظوظة = 0.02 قيمة عملة).<br>
|
||||
3. عند وصول عملاتك إلى المستوى المطلوب خلال الحدث، يمكنك الحصول على مكافأة المستوى المطلوب.<br>
|
||||
1. وقت النشاط: يوميًا من 00:00 إلى 23:59 (GMT+3).<br>
|
||||
2. يتم حساب إنفاقك اليومي على المنصة، إرسال 1 هدية بعملة = 1 قيمة العملة؛ 1 هدية الحظ بعملة = 0.05 قيمة العملة.<br>
|
||||
3. عند وصولك إلى المستوى المناسب، ستحصل على مكافأة المستوى المناسب.<br>
|
||||
</p>
|
||||
<p>
|
||||
القيود:<br>
|
||||
1. لا يشارك مستخدمو وكلاء إعادة الشحن في هذا الحدث.<br>
|
||||
2. لا يشمل استهلاك العملات استثمار الألعاب المصغرة.<br>
|
||||
1. وكلاء الشحن لا يشاركون في هذا النشاط.<br>
|
||||
2. لا يتم احتساب مدخلات اللعبة كاستهلاك للعملات المعدنية.<br>
|
||||
</p>
|
||||
<p>
|
||||
ملاحظة:<br>
|
||||
1. لا علاقة لهذا الحدث بجوجل وآبل.
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1. وقت الحدث: يوم/أسبوع/شهر (بتوقيت غرينتش +8).<br>
|
||||
2. خلال الحدث، سيتم احتساب عملاتك التي أنفقتها على المنصة. (إرسال عملة واحدة كهدية عادية = قيمة عملة واحدة؛ عملة واحدة كهدية محظوظة = 0.05 من قيمة العملة).<br>
|
||||
3. عند وصول عملاتك إلى المستوى المطلوب خلال الحدث، يمكنك الحصول على مكافأة المستوى المطلوب.<br>
|
||||
</p>
|
||||
<p>
|
||||
القيود:<br>
|
||||
1. لا يشارك مستخدمو وكلاء إعادة الشحن في هذا الحدث.<br>
|
||||
2. لا يشمل استهلاك العملات استثمار الألعاب المصغرة.<br>
|
||||
</p>
|
||||
<p>
|
||||
ملاحظة:<br>
|
||||
1. لا علاقة لهذا الحدث بجوجل وآبل.
|
||||
1. هذا النشاط ليس له علاقة بـ Google و Apple.
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1. وقت الحدث: يوم/أسبوع/شهر (غرينتش +3).<br>
|
||||
2. خلال الحدث، سيتم احتساب عملاتك التي أنفقتها على المنصة. (إرسال عملة واحدة كهدية عادية = قيمة عملة واحدة؛ عملة واحدة كهدية محظوظة = 0.05 من قيمة العملة).<br>
|
||||
3. عند وصول عملاتك إلى المستوى المطلوب خلال الحدث، يمكنك الحصول على مكافأة المستوى المطلوب.<br>
|
||||
1. وقت النشاط: يوميًا من 00:00 إلى 23:59 (GMT+3).<br>
|
||||
2. يتم حساب إنفاقك اليومي على المنصة، إرسال 1 هدية بعملة = 1 قيمة العملة؛ 1 هدية الحظ بعملة = 0.05 قيمة العملة.<br>
|
||||
3. عند وصولك إلى المستوى المناسب، ستحصل على مكافأة المستوى المناسب.<br>
|
||||
</p>
|
||||
<p>
|
||||
القيود:<br>
|
||||
1. لا يشارك مستخدمو وكلاء إعادة الشحن في هذا الحدث.<br>
|
||||
2. لا يشمل استهلاك العملات استثمار الألعاب المصغرة.<br>
|
||||
1. وكلاء الشحن لا يشاركون في هذا النشاط.<br>
|
||||
2. لا يتم احتساب مدخلات اللعبة كاستهلاك للعملات المعدنية.<br>
|
||||
</p>
|
||||
<p>
|
||||
ملاحظة:<br>
|
||||
1. لا علاقة لهذا الحدث بجوجل وآبل.
|
||||
1. هذا النشاط ليس له علاقة بـ Google و Apple.
|
||||
</p>
|
||||
`,
|
||||
waiting: `ي انتظار`,
|
||||
Yesterday_Champion:'بطل الأمس',
|
||||
Last_Elite:'نخبة الأسبوع الماضي',
|
||||
Last_Legend:'أسطورة الشهر الماضي',
|
||||
Daily_Support:'الدعم<br /> اليومي',
|
||||
Weekly_Support:'الدعم <br />الأسبوعي',
|
||||
Monthly_Support:'الدعم <br />الشهري',
|
||||
Days:'الأيام',
|
||||
Today_Support: 'دعم اليوم:',
|
||||
Upgrade_Requires: 'متطلبات الترقية:',
|
||||
Consume:'استهلاك ',
|
||||
Weekly_SupportTwo:'الدعم الأسبوعي',
|
||||
Monthly_SupportTwo:'الدعم الشهري',
|
||||
}
|
||||
}
|
@@ -22,64 +22,37 @@ langEn = {
|
||||
priorityWinners: `Priority Winners`,
|
||||
enRule: `
|
||||
<p>
|
||||
1 Event time: natural day/natural week/natural month (GMT+8).<br>
|
||||
2 During the event, your coins spent on the platform will be counted. (Sending 1 coin normal gift = 1 coin value; 1 coin lucky gift = 0.02 coin value).<br>
|
||||
3. When your coins reach the corresponding level during the event, you can get the corresponding level reward.<br>
|
||||
1. Activity time: daily 0:00-23:59 (GMT+8).<br>
|
||||
2. Daily calculation of your spending in the platform, send 1 coin gift = 1 coin value; 1 coin lucky
|
||||
gift = 0.02 coin value.<br>
|
||||
3. When you reach the corresponding level, you will get the corresponding level reward.<br>
|
||||
</p>
|
||||
<p>
|
||||
Restrictions:<br>
|
||||
1 Recharge agent users do not participate in this event.<br>
|
||||
2 The investment in mini games is not included in the consumption of coins.<br>
|
||||
1. Recharge agent do not participate in this activity.<br>
|
||||
2. The input of game is not counted as consumption of coins.<br>
|
||||
</p>
|
||||
<p>
|
||||
Attention:<br>
|
||||
1 This event has nothing to do with Google and Apple.
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1 Event time: natural day/natural week/natural month (GMT+8).<br>
|
||||
2 During the event, your coins spent on the platform will be counted. (Sending 1 coin normal gift = 1 coin value; 1 coin lucky gift = 0.05 coin value).<br>
|
||||
3. When your coins reach the corresponding level during the event, you can get the corresponding level reward.<br>
|
||||
</p>
|
||||
<p>
|
||||
Restrictions:<br>
|
||||
1 Recharge agent users do not participate in this event.<br>
|
||||
2 The investment in mini games is not included in the consumption of coins.<br>
|
||||
</p>
|
||||
<p>
|
||||
Attention:<br>
|
||||
1 This event has nothing to do with Google and Apple.
|
||||
1. This activity has nothing to do with Google and Apple.
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1 Event time: natural day/natural week/natural month (GMT+3).<br>
|
||||
2 During the event, your coins spent on the platform will be counted. (Sending 1 coin normal gift = 1 coin value; 1 coin lucky gift = 0.05 coin value).<br>
|
||||
3. When your coins reach the corresponding level during the event, you can get the corresponding level reward.<br>
|
||||
1. Activity time: daily 0:00-23:59 (GMT+3).<br>
|
||||
2. Daily calculation of your spending on the platform, send 1 coin gift = 1 coin value; 1 coin lucky gift = 0.05 coin value.<br>
|
||||
3. When you reach the corresponding level, you will get the corresponding level reward.<br>
|
||||
</p>
|
||||
<p>
|
||||
Restrictions:<br>
|
||||
1 Recharge agent users do not participate in this event.<br>
|
||||
2 The investment in mini games is not included in the consumption of coins.<br>
|
||||
1. Recharge agents do not participate in this activity.<br>
|
||||
2. Game input is not counted as coin consumption.<br>
|
||||
</p>
|
||||
<p>
|
||||
Attention:<br>
|
||||
1 This event has nothing to do with Google and Apple.
|
||||
1. This activity has nothing to do with Google and Apple.
|
||||
</p>
|
||||
`,
|
||||
waiting: `Waiting`,
|
||||
Yesterday_Champion:`Yesterday's Champion`,
|
||||
Last_Elite:`Last Week's Elite`,
|
||||
Last_Legend:`Last Month's Legend`,
|
||||
Daily_Support:'Daily<br />Support',
|
||||
Weekly_Support:'Weekly<br />Support',
|
||||
Monthly_Support:'Monthly<br />Support',
|
||||
Days:'Days',
|
||||
Today_Support: `Today's Support:`,
|
||||
Upgrade_Requires: 'Upgrade Requires:',
|
||||
Consume:'Consume',
|
||||
Weekly_SupportTwo:'Weekly Support',
|
||||
Monthly_SupportTwo:'Monthly Support',
|
||||
}
|
||||
}
|
@@ -22,65 +22,37 @@ langTr = {
|
||||
priorityWinners: `Öncelikli Kazananlar`,
|
||||
enRule: `
|
||||
<p>
|
||||
1 Etkinlik saati: doğal gün/doğal hafta/doğal ay (GMT+8).<br>
|
||||
2 Etkinlik sırasında, platformda harcadığınız coin'ler sayılacaktır. (1 coin normal hediye gönderimi = 1 coin değeri; 1 coin şanslı hediye gönderimi = 0,02 coin değeri).<br>
|
||||
3. Etkinlik sırasında coin'leriniz ilgili seviyeye ulaştığında, ilgili seviye ödülünü alabilirsiniz..<br>
|
||||
1. Etkinlik süresi: günlük 0:00-23:59 (GMT+8).<br>
|
||||
2. Platformdaki harcamalarınız günlük olarak hesaplanır, 1 jeton hediyesi gönder = 1 jeton değeri; 1 jeton şans hediyesi = 0.02 jeton değeri.<br>
|
||||
3. Belirtilen seviyeye ulaştığınızda, ilgili seviye ödülünü alacaksınız.<br>
|
||||
</p>
|
||||
<p>
|
||||
Kısıtlamalar:<br>
|
||||
1 Şarj acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2 Mini oyunlara yapılan yatırım, coin tüketimine dahil değildir.<br>
|
||||
1. Yeniden yükleme acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2. Oyun girdisi jeton tüketimi olarak sayılmaz.<br>
|
||||
</p>
|
||||
<p>
|
||||
Not:<br>
|
||||
1 Bu etkinliğin Google ve Apple ile hiçbir ilgisi yoktur.
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1 Etkinlik saati: doğal gün/doğal hafta/doğal ay (GMT+8).<br>
|
||||
2 Etkinlik sırasında, platformda harcadığınız coin'ler sayılacaktır. (1 coin normal hediye gönderimi = 1 coin değeri; 1 coin şanslı hediye gönderimi = 0,05 coin değeri).<br>
|
||||
3. Etkinlik sırasında coin'leriniz ilgili seviyeye ulaştığında, ilgili seviye ödülünü alabilirsiniz..<br>
|
||||
</p>
|
||||
<p>
|
||||
Kısıtlamalar:<br>
|
||||
1 Şarj acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2 Mini oyunlara yapılan yatırım, coin tüketimine dahil değildir.<br>
|
||||
</p>
|
||||
<p>
|
||||
Not:<br>
|
||||
1 Bu etkinliğin Google ve Apple ile hiçbir ilgisi yoktur.
|
||||
Dikkat:<br>
|
||||
1. Bu etkinliğin Google ve Apple ile ilgisi yoktur.
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1 Etkinlik saati: doğal gün/doğal hafta/doğal ay (GMT+3).<br>
|
||||
2 Etkinlik sırasında, platformda harcadığınız coin'ler sayılacaktır. (1 coin normal hediye gönderimi = 1 coin değeri; 1 coin şanslı hediye gönderimi = 0,05 coin değeri).<br>
|
||||
3. Etkinlik sırasında coin'leriniz ilgili seviyeye ulaştığında, ilgili seviye ödülünü alabilirsiniz.<br>
|
||||
1. Etkinlik süresi: günlük 0:00-23:59 (GMT+3).<br>
|
||||
2. Platformdaki harcamalarınız günlük olarak hesaplanır, 1 jeton hediyesi gönder = 1 jeton değeri; 1 jeton şans hediyesi = 0.05 jeton değeri.<br>
|
||||
3. Belirtilen seviyeye ulaştığınızda, ilgili seviye ödülünü alacaksınız.<br>
|
||||
</p>
|
||||
<p>
|
||||
Kısıtlamalar:<br>
|
||||
1 Şarj acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2 Mini oyunlara yapılan yatırım, coin tüketimine dahil değildir.<br>
|
||||
1. Yeniden yükleme acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2. Oyun girdisi jeton tüketimi olarak sayılmaz.<br>
|
||||
</p>
|
||||
<p>
|
||||
Not:<br>
|
||||
1 Bu etkinliğin Google ve Apple ile hiçbir ilgisi yoktur.
|
||||
Dikkat:<br>
|
||||
1. Bu etkinliğin Google ve Apple ile ilgisi yoktur.
|
||||
</p>
|
||||
`,
|
||||
waiting: `Bekleniyor`,
|
||||
Yesterday_Champion:'Dünün Şampiyonu',
|
||||
Last_Elite:'Geçen Haftanın Elitleri',
|
||||
Last_Legend:'Geçen Ayın Efsanesi',
|
||||
Daily_Support:'Günlük<br />Destek',
|
||||
Weekly_Support:'Haftalık<br />Destek',
|
||||
Monthly_Support:'Aylık<br />Destek',
|
||||
Days:'Günler',
|
||||
Today_Support: 'Bugünün Desteği:',
|
||||
Upgrade_Requires: 'Yükseltme Gereksinimleri:',
|
||||
Consume:'tüket',
|
||||
Weekly_SupportTwo:'Haftalık Destek',
|
||||
Monthly_SupportTwo:'Aylık Destek',
|
||||
}
|
||||
|
||||
}
|
@@ -24,64 +24,36 @@ langZh = {
|
||||
priorityWinners: `優先獲勝者`,
|
||||
enRule: `
|
||||
<p>
|
||||
1. 活動時間:自然日/自然週/自然月(GMT+8)。<br>
|
||||
2. 活動期間,您在平台消費的幣值將會被統計。 (送1個幣的普通禮物=1個幣值;送1個幣的幸運禮物=0.02個幣值)。<br>
|
||||
3. 活動期間,當您的幣值達到相應等級時,即可獲得相應等級的獎勵。<br>
|
||||
1. 活動時間:每日 0:00-23:59(GMT+8)。<br>
|
||||
2. 每日計算您在平台上的消費,送 1 枚金幣禮物 = 1 枚金幣價值;1 枚金幣幸運禮物 = 0.02 枚金幣價值。<br>
|
||||
3. 當您達到相應級別時,您將獲得相應級別的獎勵。<br>
|
||||
</p>
|
||||
<p>
|
||||
限制:<br>
|
||||
1. 儲值代理用戶不參與此活動。<br>
|
||||
2. 小遊戲的投資不計入幣值消耗。<br>
|
||||
1. 充值代理不參加此活動。<br>
|
||||
2. 遊戲的投入不計為金幣消費。<br>
|
||||
</p>
|
||||
<p>
|
||||
注意:<br>
|
||||
1. 此活動與Google和蘋果無關。
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1. 活動時間:自然日/自然週/自然月(GMT+8)。<br>
|
||||
2. 活動期間,您在平台消費的金幣將被計入。 (送1個金幣普通禮物=1個金幣價值;送1個金幣幸運禮物=0.05個金幣價值)。<br>
|
||||
3. 活動期間,當您的金幣達到相應等級時,即可獲得相應等級的獎勵。<br>
|
||||
</p>
|
||||
<p>
|
||||
限制:<br>
|
||||
1. 儲值代理用戶不參與此活動。<br>
|
||||
2. 小遊戲投資不計入金幣消耗。<br>
|
||||
</p>
|
||||
<p>
|
||||
注意:<br>
|
||||
1. 此活動與Google和蘋果無關。
|
||||
1. 此活動與 Google 和 Apple 無關。
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1. 活動時間:自然日/自然週/自然月(GMT+3)。<br>
|
||||
2. 活動期間,您在平台消費的金幣將被計入。 (送1個金幣普通禮物=1個金幣價值;送1個金幣幸運禮物=0.05個金幣價值)。<br>
|
||||
3. 活動期間,當您的金幣達到相應等級時,即可獲得相應等級的獎勵。<br>
|
||||
1. 活動時間:每日 0:00-23:59(GMT+3)。<br>
|
||||
2. 每日計算您在平台上的消費,送 1 枚金幣禮物 = 1 枚金幣價值;1 枚金幣幸運禮物 = 0.05 枚金幣價值。<br>
|
||||
3. 當您達到相應級別時,您將獲得相應級別的獎勵。<br>
|
||||
</p>
|
||||
<p>
|
||||
限制:<br>
|
||||
1. 儲值代理用戶不參與此活動。<br>
|
||||
2. 小遊戲投資不計入金幣消耗。<br>
|
||||
1. 充值代理不參加此活動。<br>
|
||||
2. 遊戲的投入不計為金幣消費。<br>
|
||||
</p>
|
||||
<p>
|
||||
注意:<br>
|
||||
1. 此活動與Google、蘋果無關。
|
||||
1. 此活動與 Google 和 Apple 無關。
|
||||
</p>
|
||||
`,
|
||||
waiting: `等待中`,
|
||||
Yesterday_Champion: '昨日冠軍',
|
||||
Last_Elite: '上週精英',
|
||||
Last_Legend: '上月傳奇',
|
||||
Daily_Support: '每日<br />支持',
|
||||
Weekly_Support: '每週<br />支持',
|
||||
Monthly_Support: '每月<br />支持',
|
||||
Days: '天',
|
||||
Today_Support: '今日支持:',
|
||||
Upgrade_Requires: '升級至下一等級所需:',
|
||||
Consume:'消耗',
|
||||
Weekly_SupportTwo:'每週支持',
|
||||
Monthly_SupportTwo:'每月支持',
|
||||
}
|
||||
}
|
1011
view/molistar/modules/dailyConsumptionNew/css/index.css
Normal file
1132
view/molistar/modules/dailyConsumptionNew/css/index.scss
Normal file
BIN
view/molistar/modules/dailyConsumptionNew/images/210-tr.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/210-zh.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/210.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/210ar.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/350-tr.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/350-zh.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/350.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/3500-tr.png
Normal file
After Width: | Height: | Size: 182 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/3500-zh.png
Normal file
After Width: | Height: | Size: 181 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/3500.png
Normal file
After Width: | Height: | Size: 185 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/3500ar.png
Normal file
After Width: | Height: | Size: 184 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/350ar.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/7-tr.png
Normal file
After Width: | Height: | Size: 493 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/7-zh.png
Normal file
After Width: | Height: | Size: 498 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/7.png
Normal file
After Width: | Height: | Size: 494 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/70-tr.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/70-zh.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/70.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/700-tr.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/700-zh.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/700.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/700ar.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/70ar.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/7ar.png
Normal file
After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/act.png
Normal file
After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/bf.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/bg.png
Normal file
After Width: | Height: | Size: 350 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/box.png
Normal file
After Width: | Height: | Size: 315 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/close.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/false.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/gold.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/header-ar.png
Normal file
After Width: | Height: | Size: 602 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/header-tr.png
Normal file
After Width: | Height: | Size: 604 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/header-zh.png
Normal file
After Width: | Height: | Size: 602 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/header.png
Normal file
After Width: | Height: | Size: 601 KiB |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/null.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/ruleBg.png
Normal file
After Width: | Height: | Size: 222 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/ruleTitle.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/rule_cion.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/tab.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/tab2.png
Normal file
After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/tabact2.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/time.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/timeBg.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/title.png
Normal file
After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/travel/back.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.9 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/true.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
BIN
view/molistar/modules/dailyConsumptionNew/images/txk.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
280
view/molistar/modules/dailyConsumptionNew/index.html
Normal file
@@ -0,0 +1,280 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title class="text1"></title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.0">
|
||||
<link rel="stylesheet" href="./css/swiper-bundle.min.css" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 頂部返回 -->
|
||||
<div class="back">
|
||||
<img src="./images/travel/back.png" alt="">
|
||||
</div>
|
||||
<!-- 头部 -->
|
||||
<div class="header">
|
||||
<div class="date_tip"></div>
|
||||
<div class="rule_icon text2"></div>
|
||||
<!-- 历史榜单 -->
|
||||
<div class="lastTopUserVos">
|
||||
<div class="bg_img">
|
||||
<img src="./images/tx_day.png" alt=""></img>
|
||||
</div>
|
||||
<div class="avatar">
|
||||
<img src="" alt="">
|
||||
</div>
|
||||
<div class="title">Yesterday's Champion</div>
|
||||
<div class="nick"></div>
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<div class="tab_list">
|
||||
<div class="tab_box Daily_Support act_tab" activityType="DAY_CONSUME" ></div>
|
||||
<div class="tab_box Weekly_Support" activityType="WEEK_CONSUME"></div>
|
||||
<div class="tab_box Monthly_Support" activityType="MONTH_CONSUME"></div>
|
||||
</div>
|
||||
<!-- 倒计时 -->
|
||||
<div class="timeBox">
|
||||
<div class="day">
|
||||
<b>00</b>
|
||||
<p class="Days"></p>
|
||||
</div>
|
||||
<div class="hour">
|
||||
<b>00</b>
|
||||
<p class="text3"></p>
|
||||
</div>
|
||||
<div class="maohao">
|
||||
<img src="./images/maohao.png" alt="">
|
||||
</div>
|
||||
<div class="min">
|
||||
<b>00</b>
|
||||
<p class="text4"></p>
|
||||
</div>
|
||||
<div class="maohao">
|
||||
<img src="./images/maohao.png" alt="">
|
||||
</div>
|
||||
<div class="sec">
|
||||
<b>00</b>
|
||||
<p class="text5"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--我的消费进度 -->
|
||||
<div class="myBox">
|
||||
<div class="info">
|
||||
<div class="left">
|
||||
<img src="./images/txk.png" alt="" class="ts">
|
||||
<img src="" alt="" class="tx">
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="name"></div>
|
||||
<div class="Today_Support">
|
||||
<span class="title"></span>
|
||||
<span class="goldNum"></span>
|
||||
</div>
|
||||
<div class="Upgrade_Requires"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lineBox">
|
||||
<div class="line"></div>
|
||||
<div class="box1 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
<div class="box2 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
<div class="box3 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
<div class="box4 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
<div class="box5 boxs">
|
||||
<span><b>0K</b> <img src="./images/gold.png" alt=""></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="tetxBox">
|
||||
<div class="l text6"></div>
|
||||
<div class="r"><b>0</b>/<strong></strong></div>
|
||||
</div> -->
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<!-- <div class="tab">
|
||||
<div class="tabbox act text7"></div>
|
||||
<div class="text8"></div>
|
||||
</div> -->
|
||||
|
||||
<div class="reward_list">
|
||||
<div class="swiper">
|
||||
<div class="swiper-wrapper">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 档位1 -->
|
||||
<div class="content1">
|
||||
<div class="contentBox1 level3">
|
||||
<!-- 标题 -->
|
||||
<div class="title">
|
||||
<span><strong class="text9"></strong></span><img src="./images/gold.png" alt="">
|
||||
</div>
|
||||
<!-- 奖励内容 -->
|
||||
<div class="box">
|
||||
<div class="ts ts350" id="ts350"></div>
|
||||
<div class="zj zj700" id="zj700"></div>
|
||||
</div>
|
||||
<!-- 获奖人员 -->
|
||||
<div class="priorityWinners"></div>
|
||||
<div class="priorityWinnersBox">
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentBox2 level2">
|
||||
<!-- 标题 -->
|
||||
<div class="title">
|
||||
<span><strong class="text10"></strong></span><img src="./images/gold.png" alt="">
|
||||
</div>
|
||||
<!-- 奖励内容 -->
|
||||
<div class="box">
|
||||
<div class="ts ts70" id="ts70"></div>
|
||||
<div class="zj zj350" id="zj350"></div>
|
||||
</div>
|
||||
<!-- 获奖人员 -->
|
||||
<div class="priorityWinners"></div>
|
||||
<div class="priorityWinnersBox">
|
||||
<!-- <div>
|
||||
<img src="" alt="">
|
||||
<span>名字</span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="" alt="">
|
||||
<span>名字</span>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentBox3 level1">
|
||||
<!-- 标题 -->
|
||||
<div class="title">
|
||||
<span><strong class="text11"></strong></span><img src="./images/gold.png" alt="">
|
||||
</div>
|
||||
<!-- 奖励内容 -->
|
||||
<div class="box">
|
||||
<div class="ts ts700" id="ts700"></div>
|
||||
<div class="zj zj70" id="zj70"></div>
|
||||
</div>
|
||||
<!-- 获奖人员 -->
|
||||
<div class="priorityWinners"></div>
|
||||
<div class="priorityWinnersBox">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 档位2 -->
|
||||
<div class="content2">
|
||||
<div class="contentBox1 level6">
|
||||
<!-- 标题 -->
|
||||
<div class="title">
|
||||
<span class="text12"></span><img src="./images/gold.png" alt="">
|
||||
</div>
|
||||
<!-- 奖励内容 -->
|
||||
<div class="box">
|
||||
<div class="ts" id="ts7"></div>
|
||||
<!-- 播放图标 -->
|
||||
<img src="./images/bf.png" alt="" class="zjIcon">
|
||||
<img src="./images/bf.png" alt="" class="xzIcon">
|
||||
</div>
|
||||
<!-- 获奖人员 -->
|
||||
<div class="priorityWinners"></div>
|
||||
<div class="priorityWinnersBox">
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentBox2 level5">
|
||||
<!-- 标题 -->
|
||||
<div class="title">
|
||||
<span><strong class="text13"></strong></span><img src="./images/gold.png" alt="">
|
||||
</div>
|
||||
<!-- 奖励内容 -->
|
||||
<div class="box">
|
||||
<div class="ts" id="ts3500"></div>
|
||||
<div class="zj" id="zj3500"></div>
|
||||
<!-- 播放图标 -->
|
||||
<img src="./images/bf.png" alt="" class="xzIcon">
|
||||
</div>
|
||||
<!-- 获奖人员 -->
|
||||
<div class="priorityWinners"></div>
|
||||
<div class="priorityWinnersBox">
|
||||
<!-- <div>
|
||||
<img src="" alt="">
|
||||
<span>名字</span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="" alt="">
|
||||
<span>名字</span>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentBox3 level4">
|
||||
<!-- 标题 -->
|
||||
<div class="title">
|
||||
<span><strong class="text14"></strong></span><img src="./images/gold.png" alt="">
|
||||
</div>
|
||||
<!-- 奖励内容 -->
|
||||
<div class="box">
|
||||
<div class="ts" id="ts210"></div>
|
||||
<div class="zj" id="zj210"></div>
|
||||
</div>
|
||||
<!-- 获奖人员 -->
|
||||
<div class="priorityWinners"></div>
|
||||
<div class="priorityWinnersBox">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="null"></div>
|
||||
<div class="video">
|
||||
<video id="zjVideo" controls playsinline webkit-playsinline>
|
||||
<source src="./video/zj7.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
<div class="video2">
|
||||
<video id="zjVideo2" controls playsinline webkit-playsinline>
|
||||
<source src="./video/xz7.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
<div class="video3">
|
||||
<video id="zjVideo3" controls playsinline webkit-playsinline>
|
||||
<source src="./video/xz3500.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
|
||||
<!-- 规则 -->
|
||||
<div class="rule">
|
||||
<div class="rule_in">
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
<div class="title text2">Rules</div>
|
||||
<div class="box"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<script src="../../common/js/flexible.js"></script>
|
||||
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../../common/js/common2.js?v=1.0"></script>
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="./local/en.js"></script>
|
||||
<script src="./local/zh.js"></script>
|
||||
<script src="./local/ar.js"></script>
|
||||
<script src="./local/tr.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="./js/index.js?v=1.0"></script>
|
||||
<script src="../../common/local/langHandler.js"></script>
|
||||
<script src="./js/swiper-bundle.min.js"></script>
|
468
view/molistar/modules/dailyConsumptionNew/js/index.js
Normal file
@@ -0,0 +1,468 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
var langReplace;
|
||||
var localLang;
|
||||
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
|
||||
layer.open({
|
||||
type: 2,
|
||||
shadeClose: false,
|
||||
content,
|
||||
success(e) {
|
||||
layerIndex = $(e).attr('index')
|
||||
}
|
||||
})
|
||||
}
|
||||
const hideLoading = (index) => {
|
||||
layer.close(index)
|
||||
}
|
||||
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
|
||||
layer.open({
|
||||
content,
|
||||
time,
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
var countupTime;//倒计时容器
|
||||
var page = 0;
|
||||
var maxPage = 0;
|
||||
var arr = [];
|
||||
// 初始化函數
|
||||
$(function () {
|
||||
getInfoFromClient();
|
||||
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
|
||||
setTimeout(function () {
|
||||
// 頁面全屏
|
||||
if (browser.app) {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.initShowNav(false)
|
||||
} else {
|
||||
window.webkit.messageHandlers.initShowNav.postMessage(0)
|
||||
}
|
||||
};
|
||||
// 頂部返回事件
|
||||
$('.back img').click(() => {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.closeWebView()
|
||||
} else {
|
||||
window.webkit.messageHandlers.closeWebView.postMessage(null)
|
||||
}
|
||||
})
|
||||
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
|
||||
langReplace = window.lang.replace;
|
||||
localLang = window.lang;
|
||||
translateFun();
|
||||
getConfig();
|
||||
swiperFun();
|
||||
}, 100)
|
||||
})
|
||||
// 处理SVGA
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
function loadSVGA(containerId, svgaPath) {
|
||||
var container = document.getElementById(containerId);
|
||||
var player = new SVGA.Player(container);
|
||||
|
||||
var parser = new SVGA.Parser();
|
||||
parser.load(svgaPath, function (videoItem) {
|
||||
player.setVideoItem(videoItem);
|
||||
player.startAnimation();
|
||||
});
|
||||
}
|
||||
|
||||
loadSVGA('ts700', './svga/ts700.svga');
|
||||
loadSVGA('ts350', './svga/ts350.svga');
|
||||
loadSVGA('ts70', './svga/ts70.svga');
|
||||
loadSVGA('zj700', './svga/zj350.svga');
|
||||
loadSVGA('zj350', './svga/zj210.svga');
|
||||
loadSVGA('zj70', './svga/zj70.svga');
|
||||
|
||||
loadSVGA('ts7', './svga/ts210.svga');
|
||||
loadSVGA('ts3500', './svga/ts3500.svga');
|
||||
loadSVGA('ts210', './svga/ts7.svga');
|
||||
|
||||
|
||||
loadSVGA('zj3500', './svga/zj3500.svga');
|
||||
loadSVGA('zj210', './svga/zj700.svga');
|
||||
});
|
||||
function translateFun() {
|
||||
var langReplace = window.lang.replace;
|
||||
var localLang = window.lang;
|
||||
$('.text1').text(langReplace(localLang.demoModule.text1));
|
||||
$('.text2').text(langReplace(localLang.demoModule.text2));
|
||||
$('.text3').text(langReplace(localLang.demoModule.text3));
|
||||
$('.text4').text(langReplace(localLang.demoModule.text4));
|
||||
$('.text5').text(langReplace(localLang.demoModule.text5));
|
||||
$('.text6').text(langReplace(localLang.demoModule.text6));
|
||||
$('.text7').text(langReplace(localLang.demoModule.text7));
|
||||
$('.text8').text(langReplace(localLang.demoModule.text8));
|
||||
$('.text9').text(langReplace(localLang.demoModule.text9));
|
||||
$('.text10').text(langReplace(localLang.demoModule.text10));
|
||||
$('.text11').text(langReplace(localLang.demoModule.text11));
|
||||
$('.text12').text(langReplace(localLang.demoModule.text12));
|
||||
$('.text13').text(langReplace(localLang.demoModule.text13));
|
||||
$('.text14').text(langReplace(localLang.demoModule.text14));
|
||||
$('.text17').text(langReplace(localLang.demoModule.text17));
|
||||
$('.text18').text(langReplace(localLang.demoModule.text18));
|
||||
$('.text19').text(langReplace(localLang.demoModule.text19));
|
||||
$('.priorityWinners').text(langReplace(localLang.demoModule.priorityWinners));
|
||||
if (browser.ios) {
|
||||
$('.null').text(langReplace(localLang.demoModule.text15));
|
||||
} else {
|
||||
|
||||
$('.null').text(langReplace(localLang.demoModule.text16));
|
||||
}
|
||||
$('.Daily_Support').html(langReplace(localLang.demoModule.Daily_Support));
|
||||
$('.Weekly_Support').html(langReplace(localLang.demoModule.Weekly_Support));
|
||||
$('.Monthly_Support').html(langReplace(localLang.demoModule.Monthly_Support));
|
||||
$('.Days').html(langReplace(localLang.demoModule.Days));
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Yesterday_Champion))
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Today_Support));
|
||||
}
|
||||
console.log(unitProcessingAr(7000000, 1));
|
||||
var activityType = 'DAY_CONSUME';
|
||||
// var gearPosition = {
|
||||
// DAY_CONSUME: [70000, 350000, 700000, 2100000, 3500000],
|
||||
// WEEK_CONSUME: [560000, 2800000, 5600000, 16800000, 28000000],
|
||||
// MONTH_CONSUME: [7000000, 21000000, 35000000, 70000000, 140000000],
|
||||
// };
|
||||
var boxImgOption = {
|
||||
DAY_CONSUME: {
|
||||
ordinary: './images/day_ordinarybox.png',
|
||||
actBox: './images/day_actbox.png'
|
||||
},
|
||||
WEEK_CONSUME: {
|
||||
ordinary: './images/week_ordinarybox.png',
|
||||
actBox: './images/week_actbox.png'
|
||||
},
|
||||
MONTH_CONSUME: {
|
||||
ordinary: './images/month_ordinarybox.png',
|
||||
actBox: './images/month_actbox.png'
|
||||
}
|
||||
}
|
||||
// 配置接口
|
||||
function getConfig() {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/activity/h5/dayConsume',
|
||||
data: {
|
||||
uid: pubInfo.uid,
|
||||
activityType
|
||||
},
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
// 分区规则
|
||||
$('.rule .rule_in .box').html(res.data.partitionId == 2 || res.data.partitionId == 8 ? langReplace(localLang.demoModule.arRule) : res.data.partitionId == 1 ? langReplace(localLang.demoModule.enRule) : langReplace(localLang.demoModule.en2Rule));
|
||||
// 处理是否代理人
|
||||
res.data.rechargeUser ? $('.myBox').hide() : $('.myBox').show();
|
||||
// 处理等级不足不显示榜单
|
||||
res.data.wealth <= 7 ? $('.priorityWinners,.priorityWinnersBox').hide() : $('.priorityWinners,.priorityWinnersBox').show()
|
||||
|
||||
$('.header .date_tip').text(res.data.startDate + '-' + res.data.endDate)
|
||||
|
||||
// 榜单信息
|
||||
if (res.data.lastTopUserVos.length > 0) {
|
||||
$('.lastTopUserVos .avatar img').attr("src", res.data.lastTopUserVos[0].avatar)
|
||||
$('.lastTopUserVos .nick').text(res.data.lastTopUserVos[0].name)
|
||||
} else {
|
||||
$('.lastTopUserVos .avatar img').attr("src", './images/null.png')
|
||||
$('.lastTopUserVos .nick').text(langReplace(localLang.demoModule.waiting))
|
||||
}
|
||||
// 处理倒计时
|
||||
countup(res.data.expireNanos);
|
||||
let gearPosition = res.data.activityLevelUserVo
|
||||
// res.data.goldNum = 8000000;
|
||||
// 处理顶部进度以及个人信息
|
||||
$('.myBox .tx').attr('src', res.data.avatar);
|
||||
$('.myBox .name').text(res.data.nick);
|
||||
$('.myBox .Today_Support .goldNum').text( res.data.goldNum);
|
||||
$('.myBox .Upgrade_Requires').text(langReplace(localLang.demoModule.Upgrade_Requires) + getNextLevelDifference(res.data.goldNum, gearPosition));
|
||||
// 轮播图清空
|
||||
$('.reward_list .swiper-wrapper .swiper-slide').remove();
|
||||
let htmlStr = '';
|
||||
gearPosition.forEach((item, index) => {
|
||||
$(`.myBox .lineBox .box${index + 1} span b`).text(unitProcessingAr(item.usb, 1));
|
||||
// 均匀分配每个档位的进度条宽度
|
||||
const totalLevels = gearPosition.length;
|
||||
const levelWidth = 100 / totalLevels; // 每个档位的宽度百分比
|
||||
$(`.myBox .lineBox .box${index + 1}`).css('left', `${levelWidth * (index+1) -10}%`);
|
||||
|
||||
// 到达档位 - 宝箱高亮
|
||||
if (res.data.goldNum >= item.usb) {
|
||||
$(`.myBox .lineBox .box${index + 1}`).css({
|
||||
'background': `url(${boxImgOption[activityType].actBox}) no-repeat`,
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
} else {
|
||||
$(`.myBox .lineBox .box${index + 1}`).css({
|
||||
'background': `url(${boxImgOption[activityType].ordinary}) no-repeat`,
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
}
|
||||
// 渲染轮播图
|
||||
let str = '';
|
||||
// 处理每个档位的用户前四名
|
||||
if (item.userVos.length > 0) {
|
||||
item.userVos.forEach(val => {
|
||||
str += `
|
||||
<div>
|
||||
<img src="${val.avatar}" alt="">
|
||||
<span>${val.name}</span>
|
||||
</div>
|
||||
`
|
||||
})
|
||||
} else {
|
||||
str += `
|
||||
<div>
|
||||
<img src="./images/null.png" alt="">
|
||||
<span>${localLang.demoModule.waiting}</span>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
htmlStr += `
|
||||
<div class="swiper-slide">
|
||||
<div class="reward_box">
|
||||
<div class="top">
|
||||
<div class="title">${localLang.demoModule.Consume} ${unitProcessingAr(item.usb, 1)} <img src="./images/gold.png" alt=""> </div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<img src="./images/content.png" alt="">
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="priority_title">${localLang.demoModule.priorityWinners}</div>
|
||||
<div class="user_list">
|
||||
${str}
|
||||
</div>
|
||||
</div>
|
||||
<div class="nextBtn">
|
||||
<img src="./images/Next.png" alt="">
|
||||
</div>
|
||||
<div class="prevBtn">
|
||||
<img src="./images/Prev.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
});
|
||||
// 渲染轮播图
|
||||
$('.reward_list .swiper-wrapper').append(htmlStr);
|
||||
// 轮播图回到第一张
|
||||
mySwiper.slideTo(0);
|
||||
|
||||
// 调整进度条宽度为均匀分布
|
||||
let currentLevelIndex = getCurrentLevelIndex(res.data.goldNum, gearPosition);
|
||||
|
||||
if (currentLevelIndex >= gearPosition.length) {
|
||||
$('.myBox .lineBox .line').css('width', '100%');
|
||||
} else if (currentLevelIndex === 0) {
|
||||
// 特殊处理第一个档位
|
||||
let firstLevelValue = gearPosition[0].usb;
|
||||
let progressWidth = (res.data.goldNum / firstLevelValue) * (50 / gearPosition.length );
|
||||
$('.myBox .lineBox .line').css('width', `${progressWidth}%`);
|
||||
} else {
|
||||
let nextLevelValue = gearPosition[currentLevelIndex].usb;
|
||||
let totalLevels = gearPosition.length;
|
||||
let prevLevelValue = gearPosition[currentLevelIndex - 1].usb;
|
||||
|
||||
// 防止除以零的情况
|
||||
let levelRange = nextLevelValue - prevLevelValue;
|
||||
let progress = levelRange === 0 ? 0 : (res.data.goldNum - prevLevelValue) / levelRange;
|
||||
let progressWidth = (currentLevelIndex / totalLevels) * 100 + progress * (50 / totalLevels);
|
||||
|
||||
$('.myBox .lineBox .line').css('width', `${progressWidth}%`);
|
||||
}
|
||||
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error(err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg(langReplace(localLang.demoModule.layerIndex3))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 新增函数:获取当前等级索引
|
||||
function getCurrentLevelIndex(currentValue, levels) {
|
||||
for (let i = 0; i < levels.length; i++) {
|
||||
if (currentValue < levels[i].usb) {
|
||||
return i;
|
||||
} else if (currentValue === levels[i].usb) {
|
||||
// 如果当前值正好匹配档位值,返回下一个索引
|
||||
return i + 1;
|
||||
}
|
||||
}
|
||||
return levels.length; // 当前值大于等于最高等级,返回 levels.length
|
||||
}
|
||||
|
||||
// 倒計時
|
||||
function countup(leftTime) {
|
||||
clearTimeout(countupTime)
|
||||
//獲取當前時間
|
||||
// var now = nowTime;
|
||||
var d = 0;
|
||||
var h = 0;
|
||||
var m = 0;
|
||||
var s = 0;
|
||||
//定義變數 d,h,m,s保存倒計時的時間
|
||||
var d, h, m, s;
|
||||
//遞歸每秒調⽤countTime⽅法,顯⽰動態時間效果
|
||||
if (leftTime > 0) {
|
||||
d = getzf(Math.floor(leftTime / 1000 / 60 / 60 / 24));
|
||||
h = getzf(Math.floor(leftTime / 1000 / 60 / 60 % 24));
|
||||
m = getzf(Math.floor(leftTime / 1000 / 60 % 60));
|
||||
s = getzf(Math.floor(leftTime / 1000 % 60));
|
||||
//將倒計時賦值到div中
|
||||
$('.header .timeBox .day b').text(d);
|
||||
$('.header .timeBox .hour b').text(h);
|
||||
$('.header .timeBox .min b').text(m);
|
||||
$('.header .timeBox .sec b').text(s);
|
||||
} else {
|
||||
getConfig();
|
||||
}
|
||||
if (leftTime > 0) {
|
||||
leftTime = leftTime - 1000;
|
||||
}
|
||||
countupTime = setTimeout(function () {
|
||||
countup(leftTime);
|
||||
}, 1000);
|
||||
}
|
||||
//补0操作
|
||||
function getzf(num) {
|
||||
if (parseInt(num) < 10) {
|
||||
num = '0' + num;
|
||||
}
|
||||
return num;
|
||||
}
|
||||
// tab切换
|
||||
$('.tab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.content1,.content2').hide();
|
||||
$(`.content${i}`).show();
|
||||
$(this).addClass(`${i == 2 ? 'act2' : 'act'}`).siblings().removeClass('act').removeClass('act2')
|
||||
})
|
||||
// 打开mp4弹窗
|
||||
$('.content2 .contentBox1 .box .zjIcon').click(function () {
|
||||
var video = document.getElementById('zjVideo');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video').show();
|
||||
})
|
||||
$('.content2 .contentBox1 .box .xzIcon').click(function () {
|
||||
var video = document.getElementById('zjVideo2');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video2').show();
|
||||
})
|
||||
$('.content2 .contentBox2 .box .xzIcon').click(function () {
|
||||
var video = document.getElementById('zjVideo3');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video3').show();
|
||||
})
|
||||
// 关闭mp4弹窗
|
||||
$('.video .close,.video2 .close,.video3 .close').click(function () {
|
||||
var video = document.getElementById('zjVideo');
|
||||
var video2 = document.getElementById('zjVideo2');
|
||||
var video3 = document.getElementById('zjVideo3');
|
||||
video.pause();
|
||||
video2.pause();
|
||||
video3.pause();
|
||||
bodyScroolFun(false);
|
||||
$('.video,.video2,.video3').hide();
|
||||
})
|
||||
// 监听播放完毕事件
|
||||
var video = document.getElementById('zjVideo');
|
||||
video.addEventListener('ended', function () {
|
||||
video.pause();
|
||||
bodyScroolFun(false);
|
||||
$('.video').hide();
|
||||
});
|
||||
// 监听播放完毕事件
|
||||
var video2 = document.getElementById('zjVideo2');
|
||||
video.addEventListener('ended', function () {
|
||||
video2.pause();
|
||||
bodyScroolFun(false);
|
||||
$('.video2').hide();
|
||||
});
|
||||
// 监听播放完毕事件
|
||||
var video3 = document.getElementById('zjVideo3');
|
||||
video.addEventListener('ended', function () {
|
||||
video3.pause();
|
||||
bodyScroolFun(false);
|
||||
$('.video3').hide();
|
||||
});
|
||||
|
||||
// 打开规则
|
||||
$('.header .rule_icon').click(function () {
|
||||
$('.rule').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 关闭规则
|
||||
$('.rule .rule_in .close').click(function () {
|
||||
$('.rule').hide();
|
||||
bodyScroolFun(false);
|
||||
})
|
||||
// 点击tab
|
||||
$('.tab_list .tab_box').click(function () {
|
||||
$(this).addClass('act_tab').siblings().removeClass('act_tab');
|
||||
activityType = $(this).attr('activityType');
|
||||
if (activityType == 'DAY_CONSUME') {
|
||||
// 日消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Yesterday_Champion))
|
||||
$('.header .lastTopUserVos .bg_img img').attr('src', './images/tx_day.png');
|
||||
$('.myBox').css({
|
||||
'background': 'url(./images/day_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Today_Support));
|
||||
} else if (activityType == 'WEEK_CONSUME') {
|
||||
// 周消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Last_Elite))
|
||||
$('.header .lastTopUserVos .bg_img img').attr('src', './images/tx_week.png');
|
||||
$('.myBox').css({
|
||||
'background': 'url(./images/week_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Weekly_SupportTwo));
|
||||
} else if (activityType == 'MONTH_CONSUME') {
|
||||
// 月消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Last_Legend))
|
||||
$('.header .lastTopUserVos .bg_img img').attr('src', './images/tx_month.png');
|
||||
$('.myBox').css({
|
||||
'background': 'url(./images/month_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Monthly_SupportTwo));
|
||||
}
|
||||
getConfig();
|
||||
})
|
||||
function getNextLevelDifference(currentValue, levels) {
|
||||
for (let i = 0; i < levels.length; i++) {
|
||||
if (currentValue < levels[i].usb) {
|
||||
return levels[i].usb - currentValue;
|
||||
}
|
||||
}
|
||||
return 0; // 当前值大于等于最高等级,无需再升级
|
||||
}
|
||||
// 輪播
|
||||
function swiperFun() {
|
||||
mySwiper = new Swiper('.swiper', {
|
||||
loop: false,
|
||||
});
|
||||
}
|
||||
// 切换上一张
|
||||
$(document).on('click', '.prevBtn', function () {
|
||||
mySwiper.slidePrev();
|
||||
})
|
||||
// 切换下一张
|
||||
$(document).on('click', '.nextBtn', function () {
|
||||
mySwiper.slideNext();
|
||||
})
|
87
view/molistar/modules/dailyConsumptionNew/local/ar.js
Normal file
@@ -0,0 +1,87 @@
|
||||
// 阿拉伯
|
||||
langAr = {
|
||||
// 模块
|
||||
demoModule: {
|
||||
layerIndex1: `جاري التحميل...`,
|
||||
layerIndex2: `نجاح`,
|
||||
layerIndex3: `خطأ في الشبكة`,
|
||||
text1: `الاستهلاك اليومي`,
|
||||
text2: `القواعد`,
|
||||
text3: `ساعة`,
|
||||
text4: `دقيقة`,
|
||||
text5: `ثانية`,
|
||||
text6: `استهلاك العملات`,
|
||||
text7: `استهلاك 70K-700K`,
|
||||
text8: `استهلاك 2.1M-7M`,
|
||||
text9: `استهلاك 700K`,
|
||||
text10: `استهلاك 350K`,
|
||||
text11: `استهلاك 70K`,
|
||||
text12: `استهلاك 7M`,
|
||||
text13: `استهلاك 3.5M`,
|
||||
text14: `استهلاك 2.1M`,
|
||||
text15: `هذا الحدث لا علاقة له بـ Apple`,
|
||||
text16: `هذا الحدث لا علاقة له بـ Google`,
|
||||
priorityWinners: `الفائزون ذوو الأولوية`,
|
||||
enRule: `
|
||||
<p>
|
||||
1. وقت الحدث: يوم/أسبوع/شهر (بتوقيت غرينتش +8).<br>
|
||||
2. خلال الحدث، سيتم احتساب عملاتك التي أنفقتها على المنصة. (إرسال عملة واحدة كهدية عادية = قيمة عملة واحدة؛ عملة واحدة كهدية محظوظة = 0.02 قيمة عملة).<br>
|
||||
3. عند وصول عملاتك إلى المستوى المطلوب خلال الحدث، يمكنك الحصول على مكافأة المستوى المطلوب.<br>
|
||||
</p>
|
||||
<p>
|
||||
القيود:<br>
|
||||
1. لا يشارك مستخدمو وكلاء إعادة الشحن في هذا الحدث.<br>
|
||||
2. لا يشمل استهلاك العملات استثمار الألعاب المصغرة.<br>
|
||||
</p>
|
||||
<p>
|
||||
ملاحظة:<br>
|
||||
1. لا علاقة لهذا الحدث بجوجل وآبل.
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1. وقت الحدث: يوم/أسبوع/شهر (بتوقيت غرينتش +8).<br>
|
||||
2. خلال الحدث، سيتم احتساب عملاتك التي أنفقتها على المنصة. (إرسال عملة واحدة كهدية عادية = قيمة عملة واحدة؛ عملة واحدة كهدية محظوظة = 0.05 من قيمة العملة).<br>
|
||||
3. عند وصول عملاتك إلى المستوى المطلوب خلال الحدث، يمكنك الحصول على مكافأة المستوى المطلوب.<br>
|
||||
</p>
|
||||
<p>
|
||||
القيود:<br>
|
||||
1. لا يشارك مستخدمو وكلاء إعادة الشحن في هذا الحدث.<br>
|
||||
2. لا يشمل استهلاك العملات استثمار الألعاب المصغرة.<br>
|
||||
</p>
|
||||
<p>
|
||||
ملاحظة:<br>
|
||||
1. لا علاقة لهذا الحدث بجوجل وآبل.
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1. وقت الحدث: يوم/أسبوع/شهر (غرينتش +3).<br>
|
||||
2. خلال الحدث، سيتم احتساب عملاتك التي أنفقتها على المنصة. (إرسال عملة واحدة كهدية عادية = قيمة عملة واحدة؛ عملة واحدة كهدية محظوظة = 0.05 من قيمة العملة).<br>
|
||||
3. عند وصول عملاتك إلى المستوى المطلوب خلال الحدث، يمكنك الحصول على مكافأة المستوى المطلوب.<br>
|
||||
</p>
|
||||
<p>
|
||||
القيود:<br>
|
||||
1. لا يشارك مستخدمو وكلاء إعادة الشحن في هذا الحدث.<br>
|
||||
2. لا يشمل استهلاك العملات استثمار الألعاب المصغرة.<br>
|
||||
</p>
|
||||
<p>
|
||||
ملاحظة:<br>
|
||||
1. لا علاقة لهذا الحدث بجوجل وآبل.
|
||||
</p>
|
||||
`,
|
||||
waiting: `ي انتظار`,
|
||||
Yesterday_Champion:'بطل الأمس',
|
||||
Last_Elite:'نخبة الأسبوع الماضي',
|
||||
Last_Legend:'أسطورة الشهر الماضي',
|
||||
Daily_Support:'الدعم<br /> اليومي',
|
||||
Weekly_Support:'الدعم <br />الأسبوعي',
|
||||
Monthly_Support:'الدعم <br />الشهري',
|
||||
Days:'الأيام',
|
||||
Today_Support: 'دعم اليوم:',
|
||||
Upgrade_Requires: 'متطلبات الترقية:',
|
||||
Consume:'استهلاك ',
|
||||
Weekly_SupportTwo:'الدعم الأسبوعي',
|
||||
Monthly_SupportTwo:'الدعم الشهري',
|
||||
}
|
||||
}
|
85
view/molistar/modules/dailyConsumptionNew/local/en.js
Normal file
@@ -0,0 +1,85 @@
|
||||
langEn = {
|
||||
demoModule: {
|
||||
layerIndex1: `Loading...`,
|
||||
layerIndex2: `Success`,
|
||||
layerIndex3: `Network error`,
|
||||
text1: `Daily Consumption`,
|
||||
text2: `Rules`,
|
||||
text3: `Hour`,
|
||||
text4: `Min`,
|
||||
text5: `Sec`,
|
||||
text6: `Consume coins`,
|
||||
text7: `Consume 70K-700K`,
|
||||
text8: `Consume 2.1M-7M`,
|
||||
text9: `Consume 700K`,
|
||||
text10: `Consume 350K`,
|
||||
text11: `Consume 70K`,
|
||||
text12: `Consume 7M`,
|
||||
text13: `Consume 3.5M`,
|
||||
text14: `Consume 2.1M`,
|
||||
text15: `This event has nothing to do with Apple`,
|
||||
text16: `This event has nothing to do with Google`,
|
||||
priorityWinners: `Priority Winners`,
|
||||
enRule: `
|
||||
<p>
|
||||
1 Event time: natural day/natural week/natural month (GMT+8).<br>
|
||||
2 During the event, your coins spent on the platform will be counted. (Sending 1 coin normal gift = 1 coin value; 1 coin lucky gift = 0.02 coin value).<br>
|
||||
3. When your coins reach the corresponding level during the event, you can get the corresponding level reward.<br>
|
||||
</p>
|
||||
<p>
|
||||
Restrictions:<br>
|
||||
1 Recharge agent users do not participate in this event.<br>
|
||||
2 The investment in mini games is not included in the consumption of coins.<br>
|
||||
</p>
|
||||
<p>
|
||||
Attention:<br>
|
||||
1 This event has nothing to do with Google and Apple.
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1 Event time: natural day/natural week/natural month (GMT+8).<br>
|
||||
2 During the event, your coins spent on the platform will be counted. (Sending 1 coin normal gift = 1 coin value; 1 coin lucky gift = 0.05 coin value).<br>
|
||||
3. When your coins reach the corresponding level during the event, you can get the corresponding level reward.<br>
|
||||
</p>
|
||||
<p>
|
||||
Restrictions:<br>
|
||||
1 Recharge agent users do not participate in this event.<br>
|
||||
2 The investment in mini games is not included in the consumption of coins.<br>
|
||||
</p>
|
||||
<p>
|
||||
Attention:<br>
|
||||
1 This event has nothing to do with Google and Apple.
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1 Event time: natural day/natural week/natural month (GMT+3).<br>
|
||||
2 During the event, your coins spent on the platform will be counted. (Sending 1 coin normal gift = 1 coin value; 1 coin lucky gift = 0.05 coin value).<br>
|
||||
3. When your coins reach the corresponding level during the event, you can get the corresponding level reward.<br>
|
||||
</p>
|
||||
<p>
|
||||
Restrictions:<br>
|
||||
1 Recharge agent users do not participate in this event.<br>
|
||||
2 The investment in mini games is not included in the consumption of coins.<br>
|
||||
</p>
|
||||
<p>
|
||||
Attention:<br>
|
||||
1 This event has nothing to do with Google and Apple.
|
||||
</p>
|
||||
`,
|
||||
waiting: `Waiting`,
|
||||
Yesterday_Champion:`Yesterday's Champion`,
|
||||
Last_Elite:`Last Week's Elite`,
|
||||
Last_Legend:`Last Month's Legend`,
|
||||
Daily_Support:'Daily<br />Support',
|
||||
Weekly_Support:'Weekly<br />Support',
|
||||
Monthly_Support:'Monthly<br />Support',
|
||||
Days:'Days',
|
||||
Today_Support: `Today's Support:`,
|
||||
Upgrade_Requires: 'Upgrade Requires:',
|
||||
Consume:'Consume',
|
||||
Weekly_SupportTwo:'Weekly Support',
|
||||
Monthly_SupportTwo:'Monthly Support',
|
||||
}
|
||||
}
|
86
view/molistar/modules/dailyConsumptionNew/local/tr.js
Normal file
@@ -0,0 +1,86 @@
|
||||
langTr = {
|
||||
demoModule: {
|
||||
layerIndex1: `Yükleniyor...`,
|
||||
layerIndex2: `Başarılı`,
|
||||
layerIndex3: `Ağ hatası`,
|
||||
text1: `Günlük Tüketim`,
|
||||
text2: `Kurallar`,
|
||||
text3: `Saat`,
|
||||
text4: `Dakika`,
|
||||
text5: `Saniye`,
|
||||
text6: `Jeton harca`,
|
||||
text7: `70K-700K Harca`,
|
||||
text8: `2.1M-7M Harca`,
|
||||
text9: `700K Harca`,
|
||||
text10: `350K Harca`,
|
||||
text11: `70K Harca`,
|
||||
text12: `7M Harca`,
|
||||
text13: `3.5M Harca`,
|
||||
text14: `2.1M Harca`,
|
||||
text15: `Bu etkinlik Apple ile ilgisi yoktur`,
|
||||
text16: `Bu etkinlik Google ile ilgisi yoktur`,
|
||||
priorityWinners: `Öncelikli Kazananlar`,
|
||||
enRule: `
|
||||
<p>
|
||||
1 Etkinlik saati: doğal gün/doğal hafta/doğal ay (GMT+8).<br>
|
||||
2 Etkinlik sırasında, platformda harcadığınız coin'ler sayılacaktır. (1 coin normal hediye gönderimi = 1 coin değeri; 1 coin şanslı hediye gönderimi = 0,02 coin değeri).<br>
|
||||
3. Etkinlik sırasında coin'leriniz ilgili seviyeye ulaştığında, ilgili seviye ödülünü alabilirsiniz..<br>
|
||||
</p>
|
||||
<p>
|
||||
Kısıtlamalar:<br>
|
||||
1 Şarj acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2 Mini oyunlara yapılan yatırım, coin tüketimine dahil değildir.<br>
|
||||
</p>
|
||||
<p>
|
||||
Not:<br>
|
||||
1 Bu etkinliğin Google ve Apple ile hiçbir ilgisi yoktur.
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1 Etkinlik saati: doğal gün/doğal hafta/doğal ay (GMT+8).<br>
|
||||
2 Etkinlik sırasında, platformda harcadığınız coin'ler sayılacaktır. (1 coin normal hediye gönderimi = 1 coin değeri; 1 coin şanslı hediye gönderimi = 0,05 coin değeri).<br>
|
||||
3. Etkinlik sırasında coin'leriniz ilgili seviyeye ulaştığında, ilgili seviye ödülünü alabilirsiniz..<br>
|
||||
</p>
|
||||
<p>
|
||||
Kısıtlamalar:<br>
|
||||
1 Şarj acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2 Mini oyunlara yapılan yatırım, coin tüketimine dahil değildir.<br>
|
||||
</p>
|
||||
<p>
|
||||
Not:<br>
|
||||
1 Bu etkinliğin Google ve Apple ile hiçbir ilgisi yoktur.
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1 Etkinlik saati: doğal gün/doğal hafta/doğal ay (GMT+3).<br>
|
||||
2 Etkinlik sırasında, platformda harcadığınız coin'ler sayılacaktır. (1 coin normal hediye gönderimi = 1 coin değeri; 1 coin şanslı hediye gönderimi = 0,05 coin değeri).<br>
|
||||
3. Etkinlik sırasında coin'leriniz ilgili seviyeye ulaştığında, ilgili seviye ödülünü alabilirsiniz.<br>
|
||||
</p>
|
||||
<p>
|
||||
Kısıtlamalar:<br>
|
||||
1 Şarj acentesi kullanıcıları bu etkinliğe katılamaz.<br>
|
||||
2 Mini oyunlara yapılan yatırım, coin tüketimine dahil değildir.<br>
|
||||
</p>
|
||||
<p>
|
||||
Not:<br>
|
||||
1 Bu etkinliğin Google ve Apple ile hiçbir ilgisi yoktur.
|
||||
</p>
|
||||
`,
|
||||
waiting: `Bekleniyor`,
|
||||
Yesterday_Champion:'Dünün Şampiyonu',
|
||||
Last_Elite:'Geçen Haftanın Elitleri',
|
||||
Last_Legend:'Geçen Ayın Efsanesi',
|
||||
Daily_Support:'Günlük<br />Destek',
|
||||
Weekly_Support:'Haftalık<br />Destek',
|
||||
Monthly_Support:'Aylık<br />Destek',
|
||||
Days:'Günler',
|
||||
Today_Support: 'Bugünün Desteği:',
|
||||
Upgrade_Requires: 'Yükseltme Gereksinimleri:',
|
||||
Consume:'tüket',
|
||||
Weekly_SupportTwo:'Haftalık Destek',
|
||||
Monthly_SupportTwo:'Aylık Destek',
|
||||
}
|
||||
|
||||
}
|
87
view/molistar/modules/dailyConsumptionNew/local/zh.js
Normal file
@@ -0,0 +1,87 @@
|
||||
// 中文
|
||||
langZh = {
|
||||
// 模塊
|
||||
demoModule: {
|
||||
layerIndex1: `加载中...`,
|
||||
layerIndex2: `成功`,
|
||||
layerIndex3: `网络错误`,
|
||||
text1: `每日消費`,
|
||||
text2: `規則`,
|
||||
text3: `小時`,
|
||||
text4: `分`,
|
||||
text5: `秒`,
|
||||
text6: `消耗金幣`,
|
||||
text7: `消耗 70K-700K`,
|
||||
text8: `消耗 2.1M-700萬`,
|
||||
text9: `消耗 700K`,
|
||||
text10: `消耗 350K`,
|
||||
text11: `消耗 70K`,
|
||||
text12: `消耗 700萬`,
|
||||
text13: `消耗 3.5M`,
|
||||
text14: `消耗 2.1M`,
|
||||
text15: `此活動與 Apple 無關`,
|
||||
text16: `此活動與 Google 無關`,
|
||||
priorityWinners: `優先獲勝者`,
|
||||
enRule: `
|
||||
<p>
|
||||
1. 活動時間:自然日/自然週/自然月(GMT+8)。<br>
|
||||
2. 活動期間,您在平台消費的幣值將會被統計。 (送1個幣的普通禮物=1個幣值;送1個幣的幸運禮物=0.02個幣值)。<br>
|
||||
3. 活動期間,當您的幣值達到相應等級時,即可獲得相應等級的獎勵。<br>
|
||||
</p>
|
||||
<p>
|
||||
限制:<br>
|
||||
1. 儲值代理用戶不參與此活動。<br>
|
||||
2. 小遊戲的投資不計入幣值消耗。<br>
|
||||
</p>
|
||||
<p>
|
||||
注意:<br>
|
||||
1. 此活動與Google和蘋果無關。
|
||||
</p>
|
||||
`,
|
||||
en2Rule: `
|
||||
<p>
|
||||
1. 活動時間:自然日/自然週/自然月(GMT+8)。<br>
|
||||
2. 活動期間,您在平台消費的金幣將被計入。 (送1個金幣普通禮物=1個金幣價值;送1個金幣幸運禮物=0.05個金幣價值)。<br>
|
||||
3. 活動期間,當您的金幣達到相應等級時,即可獲得相應等級的獎勵。<br>
|
||||
</p>
|
||||
<p>
|
||||
限制:<br>
|
||||
1. 儲值代理用戶不參與此活動。<br>
|
||||
2. 小遊戲投資不計入金幣消耗。<br>
|
||||
</p>
|
||||
<p>
|
||||
注意:<br>
|
||||
1. 此活動與Google和蘋果無關。
|
||||
</p>
|
||||
`,
|
||||
arRule: `
|
||||
<p>
|
||||
1. 活動時間:自然日/自然週/自然月(GMT+3)。<br>
|
||||
2. 活動期間,您在平台消費的金幣將被計入。 (送1個金幣普通禮物=1個金幣價值;送1個金幣幸運禮物=0.05個金幣價值)。<br>
|
||||
3. 活動期間,當您的金幣達到相應等級時,即可獲得相應等級的獎勵。<br>
|
||||
</p>
|
||||
<p>
|
||||
限制:<br>
|
||||
1. 儲值代理用戶不參與此活動。<br>
|
||||
2. 小遊戲投資不計入金幣消耗。<br>
|
||||
</p>
|
||||
<p>
|
||||
注意:<br>
|
||||
1. 此活動與Google、蘋果無關。
|
||||
</p>
|
||||
`,
|
||||
waiting: `等待中`,
|
||||
Yesterday_Champion: '昨日冠軍',
|
||||
Last_Elite: '上週精英',
|
||||
Last_Legend: '上月傳奇',
|
||||
Daily_Support: '每日<br />支持',
|
||||
Weekly_Support: '每週<br />支持',
|
||||
Monthly_Support: '每月<br />支持',
|
||||
Days: '天',
|
||||
Today_Support: '今日支持:',
|
||||
Upgrade_Requires: '升級至下一等級所需:',
|
||||
Consume:'消耗',
|
||||
Weekly_SupportTwo:'每週支持',
|
||||
Monthly_SupportTwo:'每月支持',
|
||||
}
|
||||
}
|