Compare commits

...

47 Commits

Author SHA1 Message Date
dragon
5386cb8633 新增房间等级说明 2025-01-07 15:11:18 +08:00
dragon
df01ca63f3 修改星级公会样式 2025-01-07 11:52:05 +08:00
dragon
2f274ac0ee 新增星级 2025-01-07 11:52:05 +08:00
dragon
4d0fc830e6 修改月充值规则 2025-01-06 18:28:51 +08:00
dragon
3e574b6824 修改时间戳公会账单格式 2025-01-06 14:47:26 +08:00
dragon
bcb0d15895 修复账单传参语言异常问题 2025-01-03 18:09:10 +08:00
dragon
78a6cc627f 更改样式 2025-01-02 17:09:23 +08:00
dragon
110cfff097 替换奖励图 2025-01-02 15:10:39 +08:00
dragon
1c664c8088 样式优化月充值 2025-01-02 14:45:03 +08:00
dragon
a39a8401a5 样式优化、 2025-01-02 14:10:00 +08:00
dragon
13d6887103 完善无聊-月充值 2025-01-02 11:29:52 +08:00
dragon
ac87d8d60a 更新月充值活动 2024-12-31 18:23:56 +08:00
dragon
1889382b6f 新增汇率计算 2024-12-31 18:15:32 +08:00
dragon
d2de1aeec5 修改判断土耳其方式 2024-12-31 18:15:32 +08:00
dragon
4fb948ef7a 修改获取本地存储方法 2024-12-31 18:15:31 +08:00
dragon
b2cb2f4d61 新增主播时长-土耳其 2024-12-31 18:15:31 +08:00
dragon
eaf629bf44 样式优化 2024-12-31 16:28:39 +08:00
dragon
720f7b180a 样式优化 2024-12-31 14:42:00 +08:00
dragon
9d57da5a82 修复免责声明文案错误异常问题 2024-12-31 13:47:26 +08:00
dragon
62c05b58d6 样式修复 2024-12-31 11:51:15 +08:00
dragon
1ac799527d 完善奖励资源 2024-12-31 11:20:42 +08:00
dragon
1494612f03 优化样式 2024-12-30 18:39:44 +08:00
dragon
37f2443855 更改样式 2024-12-30 18:33:47 +08:00
dragon
575f8f0704 处理等级不显示异常 2024-12-30 18:26:01 +08:00
dragon
f455500f57 修复土耳其语言异常问题 2024-12-30 18:14:45 +08:00
dragon
c9f1a9911e 新增元旦活动 2024-12-30 17:42:32 +08:00
dragon
c30c9bb530 优化过长文案-账单 2024-12-27 13:42:28 +08:00
dragon
8e4cdc8803 新增账单 2024-12-26 17:46:25 +08:00
dragon
a2c441bdf7 新增遗漏账单 2024-12-26 15:43:37 +08:00
dragon
fd536b896f 新增账单 2024-12-26 14:26:58 +08:00
dragon
5814ef256f 新增账单类型 2024-12-26 14:26:58 +08:00
dragon
fde81be1a1 新增土耳其翻译 2024-12-26 14:26:57 +08:00
dragon
c7ed1163b2 重新准确定义全部的索引值 2024-12-26 14:26:57 +08:00
dragon
3d844db9b2 重新打包 2024-12-26 14:26:56 +08:00
dragon
877954e4e1 修改样式 2024-12-26 14:26:56 +08:00
dragon
c67ba0c3cf 优化账单样式 2024-12-26 14:26:55 +08:00
dragon
c738fcafcf 修复提起数据异常问题 2024-12-26 14:26:54 +08:00
dragon
9f035177c3 修改传参字段-账单 2024-12-26 14:26:54 +08:00
dragon
cd0ac13094 完成账单 2024-12-26 14:26:54 +08:00
dragon
20b49801fb 分页处理暂存 2024-12-26 14:26:53 +08:00
dragon
e352ab6148 账单分页问题暂存 2024-12-26 14:26:53 +08:00
dragon
7dea58ac20 账单暂存 2024-12-26 14:26:53 +08:00
dragon
aae420c9b0 账单暂存 2024-12-26 14:26:52 +08:00
dragon
01a825a7a6 暂存 2024-12-26 14:26:52 +08:00
dragon
d5c4817631 账单优化暂存 2024-12-26 14:26:52 +08:00
dragon
b71fe59bff 修改正式土耳其展示英语问题 2024-12-26 14:20:29 +08:00
dragon
b28b7ab10a 修改充值账号 2024-12-26 11:24:40 +08:00
182 changed files with 8211 additions and 1483 deletions

View File

@@ -0,0 +1,946 @@
html,
body {
width: 100%;
background: #2B001F;
}
.back {
width: 100%;
height: 0.58667rem;
line-height: 0.58667rem;
position: fixed;
left: 0;
top: 0.86667rem;
text-align: center;
color: #FFFFFF;
font-size: 0.50667rem;
font-weight: bold;
z-index: 10;
}
.back img {
width: 0.58667rem;
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 0rem;
}
.header {
width: 10rem;
height: 14.4rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.header .date {
width: 8.93333rem;
height: 0.74667rem;
line-height: 0.74667rem;
background: url(../images/time_bg.png) no-repeat;
background-size: 100% 100%;
text-align: center;
color: #FFF783;
font-size: 0.34667rem;
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4.90667rem;
}
.header .rule {
width: 1.46667rem;
height: 0.72rem;
line-height: 0.72rem;
text-indent: 0.1rem;
text-align: center;
color: #433402;
font-size: 0.37333rem;
font-weight: 500;
background: url(../images/rule_icon.png) no-repeat;
background-size: 100% 100%;
position: absolute;
right: 0;
top: 6.34667rem;
}
.giftBox {
position: relative;
width: 10rem;
height: 8.82667rem;
background: url(../images/giftBox.png) no-repeat;
background-size: 100% 100%;
margin: -1.33333rem auto 0.42667rem;
overflow: hidden;
}
.giftBox .title {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.05333rem;
text-align: center;
width: 7.50667rem;
height: 1.85333rem;
line-height: 2.66667rem;
color: #3C2800;
font-size: 0.42667rem;
font-weight: 600;
background: url(../images/title.png) no-repeat;
background-size: 100% 100%;
}
.giftBox .content {
width: 8.13333rem;
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
line-height: 0.56rem;
margin: 2.45333rem auto 0.4rem;
}
.giftBox .gift {
width: 8.13333rem;
height: 2.66667rem;
display: flex;
justify-content: space-between;
margin: 0 auto 0;
}
.giftBox .gift div {
width: 2.66667rem;
height: 2.66667rem;
position: relative;
background: url(../images/sGiftBox.png) no-repeat;
background-size: 100% 100%;
}
.giftBox .gift div img {
width: 1.90667rem;
height: 1.90667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.64rem;
}
.giftBox .gift div span {
width: 100%;
text-align: center;
color: #FFF783;
font-size: 0.37333rem;
font-weight: 600;
position: absolute;
left: 0;
bottom: -0.65rem;
}
.timeBox {
width: 9.14667rem;
height: 1.41333rem;
background: url(../images/timeBox.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0.42667rem;
box-sizing: border-box;
padding: 0 1.56rem;
display: flex;
justify-content: space-between;
overflow: hidden;
}
.timeBox div {
width: 1.2rem;
height: 1.09333rem;
margin-top: 0.14667rem;
box-sizing: border-box;
border: 0.02667rem solid #FFF1B2;
background: #700034;
border-radius: 0.18667rem;
text-align: center;
}
.timeBox div span {
display: block;
color: #FFF783;
font-size: 0.45333rem;
font-weight: 500;
margin: 0.13333rem auto 0.02667rem;
}
.timeBox div b {
display: block;
color: #FFF783;
font-size: 0.32rem;
font-weight: 400;
}
.page1 .top {
width: 10rem;
height: 11.2rem;
position: relative;
background: url(../images/topBg.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
}
.page1 .top .tab {
width: 8.64rem;
height: 1.17333rem;
line-height: 1.17333rem;
text-align: center;
display: flex;
justify-content: space-between;
margin: 0 auto 0.32rem;
}
.page1 .top .tab div {
width: 4.10667rem;
height: 1.17333rem;
color: #FFF783;
font-size: 0.45333rem;
font-weight: 600;
background: url(../images/tab.png) no-repeat;
background-size: 100% 100%;
}
.page1 .top .tab .act {
background: url(../images/actTab.png) no-repeat;
background-size: 100% 100%;
}
.page1 .top .top1 {
width: 8rem;
height: 5.06667rem;
position: relative;
margin: 0 auto 0;
}
.page1 .top .top1 .ts {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.page1 .top .top1 .tx {
width: 2.05333rem;
height: 2.05333rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.97333rem;
}
.page1 .top .top1 .name {
width: 100%;
height: 0.48rem;
line-height: 0.48rem;
position: absolute;
top: 3.4rem;
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
}
.page1 .top .top1 .name b {
max-width: 2.6rem;
text-align: right;
color: #FFF783;
font-size: 0.4rem;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.page1 .top .top1 .name img {
display: inline-block;
width: 1.02667rem;
height: 0.48rem;
}
.page1 .top .top1 .id {
width: 100%;
position: absolute;
top: 4rem;
text-align: center;
left: 0;
z-index: 3;
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
}
.page1 .top .top1 .score {
width: 100%;
height: 0.37333rem;
line-height: 0.37333rem;
position: absolute;
top: 4.42667rem;
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
}
.page1 .top .top1 .score b {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
}
.page1 .top .top1 .score img {
display: inline-block;
width: 0.37333rem;
height: 0.37333rem;
margin-right: 0.1rem;
}
.page1 .top .top2 {
width: 4.29333rem;
height: 4.32rem;
position: absolute;
left: 0.53333rem;
top: 6.93333rem;
margin: 0 auto 0;
}
.page1 .top .top2 .ts {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.page1 .top .top2 .tx {
width: 1.6rem;
height: 1.6rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.48rem;
}
.page1 .top .top2 .name {
width: 100%;
height: 0.48rem;
line-height: 0.48rem;
position: absolute;
top: 2.52rem;
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
}
.page1 .top .top2 .name b {
max-width: 2.6rem;
text-align: right;
color: #FFF783;
font-size: 0.4rem;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.page1 .top .top2 .name img {
display: inline-block;
width: 1.02667rem;
height: 0.48rem;
}
.page1 .top .top2 .id {
width: 100%;
position: absolute;
top: 3.04rem;
text-align: center;
left: 0;
z-index: 3;
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
}
.page1 .top .top2 .score {
width: 100%;
height: 0.37333rem;
line-height: 0.37333rem;
position: absolute;
top: 3.46667rem;
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
}
.page1 .top .top2 .score b {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
}
.page1 .top .top2 .score img {
display: inline-block;
width: 0.37333rem;
height: 0.37333rem;
margin-right: 0.1rem;
}
.page1 .top .top3 {
width: 4.29333rem;
height: 4.32rem;
position: absolute;
right: 0.53333rem;
top: 6.93333rem;
margin: 0 auto 0;
}
.page1 .top .top3 .ts {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.page1 .top .top3 .tx {
width: 1.6rem;
height: 1.6rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.48rem;
}
.page1 .top .top3 .name {
width: 100%;
height: 0.48rem;
line-height: 0.48rem;
position: absolute;
top: 2.52rem;
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
}
.page1 .top .top3 .name b {
max-width: 2.6rem;
text-align: right;
color: #FFF783;
font-size: 0.4rem;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.page1 .top .top3 .name img {
display: inline-block;
width: 1.02667rem;
height: 0.48rem;
}
.page1 .top .top3 .id {
width: 100%;
position: absolute;
top: 3.04rem;
text-align: center;
left: 0;
z-index: 3;
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
}
.page1 .top .top3 .score {
width: 100%;
height: 0.37333rem;
line-height: 0.37333rem;
position: absolute;
top: 3.46667rem;
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
}
.page1 .top .top3 .score b {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
}
.page1 .top .top3 .score img {
display: inline-block;
width: 0.37333rem;
height: 0.37333rem;
margin-right: 0.1rem;
}
.page1 .bottom {
width: 10rem;
height: 0.66667rem;
background: url(../images/bottomBg.png) no-repeat;
background-size: 100% 100%;
margin: -0.2rem auto 0;
position: relative;
z-index: 2;
}
.page1 .content {
width: 10rem;
height: auto;
margin: 0 auto 0;
background: url(../images/contentBg.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
}
.page1 .content ul {
width: 8.8rem;
margin: 0.37333rem auto 0rem;
}
.page1 .content ul li {
width: 100%;
height: 1.54667rem;
background: linear-gradient(0deg, #9F0141, #760231);
border-radius: 0.24rem;
border: 0.04rem solid #FFF783;
margin-bottom: 0.32rem;
overflow: hidden;
padding: 0 0.32rem 0 0.2rem;
box-sizing: border-box;
}
.page1 .content ul li .num {
float: left;
width: 0.53333rem;
height: 100%;
line-height: 1.54667rem;
color: #FFF783;
font-size: 0.42667rem;
font-weight: 600;
margin-right: 0.36rem;
text-align: center;
}
.page1 .content ul li .tx {
float: left;
width: 1.10667rem;
height: 1.10667rem;
border-radius: 50%;
border: 0.02667rem solid #FFF783;
display: block;
margin-top: 0.21333rem;
margin-right: 0.18667rem;
}
.page1 .content ul li .info {
float: left;
margin-top: 0.33333rem;
}
.page1 .content ul li .info p {
height: 0.48rem;
line-height: 0.48rem;
margin-bottom: 0.13333rem;
}
.page1 .content ul li .info p b {
max-width: 2rem;
display: inline-block;
height: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFF783;
font-size: 0.4rem;
font-weight: 500;
}
.page1 .content ul li .info p img {
display: inline-block;
width: 1.02667rem;
height: 0.48rem;
}
.page1 .content ul li .info span {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
display: block;
}
.page1 .content ul li .score {
display: flex;
float: right;
height: 1.54667rem;
line-height: 1.54667rem;
}
.page1 .content ul li .score img {
display: inline-block;
width: 0.34667rem;
height: 0.36rem;
margin: 0.6rem 0.06667rem 0 0.06667rem;
vertical-align: middle;
}
.page1 .content ul li .score b {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
vertical-align: middle;
}
.page1 .content .more {
width: 1.65333rem;
height: 0.58667rem;
line-height: 0.58667rem;
text-align: center;
padding: 0 0.45333rem;
margin: 0 auto 0.3rem;
color: #FFF783;
border: 0.02667rem solid #FFF783;
border-radius: 0.58667rem;
box-sizing: border-box;
font-size: 0.32rem;
font-weight: 500;
}
.page1 .my {
position: fixed;
z-index: 9;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 10rem;
height: 1.73333rem;
background: linear-gradient(0deg, #9F0141, #760231);
border-radius: 0.24rem 0.24rem 0px 0px;
border: 0.04rem solid #FFF783;
box-sizing: border-box;
padding: 0 0.52rem 0 0.2rem;
}
.page1 .my .num {
float: left;
width: 0.53333rem;
height: 100%;
line-height: 1.73333rem;
color: #FFF783;
font-size: 0.42667rem;
font-weight: 600;
margin-right: 0.36rem;
text-align: center;
}
.page1 .my .tx {
float: left;
width: 1.10667rem;
height: 1.10667rem;
border-radius: 50%;
border: 0.02667rem solid #FFF783;
display: block;
margin-top: 0.21333rem;
margin-right: 0.18667rem;
}
.page1 .my .info {
float: left;
margin-top: 0.33333rem;
}
.page1 .my .info p {
height: 0.48rem;
line-height: 0.48rem;
margin-bottom: 0.13333rem;
}
.page1 .my .info p b {
max-width: 2rem;
display: inline-block;
height: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFF783;
font-size: 0.4rem;
font-weight: 500;
}
.page1 .my .info p img {
display: inline-block;
width: 1.02667rem;
height: 0.48rem;
}
.page1 .my .info span {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
display: block;
}
.page1 .my .score {
display: flex;
float: right;
height: 1.73333rem;
line-height: 1.73333rem;
}
.page1 .my .score img {
display: inline-block;
width: 0.34667rem;
height: 0.36rem;
margin: 0.69333rem 0.06667rem 0 0.06667rem;
vertical-align: middle;
}
.page1 .my .score b {
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
vertical-align: middle;
}
.page2 {
display: none;
}
.page2 .top {
width: 10rem;
height: 2.16rem;
position: relative;
background: url(../images/topBg2.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto -0.2rem;
position: relative;
}
.page2 .top .tab {
width: 8.64rem;
height: 1.17333rem;
line-height: 1.17333rem;
text-align: center;
display: flex;
justify-content: space-between;
margin: 0 auto 0.32rem;
}
.page2 .top .tab div {
width: 4.10667rem;
height: 1.17333rem;
color: #FFF783;
font-size: 0.45333rem;
font-weight: 600;
background: url(../images/tab.png) no-repeat;
background-size: 100% 100%;
}
.page2 .top .tab .act {
background: url(../images/actTab.png) no-repeat;
background-size: 100% 100%;
}
.page2 .bottom {
width: 10rem;
height: 0.66667rem;
background: url(../images/bottomBg.png) no-repeat;
background-size: 100% 100%;
margin: -0.2rem auto 0;
}
.page2 .content {
width: 10rem;
margin: 0 auto 0;
background: url(../images/contentBg.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
}
.page2 .content .box {
width: 9.06667rem;
height: 42.21333rem;
background: url(../images/rewardBg.png) no-repeat;
background-size: 100% 100%;
margin: 0.2rem auto 0;
position: relative;
}
.page2 .content .box .bo {
position: absolute;
width: 0.69333rem;
height: 0.69333rem;
left: 1.88rem;
}
.page2 .content .box .bo1 {
top: 9.92rem;
}
.page2 .content .box .bo2 {
top: 23rem;
}
.page2 .content .box .bo3 {
top: 38.56rem;
}
.rules {
position: fixed;
z-index: 999;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.5);
display: none;
}
.rules .rule_in {
width: 10rem;
height: 8.82667rem;
background: url(../images/ruleBg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
}
.rules .rule_in .close {
position: absolute;
width: 0.90667rem;
height: 0.90667rem;
right: 0rem;
top: 0.09333rem;
}
.rules .rule_in .titles {
width: 7.50667rem;
height: 1.85333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.05333rem;
text-align: center;
color: #3C2800;
font-size: 0.42667rem;
font-weight: 600;
line-height: 2.66667rem;
background: url(../images/ruleTitle.png) no-repeat;
background-size: 100% 100%;
}
.rules .rule_in .text {
width: 8.22667rem;
height: 5.9rem;
overflow-y: scroll;
color: #FFF783;
font-size: 0.37333rem;
font-weight: 400;
line-height: 0.56rem;
margin: 2.49333rem auto 0;
}
.rules .rule_in .text::-webkit-scrollbar {
display: none;
}
.bottomText {
width: 100%;
text-align: center;
color: #FFF783;
font-size: 0.32rem;
font-weight: 400;
margin: 0.66667rem auto 2.4rem;
}
.video {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 99;
display: none;
}
.video video {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 65%;
}
.video .close {
width: 0.90667rem;
height: 0.90667rem;
position: absolute;
top: 10%;
right: 0.93333rem;
z-index: 9;
}
.arabic .header {
background: url(../images/header-ar.png) no-repeat;
background-size: 100% 100%;
}
.arabic .page2 .content .box {
background: url(../images/rewardBg-ar.png) no-repeat;
background-size: 100% 100%;
}
.china .header {
background: url(../images/header-zh.png) no-repeat;
background-size: 100% 100%;
}
.china .page2 .content .box {
background: url(../images/rewardBg-zh.png) no-repeat;
background-size: 100% 100%;
}
.Turkiye .header {
background: url(../images/header-tr.png) no-repeat;
background-size: 100% 100%;
}
.Turkiye .page2 .content .box {
background: url(../images/rewardBg-tr.png) no-repeat;
background-size: 100% 100%;
}
.Turkiye .timeBox {
width: 10rem;
}
.Turkiye .timeBox div {
width: 1.6rem;
}

View File

@@ -0,0 +1,960 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: #2B001F;
}
.back {
width: 100%;
height: px2rem(44);
line-height: px2rem(44);
position: fixed;
left: 0;
top: px2rem(65);
text-align: center;
color: #FFFFFF;
font-size: px2rem(38);
font-weight: bold;
z-index: 10;
img {
width: px2rem(44);
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(0);
}
}
.header {
width: px2rem(750);
height: px2rem(1080);
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
.date {
width: px2rem(670);
height: px2rem(56);
line-height: px2rem(56);
background: url(../images/time_bg.png) no-repeat;
background-size: 100% 100%;
text-align: center;
color: #FFF783;
font-size: px2rem(26);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(368);
}
.rule {
width: px2rem(110);
height: px2rem(54);
line-height: px2rem(54);
text-indent: 0.1rem;
text-align: center;
color: #433402;
font-size: px2rem(28);
font-weight: 500;
background: url(../images/rule_icon.png) no-repeat;
background-size: 100% 100%;
position: absolute;
right: 0;
top: px2rem(476);
}
}
.giftBox {
position: relative;
width: px2rem(750);
height: px2rem(662);
background: url(../images/giftBox.png) no-repeat;
background-size: 100% 100%;
margin: px2rem(-100) auto px2rem(32);
overflow: hidden;
.title {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(4);
text-align: center;
width: px2rem(563);
height: px2rem(139);
line-height: px2rem(200);
color: #3C2800;
font-size: px2rem(32);
font-weight: 600;
background: url(../images/title.png) no-repeat;
background-size: 100% 100%;
}
.content {
width: px2rem(610);
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
line-height: px2rem(42);
margin: px2rem(184) auto px2rem(30);
}
.gift {
width: px2rem(610);
height: px2rem(200);
display: flex;
justify-content: space-between;
margin: 0 auto 0;
div {
width: px2rem(200);
height: px2rem(200);
position: relative;
background: url(../images/sGiftBox.png) no-repeat;
background-size: 100% 100%;
img {
width: px2rem(143);
height: px2rem(143);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(48);
}
span {
width: 100%;
text-align: center;
color: #FFF783;
font-size: px2rem(28);
font-weight: 600;
position: absolute;
left: 0;
bottom: -0.65rem;
}
}
}
}
.timeBox {
width: px2rem(686);
height: px2rem(106);
background: url(../images/timeBox.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto px2rem(32);
box-sizing: border-box;
padding: 0 px2rem(117);
display: flex;
justify-content: space-between;
overflow: hidden;
div {
width: px2rem(90);
height: px2rem(82);
margin-top: px2rem(11);
box-sizing: border-box;
border: px2rem(2) solid #FFF1B2;
background: #700034;
border-radius: px2rem(14);
text-align: center;
span {
display: block;
color: #FFF783;
font-size: px2rem(34);
font-weight: 500;
margin: px2rem(10) auto px2rem(2);
}
b {
display: block;
color: #FFF783;
font-size: px2rem(24);
font-weight: 400;
}
}
}
.page1 {
// display: none;
.top {
width: px2rem(750);
height: px2rem(840);
position: relative;
background: url(../images/topBg.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
.tab {
width: px2rem(648);
height: px2rem(88);
line-height: px2rem(88);
text-align: center;
display: flex;
justify-content: space-between;
margin: 0 auto px2rem(24);
div {
width: px2rem(308);
height: px2rem(88);
color: #FFF783;
font-size: px2rem(34);
font-weight: 600;
background: url(../images/tab.png) no-repeat;
background-size: 100% 100%;
}
.act {
background: url(../images/actTab.png) no-repeat;
background-size: 100% 100%;
}
}
.top1 {
width: px2rem(600);
height: px2rem(380);
position: relative;
margin: 0 auto 0;
.ts {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.tx {
width: px2rem(154);
height: px2rem(154);
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(73);
}
.name {
width: 100%;
height: px2rem(36);
line-height: px2rem(36);
position: absolute;
top: px2rem(255);
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
b {
max-width: 2.6rem;
text-align: right;
color: #FFF783;
font-size: px2rem(30);
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
img {
display: inline-block;
width: px2rem(77);
height: px2rem(36);
}
}
.id {
width: 100%;
position: absolute;
top: px2rem(300);
text-align: center;
left: 0;
z-index: 3;
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
}
.score {
width: 100%;
height: px2rem(28);
line-height: px2rem(28);
position: absolute;
top: px2rem(332);
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
b {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
}
img {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
margin-right: 0.1rem;
}
}
}
.top2 {
width: px2rem(322);
height: px2rem(324);
position: absolute;
left: px2rem(40);
top: px2rem(520);
margin: 0 auto 0;
.ts {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.tx {
width: px2rem(120);
height: px2rem(120);
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(36);
}
.name {
width: 100%;
height: px2rem(36);
line-height: px2rem(36);
position: absolute;
top: px2rem(189);
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
b {
max-width: 2.6rem;
text-align: right;
color: #FFF783;
font-size: px2rem(30);
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
img {
display: inline-block;
width: px2rem(77);
height: px2rem(36);
}
}
.id {
width: 100%;
position: absolute;
top: px2rem(228);
text-align: center;
left: 0;
z-index: 3;
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
}
.score {
width: 100%;
height: px2rem(28);
line-height: px2rem(28);
position: absolute;
top: px2rem(260);
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
b {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
}
img {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
margin-right: 0.1rem;
}
}
}
.top3 {
width: px2rem(322);
height: px2rem(324);
position: absolute;
right: px2rem(40);
top: px2rem(520);
margin: 0 auto 0;
.ts {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.tx {
width: px2rem(120);
height: px2rem(120);
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(36);
}
.name {
width: 100%;
height: px2rem(36);
line-height: px2rem(36);
position: absolute;
top: px2rem(189);
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
b {
max-width: 2.6rem;
text-align: right;
color: #FFF783;
font-size: px2rem(30);
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
img {
display: inline-block;
width: px2rem(77);
height: px2rem(36);
}
}
.id {
width: 100%;
position: absolute;
top: px2rem(228);
text-align: center;
left: 0;
z-index: 3;
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
}
.score {
width: 100%;
height: px2rem(28);
line-height: px2rem(28);
position: absolute;
top: px2rem(260);
left: 0;
display: flex;
z-index: 3;
flex-wrap: nowrap;
justify-content: center;
b {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
}
img {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
margin-right: 0.1rem;
}
}
}
}
.bottom {
width: px2rem(750);
height: px2rem(50);
background: url(../images/bottomBg.png) no-repeat;
background-size: 100% 100%;
margin: -0.2rem auto 0;
position: relative;
z-index: 2;
}
.content {
width: px2rem(750);
height: auto;
margin: 0 auto 0;
background: url(../images/contentBg.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
ul {
width: px2rem(660);
margin: px2rem(28) auto px2rem(0);
li {
width: 100%;
height: px2rem(116);
background: linear-gradient(0deg, #9F0141, #760231);
border-radius: px2rem(18);
border: px2rem(3) solid #FFF783;
margin-bottom: px2rem(24);
overflow: hidden;
padding: 0 px2rem(24) 0 px2rem(15);
box-sizing: border-box;
.num {
float: left;
width: px2rem(40);
height: 100%;
line-height: px2rem(116);
color: #FFF783;
font-size: px2rem(32);
font-weight: 600;
margin-right: px2rem(27);
text-align: center;
}
.tx {
float: left;
width: px2rem(83);
height: px2rem(83);
border-radius: 50%;
border: px2rem(2) solid #FFF783;
display: block;
margin-top: px2rem(16);
margin-right: px2rem(14);
}
.info {
float: left;
margin-top: px2rem(25);
p {
height: px2rem(36);
line-height: px2rem(36);
margin-bottom: px2rem(10);
b {
max-width: 2rem;
display: inline-block;
height: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFF783;
font-size: px2rem(30);
font-weight: 500;
}
img {
display: inline-block;
width: px2rem(77);
height: px2rem(36);
}
}
span {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
display: block;
}
}
.score {
display: flex;
float: right;
height: px2rem(116);
line-height: px2rem(116);
img {
display: inline-block;
width: px2rem(26);
height: px2rem(27);
margin: px2rem(45) px2rem(5) 0 px2rem(5);
vertical-align: middle;
}
b {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
vertical-align: middle;
}
}
}
}
.more {
width: px2rem(124);
height: px2rem(44);
line-height: px2rem(44);
text-align: center;
padding: 0 px2rem(34);
margin: 0 auto 0.3rem;
color: #FFF783;
border: px2rem(2) solid #FFF783;
border-radius: px2rem(44);
box-sizing: border-box;
font-size: px2rem(24);
font-weight: 500;
}
}
.my {
position: fixed;
z-index: 9;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: px2rem(750);
height: px2rem(130);
background: linear-gradient(0deg, #9F0141, #760231);
border-radius: px2rem(18) px2rem(18) 0px 0px;
border: px2rem(3) solid #FFF783;
box-sizing: border-box;
padding: 0 px2rem(39) 0 px2rem(15);
.num {
float: left;
width: px2rem(40);
height: 100%;
line-height: px2rem(130);
color: #FFF783;
font-size: px2rem(32);
font-weight: 600;
margin-right: px2rem(27);
text-align: center;
}
.tx {
float: left;
width: px2rem(83);
height: px2rem(83);
border-radius: 50%;
border: px2rem(2) solid #FFF783;
display: block;
margin-top: px2rem(16);
margin-right: px2rem(14);
}
.info {
float: left;
margin-top: px2rem(25);
p {
height: px2rem(36);
line-height: px2rem(36);
margin-bottom: px2rem(10);
b {
max-width: 2rem;
display: inline-block;
height: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFF783;
font-size: px2rem(30);
font-weight: 500;
}
img {
display: inline-block;
width: px2rem(77);
height: px2rem(36);
}
}
span {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
display: block;
}
}
.score {
display: flex;
float: right;
height: px2rem(130);
line-height: px2rem(130);
img {
display: inline-block;
width: px2rem(26);
height: px2rem(27);
margin: px2rem(52) px2rem(5) 0 px2rem(5);
vertical-align: middle;
}
b {
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
vertical-align: middle;
}
}
}
}
.page2 {
display: none;
.top {
width: px2rem(750);
height: px2rem(162);
position: relative;
background: url(../images/topBg2.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto -0.2rem;
position: relative;
.tab {
width: px2rem(648);
height: px2rem(88);
line-height: px2rem(88);
text-align: center;
display: flex;
justify-content: space-between;
margin: 0 auto px2rem(24);
div {
width: px2rem(308);
height: px2rem(88);
color: #FFF783;
font-size: px2rem(34);
font-weight: 600;
background: url(../images/tab.png) no-repeat;
background-size: 100% 100%;
}
.act {
background: url(../images/actTab.png) no-repeat;
background-size: 100% 100%;
}
}
}
.bottom {
width: px2rem(750);
height: px2rem(50);
background: url(../images/bottomBg.png) no-repeat;
background-size: 100% 100%;
margin: -0.2rem auto 0;
}
.content {
width: px2rem(750);
margin: 0 auto 0;
background: url(../images/contentBg.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
.box {
width: px2rem(680);
height: px2rem(3166);
background: url(../images/rewardBg.png) no-repeat;
background-size: 100% 100%;
margin: 0.2rem auto 0;
position: relative;
.bo {
position: absolute;
width: px2rem(52);
height: px2rem(52);
left: px2rem(141);
}
.bo1 {
top: px2rem(744);
}
.bo2 {
top: px2rem(1725);
}
.bo3 {
top: px2rem(2892);
}
}
}
}
.rules {
position: fixed;
z-index: 999;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, .5);
display: none;
.rule_in {
width: px2rem(750);
height: px2rem(662);
background: url(../images/ruleBg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
.close {
position: absolute;
width: px2rem(68);
height: px2rem(68);
right: px2rem(0);
top: px2rem(7);
}
.titles {
width: px2rem(563);
height: px2rem(139);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(4);
text-align: center;
color: #3C2800;
font-size: px2rem(32);
font-weight: 600;
line-height: px2rem(200);
background: url(../images/ruleTitle.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(617);
height: 5.9rem;
overflow-y: scroll;
color: #FFF783;
font-size: px2rem(28);
font-weight: 400;
line-height: px2rem(42);
margin: px2rem(187) auto 0;
&::-webkit-scrollbar {
display: none;
}
}
}
}
.bottomText {
width: 100%;
text-align: center;
color: #FFF783;
font-size: px2rem(24);
font-weight: 400;
margin: px2rem(50) auto px2rem(180);
}
.video {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .5);
z-index: 99;
display: none;
video {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 65%;
}
.close {
width: px2rem(68);
height: px2rem(68);
position: absolute;
top: 10%;
right: px2rem(70);
z-index: 9;
}
}
.arabic {
.header {
background: url(../images/header-ar.png) no-repeat;
background-size: 100% 100%;
}
.page2 .content .box {
background: url(../images/rewardBg-ar.png) no-repeat;
background-size: 100% 100%;
}
}
.china {
.header {
background: url(../images/header-zh.png) no-repeat;
background-size: 100% 100%;
}
.page2 .content .box {
background: url(../images/rewardBg-zh.png) no-repeat;
background-size: 100% 100%;
}
}
.Turkiye {
.header {
background: url(../images/header-tr.png) no-repeat;
background-size: 100% 100%;
}
.page2 .content .box {
background: url(../images/rewardBg-tr.png) no-repeat;
background-size: 100% 100%;
}
.timeBox {
width: px2rem(750);
div {
width: 1.6rem;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,205 @@
<!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">
</head>
<body>
<!-- 头部 -->
<div class="header">
<div class="date"><b class="text2"></b> <span class="text22"></span></div>
<div class="rule text3"></div>
</div>
<!-- 礼物盒子 -->
<div class="giftBox">
<div class="title text4"></div>
<div class="content text5"></div>
<div class="gift">
<div class="gift0">
<img src="./images/logo.png" alt="">
<span>Name</span>
</div>
<div class="gift1">
<img src="./images/logo.png" alt="">
<span>Name</span>
</div>
<div class="gift2">
<img src="./images/logo.png" alt="">
<span>Name</span>
</div>
</div>
</div>
<!-- 倒计时 -->
<div class="timeBox">
<div class="days">
<span>00</span>
<b class="text6"></b>
</div>
<div class="hours">
<span>00</span>
<b class="text7"></b>
</div>
<div class="mins">
<span>00</span>
<b class="text8"></b>
</div>
<div class="secs">
<span>00</span>
<b class="text9"></b>
</div>
</div>
<!-- page1 -->
<div class="page1">
<div class="top">
<!-- 切换 -->
<div class="tab">
<div class="act text10"></div>
<div class="text11"></div>
</div>
<!-- 前三 -->
<div class="top1">
<img src="./images/top1.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">
<b>名字</b>
<img src="" alt="" class="icon">
</div>
<div class="id">ID:0</div>
<div class="score">
<img src="./images/box.png" alt="">
<b>0K</b>
</div>
</div>
<div class="top2">
<img src="./images/top2.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">
<b>名字</b>
<img src="" alt="" class="icon">
</div>
<div class="id">ID:0</div>
<div class="score">
<img src="./images/box.png" alt="">
<b>0K</b>
</div>
</div>
<div class="top3">
<img src="./images/top3.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">
<b>名字</b>
<img src="" alt="" class="icon">
</div>
<div class="id">ID:0</div>
<div class="score">
<img src="./images/box.png" alt="">
<b>0K</b>
</div>
</div>
</div>
<div class="content">
<ul>
<!-- <li>
<div class="num">04</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="info">
<p>
<b>名字</b>
<img src="" alt="" class="icon">
</p>
<span>ID:1234567</span>
</div>
<div class="score">
<img src="./images/box.png" alt="">
<b>0K</b>
</div>
</li> -->
</ul>
<div class="more">More</div>
</div>
<div class="bottom"></div>
<div class="my">
<div class="num">04</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="info">
<p>
<b>名字</b>
<img src="" alt="" class="icon">
</p>
<span>ID:1234567</span>
</div>
<div class="score">
<img src="./images/box.png" alt="">
<b>0K</b>
</div>
</div>
</div>
<!-- page2 -->
<div class="page2">
<div class="top">
<!-- 切换 -->
<div class="tab">
<div class="text10">Ranking</div>
<div class="act text11">Rewards</div>
</div>
</div>
<div class="content">
<div class="box">
<img src="./images/bo.png" alt="" class="bo bo1">
<img src="./images/bo.png" alt="" class="bo bo2">
<img src="./images/bo.png" alt="" class="bo bo3">
</div>
</div>
<div class="bottom"></div>
</div>
<div class="bottomText text12"></div>
<!-- 规则 -->
<div class="rules">
<div class="rule_in">
<img src="./images/close.png" alt="" class="close">
<div class="titles text133"></div>
<div class="text text13">
</div>
</div>
</div>
<!-- MP4 -->
<div class="video video1">
<video id="zjVideo1" controls>
<source src="./mp4/1.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</div>
<div class="video video2">
<video id="zjVideo2" controls>
<source src="./mp4/2.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</div>
<div class="video video3">
<video id="zjVideo3" controls>
<source src="./mp4/3.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</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"></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="../../common/js/svga.min.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="./js/index.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -0,0 +1,306 @@
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 loadedCount = 0; // 已加載的數據數量
var pageSize = 7; // 每次加載的數據數量
var notListTo3 = []; // 每次加載的數據數量
// 初始化函數
$(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();
}, 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('ts10', './svga/100.svga');
});
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').html(langReplace(localLang.demoModule.text1));
$('.text2').html(langReplace(localLang.demoModule.text2));
// $('.text22').html(langReplace(localLang.demoModule.text22));
$('.text3').html(langReplace(localLang.demoModule.text3));
$('.text4').html(langReplace(localLang.demoModule.text4));
$('.text5').html(langReplace(localLang.demoModule.text5));
$('.text6').html(langReplace(localLang.demoModule.text6));
$('.text7').html(langReplace(localLang.demoModule.text7));
$('.text8').html(langReplace(localLang.demoModule.text8));
$('.text9').html(langReplace(localLang.demoModule.text9));
$('.text10').html(langReplace(localLang.demoModule.text10));
$('.text11').html(langReplace(localLang.demoModule.text11));
$('.text12').html(langReplace(localLang.demoModule.text12));
$('.text13').html(langReplace(localLang.demoModule.text13));
$('.text133').html(langReplace(localLang.demoModule.text133));
$('.more').html(langReplace(localLang.demoModule.more));
if (browser.ios) {
$('.bottomText').text(langReplace(localLang.demoModule.text12))
} else {
$('.bottomText').text(langReplace(localLang.demoModule.text122))
}
}
// 配置接口
function getConfig() {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/activity/h5/template/rank',
data: { actKey: "newYearDay" },
success(res) {
if (res.code === 200) {
// 处理日期
var startTime = dateFormat(new Date(res.data.startTimeStr.replace(" ", "T")).getTime(), `MM/dd`);
var endTime = dateFormat(new Date(res.data.endTimeStr.replace(" ", "T")).getTime(), `MM/dd`);
$('.header .date .text22').text(`${startTime} - ${endTime}`);
// 处理倒计时
countup(res.data.endTime - res.timestamp);
// 处理限定礼物
res.data.gifts.forEach((res, i) => {
$(`.giftBox .gift .gift${i} img`).attr("src", res.giftUrl);
$(`.giftBox .gift .gift${i} span`).text(res.giftName);
})
// 处理榜单
var listTo3 = res.data.rankList.slice(0, 3);
notListTo3 = res.data.rankList.slice(3);
// 处理前三
if (listTo3.length < 3) {
let arr = new Array(3 - listTo3.length).fill({
avatar: './images/logo.png',
name: langReplace(localLang.demoModule.waiting),
erbanNo: null,
totalNum: null
})
listTo3.push(...arr)
}
listTo3.forEach((res, i) => {
$(`.page1 .top .top${i + 1} .tx`).attr('src', res.avatar);
$(`.page1 .top .top${i + 1} .name b`).text(res.name);
$(`.page1 .top .top${i + 1} .name img`).attr('src', res.userLevelVo ? res.userLevelVo.experUrl : './images/logo.png');
$(`.page1 .top .top${i + 1} .id`).text('ID:' + res.erbanNo);
$(`.page1 .top .top${i + 1} .score b`).text(unitProcessingAr(res.totalNum, 2));
if (res.erbanNo == null) {
$(`.page1 .top .top${i + 1} .name img`).hide();
$(`.page1 .top .top${i + 1} .id`).hide();
$(`.page1 .top .top${i + 1} .score`).hide();
}
})
// 非前三
loadMore();
// 处理自己榜单数据
var my = res.data.myRank;
$('.page1 .my .tx').attr("src", my.avatar);
$('.page1 .my .num').text(my.rank == 0 ? '30+' : my.rank);
$('.page1 .my .info p b').text(my.name);
$('.page1 .my .info p img').attr('src', res.data.myRank.userLevelVo.experUrl);
$('.page1 .my .info span').text(`ID:${my.erbanNo}`);
$('.page1 .my .score b').text(unitProcessingAr(my.totalNum, 2));
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
// 加載數據函數
function loadMore() {
// 計算加載範圍
pageSize = loadedCount == 0 ? 7 : 10;
const nextItems = notListTo3.slice(loadedCount, loadedCount + pageSize);
let str = '';
// 拼接 HTML
nextItems.forEach(res => {
str += `
<li>
<div class="num">${res.rank}</div>
<img src="${res.avatar}" alt="" class="tx">
<div class="info">
<p>
<b>${res.name}</b>
<img src="${res.userLevelVo.experUrl}" alt="" class="icon">
</p>
<span>ID:${res.erbanNo}</span>
</div>
<div class="score">
<img src="./images/box.png" alt="">
<b>${unitProcessingAr(res.totalNum, 2)}</b>
</div>
</li>
`
})
// 將數據插入到列表中
$('.page1 .content ul').append(str);
// 更新已加載的數據數量
loadedCount += nextItems.length;
// 如果數據全部加載完成,隱藏按鈕
console.log(loadedCount >= notListTo3.length);
console.log(notListTo3.length);
if (loadedCount >= notListTo3.length) {
$('.page1 .content .more').hide();
}
}
// 綁定按鈕點擊事件
$('.page1 .content .more').click(function () {
loadMore();
})
// 初次加載數據
// tab切换
$('.page1 .top .tab div,.page2 .top .tab div').click(function () {
var i = $(this).index() + 1;
$('.page1,.page2').hide();
$(`.page${i}`).show();
if (i == 1) {
$('.bottomText').css('margin', '0.66667rem auto 2.4rem');
} else {
$('.bottomText').css('margin', '0.66667rem auto 0.66667rem');
}
})
// 打开规则
$('.rule').click(function () {
$('.rules').show();
bodyScroolFun(true);
})
// 关闭规则
$('.rules .rule_in .close').click(function () {
$('.rules').hide();
bodyScroolFun(false);
})
// 倒計時
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中
$('.timeBox .days span').text(d);
$('.timeBox .hours span').text(h);
$('.timeBox .mins span').text(m);
$('.timeBox .secs span').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;
}
// 打开mp4弹窗
$('.page2 .content .box .bo1').click(function () {
var video = document.getElementById('zjVideo1');
video.play();
bodyScroolFun(true);
$('.video1').show();
})
$('.page2 .content .box .bo2').click(function () {
var video = document.getElementById('zjVideo2');
video.play();
bodyScroolFun(true);
$('.video2').show();
})
$('.page2 .content .box .bo3').click(function () {
var video = document.getElementById('zjVideo3');
video.play();
bodyScroolFun(true);
$('.video3').show();
})
// 关闭mp4弹窗
$('.video .close').click(function () {
var video1 = document.getElementById('zjVideo1');
var video2 = document.getElementById('zjVideo2');
var video3 = document.getElementById('zjVideo3');
video1.pause();
video2.pause();
video3.pause();;
bodyScroolFun(false);
$('.video').hide();
})

View File

@@ -0,0 +1,29 @@
// 阿拉伯
langAr = {
// 模块
demoModule: {
layerIndex1: `جاري التحميل...`,
layerIndex2: `نجاح`,
layerIndex3: `خطأ في الشبكة`,
text1: 'رأس السنة الجديدة',
text2: 'وقت الحدث:',
text22: '31 ديسمبر - 7 يناير',
text3: 'القواعد',
text4: 'هدايا رأس السنة الجديدة',
text5: 'عام جديد على وشك البدء، لنرسل هدايا رأس السنة معًا للاحتفال بها! دعونا نرحب بقدوم العام الجديد معًا!',
text6: 'الأيام',
text7: 'الساعات',
text8: 'الدقائق',
text9: 'الثواني',
text10: 'التصنيف',
text11: 'المكافآت',
text12: 'الحدث ليس له علاقة بشركة Apple.',
text122: 'الحدث ليس له علاقة بشركة Google.',
text133: 'القواعد',
text13: '<p>1. أرسل هدايا رأس السنة الجديدة المخصصة خلال فترة الحدث للمشاركة في التصنيف.</p><p>2. بعد انتهاء الحدث، سيتم احتساب أعلى 3 مستخدمين في التصنيف.</p><p>3. سيحصل أعلى 3 مستخدمين على مكافآت، وسيتم إصدار المكافآت في اليوم الثاني بعد الحدث.</p><p>4. جميع حقوق تفسير هذا الحدث تخص المنصة وليس لها علاقة بشركتي Google وApple.</p>',
more: 'أكثر',
month: 'شهر ',
day: 'يوم ',
waiting: 'منتظر',
}
}

View File

@@ -0,0 +1,33 @@
langEn = {
demoModule: {
layerIndex1: `Loading...`,
layerIndex2: `Success`,
layerIndex3: `Network error`,
text1: `New Year`,
text2: `Event Time:`,
text22: `December 31st - January 7th`,
text3: `Rule`,
text4: `New Year Gifts`,
text5: `A new year is about to begin, lets send out New Year gifts to celebrate the New Year
together! Lets welcome the arrival of the New Year together!`,
text6: `Days`,
text7: `Hours`,
text8: `Mins`,
text9: `Secs`,
text10: `Ranking`,
text11: `Rewards`,
text12: `Event has nothing to do with Apple.`,
text122: `Event has nothing to do with Google.`,
text133: `Rules`,
text13: `<p>1. Send the designated New Year Gifts during the event period to participate in the ranking.</p>
<p>2. After the event, the Top3 users on the ranking will be counted.</p>
<p>3. The Top3 users will receive rewards, and the rewards will be issued on the second day after the
event.</p>
<p>4. All interpretation rights of this event belong to the platform and have nothing to do with Google
and Apple.</p>`,
more: 'More',
month: 'Month',
day: 'Day',
waiting: 'Waiting',
},
}

View File

@@ -0,0 +1,32 @@
langTr = {
demoModule: {
layerIndex1: 'Yükleniyor...',
layerIndex2: 'Başarılı',
layerIndex3: 'Ağ hatası',
text1: 'Yeni Yıl',
text2: 'Etkinlik Süresi:',
text22: '31 Aralık - 7 Ocak',
text3: 'Kural',
text4: 'Yeni Yıl Hediyeleri',
text5: 'Yeni bir yıl başlamak üzere, Yeni Yıl hediyeleri göndererek Yeni Yılı birlikte kutlayalım! Yeni Yılı birlikte karşılayalım!',
text6: 'Günler',
text7: 'Saatler',
text8: 'Dakikalar',
text9: 'Saniyeler',
text10: 'Sıralama',
text11: 'Ödüller',
text12: 'Etkinlik Apple ile ilgili değildir.',
text122: 'Etkinlik Google ile ilgili değildir.',
text133: 'Kurallar',
text13: `
<p>1. Etkinlik süresince belirlenen Yeni Yıl Hediyelerini göndererek sıralamaya katılabilirsiniz.</p>
<p>2. Etkinlikten sonra, sıralamadaki ilk 3 kullanıcı sayılacaktır.</p>
<p>3. İlk 3 kullanıcı ödüllerini alacak ve ödüller etkinlikten sonraki gün verilecektir.</p>
<p>4. Bu etkinliğin tüm yorum hakları platforma aittir ve Google ve Apple ile ilgisi yoktur.</p>`,
more: 'Daha Fazla',
month: 'Ay',
day: 'Gün',
waiting: 'Beklemek',
},
}

View File

@@ -0,0 +1,29 @@
// 中文
langZh = {
// 模塊
demoModule: {
layerIndex1: `加载中...`,
layerIndex2: `成功`,
layerIndex3: `网络错误`,
text1: '新年',
text2: '活動時間:',
text22: '12月31日 - 1月7日',
text3: '規則',
text4: '新年禮物',
text5: '新的一年即將開始,一起送出新年禮物來慶祝新年吧!讓我們一起迎接新年的到來!',
text6: '天',
text7: '小時',
text8: '分鐘',
text9: '秒',
text10: '排名',
text11: '獎勵',
text12: '活動與 Apple 無關。',
text122: '活動與 Google 無關。',
text133: '規則',
text13: '<p>1. 活動期間送出指定的新年禮物即可參與排名。</p><p>2. 活動結束後將統計排名前3名的用戶。</p><p>3. 排名前3名的用戶將獲得獎勵獎勵將於活動結束後第二天發放。</p><p>4. 本活動的所有解釋權歸平台所有,與 Google 和 Apple 無關。</p>',
more: '更多',
month: '月',
day: '日',
waiting: '虚位以待',
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1002 KiB

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 KiB

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 KiB

After

Width:  |  Height:  |  Size: 420 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 KiB

After

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 KiB

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@@ -42,7 +42,7 @@
<!-- 我的充值 -->
<div class="myRecharge">
<div class="title text7"></div>
<p><b>$0</b><img style="display: none;" src="./images/why.png" alt=""></p>
<p><b>$0</b><img src="./images/why.png" alt=""></p>
<div class="but text8"></div>
</div>
<!-- 充值档位到达10 -->
@@ -224,6 +224,121 @@
<div class="but text10"></div>
</div>
</div>
<!-- 充值档位到达5000 -->
<div class="recharge5000 recharge7 recharges">
<div class="top">
<div class="title">Recharge $5000</div>
</div>
<div class="content">
<!-- 奖励图片 -->
<div class="rewardImg">
<div class="ts" id="txTop5000"></div>
<img src="./images/bo.png" alt="" class="bo">
<img src="./images/why.png" alt="" class="why">
</div>
<!-- 前三标题 -->
<div class="topTitle">
<img src="./images/left.png" alt="" class="left">
<b class="text26"></b>
<img src="./images/right.png" alt="" class="right">
</div>
<!-- 前三信息 -->
<div class="topBox">
<div class="no2">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top2.png" alt="" class="ts">
</div>
<div class="no1">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top1.png" alt="" class="ts">
</div>
<div class="no3">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top3.png" alt="" class="ts">
</div>
</div>
</div>
<div class="bottom">
<div class="but text10"></div>
</div>
</div>
<!-- 充值档位到达8000 -->
<div class="recharge8000 recharge8 recharges">
<div class="top">
<div class="title">Recharge $8000</div>
</div>
<div class="content">
<!-- 奖励图片 -->
<div class="rewardImg">
<div class="ts" id="txTop8000"></div>
<img src="./images/bo.png" alt="" class="bo">
<img src="./images/why.png" alt="" class="why">
</div>
<!-- 前三标题 -->
<div class="topTitle">
<img src="./images/left.png" alt="" class="left">
<b class="text26"></b>
<img src="./images/right.png" alt="" class="right">
</div>
<!-- 前三信息 -->
<div class="topBox">
<div class="no2">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top2.png" alt="" class="ts">
</div>
<div class="no1">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top1.png" alt="" class="ts">
</div>
<div class="no3">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top3.png" alt="" class="ts">
</div>
</div>
</div>
<div class="bottom">
<div class="but text10"></div>
</div>
</div>
<!-- 充值档位到达10000 -->
<div class="recharge10000 recharge9 recharges">
<div class="top">
<div class="title">Recharge $10000</div>
</div>
<div class="content">
<!-- 奖励图片 -->
<div class="rewardImg">
<div class="ts" id="txTop10000"></div>
<img src="./images/bo.png" alt="" class="bo">
<img src="./images/why.png" alt="" class="why">
<img src="./images/why.png" alt="" class="why why2">
</div>
<!-- 前三标题 -->
<div class="topTitle">
<img src="./images/left.png" alt="" class="left">
<b class="text26"></b>
<img src="./images/right.png" alt="" class="right">
</div>
<!-- 前三信息 -->
<div class="topBox">
<div class="no2">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top2.png" alt="" class="ts">
</div>
<div class="no1">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top1.png" alt="" class="ts">
</div>
<div class="no3">
<img src="./images/logo.png" alt="" class="tx">
<img src="./images/top3.png" alt="" class="ts">
</div>
</div>
</div>
<div class="bottom">
<div class="but text10"></div>
</div>
</div>
<!-- 弹窗 -->
<div class="pub">
<div class="pub_in">
@@ -239,15 +354,32 @@
</div>
</div>
</div>
<!-- 免责声明 -->
<div class="disclaimer text24"></div>
<div class="video">
<div class="video video3000">
<video id="zjVideo" controls>
<source src="./mp4/3000.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</div>
<div class="video video5000">
<video id="zjVideo5000" controls>
<source src="./mp4/5000.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</div>
<div class="video video8000">
<video id="zjVideo8000" controls>
<source src="./mp4/8000.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</div>
<div class="video video10000">
<video id="zjVideo10000" controls>
<source src="./mp4/10000.mp4" type="video/mp4">
</video>
<img src="./images/close.png" alt="" class="close">
</div>
</body>
@@ -259,8 +391,9 @@
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="../../common/js/svga.min.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/en.js?v=1.0"></script>
<script src="./local/zh.js?v=1.0"></script>
<script src="./local/ar.js?v=1.0"></script>
<script src="./local/tr.js?v=1.0"></script>
<script src="./js/index.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -81,6 +81,9 @@ document.addEventListener('DOMContentLoaded', function () {
loadSVGA('ts500', './svga/500.svga');
loadSVGA('ts1000', './svga/1000.svga');
loadSVGA('ts3000', './svga/3000.svga');
loadSVGA('txTop5000', './svga/txTop.svga');
loadSVGA('txTop8000', './svga/txTop.svga');
loadSVGA('txTop10000', './svga/txTop.svga');
loadSVGA('zj10', './svga/zj10.svga');
loadSVGA('zj100', './svga/zj100.svga');
loadSVGA('zj300', './svga/zj300.svga');
@@ -125,9 +128,9 @@ function getConfig() {
wealth = res.data.wealth;
limitWealth = res.data.limitWealth;
// 处理是否我的充值展示
if(res.data.rechargeUser){
if (res.data.rechargeUser) {
$('.myRecharge').hide();
}else{
} else {
$('.myRecharge').show();
}
// 处理倒计时
@@ -179,7 +182,6 @@ $('.myRecharge .but').click(function () {
if (channel == "google") {
window.androidJsObj.openChargePage(6);
} else {
window.androidJsObj.openChargePage(6);
window.location.href = urlPrefix + '/molistar/modules/pay/index.html?channelType=4';
}
} else if (browser.ios) {
@@ -187,7 +189,6 @@ $('.myRecharge .but').click(function () {
if (channel == "appstore") {
window.webkit.messageHandlers.openChargePage.postMessage(null);
} else {
window.webkit.messageHandlers.chargePayClickPage.postMessage(6);
window.location.href = urlPrefix + '/molistar/modules/pay/index.html?channelType=4';
}
}
@@ -215,6 +216,38 @@ $('.recharge3000 .content .rewardImg .why').click(function () {
$('.pub ').show();
bodyScroolFun(true);
})
// 打开5000头饰弹窗
$('.recharge5000 .content .rewardImg .why').click(function () {
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.headdressTitle));
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.headdressText));
$('.pub ').show();
bodyScroolFun(true);
})
// 打开8000头饰弹窗
$('.recharge8000 .content .rewardImg .why').click(function () {
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.headdressTitle));
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.headdressText));
$('.pub ').show();
bodyScroolFun(true);
})
// 打开10000头饰弹窗
$('.recharge10000 .content .rewardImg .why2').click(function () {
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.headdressTitle));
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.headdressText));
$('.pub ').show();
bodyScroolFun(true);
})
// 打开10000座驾弹窗
$('.recharge10000 .content .rewardImg .why').click(function () {
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.carTitle));
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.carText));
$('.pub ').show();
bodyScroolFun(true);
})
// 关闭弹窗
$('.pub .pub_in .close').click(function () {
$('.pub .pub_in .centent').removeClass('myRechargeText');
@@ -291,12 +324,39 @@ $('.recharge3000 .content .rewardImg .bo').click(function () {
var video = document.getElementById('zjVideo');
video.play();
bodyScroolFun(true);
$('.video').show();
$('.video3000').show();
})
// 打开mp4弹窗
$('.recharge5000 .content .rewardImg .bo').click(function () {
var video = document.getElementById('zjVideo5000');
video.play();
bodyScroolFun(true);
$('.video5000').show();
})
// 打开mp4弹窗
$('.recharge8000 .content .rewardImg .bo').click(function () {
var video = document.getElementById('zjVideo8000');
video.play();
bodyScroolFun(true);
$('.video8000').show();
})
// 打开mp4弹窗
$('.recharge10000 .content .rewardImg .bo').click(function () {
var video = document.getElementById('zjVideo10000');
video.play();
bodyScroolFun(true);
$('.video10000').show();
})
// 关闭mp4弹窗
$('.video .close').click(function () {
var video = document.getElementById('zjVideo');
var video5000 = document.getElementById('zjVideo5000');
var video8000 = document.getElementById('zjVideo8000');
var video10000 = document.getElementById('zjVideo10000');
video.pause();
video5000.pause();
video8000.pause();
video10000.pause();
bodyScroolFun(false);
$('.video').hide();
})

View File

@@ -23,13 +23,15 @@ langAr = {
text16: `إعادة شحن $3000`,
text17: `القواعد`,
text18: `
<p>1، وقت نشاط إعادة الشحن: من 00:00:00 في اليوم الأول من كل شهر إلى 23:59:59 في اليوم الأخير من الشهر (GMT+3).</p>
<p>2، يمكنك الحصول على مكافأة كل درجة مرة واحدة فقط.</p>
<p>3، عند انتهاء كل جولة من الأنشطة، ستنتهي المكافآت تلقائيًا.</p>
<p>4، اتصل بخدمة العملاء الرسمية للحصول على معرفك الفريد!</p>
<p>5، لا يمكن لوكيل الشحن الانضمام إلى النشاط.</p>
<p>6، هذا الحدث ليس مرتبطًا بجوجل/أبل.</p>
`,
<p>1. وقت نشاط الشحن: من الساعة 0:00:00 في اليوم الأول من كل شهر إلى الساعة 23:59:59 في آخر يوم من الشهر (GMT+3).</p>
<p>2. يمكنك الحصول على كل مكافأة مرتبة مرة واحدة فقط.</p>
<p>3. بعد انتهاء كل جولة من الأنشطة، ستنتهي صلاحية المكافآت تلقائيًا.</p>
<p>4. تواصل مع خدمة العملاء الرسمية للحصول على معرفك الفريد!</p>
<p>5. لا يمكن لوكلاء الشحن المشاركة في النشاط.</p>
<p>6. يمكن للمستخدمين تخصيص هدية أو مركبة أو غطاء رأس مرة واحدة في الشهر إذا قاموا بالشحن إلى المستوى المطلوب.</p>
<p>7. هذا الحدث غير مرتبط بجوجل/آبل.</p>
`,
text19: `إعادة شحن شهريتي`,
text20: `
<p>1، تشمل طرق إعادة الشحن Google وApple الداخلية وما إلى ذلك.</p>
@@ -41,5 +43,10 @@ langAr = {
text24: `هذا الحدث غير مرتبط بشركة أبل.`,
text25: `هذا الحدث غير مرتبط بشركة جوجل.`,
text26: `أفضل 3 فائزين`,
headdressTitle: 'تاج مخصص',
headdressText: '<p>يمكنك إرسال لقبك الفريد إلى خدمة العملاء الرسمية لتخصيص تاجك المخصص</p>',
carTitle: 'سيارة مخصصة',
carText: '<p>يمكنك إرسال صورتك الرمزية الفريدة ولقبك إلى خدمة العملاء الرسمية لتخصيص سيارتك المخصصة</p>'
}
}

View File

@@ -26,7 +26,8 @@ langEn = {
<p>3. Each round of activities end, the rewards will automatically expire.</p>
<p>4. Contact our official customer service to get your unique ID!</p>
<p>5. Recharge agent can not join the activity.</p>
<p>6. This event is not related to Google/Apple.</p>
<p>6. Users can customize gift, vehicle or headwear once a month if they recharge to the corresponding level.</p>
<p>7. This event is not related to Google/Apple.</p>
`,
text19: `My Monthly Recharge`,
text20: `
@@ -39,5 +40,9 @@ langEn = {
text24: `This event is not related to Apple.`,
text25: `This event is not related to Google.`,
text26: `Top 3 Winner`,
headdressTitle: `Customized Headdress`,
headdressText: `<p>You can send your unique nickname to the official customer service to customize your customized headdress</p>`,
carTitle: `Customized Car`,
carText: `<p>You can send your unique avatar and nickname to the official customer service to customize your customized car</p>`,
}
}

View File

@@ -0,0 +1,49 @@
langTr = {
demoModule: {
layerIndex1: 'Yükleniyor...',
layerIndex2: 'Başarılı',
layerIndex3: 'Ağ hatası',
text1: 'Aylık yeniden doldurma',
text2: 'Kurallar',
text3: 'Gün',
text4: 'Saat',
text5: 'Dakika',
text6: 'Saniye',
text7: 'Yeniden Doldurmam',
text8: 'Yeniden Doldur',
text9: '10$ Yeniden Doldur',
text10: 'Ödül Al',
text11: '100$ Yeniden Doldur',
text12: '300$ Yeniden Doldur',
text13: 'İlk 3 Kazanan',
text14: '500$ Yeniden Doldur',
text15: '1000$ Yeniden Doldur',
text16: '3000$ Yeniden Doldur',
text17: 'Kurallar',
text18: `
<p>1. Şarj etkinliği süresi: Her ayın 1. günü saat 00:00:00'dan ayın son günü saat 23:59:59'a kadar (GMT+3).</p>
<p>2. Her derece ödülünü yalnızca bir kez alabilirsiniz.</p>
<p>3. Her etkinlik turu sona erdiğinde, ödüller otomatik olarak sona erecektir.</p>
<p>4. Benzersiz kimliğinizi almak için resmi müşteri hizmetlerimizle iletişime geçin!</p>
<p>5. Şarj acenteleri etkinliğe katılamaz.</p>
<p>6. Kullanıcılar, ilgili seviyeye şarj ettikleri takdirde ayda bir hediye, araç veya başlık özelleştirebilirler.</p>
<p>7. Bu etkinlik Google/Apple ile ilişkili değildir.</p>
`,
text19: 'Aylık Yeniden Doldurmam',
text20: `
<p>1. Yeniden doldurma yöntemleri Google, Apple içi satın alma vb. içerir.</p>
<p>2. Yeniden doldurma aracısı etkinliğe katılamaz.</p>
`,
text21: 'Özelleştirilmiş Hediye',
text22: '<p>Özelleştirilmiş hediyenizi almak için özel videonuzu müşteri hizmetlerimize gönderebilirsiniz.</p>',
text23: 'Alındı',
text24: 'Bu etkinlik Apple ile ilişkili değildir.',
text25: 'Bu etkinlik Google ile ilişkili değildir.',
text26: 'İlk 3 Kazanan',
headdressTitle: 'Özelleştirilmiş Taç',
headdressText: '<p>Benzersiz takma adınızı resmi müşteri hizmetlerine göndererek özelleştirilmiş tacınızı oluşturabilirsiniz</p>',
carTitle: 'Özelleştirilmiş Araç',
carText: '<p>Benzersiz avatarınızı ve takma adınızı resmi müşteri hizmetlerine göndererek özelleştirilmiş aracınızı oluşturabilirsiniz</p>',
}
}

View File

@@ -23,13 +23,15 @@ langZh = {
text16: `充值 $3000`,
text17: `規則`,
text18: `
<p>1充值活動時間每月1日00:00:00每月最後一天23:59:59GMT+3。</p>
<p>2每個等級的獎勵只能獲得一次。</p>
<p>3每輪活動結束後,獎勵將自動過期。</p>
<p>4、聯系客服獲取您的唯一ID</p>
<p>5充值代理不能參加活動。</p>
<p>6、該活動與谷歌/蘋果無關。</p>
`,
<p>1. 充值活動時間每月1日0:00:00每月最後一天23:59:59GMT+3。</p>
<p>2. 每個等級的獎勵只能獲得一次。</p>
<p>3. 每輪活動結束後,獎勵將自動失效。</p>
<p>4. 聯繫我們的官方客服獲取您的專屬ID</p>
<p>5. 充值代理無法參與此活動。</p>
<p>6. 用戶若充值至對應等級,每月可定制一次禮物、座駕或頭飾。</p>
<p>7. 此活動與Google/Apple無關。</p>
`,
text19: `我的月度充值`,
text20: `
<p>1、充值方式包括Google、Apple內購等。</p>
@@ -41,5 +43,10 @@ langZh = {
text24: `本活動與蘋果無關`,
text25: `本活動與谷歌無關`,
text26: `前3名獲獎者`,
headdressTitle: '定制頭飾',
headdressText: '<p>您可以將您的獨特暱稱發送給官方客服,來定制您的專屬頭飾</p>',
carTitle: '定制車輛',
carText: '<p>您可以將您的獨特頭像和暱稱發送給官方客服,來定制您的專屬車輛</p>'
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -34,7 +34,7 @@ function initLocalLang() {
window.lang.code = 'id'
window.lang.defaults = false
} else if (lang === 'tr' || window.location.href.match('=tr')) {
if (window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) {
if (window.location.href.match('roomLevel') || window.location.href.match('rechargeNew') || window.location.href.match('2024-newYear') || window.location.href.match('guild-ar') || window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) {
// 土耳其
console.log("langHandler" + '土耳其')
window.lang = langTr

View File

@@ -12,13 +12,13 @@ langAr = {
text5: `ثانية`,
text6: `استهلاك العملات`,
text7: `استهلاك 70K-700K`,
text8: `استهلاك 210K-7M`,
text8: `استهلاك 2.1M-7M`,
text9: `استهلاك 700K`,
text10: `استهلاك 350K`,
text11: `استهلاك 70K`,
text12: `استهلاك 7M`,
text13: `استهلاك 3500K`,
text14: `استهلاك 210K`,
text13: `استهلاك 3.5M`,
text14: `استهلاك 2.1M`,
text15: `هذا الحدث لا علاقة له بـ Apple`,
text16: `هذا الحدث لا علاقة له بـ Google`,
priorityWinners: `الفائزون ذوو الأولوية`,

View File

@@ -10,13 +10,13 @@ langEn = {
text5: `Sec`,
text6: `Consume coins`,
text7: `Consume 70K-700K`,
text8: `Consume 210K-7M`,
text8: `Consume 2.1M-7M`,
text9: `Consume 700K`,
text10: `Consume 350K`,
text11: `Consume 70K`,
text12: `Consume 7M`,
text13: `Consume 3500K`,
text14: `Consume 210K`,
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`,

View File

@@ -12,13 +12,13 @@ langZh = {
text5: ``,
text6: `消耗金幣`,
text7: `消耗 70K-700K`,
text8: `消耗 210K-700萬`,
text8: `消耗 2.1M-700萬`,
text9: `消耗 700K`,
text10: `消耗 350K`,
text11: `消耗 70K`,
text12: `消耗 700萬`,
text13: `消耗 3500K`,
text14: `消耗 210K`,
text13: `消耗 3.5M`,
text14: `消耗 2.1M`,
text15: `此活動與 Apple 無關`,
text16: `此活動與 Google 無關`,
priorityWinners: `優先獲勝者`,

View File

@@ -59,7 +59,7 @@
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/tr.js"></script>
<script src="./js/bill.js"></script>
<script src="./js/bill.js?v=1.0"></script>
<script src="../../common/local/langHandler.js"></script>
</body>

Some files were not shown because too many files have changed in this diff Show More