Compare commits

...

56 Commits

Author SHA1 Message Date
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
dragon
8ef1846120 更改时间字段 2024-12-24 18:37:52 +08:00
dragon
6a43cba795 同步账单 2024-12-24 18:22:51 +08:00
dragon
021fc59fac 替换说明 2024-12-24 16:22:15 +08:00
dragon
e3c269c064 修复记录异常 2024-12-24 15:46:21 +08:00
dragon
345b07f045 替换图片以及修改时间字段 2024-12-24 13:56:59 +08:00
dragon
5a1217c271 修改奖励滑动异常该问题 2024-12-24 10:34:28 +08:00
dragon
870e7e332e 替换头图 2024-12-23 18:05:04 +08:00
dragon
81d563e58c 邀请活动暂存 2024-12-23 18:05:01 +08:00
dragon
7601fa3f9d 修改样式 2024-12-23 18:04:07 +08:00
dragon
6d0cbfde3a 修复接口异常问题 2024-12-23 18:04:07 +08:00
dragon
09b84a8618 修改请求方式 2024-12-23 18:04:06 +08:00
dragon
8b20293ac3 邀请好友完成改版 2024-12-23 18:04:00 +08:00
dragon
85c81b60c4 修改账单超时 2024-12-20 19:26:42 +08:00
dragon
bd8de2f14f 修复id申请规则以及公会土耳其异常问题 2024-12-20 11:39:10 +08:00
dragon
642a6a67cc 新增举报条目以及多语言土耳其 2024-12-18 20:37:14 +08:00
dragon
b9c37104be 替换sid规则 2024-12-13 19:08:06 +08:00
dragon
b85d1a6838 修复搜索公会等级图片异常问题 2024-12-11 14:54:56 +08:00
dragon
5eef1fe919 优化样式 2024-12-11 10:49:41 +08:00
dragon
2e0da65437 新增翻译 2024-12-10 18:44:44 +08:00
dragon
1122a322fa 修复公会修改头像异常问题 2024-12-10 18:44:44 +08:00
dragon
f833af56e2 ‘修改提交成功的确认弹窗’ 2024-12-10 18:44:44 +08:00
dragon
51eb0e016a 处理弹窗 2024-12-10 18:44:44 +08:00
dragon
3d58b7fe5e 新增创建公会 2024-12-10 18:44:44 +08:00
dragon
ccf6290017 修复超级id土耳其报错异常问题 2024-12-10 18:44:28 +08:00
dragon
0fb3eb9550 修改土耳其金币奖励规则 2024-12-09 17:46:53 +08:00
dragon
4bee20a482 修复进图条样式 2024-12-08 03:13:52 +08:00
dragon
7227fc9465 修改财富魅力等级下一级所需值算法 2024-12-08 02:16:24 +08:00
149 changed files with 7717 additions and 1683 deletions

View File

@@ -32,7 +32,7 @@ body {
.header {
width: 10rem;
height: 10.02667rem;
height: 10.01333rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
@@ -43,9 +43,9 @@ body {
position: absolute;
left: 52%;
transform: translateX(-50%);
top: 3.64rem;
height: 1.30667rem;
width: 6.48rem;
top: 3.76rem;
height: 1.70667rem;
width: 7.38667rem;
}
.header .rule_rule {
@@ -55,7 +55,7 @@ body {
font-size: 0.34667rem;
font-weight: bold;
position: absolute;
top: 1rem;
top: 8.92rem;
right: 0rem;
color: #703900;
box-sizing: border-box;
@@ -114,7 +114,7 @@ body {
height: 4.98667rem;
background: url(../images/myInfo.png) no-repeat;
background-size: 100% 100%;
margin: 1.12rem auto 0.26667rem;
margin: 0.66667rem auto 0rem;
position: relative;
}
@@ -159,6 +159,7 @@ body {
font-weight: 400;
background: url(../images/myInfoBut.png) no-repeat;
background-size: 100% 100%;
display: none;
}
.bg .myInfo .skip img {
@@ -170,7 +171,8 @@ body {
.bg .myInfo .copy {
position: absolute;
right: 0.66667rem;
left: 50%;
transform: translateX(-50%);
bottom: 0.66667rem;
width: 3.92rem;
height: 0.90667rem;
@@ -194,7 +196,7 @@ body {
width: 9.36rem;
height: 1.01333rem;
position: relative;
margin: 0 auto 0.26667rem;
margin: 0.7rem auto 0.26667rem;
background: url(../images/myIncomeBg.png) no-repeat;
background-size: 100% 100%;
}
@@ -227,6 +229,19 @@ body {
font-size: 0.48rem;
}
.bg .myIncome .text {
width: 2.4rem;
height: 0.65rem;
line-height: 0.65rem;
position: absolute;
left: 2.9rem;
top: 0.2rem;
text-align: center;
color: #312200;
font-size: 0.37333rem;
font-weight: 600;
}
.bg .ul_pub {
width: 100%;
height: 100vh;
@@ -359,6 +374,7 @@ body {
display: flex;
justify-content: space-between;
margin: 0 auto 0rem;
white-space: nowrap;
}
.bg .ul_pub .incomeBox .sTab div {
@@ -387,13 +403,14 @@ body {
.bg .ul_pub .incomeBox .tableTitle {
width: 8.8rem;
display: flex;
justify-content: space-between;
justify-content: space-around;
margin-bottom: 0;
position: absolute;
top: 6.15rem;
left: 50%;
transform: translateX(-50%);
z-index: 2;
white-space: nowrap;
}
.bg .ul_pub .incomeBox .tableTitle div {
@@ -408,8 +425,8 @@ body {
.bg .ul_pub .incomeBox ul {
width: 8.8rem;
height: 6rem;
margin: 0 auto 0;
height: 5.5rem;
margin: 0.8rem auto 0;
overflow-y: scroll;
position: relative;
}
@@ -444,11 +461,7 @@ body {
height: 0.66667rem;
margin-bottom: 0.24rem;
display: flex;
justify-content: space-between;
}
.bg .ul_pub .incomeBox ul li:nth-child(1) {
margin-top: 0.66667rem;
justify-content: space-around;
}
.bg .ul_pub .incomeBox ul li div {
@@ -482,7 +495,7 @@ body {
.bg .rule {
width: 9.74667rem;
height: 23.74667rem;
height: 18.8rem;
margin: 0 auto 1.33333rem;
position: relative;
background: url(../images/ruleBoxBg.png) no-repeat;
@@ -704,7 +717,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 14.56rem;
top: 9.56rem;
z-index: 2;
}
@@ -725,7 +738,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 15.6rem;
top: 10.6rem;
z-index: 2;
}
@@ -746,7 +759,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 16.4rem;
top: 11.4rem;
z-index: 2;
}
@@ -767,7 +780,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 17.15rem;
top: 12.15rem;
z-index: 2;
}
@@ -788,7 +801,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 19.8rem;
top: 14.8rem;
z-index: 2;
}
@@ -809,7 +822,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 20.8rem;
top: 15.8rem;
z-index: 2;
}
@@ -830,7 +843,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 21.7rem;
top: 16.7rem;
z-index: 2;
}
@@ -1042,3 +1055,11 @@ body {
top: 50%;
transform: translate(-50%, -50%);
}
.Turkiye .bg .ul_pub .incomeBox .sTab div {
font-size: 0.24rem;
}
.Turkiye .bg .ul_pub .incomeBox .tableTitle div {
font-size: 0.24rem;
}

View File

@@ -38,7 +38,7 @@ body {
.header {
width: px2rem(750);
height: px2rem(752);
height: px2rem(751);
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
@@ -48,9 +48,9 @@ body {
position: absolute;
left: 52%;
transform: translateX(-50%);
top: px2rem(273);
height: px2rem(98);
width: px2rem(486);
top: px2rem(282);
height: px2rem(128);
width: px2rem(554);
}
.rule_rule {
@@ -60,7 +60,7 @@ body {
font-size: px2rem(26);
font-weight: bold;
position: absolute;
top: 1rem;
top: 8.92rem;
right: 0rem;
color: #703900;
box-sizing: border-box;
@@ -124,7 +124,7 @@ body {
height: px2rem(374);
background: url(../images/myInfo.png) no-repeat;
background-size: 100% 100%;
margin: px2rem(84) auto px2rem(20);
margin: px2rem(50) auto px2rem(0);
position: relative;
.tx {
@@ -168,6 +168,7 @@ body {
font-weight: 400;
background: url(../images/myInfoBut.png) no-repeat;
background-size: 100% 100%;
display: none;
img {
display: inline-block;
@@ -179,7 +180,8 @@ body {
.copy {
position: absolute;
right: px2rem(50);
left: 50%;
transform: translateX(-50%);
bottom: px2rem(50);
width: px2rem(294);
height: px2rem(68);
@@ -204,7 +206,7 @@ body {
width: px2rem(702);
height: px2rem(76);
position: relative;
margin: 0 auto px2rem(20);
margin: 0.7rem auto px2rem(20);
background: url(../images/myIncomeBg.png) no-repeat;
background-size: 100% 100%;
@@ -235,6 +237,19 @@ body {
color: #0C0538;
font-size: px2rem(36);
}
.text {
width: 2.4rem;
height: 0.65rem;
line-height: 0.65rem;
position: absolute;
left: 2.9rem;
top: 0.2rem;
text-align: center;
color: #312200;
font-size: px2rem(28);
font-weight: 600;
}
}
.ul_pub {
@@ -375,6 +390,7 @@ body {
display: flex;
justify-content: space-between;
margin: 0 auto px2rem(0);
white-space: nowrap;
div {
width: 50%;
@@ -403,13 +419,14 @@ body {
.tableTitle {
width: px2rem(660);
display: flex;
justify-content: space-between;
justify-content: space-around;
margin-bottom: 0;
position: absolute;
top: 6.15rem;
left: 50%;
transform: translateX(-50%);
z-index: 2;
white-space: nowrap;
// background: #fff;
div {
@@ -425,8 +442,8 @@ body {
ul {
width: px2rem(660);
height: 6rem;
margin: 0 auto 0;
height: 5.5rem;
margin: 0.8rem auto 0;
overflow-y: scroll;
position: relative;
@@ -460,10 +477,10 @@ body {
height: px2rem(50);
margin-bottom: px2rem(18);
display: flex;
justify-content: space-between;
justify-content: space-around;
&:nth-child(1) {
margin-top: px2rem(50);
// margin-top: px2rem(50);
}
div {
@@ -502,7 +519,7 @@ body {
.rule {
width: px2rem(731);
height: px2rem(1781);
height: px2rem(1410);
// border-radius: px2rem(20);
// border: px2rem(4) solid #FE7835;
margin: 0 auto px2rem(100);
@@ -727,7 +744,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 14.56rem;
top: 9.56rem;
z-index: 2;
div {
@@ -748,7 +765,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 15.6rem;
top: 10.6rem;
z-index: 2;
div {
@@ -769,7 +786,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 16.4rem;
top: 11.4rem;
z-index: 2;
div {
@@ -790,7 +807,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 17.15rem;
top: 12.15rem;
z-index: 2;
div {
@@ -811,7 +828,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 19.8rem;
top: 14.8rem;
z-index: 2;
div {
@@ -832,7 +849,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 20.8rem;
top: 15.8rem;
z-index: 2;
div {
@@ -853,7 +870,7 @@ body {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 21.7rem;
top: 16.7rem;
z-index: 2;
div {
@@ -1040,30 +1057,47 @@ body {
color: #89421A;
}
}
.arabic{
.bg .ul_pub .incomeBox .sTab div{
.arabic {
.bg .ul_pub .incomeBox .sTab div {
font-size: px2rem(18);
}
.header .rule_rule{
.header .rule_rule {
font-size: px2rem(20);
text-indent: -10px;
}
.bg .rule .rule2 .table2_2{
.bg .rule .rule2 .table2_2 {
width: 9rem;
}
.bg .rule .rule2 .table1_3_div{
.bg .rule .rule2 .table1_3_div {
font-size: px2rem(10);
}
}
.toatstsEnd{
.toatstsEnd {
padding: px2rem(20) px2rem(30);
text-align: center;
color: #fff;
font-size: px2rem(24);
position: fixed;
z-index: 99999;
background: rgba(0,0,0,.8);
background: rgba(0, 0, 0, .8);
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
transform: translate(-50%, -50%);
}
.Turkiye {
.bg .ul_pub .incomeBox .sTab div {
font-size: px2rem(18);
}
.bg .ul_pub .incomeBox .tableTitle {
div {
font-size: px2rem(18);
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 KiB

After

Width:  |  Height:  |  Size: 503 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 KiB

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 673 KiB

After

Width:  |  Height:  |  Size: 569 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 KiB

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 KiB

After

Width:  |  Height:  |  Size: 144 KiB

View File

@@ -18,19 +18,19 @@
</div>
<!-- 頭部 -->
<div class="header">
<img id="img1" src="./images/header_h3.png" alt="" class="h3">
<img id="img1" src="./images/header_h3-tr.png" alt="" class="h3">
<div class="rule_rule text67"></div>
<div id="text1" class="text"></div>
<!-- <div id="text1" class="text"></div> -->
<!-- <img src="./images/gold.png" alt=""> -->
</div>
<!-- 容器 -->
<div class="bg">
<!-- 自己信息 -->
<div class="myInfo">
<div class="myInfo" >
<img src="./images/logo.png" alt="" class="tx">
<p id="text2"></p>
<b class="invitationCode"></b>
<div class="skip img5" >
<div class="skip img5">
<!-- <img src="./images/skip.png" alt=""> <b id="text3"></b> -->
</div>
<div class="copy img6" id="copy">
@@ -42,6 +42,7 @@
<img src="./images/gold.png" alt="">
<p id="text5"></p>
<b>0</b>
<div class="text myIncomeText"></div>
</div>
<!-- 收益tab -->
@@ -179,14 +180,14 @@
</div> -->
</div>
</div>
<div class="wishingStar" id="text28"></b></a>
<div class="wishingStar" style="display: none;" id="text28"></b></a>
</div>
</div>
</div>
<!-- 展開分享 -->
<div class="openShare" id="text31"></div>
<!-- 保存二維碼 -->
<div class="code">
<div class="code" style="display: none;">
<div class="rule_icon"></div>
<div class="p1" id="text32"></div>
<div class="p2" id="text33"></div>
@@ -227,5 +228,6 @@
<script src="./local/en.js?v=1.1"></script>
<script src="./local/zh.js?v=1.1"></script>
<script src="./local/ar.js?v=1.2"></script>
<script src="./local/tr.js?v=1.2"></script>
<script src="./js/index.js?v=1.4"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -113,8 +113,9 @@ function translateFun() {
$('#text32').html(langReplace(localLang.demoModule.text32));
$('#text33').html(langReplace(localLang.demoModule.text33));
$('#text34').html(langReplace(localLang.demoModule.text34));
$('#text66').html(langReplace(localLang.demoModule.text66));
// $('#text66').html(langReplace(localLang.demoModule.text66));
$('.text67').text(langReplace(localLang.demoModule.text67));
$('.bg .myIncome .text').text(langReplace(localLang.demoModule.myIncomeText));
$('#img1').attr('src', langReplace(localLang.demoModule.img1))
$('#img2').attr('src', langReplace(localLang.demoModule.img2))
$('#img3').attr('src', langReplace(localLang.demoModule.img3))
@@ -168,6 +169,30 @@ function getConfig() {
}
})
}
// 领取接口
function inviteReceive() {
showLoading()
networkRequest({
type: 'post',
url: urlPrefix + '/user/invite/receive',
success(res) {
if (res.code === 200) {
getMySelf();
toastMsg(langReplace(localLang.demoModule.claimed));
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.share.text8))
}
})
}
$('.bg .myIncome .text').click(function(){
inviteReceive();
})
// 獲取收益接口
function getMySelf() {
showLoading()
@@ -327,8 +352,8 @@ function profitPage() {
str += `
<li>
<div class="act">
<p>${dateFormat(res.createTime, 'yyyy-MM-dd')}</p>
<b>${dateFormat(res.createTime, 'hh:mm:ss')}</b>
<p>${res.inviteTimeYMD}</p>
<b>${res.inviteTimeHMS}</b>
</div>
<div>+${res.rewardNum} <img src="./images/${res.rewardType == 1 ? 'diamond' : 'magicStick'}.png" alt=""></div>
<div>${res.type == 1 && res.rewardType == 1 ? langReplace(localLang.demoModule.text52) : res.type == 3 && res.rewardType == 1 ? langReplace(localLang.demoModule.text53) : res.type == 3 && res.rewardType == 2 ? langReplace(localLang.demoModule.text54) : langReplace(localLang.demoModule.text55)}</div>
@@ -344,14 +369,14 @@ function profitPage() {
str += `
<li>
<div class="act">
<p>${dateFormat(res.createTime, 'yyyy-MM-dd')}</p>
<b>${dateFormat(res.createTime, 'hh:mm:ss')}</b>
<p>${res.inviteTimeYMD}</p>
<b>${res.inviteTimeHMS}</b>
</div>
<div>+${res.rewardNum} <img src="./images/${res.rewardType == 1 ? 'diamond' : 'magicStick'}.png" alt=""></div>
<div>${res.type == 1 && res.rewardType == 1 ? langReplace(localLang.demoModule.text52) : res.type == 3 && res.rewardType == 1 ? langReplace(localLang.demoModule.text53) : res.type == 3 && res.rewardType == 2 ? langReplace(localLang.demoModule.text54) : langReplace(localLang.demoModule.text55)}</div>
<div class="act">
<p>${res.inviteNick}</p>
<b>ID:${res.inviteErBanNo}</b>
<p>${res.inviteNick[0]+'*****'}</p>
<b>ID:******</b>
</div>
</li>
`
@@ -385,10 +410,10 @@ function userPage() {
var str = '';
if (text == langReplace(localLang.demoModule.text39) && typeStr == "1") {
$('.bg .incomeBox .tableTitle div').remove();
$('.bg .incomeBox .tableTitle').append(`<div>${langReplace(localLang.demoModule.text56)}</div><div>${langReplace(localLang.demoModule.text57)}</div><div>${langReplace(localLang.demoModule.text58)}</div>`);
$('.bg .incomeBox .tableTitle').append(`<div>${langReplace(localLang.demoModule.text56)}</div><div>${langReplace(localLang.demoModule.text57)}</div>`);
} else if (text == langReplace(localLang.demoModule.text40) && typeStr == "2") {
$('.bg .incomeBox .tableTitle div').remove();
$('.bg .incomeBox .tableTitle').append(`<div>${langReplace(localLang.demoModule.text59)}</div><div>${langReplace(localLang.demoModule.text60)}</div><div style="font-size: 0.24rem;">${langReplace(localLang.demoModule.text61)}</div><div>${langReplace(localLang.demoModule.text62)}</div>`);
$('.bg .incomeBox .tableTitle').append(`<div>${langReplace(localLang.demoModule.text59)}</div><div>${langReplace(localLang.demoModule.text60)}</div><div style="font-size: 0.24rem;">${langReplace(localLang.demoModule.text61)}</div>`);
}
if (res.data.records.length == 0) {
if (page == 1) {
@@ -407,14 +432,15 @@ function userPage() {
str += `
<li>
<div class="act">
<p>${dateFormat(res.createTime, 'yyyy-MM-dd')}</p>
<b>${dateFormat(res.createTime, 'hh:mm:ss')}</b>
<p>${res.inviteTimeYMD}</p>
<b>${res.inviteTimeHMS}</b>
</div>
<div class="act">
<p>${res.inviteNick}</p>
<b>ID:${res.inviteErBanNo}</b>
</div>
<div>${res.charge30Amount ? res.charge30Amount : 0} <img src="./images/gold.png" alt=""></div>
<!-- <div>${res.charge30Amount ? res.charge30Amount : 0} <img src="./images/gold.png" alt=""></div> -->
</li>
`
});
@@ -423,18 +449,18 @@ function userPage() {
str += `
<li>
<div class="act">
<p>${dateFormat(res.createTime, 'yyyy-MM-dd')}</p>
<b>${dateFormat(res.createTime, 'hh:mm:ss')}</b>
<p>${res.inviteTimeYMD}</p>
<b>${res.inviteTimeHMS}</b>
</div>
<div class="act">
<p>${res.inviteNick}</p>
<b>ID:${res.inviteErBanNo}</b>
</div>
<div class="act">
<p>${res.indirectNick}</p>
<b>ID:${res.indirectErBanNo}</b>
<p>${typeStr == "2" ? res.indirectNick[0] + '*****' : res.indirectNick}</p>
<b>ID:******</b>
</div>
<div>${res.charge30Amount ? res.charge30Amount : 0} <img src="./images/gold.png" alt=""></div>
<!-- <div>${res.charge30Amount ? res.charge30Amount : 0} <img src="./images/gold.png" alt=""></div> -->
</li>
`
});

View File

@@ -2,7 +2,7 @@
langAr = {
// 模块
demoModule: {
endTimes:'انتهاء الفعالية',
endTimes: 'انتهاء الفعالية',
img1: `./images/header_h3-ar.png`,
img2: `./images/rule_rule-ar.png`,
img3: `./images/rule1_in-ar.png`,
@@ -83,39 +83,42 @@ langAr = {
text61: `المستخدم غير مباشر`,
text62: `شحن في 30 يومًا`,
text66: `<div class="table1_1">
<div style="line-height: 0.4rem;">مبلغ الشحن<br>(خلال 30 يومًا، الوحدة: العملات)</div>
<div>الأرباح</div>
</div>
<div class="table1_2">
<div>الشحن &lt;10000</div>
<div style="line-height: 0.4rem;">سيحصل المدعو المباشر علي ٢ عصا سحرية,وستحصل أنت علي ١ عصا سحرية</div>
</div>
<div class="table1_3">
<div>10000 ≤ الشحن &lt;50000</div>
<div class="table1_3_div" style="line-height: 0.4rem;">في كل مرة سيشحن المدعو المباشر 1000 عملة ذهبية ستحصل انت علي مكافأة 30 عملة أي(3٪)</div>
</div>
<div class="table1_4">
<div>الشحن ≥50000 </div>
<div style="line-height: 0.4rem;">عن كل 1000 شحن من قبل المستخدم المدعو مباشرة، أنت +50 (5.00%)</div>
</div>
<div class="table2_1">
<div style="line-height: 0.4rem;">مبلغ الشحن<br>(خلال 30 يومًا، الوحدة: العملات)</div>
<div>الأرباح</div>
</div>
<div class="table2_2">
<div>10000 ≤ الشحن &lt;50000</div>
<div style="line-height: 0.4rem;" class="table1_3_div">في كل مرة سيشحن المدعو الغير المباشر 1000 عملة ذهبية ستحصل انت علي مكافأة ١٠ عملات ذهبية أي(١٪)</div>
</div>
<div class="table2_3">
<div>الشحن ≥50000</div>
<div style="line-height: 0.34rem;" class="table1_3_div">في كل مرة سيشحن المدعو الغير المباشر 1000 عملة ذهبية ستحصل انت علي مكافأة ٢٠ عملة ذهبية أي(٢٪)</div>
</div>`,
<div style="line-height: 0.4rem;font-size: 0.2rem;">مقدار الإيداع الفردي<br> (الوقت: خلال 30 يومًا، الوحدة: العملات الذهبية)</div>
<div>الأرباح المكتسبة</div>
</div>
<div class="table1_2">
<div>إيداع < 70000 عملة ذهبية</div>
<div style="line-height: 0.4rem;font-size: 0.2rem;">عند قيام الشخص المدعو مباشرةً بالإيداع، ستحصل على مكافأة بنسبة 1% من مبلغ الإيداع;</div>
</div>
<div class="table1_3">
<div style="line-height: 0.4rem;">70000 عملة ذهبية ≤ إيداع < 700000 عملة ذهبية</div>
<div style="line-height: 0.4rem;font-size: 0.15rem;">عند قيام الشخص المدعو مباشرةً بالإيداع أكثر من 70000 عملة ذهبية، ستحصل على مكافأة بنسبة 2% من مبلغ الإيداع;</div>
</div>
<div class="table1_4">
<div>إيداع ≥ 700000 عملة ذهبية</div>
<div style="line-height: 0.4rem;font-size: 0.15rem;">عند قيام الشخص المدعو مباشرةً بالإيداع أكثر من 700000 عملة ذهبية، ستحصل على مكافأة بنسبة 4% من مبلغ الإيداع;</div>
</div>
<div class="table2_1">
<div style="line-height: 0.4rem;font-size: 0.2rem;">مقدار الإيداع الفردي<br> (الوقت: خلال 30 يومًا، الوحدة: العملات الذهبية)</div>
<div>الأرباح المكتسبة</div>
</div>
<div class="table2_2">
<div style="line-height: 0.4rem;">70000 عملة ذهبية ≤ إيداع < 700000 عملة ذهبية</div>
<div style="line-height: 0.4rem;font-size: 0.15rem;">عند قيام الشخص المدعو غير مباشر بالإيداع أكثر من 70000 عملة ذهبية، ستحصل على مكافأة بنسبة 0.5% من مبلغ الإيداع;</div>
</div>
<div class="table2_3">
<div>إيداع ≥ 700000 عملة ذهبية</div>
<div style="line-height: 0.34rem;font-size: 0.15rem;">عند قيام الشخص المدعو غير مباشر بالإيداع أكثر من 700000 عملة ذهبية، ستحصل على مكافأة بنسبة 1% من مبلغ الإيداع;</div>
</div>
`,
text67: `تفاصيل الأرباح`,
img5: `background: url(./images/myInfoBut-ar.png) no-repeat;background-size: 100% 100%;`,
img6: `background: url(./images/myInfoBut2-ar.png) no-repeat;background-size: 100% 100%;`,
img7: `background: url(./images/ruleBoxBg-ar.png) no-repeat;background-size: 100% 100%;`,
img8: `./images/rule_inNew-ar.png`,
myIncomeText: `الحصول`,
claimed:'تم الاستلام بنجاح',
},
share: {
img1: `background: url(./images/share/header-ar.png) no-repeat;background-size: 100% 100%;`,

View File

@@ -83,38 +83,41 @@ langEn = {
text61: `Indirect Invitee`,
text62: `30-Day Top-Up`,
text66: `<div class="table1_1">
<div style="line-height: 0.4rem;">Top-Up Amount<br>(Within 30 Days, Unit: Coins)</div>
<div>Earnings</div>
</div>
<div class="table1_2">
<div>Top-Up &lt;10000</div>
<div style="line-height: 0.4rem;">Directly Invited User +2 Magic Wands, You +1 Magic Wand</div>
</div>
<div class="table1_3">
<div>10000≤ Top-Up &lt;50000</div>
<div style="line-height: 0.4rem;">For every 1000 top-up by Directly Invited User, You +30 (3.00%)</div>
</div>
<div class="table1_4">
<div>Top-Up ≥50000 </div>
<div style="line-height: 0.4rem;">For every 1000 top-up by Directly Invited User, You +50 (5.00%)</div>
</div>
<div class="table2_1">
<div style="line-height: 0.4rem;">Top-Up Amount<br>(Within 30 Days, Unit: Coins)</div>
<div>Earnings</div>
</div>
<div class="table2_2">
<div>10000≤ Top-Up &lt;50000</div>
<div style="line-height: 0.4rem;">For every 1000 top-up by Indirectly Invited User, You +10 (1.00%)</div>
</div>
<div class="table2_3">
<div>Top-Up ≥50000</div>
<div style="line-height: 0.34rem;">For every 1000 top-up by Indirectly Invited User, You +20 (2.00%)</div>
</div>`,
<div style="line-height: 0.4rem;">Single Deposit Amount<br> (Time: Within 30 days, Unit: Gold Coins)</div>
<div>Earnings</div>
</div>
<div class="table1_2">
<div>Deposit < 70000 Gold Coins</div>
<div style="line-height: 0.4rem;font-size: 0.15rem;">For each deposit made by the directly invited person, you earn 1% of the deposited amount as reward;</div>
</div>
<div class="table1_3">
<div>70000 Gold Coins ≤ Deposit < 700000 Gold Coins</div>
<div style="line-height: 0.4rem;font-size: 0.15rem;">For each deposit made by the directly invited person exceeding 70000 Gold Coins, you earn 2% of the deposited amount as reward;</div>
</div>
<div class="table1_4">
<div>Deposit ≥ 700000 Gold Coins</div>
<div style="line-height: 0.4rem;font-size: 0.2rem;">For each deposit made by the directly invited person exceeding 700000 Gold Coins, you earn 4% of the deposited amount as reward;</div>
</div>
<div class="table2_1">
<div style="line-height: 0.4rem;">Single Deposit Amount<br> (Time: Within 30 days, Unit: Gold Coins)</div>
<div>Earnings</div>
</div>
<div class="table2_2">
<div>70000 Gold Coins ≤ Deposit < 700000 Gold Coins</div>
<div style="line-height: 0.4rem;">For each deposit made by the indirectly invited person exceeding 70000 Gold Coins, you earn 0.5% of the deposited amount as reward;</div>
</div>
<div class="table2_3">
<div>Deposit ≥ 700000 Gold Coins</div>
<div style="line-height: 0.34rem;">For each deposit made by the indirectly invited person exceeding 700000 Gold Coins, you earn 1% of the deposited amount as reward;</div>
</div>
`,
text67: `Profit `,
img5: `background: url(./images/myInfoBut-en.png) no-repeat;background-size: 100% 100%;`,
img6: `background: url(./images/myInfoBut2-en.png) no-repeat;background-size: 100% 100%;`,
img7: `background: url(./images/ruleBoxBg-en.png) no-repeat;background-size: 100% 100%;`,
img8: `./images/rule_inNew-en.png`,
myIncomeText: `Obtain`,
claimed:'Successfully claimed',
},
share: {
img1: `background: url(./images/share/header-en.png) no-repeat;background-size: 100% 100%;`,

View File

@@ -0,0 +1,142 @@
// 英文
langTr = {
// 模块
demoModule: {
endTimes: 'Etkinlik sona erdi',
img1: `./images/header_h3-tr.png`,
img2: `./images/rule_rule-tr.png`,
img3: `./images/rule1_in-tr.png`,
img4: `./images/rule_2in-tr.png`,
title: `Davet Ederek Coin Kazan`,
text1: `Her davet için <b>500</b> <img src="./images/gold.png" alt=""> kazan`,
text2: `Benim Kodum`,
text3: `Arkadaşlarla Paylaş`,
text4: `Davet Kodunu Kopyala`,
text5: `Kazançlar`,
texts5: `Kazançlar`,
text6: `Doğrudan Davet Kazançları`,
text7: `Dolaylı Davet Kazançları`,
text8: `Doğrudan Davet Kazançları Kaydı`,
text9: `Doğrudan Davet Kullanıcı Kaydı`,
text10: `Zaman`,
text11: `Kazanç`,
text12: `Kazanç Türü`,
text13: `Davet Edilen Kullanıcı`,
text14: `Etkinlik Kuralları`,
text15: `Bir arkadaşı kaydettirerek başarıyla davet ederseniz, her iki taraf da 500 coin kazanır, sınırsız!`,
text16: `Davet Eden: Siz`,
text17: `Doğrudan Davet Edilen`,
text18: `Arkadaşlarınızı top-up yapmaya davet edin ve 30 gün boyunca %7'ye kadar geri ödeme kazanın!`,
text19: `Davet Eden: Siz`,
text20: `Doğrudan Davet Edilen`,
text21: `Dolaylı Davet Edilen`,
text22: `Doğrudan Davet Edilen: Davet kodunuzu kullanarak kaydolanlar`,
text23: `Dolaylı Davet Edilen: Kayıtlı arkadaşlarınız tarafından davet edilenler`,
text24: `Yatırım Tutarı`,
text25: `Kazançlar`,
text26: `Yatırım Tutarı`,
text27: `Kazançlar`,
text28: `*Büyülü asa, <a href="../../modules/act-wishingStar/index.html?lang=tr"><b>Dilek Yıldızı etkinliği>>`,
text29: `Diğer Talimatlar`,
text30: `<li class="title">Davet Ödüllerinin Dağıtımı Hakkında</li>
<li>1. Davet Edilen Kullanıcının Kazançları: Sistem, yeni kullanıcı davet kodunu doldurduktan sonra ödülleri ilgili hesaba otomatik olarak dağıtır.</li>
<li>2. Davet Edenin Kazançları: Sistem, yeni kullanıcı davet kodunu doldurduktan sonra ödülleri ilgili hesaba otomatik olarak dağıtır.</li>
<li>3. Yatırım Ödülü: Sadece doğrudan yapılan yatırımlar sayılır; Yeni kullanıcı davet kodunu doldurduktan sonra ilk 30 günlük yatırımlarını tamamladığında, bir büyülü asa ödülü kazanabilir, bu ödül, Dilek Yıldızı oyununda nadir hediyeler almak için kullanılabilir; Davet edenler belirli bir yatırım miktarını tamamlayarak ek kazançlar elde edebilir ve kazançlar gerçek zamanlı olarak yatırılır.</li>
<li class="title">Geçersiz Davetler Hakkında</li>
<li>1. Aynı cihaz, aynı telefon numarası ve aynı kimlik bilgileriyle kaydolan kullanıcılar aynı kullanıcı olarak kabul edilir ve ödüller tekrar verilemez; Eğer davet eden ve davet edilen aynı cihazı, kimlik bilgilerini ve telefon numarasını kullanıyorsa, davet eden ödül alamaz.</li>
<li>2. Her yeni kullanıcı yalnızca bir kez davet kodu doldurabilir ve doldurduktan sonra değiştirilemez, dikkat! Davet kodu daha sonra doldurulamaz, lütfen yeni kullanıcıyı kaydolurken davet kodunu zamanında doldurması için bilgilendirin, aksi takdirde bu davet geçersizdir.</li>
<li>3. Herhangi bir dolandırıcılık davranışı durumunda, resmi yetkililer dolandırıcıların elde ettiği tüm ödülleri iptal etme ve hesabı yasaklama hakkına sahiptir.</li>
<li>4. Sanal telefon numaraları ve yasaklı kullanıcılar etkinliğe katılamazlar.</li>
<li class="title">Diğerleri</li>
<li>1. Herhangi bir sorunuz varsa, lütfen WhatsApp ile iletişime geçin: 8618984433556</li>
<li>2. Bu etkinliğin nihai yorumlama hakkı resmiye aittir ve Apple Inc./Google Inc. ile ilgisi yoktur.</li>`,
text31: `QR Kodunu Paylaş >`,
text32: `Arkadaşlar QR Kodunu Tarayarak İndirip Kaydolabilir`,
text33: `Get <b>500</b><img src="./images/gold.png" alt="" class="diamond">`,
text34: `Yerel Olarak Kaydet`,
text35: `Doğrudan`,
text36: `Molistar'ı indirip Kaydınızı Yaparak 500 coin Kazanın!`,
text37: `Molistar, Kalp Atışıyla Tanışın`,
text38: `Molistar'da Sohbet Edin, Oyunlar Oynayın, Arkadaş Edinin, Her Zaman ve Her Yerde`,
text39: `Doğrudan`,
text40: `Dolaylı`,
text41: `Davet Kazançları Kaydı`,
text42: `Davet Edilen Kullanıcı Kaydı`,
text43: `Yok`,
text44: `Zaman`,
text45: `Kazanç`,
text46: `Kazanç Türü`,
text47: `Doğrudan Davet Edilen`,
text48: `Zaman`,
text49: `Kazanç`,
text50: `Kazanç Türü`,
text51: `Dolaylı Davet Edilen`,
text52: `Arkadaşları Kaydetmeye Davet Et`,
text53: `Arkadaşların Yatırım Geri Ödemesi`,
text54: `Arkadaşın İlk Yatırımı`,
text55: `Dolaylı Davet Yatırım Geri Ödemesi`,
text56: `Zaman`,
text57: `Doğrudan Davet Edilen`,
text58: `30 Günlük Yatırım`,
text59: `Zaman`,
text60: `Doğrudan Davet Edilen`,
text61: `Dolaylı Davet Edilen`,
text62: `30 Günlük Yatırım`,
text66: `<div class="table1_1">
<div style="line-height: 0.4rem;">Tek Yatırım Miktarı<br> (Zaman: Son 30 gün, Birim: Altın Paralar)</div>
<div>Kazanılan Gelir</div>
</div>
<div class="table1_2">
<div>Yatırım < 70000 Altın Para</div>
<div style="line-height: 0.4rem;">Doğrudan davet edilen kişi yatırım yaparsa, yatırılan miktarın %1'ini kazanırsınız;</div>
</div>
<div class="table1_3">
<div>70000 Altın Para ≤ Yatırım < 700000 Altın Para</div>
<div style="line-height: 0.4rem;">Doğrudan davet edilen kişi 70000 Altın Paradan fazla yatırım yaparsa, yatırılan miktarın %2'sini kazanırsınız;</div>
</div>
<div class="table1_4">
<div>Yatırım ≥ 700000 Altın Para</div>
<div style="line-height: 0.4rem;">Doğrudan davet edilen kişi 700000 Altın Paradan fazla yatırım yaparsa, yatırılan miktarın %4'ünü kazanırsınız;</div>
</div>
<div class="table2_1">
<div style="line-height: 0.4rem;">Tek Yatırım Miktarı<br> (Zaman: Son 30 gün, Birim: Altın Paralar)</div>
<div>Kazanılan Gelir</div>
</div>
<div class="table2_2">
<div>70000 Altın Para ≤ Yatırım < 700000 Altın Para</div>
<div style="line-height: 0.4rem;">Dolaylı davet edilen kişi 70000 Altın Paradan fazla yatırım yaparsa, yatırılan miktarın %0.5'ini kazanırsınız;</div>
</div>
<div class="table2_3">
<div>Yatırım ≥ 700000 Altın Para</div>
<div style="line-height: 0.34rem;">Dolaylı davet edilen kişi 700000 Altın Paradan fazla yatırım yaparsa, yatırılan miktarın %1'ini kazanırsınız;</div>
</div>
`,
text67: `Kar`,
img5: `background: url(./images/myInfoBut-tr.png) no-repeat;background-size: 100% 100%;`,
img6: `background: url(./images/myInfoBut2-tr.png) no-repeat;background-size: 100% 100%;`,
img7: `background: url(./images/ruleBoxBg-tr.png) no-repeat;background-size: 100% 100%;`,
img8: `./images/rule_inNew-tr.png`,
myIncomeText: `Kazan`,
claimed:'Başarıyla alındı',
},
share: {
img1: `background: url(./images/share/header-tr.png) no-repeat;background-size: 100% 100%;`,
img2: `background: url(./images/share/codeBg-tr.png) no-repeat;background-size: 100% 100%;`,
title: `Molistar'a katıl, eğlence seni bekliyor!`,
text1: `Molistar'da beklenmedik bağlantılar keşfet.`,
text2: `Sohbet et, oyun oyna ve Molistar'da her zaman, her yerde arkadaş edin.`,
xz_id: `Molistar'ı şimdi indir!`,
text4: `Molistar'a davet kodumla kaydol ve hemen 500 altın coin kazan!`,
text5: `Yükleniyor...`,
text6: `İşlem tamamlandı`,
text7: `Başarıyla kopyalandı`,
text8: `Ağ hatası, lütfen daha sonra tekrar deneyin`,
inviteCodes: `text-align: right;`,
imgs1: `./images/share/1-tr.png`,
imgs2: `./images/share/2-tr.png`,
imgs3: `./images/share/3-tr.png`,
imgs4: `./images/share/4-tr.png`,
imgs5: `./images/share/5-tr.png`,
}
}

View File

@@ -2,7 +2,7 @@
langZh = {
// 模塊
demoModule: {
endTimes:'活動已結束',
endTimes: '活動已結束',
img1: `./images/header_h3.png`,
img2: `./images/rule_rule.png`,
img3: `./images/rule1_in.png`,
@@ -86,38 +86,41 @@ langZh = {
text64: `金幣`,
text65: `直接邀請對象+2魔法棒妳+1魔法棒`,
text66: `<div class="table1_1">
<div style="line-height: 0.4rem;">儲值數額<br>時間30天內單位:金幣)</div>
<div style="line-height: 0.4rem;">單筆充值金額<br>時間30天內 單位:金幣)</div>
<div>獲得收益</div>
</div>
<div class="table1_2">
<div>儲值&lt;10000</div>
<div style="line-height: 0.4rem;">直接邀請對象 +2 魔法棒,妳 +1 魔法棒</div>
<div>充值<70000金幣</div>
<div style="line-height: 0.4rem;">直接邀請對象充值你獲得充值金額1%金幣獎勳;</div>
</div>
<div class="table1_3">
<div>10000≤儲值&lt50000</div>
<div style="line-height: 0.4rem;">直接邀請對象每儲值1000妳+303.00%</div>
<div>70000金幣=<充值<700000金幣</div>
<div style="line-height: 0.4rem;">直接邀請對象充值>70000金幣你將獲得充值金額2%金幣獎勳;</div>
</div>
<div class="table1_4">
<div>儲值≥50000 </div>
<div style="line-height: 0.4rem;">直接邀請對象每儲值1000妳+505.00%</div>
<div>充值>=700000金幣</div>
<div style="line-height: 0.4rem;">直接邀請對象充值>700000金幣你獲得充值金額4%金幣獎勳;</div>
</div>
<div class="table2_1">
<div style="line-height: 0.4rem;">儲值數額<br>時間30天內單位:金幣)</div>
<div style="line-height: 0.4rem;">單筆充值金額<br>時間30天內 單位:金幣)</div>
<div>獲得收益</div>
</div>
<div class="table2_2">
<div>10000≤儲值&lt;50000</div>
<div style="line-height: 0.4rem;">間接邀請對象每儲值1000妳+101.00%</div>
<div>70000金幣=<充值<700000金幣</div>
<div style="line-height: 0.4rem;">間接邀請對象充值>70000金幣你將獲得充值金額0.5%金幣獎勳;</div>
</div>
<div class="table2_3">
<div>儲值≥50000</div>
<div style="line-height: 0.34rem;">間接邀請對象每儲值1000妳+202.00%</div>
</div>`,
<div>充值>=700000金幣</div>
<div style="line-height: 0.34rem;">間接邀請對象充值>700000金幣你獲得充值金額1%金幣獎勳;</div>
</div>
`,
text67: `收益明細`,
img5: `background: url(./images/myInfoBut.png) no-repeat;background-size: 100% 100%;`,
img6: `background: url(./images/myInfoBut2.png) no-repeat;background-size: 100% 100%;`,
img7: `background: url./images/ruleBoxBg.png) no-repeat;background-size: 100% 100%;`,
img7: `./images/rule_inNew.png`,
myIncomeText: `獲取`,
claimed:'領取成功',
},
share: {
img1: `background: url(./images/share/header.png) no-repeat;background-size: 100% 100%;`,

View File

@@ -0,0 +1,938 @@
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.53333rem;
}
.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%;
}

View File

@@ -0,0 +1,952 @@
@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: px2rem(-40);
}
}
}
}
.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%;
}
}

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: '虚位以待',
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,28 @@
// 阿拉伯
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: 'يوم ',
}
}

View File

@@ -0,0 +1,32 @@
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',
},
}

View File

@@ -0,0 +1,31 @@
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',
},
}

View File

@@ -0,0 +1,28 @@
// 中文
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: '日',
}
}

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('guild-ar') || 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('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

@@ -0,0 +1,81 @@
<!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/createGuild.css">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/backB.png" alt="">
<b class="text1"></b>
</div>
<!-- 我的信息 -->
<div class="myInfo">
<img src="./images/logo.png" alt="" class="tx">
<p></p>
<b></b>
</div>
<!-- 公会信息 -->
<div class="info">
<input class="agencyAvatarInput" type="file" id="backImageUpload" accept="image/*" onchange="fileChangeF(event)"
class="upload" style="opacity: 0;">
<img src="./images/createGuildNull.png" alt="" class="agencyAvatar">
<p class="p1"><strong class="text2"></strong><b>*</b></p>
<div class="agencyName">
<div class="left"><strong class="text3"></strong><b>*</b></div>
<input class="right placeholder" type="text" placeholder="">
</div>
<div class="agentContactInfo">
<div class="left"><strong class="text4"></strong><b>*</b></div>
<input class="right placeholder" type="text" placeholder="">
</div>
<div class="agentIDCard"><strong class="text5"></strong><b>*</b></div>
<input class="agentIDCardImgInput" type="file" id="backImageUpload2" accept="image/*"
onchange="fileChangeF2(event)" class="upload" style="opacity: 0;">
<img src="./images/createGuildNull.png" alt="" class="agentIDCardImg">
</div>
<!-- 邀请人信息 -->
<div class="inviterInfo">
<div class="InviterId">
<div class="left"><strong class="text6"></strong></div>
<input class="right placeholder" type="text" placeholder="">
</div>
<div class="inviterPic"><strong class="text7"></strong></div>
<input class="inviterPicImgInput" type="file" id="backImageUpload3" accept="image/*"
onchange="fileChangeF3(event)" class="upload" style="opacity: 0;">
<img src="./images/createGuildNull.png" alt="" class="inviterPicImg">
</div>
<!-- 按钮 -->
<div class="butBox">Submit</div>
<div class="null"></div>
<!-- 提交成功弹窗 -->
<div class="submitSuccessfully">
<div class="submitSuccessfully_in">
<div class="title text8"></div>
<p class="text9"></p>
<div class="but text10"></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"></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="./js/cos-js-sdk-v5.min.js"></script>
<script src="./js/createGuild.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -0,0 +1,369 @@
html,
body {
width: 100%;
height: 17.78667rem;
background: #FFFFFF;
}
.back {
width: 100%;
height: 2.38667rem;
line-height: 3.2rem;
position: fixed;
left: 0;
top: 0rem;
text-align: center;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
z-index: 10;
background: #fff;
}
.back img {
width: 0.58667rem;
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 58%;
}
.myInfo {
width: 9.14667rem;
height: 2.13333rem;
background: #F7F7F7;
border-radius: 0.26667rem;
margin: 2.6rem auto 0.42667rem;
position: relative;
}
.myInfo .tx {
width: 1.6rem;
height: 1.6rem;
position: absolute;
left: 0.32rem;
top: 50%;
transform: translateY(-50%);
border-radius: 50%;
}
.myInfo p {
width: 4.5rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #313131;
font-size: 0.42667rem;
font-weight: 500;
position: absolute;
top: 0.50667rem;
left: 2.18667rem;
}
.myInfo b {
color: #7B7B7D;
font-weight: 400;
position: absolute;
left: 2.18667rem;
top: 1.17333rem;
font-size: 0.34667rem;
}
.info {
width: 9.14667rem;
height: 11.6rem;
background: #F7F7F7;
border-radius: 0.26667rem;
margin: 0 auto 0.42667rem;
position: relative;
overflow: hidden;
}
.info .agencyAvatar {
width: 3.01333rem;
height: 3.01333rem;
position: absolute;
top: 0.4rem;
left: 50%;
transform: translateX(-50%);
}
.info .agencyAvatarInput {
width: 3.01333rem;
height: 3.01333rem;
position: absolute;
top: 0.4rem;
left: 50%;
transform: translateX(-50%);
z-index: 2;
}
.info .p1 {
width: 100%;
top: 3.62667rem;
left: 50%;
transform: translateX(-50%);
color: #313131;
font-size: 0.32rem;
font-weight: 500;
position: absolute;
text-align: center;
}
.info .p1 b {
color: #FF2C2C;
}
.info .agencyName {
width: 100%;
height: 1.33333rem;
line-height: 1.33333rem;
border-bottom: 0.01333rem solid #D6D6D6;
margin-top: 4.34667rem;
box-sizing: border-box;
padding: 0 0.32rem;
display: flex;
justify-content: space-between;
}
.info .agencyName .left {
color: #313131;
font-size: 0.37333rem;
font-weight: 500;
white-space: nowrap;
}
.info .agencyName .left b {
color: #FF2C2C;
}
.info .agencyName input {
background: none;
outline: none;
border: none;
text-align: right;
width: 5rem;
}
.info .agentContactInfo {
width: 100%;
height: 1.33333rem;
line-height: 1.33333rem;
border-bottom: 0.01333rem solid #D6D6D6;
margin-top: 0rem;
margin: 0 auto 0.4rem;
box-sizing: border-box;
padding: 0 0.32rem;
display: flex;
justify-content: space-between;
}
.info .agentContactInfo .left {
color: #313131;
font-size: 0.37333rem;
font-weight: 500;
white-space: nowrap;
}
.info .agentContactInfo .left b {
color: #FF2C2C;
}
.info .agentContactInfo input {
background: none;
outline: none;
border: none;
text-align: right;
width: 5rem;
}
.info .agentIDCard {
width: 100%;
box-sizing: border-box;
padding: 0 0.32rem;
color: #313131;
font-size: 0.37333rem;
font-weight: 500;
margin-bottom: 0.32rem;
white-space: nowrap;
}
.info .agentIDCard b {
color: #FF2C2C;
}
.info .agentIDCardImg {
width: 2.93333rem;
height: 2.93333rem;
display: inline-block;
margin: 0 0.32rem;
}
.info .agentIDCardImgInput {
width: 2.93333rem;
height: 2.93333rem;
display: inline-block;
left: 0.3rem;
z-index: 2;
position: absolute;
}
.inviterInfo {
width: 9.14667rem;
height: 5.92rem;
border-radius: 0.26667rem;
background: #F7F7F7;
margin: 0 auto 0.21333rem;
}
.inviterInfo .InviterId {
width: 100%;
height: 1.33333rem;
line-height: 1.33333rem;
border-bottom: 0.01333rem solid #D6D6D6;
margin-top: 0rem;
margin: 0 auto 0.4rem;
box-sizing: border-box;
padding: 0 0.32rem;
display: flex;
justify-content: space-between;
}
.inviterInfo .InviterId .left {
color: #313131;
font-size: 0.37333rem;
font-weight: 500;
white-space: nowrap;
}
.inviterInfo .InviterId .left b {
color: #FF2C2C;
}
.inviterInfo .InviterId input {
background: none;
outline: none;
border: none;
text-align: right;
width: 5rem;
}
.inviterInfo .inviterPic {
width: 100%;
box-sizing: border-box;
padding: 0 0.32rem;
color: #313131;
font-size: 0.37333rem;
font-weight: 500;
margin-bottom: 0.32rem;
}
.inviterInfo .inviterPicImg {
width: 2.93333rem;
height: 2.93333rem;
display: inline-block;
margin: 0 0.32rem;
}
.inviterInfo .inviterPicImgInput {
width: 2.93333rem;
height: 2.93333rem;
display: inline-block;
left: 0.8rem;
z-index: 2;
position: absolute;
}
.butBox {
width: 8.85333rem;
height: 1.22667rem;
line-height: 1.22667rem;
text-align: center;
color: #fff;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
margin: 0 auto 0;
border-radius: 1.22667rem;
}
.null {
height: 0.26667rem;
}
.submitSuccessfully {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
background: rgba(0, 0, 0, 0.5);
display: none;
}
.submitSuccessfully .submitSuccessfully_in {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 7.73333rem;
background: #fff;
border-radius: 0.42667rem;
padding: 0.37333rem 0.61333rem 0.48rem;
}
.submitSuccessfully .submitSuccessfully_in .title {
color: #313131;
font-size: 0.4rem;
font-weight: 500;
height: 0.56rem;
line-height: 0.56rem;
margin: 0rem auto 0.32rem;
text-align: center;
}
.submitSuccessfully .submitSuccessfully_in p {
width: 100%;
color: #313131;
font-size: 0.34667rem;
font-weight: 400;
line-height: 0.48rem;
}
.submitSuccessfully .submitSuccessfully_in .but {
width: 6.50667rem;
height: 0.96rem;
line-height: 0.96rem;
text-align: center;
border-radius: 0.96rem;
margin: 0.32rem auto 0;
color: #fff;
font-size: 0.37333rem;
font-weight: 500;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
}
.arabic .info .agentIDCardImgInput {
left: auto;
right: 0.3rem;
}
.arabic .inviterInfo .inviterPicImgInput {
left: auto;
right: 0.8rem;
}
.arabic .myInfo .tx {
left: auto;
right: 0.32rem;
}
.arabic .myInfo b {
left: auto;
right: 2.18667rem;
}
.arabic .info .agencyName input,
.arabic .info .agentContactInfo input,
.arabic .inviterInfo .InviterId input {
text-align: left;
}

View File

@@ -0,0 +1,375 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
height: px2rem(1334);
background: #FFFFFF;
}
.back {
width: 100%;
height: px2rem(179);
line-height: px2rem(240);
position: fixed;
left: 0;
top: px2rem(0);
text-align: center;
color: #333333;
font-size: px2rem(34);
font-weight: bold;
z-index: 10;
background: #fff;
// background: url(../images/topBg.png) no-repeat top;
// background-size: 100% 7rem;
img {
width: px2rem(44);
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: 58%;
}
}
.myInfo {
width: px2rem(686);
height: px2rem(160);
background: #F7F7F7;
border-radius: px2rem(20);
margin: 2.6rem auto px2rem(32);
position: relative;
.tx {
width: px2rem(120);
height: px2rem(120);
position: absolute;
left: px2rem(24);
top: 50%;
transform: translateY(-50%);
border-radius: 50%;
}
p {
width: 4.5rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #313131;
font-size: px2rem(32);
font-weight: 500;
position: absolute;
top: px2rem(38);
left: px2rem(164);
}
b {
color: #7B7B7D;
font-weight: 400;
position: absolute;
left: px2rem(164);
top: px2rem(88);
font-size: px2rem(26);
}
}
.info {
width: px2rem(686);
height: px2rem(870);
background: #F7F7F7;
border-radius: px2rem(20);
margin: 0 auto px2rem(32);
position: relative;
overflow: hidden;
.agencyAvatar {
width: px2rem(226);
height: px2rem(226);
position: absolute;
top: px2rem(30);
left: 50%;
transform: translateX(-50%);
}
.agencyAvatarInput {
width: px2rem(226);
height: px2rem(226);
position: absolute;
top: px2rem(30);
left: 50%;
transform: translateX(-50%);
z-index: 2;
}
.p1 {
width: 100%;
top: px2rem(272);
left: 50%;
transform: translateX(-50%);
color: #313131;
font-size: px2rem(24);
font-weight: 500;
position: absolute;
text-align: center;
b {
color: #FF2C2C;
}
}
.agencyName {
width: 100%;
height: px2rem(100);
line-height: px2rem(100);
border-bottom: px2rem(1) solid #D6D6D6;
margin-top: px2rem(326);
box-sizing: border-box;
padding: 0 px2rem(24);
display: flex;
justify-content: space-between;
.left {
color: #313131;
font-size: px2rem(28);
font-weight: 500;
white-space: nowrap;
b {
color: #FF2C2C;
}
}
input {
background: none;
outline: none;
border: none;
text-align: right;
width: 5rem;
}
}
.agentContactInfo {
width: 100%;
height: px2rem(100);
line-height: px2rem(100);
border-bottom: px2rem(1) solid #D6D6D6;
margin-top: px2rem(0);
margin: 0 auto px2rem(30);
box-sizing: border-box;
padding: 0 px2rem(24);
display: flex;
justify-content: space-between;
.left {
color: #313131;
font-size: px2rem(28);
font-weight: 500;
white-space: nowrap;
b {
color: #FF2C2C;
}
}
input {
background: none;
outline: none;
border: none;
text-align: right;
width: 5rem;
}
}
.agentIDCard {
width: 100%;
box-sizing: border-box;
padding: 0 px2rem(24);
color: #313131;
font-size: px2rem(28);
font-weight: 500;
margin-bottom: px2rem(24);
white-space: nowrap;
b {
color: #FF2C2C;
}
}
.agentIDCardImg {
width: px2rem(220);
height: px2rem(220);
display: inline-block;
margin: 0 px2rem(24);
}
.agentIDCardImgInput {
width: px2rem(220);
height: px2rem(220);
display: inline-block;
left: 0.3rem;
z-index: 2;
position: absolute;
}
}
.inviterInfo {
width: px2rem(686);
height: px2rem(444);
border-radius: px2rem(20);
background: #F7F7F7;
margin: 0 auto px2rem(16);
.InviterId {
width: 100%;
height: px2rem(100);
line-height: px2rem(100);
border-bottom: px2rem(1) solid #D6D6D6;
margin-top: px2rem(0);
margin: 0 auto px2rem(30);
box-sizing: border-box;
padding: 0 px2rem(24);
display: flex;
justify-content: space-between;
.left {
color: #313131;
font-size: px2rem(28);
font-weight: 500;
white-space: nowrap;
b {
color: #FF2C2C;
}
}
input {
background: none;
outline: none;
border: none;
text-align: right;
width: 5rem;
}
}
.inviterPic {
width: 100%;
box-sizing: border-box;
padding: 0 px2rem(24);
color: #313131;
font-size: px2rem(28);
font-weight: 500;
margin-bottom: px2rem(24);
}
.inviterPicImg {
width: px2rem(220);
height: px2rem(220);
display: inline-block;
margin: 0 px2rem(24);
}
.inviterPicImgInput {
width: px2rem(220);
height: px2rem(220);
display: inline-block;
left: 0.8rem;
z-index: 2;
position: absolute;
}
}
.butBox {
width: px2rem(664);
height: px2rem(92);
line-height: px2rem(92);
text-align: center;
color: #fff;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
margin: 0 auto 0;
border-radius: px2rem(92);
}
.null {
height: px2rem(20);
}
.submitSuccessfully {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
background: rgba(0, 0, 0, .5);
display: none;
.submitSuccessfully_in {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(580);
// height: px2rem(406);
background: #fff;
border-radius: px2rem(32);
padding: px2rem(28) px2rem(46) px2rem(36);
.title {
color: #313131;
font-size: px2rem(30);
font-weight: 500;
height: px2rem(42);
line-height: px2rem(42);
margin: px2rem(0) auto px2rem(24);
text-align: center;
}
p {
width: 100%;
color: #313131;
font-size: px2rem(26);
font-weight: 400;
line-height: px2rem(36);
}
.but {
width: px2rem(488);
height: px2rem(72);
line-height: px2rem(72);
text-align: center;
border-radius: px2rem(72);
margin: px2rem(24) auto 0;
color: #fff;
font-size: px2rem(28);
font-weight: 500;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
}
}
}
.arabic {
.info .agentIDCardImgInput {
left: auto;
right: 0.3rem;
}
.inviterInfo .inviterPicImgInput {
left: auto;
right: 0.8rem;
}
.myInfo .tx {
left: auto;
right: 0.32rem;
}
.myInfo b {
left: auto;
right: 2.18667rem;
}
.info .agencyName input,
.info .agentContactInfo input,
.inviterInfo .InviterId input {
text-align: left;
}
}

View File

@@ -2,7 +2,7 @@ html,
body {
width: 100%;
height: 17.78667rem;
background: #F5F7F9;
background: #FFFFFF;
}
.back {
@@ -17,8 +17,7 @@ body {
font-size: 0.45333rem;
font-weight: bold;
z-index: 10;
background: url(../images/topBg.png) no-repeat top;
background-size: 100% 7rem;
background: #fff;
}
.back img {
@@ -30,16 +29,17 @@ body {
}
.top {
width: 9.25333rem;
height: 1.18667rem;
line-height: 0.78667rem;
background: #fff;
border-radius: 0.26667rem 0.26667rem 0 0;
width: 9.2rem;
height: 0.90667rem;
line-height: 0.90667rem;
background: #F7F7F7;
border-radius: 0.90667rem;
margin: 2.5rem auto 0;
color: #333;
font-size: 0.42667rem;
box-sizing: border-box;
padding: 0 0.4rem;
position: relative;
}
.top .left {
@@ -48,21 +48,41 @@ body {
float: left;
}
.top input {
width: 8.13333rem;
height: 0.90667rem;
background: none;
position: absolute;
left: 0.98667rem;
top: 0;
font-size: 0.37333rem;
border: none;
outline: none;
color: #313131;
}
.top input::placeholder {
color: #AFB1B3;
}
.top img {
float: right;
display: block;
width: 0.58667rem;
height: 0.58667rem;
margin-top: 0.33333rem;
position: absolute;
left: 0.32rem;
top: 50%;
transform: translateY(-50%);
width: 0.53333rem;
height: 0.53333rem;
}
ul {
width: 9.25333rem;
height: 16.81333rem;
overflow-y: scroll;
margin: 0 auto;
margin: 0.53333rem auto 0;
border-radius: 0 0 0.26667rem 0.26667rem;
background: #fff;
padding-top: 0.26667rem;
box-sizing: border-box;
}
ul::-webkit-scrollbar {
@@ -70,119 +90,122 @@ ul::-webkit-scrollbar {
}
ul li {
width: 100%;
height: 2.13333rem;
overflow: hidden;
box-sizing: border-box;
padding: 0 0.26667rem 0 0.2rem;
width: 9.14667rem;
height: 2.24rem;
background: url(../images/guildLiBg.png) no-repeat;
background-size: 100% 100%;
margin-bottom: 0.66667rem;
position: relative;
}
ul li .num {
color: #000000;
font-size: 0.4rem;
font-weight: bold;
width: 1.01333rem;
height: 1.01333rem;
line-height: 1.01333rem;
text-align: center;
float: left;
margin-top: 0.66667rem;
}
ul li .ts {
width: 1.54667rem;
height: 1.54667rem;
position: absolute;
z-index: 2;
left: 1.09333rem;
top: 0.49333rem;
overflow: visible;
}
ul li .tx {
width: 1.4rem;
height: 1.45rem;
width: 2.21333rem;
height: 2.21333rem;
border-radius: 0.21333rem;
border: 0.04rem solid #FFD65E;
position: absolute;
left: 1.2rem;
top: 0.46rem;
border-radius: 0.1rem;
left: 0.26667rem;
top: -0.24rem;
}
ul li .user {
float: left;
margin-left: 1.66667rem;
}
ul li .user p {
width: 2.5rem;
ul li p {
width: 4rem;
position: absolute;
top: 0.26667rem;
left: 2.8rem;
color: #FFDD7A;
font-size: 0.42667rem;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #515665;
font-size: 0.32rem;
margin-bottom: 0.38667rem;
font-weight: bold;
box-sizing: border-box;
padding-top: 0.70667rem;
}
ul li .user b {
color: #A4ABB2;
ul li span {
width: 4rem;
height: 0.42667rem;
line-height: 0.42667rem;
position: absolute;
top: 1.33333rem;
left: 2.8rem;
}
ul li span img {
display: inline-block;
width: 0.42667rem;
height: 0.42667rem;
}
ul li span b {
display: inline-block;
color: #FFDD7A;
font-size: 0.32rem;
font-weight: 500;
font-weight: 400;
}
ul li strong {
position: absolute;
color: #FFDD7A;
font-weight: 400;
position: absolute;
left: 2.8rem;
top: 0.86667rem;
}
ul li .level {
width: 0.8rem;
height: 0.8rem;
position: absolute;
right: 0.69333rem;
top: 0.26667rem;
}
ul li .but {
width: 1.54667rem;
height: 0.56rem;
line-height: 0.56rem;
background: #7F95FF;
border-radius: 0.56rem;
float: right;
margin-top: 0.76rem;
width: 1.6rem;
height: 0.69333rem;
line-height: 0.64rem;
text-align: center;
color: #fff;
font-size: 0.26667rem;
font-size: 0.37333rem;
position: absolute;
right: 0.29333rem;
top: 1.22667rem;
border-radius: 0.69333rem;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
}
ul li:nth-child(odd) {
background: rgba(50, 39, 79, 0.06);
ul li .act {
top: 50%;
transform: translateY(-50%);
}
ul li:nth-child(1) .num {
background: url(../images/no1.png) no-repeat;
background-size: 100% 100%;
ul .null {
width: 100%;
height: 100%;
position: relative;
background: none;
}
ul li:nth-child(1) .ts {
width: 1.78667rem;
height: 1.78667rem;
left: 1.05333rem;
top: 0.18667rem;
ul .null img {
width: 1.96rem;
height: 2.01333rem;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
ul li:nth-child(2) .num {
background: url(../images/no2.png) no-repeat;
background-size: 100% 100%;
}
ul li:nth-child(2) .ts {
width: 1.78667rem;
height: 1.78667rem;
left: 1.05333rem;
top: 0.18667rem;
}
ul li:nth-child(3) .num {
background: url(../images/no3.png) no-repeat;
background-size: 100% 100%;
}
ul li:nth-child(3) .ts {
width: 1.78667rem;
height: 1.78667rem;
left: 1.05333rem;
top: 0.18667rem;
ul .null span {
width: 100%;
left: 0;
top: 55%;
transform: translateY(-50%);
color: #A9A9A9;
font-size: 0.4rem;
font-weight: 400;
position: absolute;
text-align: center;
}
.pub {
@@ -241,28 +264,29 @@ ul li:nth-child(3) .ts {
color: #fff;
}
.arabic ul li .num,
.arabic ul li .user {
float: right;
}
.arabic ul li .user {
margin-left: 0;
margin-right: 1.8rem;
}
.arabic ul li .but {
float: left;
right: auto;
left: 0.29333rem;
}
.arabic ul li .ts {
left: 0;
right: 1.05333rem;
.arabic ul li .level {
right: auto;
left: 0.69333rem;
}
.arabic ul li .tx {
left: 0;
right: 1.28rem;
right: 0.26667rem;
left: auto;
}
.arabic ul li p {
right: 2.8rem;
left: auto;
}
.arabic ul li span {
right: 2.8rem;
left: auto;
}
.arabic .top .left {
@@ -272,3 +296,73 @@ ul li:nth-child(3) .ts {
.arabic .top img {
float: left;
}
.create {
position: fixed;
z-index: 2;
left: 50%;
transform: translateX(-50%);
bottom: 0.88rem;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
width: 6.24rem;
height: 1.17333rem;
line-height: 1.17333rem;
text-align: center;
color: #fff;
font-size: 0.42667rem;
border-radius: 1.17333rem;
}
.submitSuccessfully {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
background: rgba(0, 0, 0, 0.5);
display: none;
}
.submitSuccessfully .submitSuccessfully_in {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 7.73333rem;
background: #fff;
border-radius: 0.42667rem;
padding: 0.37333rem 0.61333rem 0.48rem;
}
.submitSuccessfully .submitSuccessfully_in .title {
color: #313131;
font-size: 0.4rem;
font-weight: 500;
height: 0.56rem;
line-height: 0.56rem;
margin: 0rem auto 0.32rem;
text-align: center;
}
.submitSuccessfully .submitSuccessfully_in p {
width: 100%;
color: #313131;
font-size: 0.34667rem;
font-weight: 400;
line-height: 0.48rem;
text-align: center;
}
.submitSuccessfully .submitSuccessfully_in .but {
width: 6.50667rem;
height: 0.96rem;
line-height: 0.96rem;
text-align: center;
border-radius: 0.96rem;
margin: 0.32rem auto 0;
color: #fff;
font-size: 0.37333rem;
font-weight: 500;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
}

View File

@@ -6,7 +6,7 @@ html,
body {
width: 100%;
height: px2rem(1334);
background: #F5F7F9;
background: #FFFFFF;
}
@@ -22,8 +22,9 @@ body {
font-size: px2rem(34);
font-weight: bold;
z-index: 10;
background: url(../images/topBg.png) no-repeat top;
background-size: 100% 7rem;
background: #fff;
// background: url(../images/topBg.png) no-repeat top;
// background-size: 100% 7rem;
img {
width: px2rem(44);
@@ -35,16 +36,17 @@ body {
}
.top {
width: px2rem(694);
height: px2rem(89);
line-height: px2rem(59);
background: #fff;
border-radius: px2rem(20) px2rem(20) 0 0;
width: px2rem(690);
height: px2rem(68);
line-height: px2rem(68);
background: #F7F7F7;
border-radius: px2rem(68);
margin: 2.5rem auto 0;
color: #333;
font-size: px2rem(32);
box-sizing: border-box;
padding: 0 px2rem(30);
position: relative;
.left {
height: px2rem(89);
@@ -52,12 +54,30 @@ body {
float: left;
}
input {
width: px2rem(610);
height: px2rem(68);
background: none;
position: absolute;
left: px2rem(74);
top: 0;
font-size: px2rem(28);
border: none;
outline: none;
color: #313131;
&::placeholder {
color: #AFB1B3;
}
}
img {
float: right;
display: block;
width: px2rem(44);
height: px2rem(44);
margin-top: px2rem(25);
position: absolute;
left: px2rem(24);
top: 50%;
transform: translateY(-50%);
width: px2rem(40);
height: px2rem(40);
}
}
@@ -65,135 +85,131 @@ ul {
width: px2rem(694);
height: px2rem(1261);
overflow-y: scroll;
margin: 0 auto;
margin: px2rem(40) auto 0;
border-radius: 0 0 px2rem(20) px2rem(20);
background: #fff;
padding-top: px2rem(20);
box-sizing: border-box;
&::-webkit-scrollbar {
display: none;
}
li {
width: 100%;
height: px2rem(160);
overflow: hidden;
box-sizing: border-box;
padding: 0 px2rem(20) 0 px2rem(15);
width: px2rem(686);
height: px2rem(168);
background: url(../images/guildLiBg.png) no-repeat;
background-size: 100% 100%;
margin-bottom: px2rem(50);
position: relative;
.num {
color: #000000;
font-size: px2rem(30);
font-weight: bold;
width: px2rem(76);
height: px2rem(76);
line-height: px2rem(76);
text-align: center;
float: left;
margin-top: px2rem(50);
}
.ts {
width: px2rem(116);
height: px2rem(116);
position: absolute;
z-index: 2;
left: px2rem(82);
top: px2rem(37);
}
overflow: visible;
.tx {
width: 1.4rem;
height: 1.45rem;
width: px2rem(166);
height: px2rem(166);
border-radius: px2rem(16);
border: px2rem(3) solid #FFD65E;
position: absolute;
left: 1.2rem;
top: 0.46rem;
border-radius: 0.1rem;
left: px2rem(20);
top: px2rem(-18);
}
.user {
float: left;
margin-left: px2rem(125);
p {
width: 4rem;
position: absolute;
top: px2rem(20);
left: px2rem(210);
color: #FFDD7A;
font-size: px2rem(32);
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
p {
width: 2.5rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #515665;
font-size: px2rem(24);
margin-bottom: px2rem(29);
font-weight: bold;
box-sizing: border-box;
padding-top: px2rem(53);
span {
width: 4rem;
height: px2rem(32);
line-height: px2rem(32);
position: absolute;
top: px2rem(100);
left: px2rem(210);
img {
display: inline-block;
width: px2rem(32);
height: px2rem(32);
}
b {
color: #A4ABB2;
display: inline-block;
color: #FFDD7A;
font-size: px2rem(24);
font-weight: 500;
font-weight: 400;
}
}
strong{
position: absolute;
color: #FFDD7A;
font-weight: 400;
position: absolute;
left: 2.8rem;
top: px2rem(65);
}
.level {
width: px2rem(60);
height: px2rem(60);
position: absolute;
right: px2rem(52);
top: px2rem(20);
}
.but {
width: px2rem(116);
height: px2rem(42);
line-height: px2rem(42);
background: #7F95FF;
border-radius: px2rem(42);
float: right;
margin-top: px2rem(57);
width: px2rem(120);
height: px2rem(52);
line-height: px2rem(48);
text-align: center;
color: #fff;
font-size: px2rem(20);
font-size: px2rem(28);
position: absolute;
right: px2rem(22);
top: px2rem(92);
border-radius: px2rem(52);
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
}
&:nth-child(odd) {
background: rgba(50, 39, 79, .06);
.act {
top: 50%;
transform: translateY(-50%);
}
}
.null {
width: 100%;
height: 100%;
position: relative;
background: none;
img {
width: px2rem(147);
height: px2rem(151);
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
&:nth-child(1) {
.num {
background: url(../images/no1.png) no-repeat;
background-size: 100% 100%;
}
.ts {
width: px2rem(134);
height: px2rem(134);
left: px2rem(79);
top: px2rem(14);
}
span {
width: 100%;
left: 0;
top: 55%;
transform: translateY(-50%);
color: #A9A9A9;
font-size: px2rem(30);
font-weight: 400;
position: absolute;
text-align: center;
}
&:nth-child(2) {
.num {
background: url(../images/no2.png) no-repeat;
background-size: 100% 100%;
}
.ts {
width: px2rem(134);
height: px2rem(134);
left: px2rem(79);
top: px2rem(14);
}
}
&:nth-child(3) {
.num {
background: url(../images/no3.png) no-repeat;
background-size: 100% 100%;
}
.ts {
width: px2rem(134);
height: px2rem(134);
left: px2rem(79);
top: px2rem(14);
}
}
}
}
@@ -254,29 +270,27 @@ ul {
}
.arabic {
ul li .num,
ul li .user {
float: right;
}
ul li .user {
margin-left: 0;
margin-right: 1.8rem;
}
ul li .but {
float: left;
right: auto;
left: 0.29333rem;
}
ul li .ts {
left: 0;
right: 1.05333rem;
ul li .level {
right: auto;
left: 0.69333rem;
}
ul li .tx {
left: 0;
right: 1.28rem;
right: 0.26667rem;
left: auto;
}
ul li p{
right: 2.8rem;
left: auto;
}
ul li span{
right: 2.8rem;
left: auto;
}
.top .left {
@@ -286,4 +300,75 @@ ul {
.top img {
float: left;
}
}
.create {
position: fixed;
z-index: 2;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(66);
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
width: px2rem(468);
height: px2rem(88);
line-height: px2rem(88);
text-align: center;
color: #fff;
font-size: px2rem(32);
border-radius: px2rem(88);
}
.submitSuccessfully {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
background: rgba(0, 0, 0, .5);
display: none;
.submitSuccessfully_in {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(580);
// height: px2rem(406);
background: #fff;
border-radius: px2rem(32);
padding: px2rem(28) px2rem(46) px2rem(36);
.title {
color: #313131;
font-size: px2rem(30);
font-weight: 500;
height: px2rem(42);
line-height: px2rem(42);
margin: px2rem(0) auto px2rem(24);
text-align: center;
}
p {
width: 100%;
color: #313131;
font-size: px2rem(26);
font-weight: 400;
line-height: px2rem(36);
text-align: center;
}
.but {
width: px2rem(488);
height: px2rem(72);
line-height: px2rem(72);
text-align: center;
border-radius: px2rem(72);
margin: px2rem(24) auto 0;
color: #fff;
font-size: px2rem(28);
font-weight: 500;
background: linear-gradient(270deg, #E29030 0%, #FCC074 100%);
}
}
}

View File

@@ -7,7 +7,7 @@
<title class="text1"></title>
<!-- 未加入公会首页 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/guild.css?v=1.1">
<link rel="stylesheet" href="./css/guild.css">
</head>
<body>
@@ -18,52 +18,21 @@
</div>
<!-- 头部 -->
<div class="top">
<div class="left text3"></div>
<input class="placeholder" type="text" placeholder="Please enter the Agency ID/Agent ID to search">
<img src="./images/fdj.png" alt="">
</div>
<!-- 列表 -->
<ul>
<!-- <li>
<div class="num"></div>
<img src="./images/ts1.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="user">
<p>名称</p>
<b>ID:0</b>
</div>
<div class="but">طلب إضافة </div>
</li>
<li>
<div class="num"></div>
<img src="./images/ts2.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="user">
<p>名称</p>
<b>ID:0</b>
</div>
<div class="but">طلب إضافة </div>
</li>
<li>
<div class="num"></div>
<img src="./images/ts3.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="user">
<p>名称</p>
<b>ID:0</b>
</div>
<div class="but">طلب إضافة </div>
</li>
<li>
<div class="num">4</div>
<img src="./images/txK.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="user">
<p>名称</p>
<b>ID:0</b>
</div>
<div class="but">طلب إضافة </div>
<img class="tx" src="./images/null.png" alt="">
<p>名字</p>
<span><img src="./images/xren.png" alt=""> <b>0/100</b></span>
<img class="level" src="./images/SS.png" alt="">
<div class="but">Join</div>
</li> -->
</ul>
<!-- 创建公会 -->
<div class="create newText1"></div>
<!-- 确认加入公会弹窗 -->
<div class="pub">
<div class="pub_in">
@@ -74,6 +43,14 @@
</div>
</div>
</div>
<!-- 提交成功弹窗 -->
<div class="submitSuccessfully">
<div class="submitSuccessfully_in">
<div class="title newText2"></div>
<p class="newText3"></p>
<div class="but text6">OK</div>
</div>
</div>
</body>
</html>
@@ -87,5 +64,5 @@
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/tr.js"></script>
<script src="./js/guild.js?v=1.0"></script>
<script src="./js/guild.js?v=2"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -69,5 +69,5 @@
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/tr.js"></script>
<script src="./js/guildInfoSet.js"></script>
<script src="./js/guildInfoSet.js?v=1.0"></script>
<script src="../../common/local/langHandler.js"></script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 25 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: 403 B

View File

@@ -190,5 +190,5 @@
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/tr.js"></script>
<script src="./js/index.js?v=1.11"></script>
<script src="./js/index.js?v=3"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -0,0 +1,237 @@
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'
})
}
// 初始化函數
$(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(() => {
window.history.back();
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
h5User();
}, 100)
})
var agencySubmit = false;
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.createGuild.text1));
$('.text2').text(langReplace(localLang.createGuild.text2));
$('.text3').text(langReplace(localLang.createGuild.text3));
$('.text4').text(langReplace(localLang.createGuild.text4));
$('.text5').text(langReplace(localLang.createGuild.text5));
$('.text6').text(langReplace(localLang.createGuild.text6));
$('.text7').text(langReplace(localLang.createGuild.text7));
$('.text8').text(langReplace(localLang.createGuild.text8));
$('.text9').text(langReplace(localLang.createGuild.text9));
$('.text10').text(langReplace(localLang.createGuild.text10));
$('.placeholder').attr('placeholder', langReplace(localLang.createGuild.placeholder));
}
$('.submitSuccessfully .submitSuccessfully_in .but').click(function () {
$('.submitSuccessfully').hide();
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
function fileChangeF(e) {
var file = document.querySelector('#backImageUpload').files[0];
if (file.length == 0) {
return;
}
var fileType = file.type;
// 判断是否是动图
if (fileType == 'image/gif' || file.name.includes('.gif')) {
toastMsg(langReplace(localLang.guildInfoSet.toastMsgText1))
} else {
getToken(file, 1)
}
}
function fileChangeF2(e) {
var file = document.querySelector('#backImageUpload2').files[0];
if (file.length == 0) {
return;
}
var fileType = file.type;
// 判断是否是动图
if (fileType == 'image/gif' || file.name.includes('.gif')) {
toastMsg(langReplace(localLang.guildInfoSet.toastMsgText1))
} else {
getToken(file, 2)
}
}
function fileChangeF3(e) {
var file = document.querySelector('#backImageUpload3').files[0];
if (file.length == 0) {
return;
}
var fileType = file.type;
// 判断是否是动图
if (fileType == 'image/gif' || file.name.includes('.gif')) {
toastMsg(langReplace(localLang.guildInfoSet.toastMsgText1))
} else {
getToken(file, 3)
}
}
// 上傳图片接口
function getToken(file, type) {
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/tencent/cos/getToken',
success(res) {
if (res.code === 200) {
let cos = new COS({
SecretId: res.data.secretId,
SecretKey: res.data.secretKey,
SecurityToken: res.data.sessionToken,
StartTime: res.data.startTime,
ExpiredTime: res.data.expireTime,
});
console.log(cos);
var customDomain = res.data.customDomain;
cos.uploadFile({
Bucket: res.data.bucket, /* 填写自己的 bucket必须字段 */
Region: res.data.region, /* 存储桶所在地域,必须字段 */
Key: file.name, /* 存储在桶里的对象键(例如:1.jpga/b/test.txt图片.jpg支持中文必须字段 */
Body: file, // 上传文件对象
SliceSize: 1024 * 1024 * 5, /* 触发分块上传的阈值超过5MB使用分块上传小于5MB使用简单上传。可自行设置非必须 */
onProgress: function (progressData) {
console.log(JSON.stringify(progressData));
}
}).then(res => {
if (type == 1) {//背景
$('.info .agencyAvatar').attr('src', `${customDomain}/${file.name}`);
} else if (type == 2) {//背景
$('.info .agentIDCardImg').attr('src', `${customDomain}/${file.name}`);
} else {
$('.inviterInfo .inviterPicImg').attr('src', `${customDomain}/${file.name}`);
}
}).catch(err => {
console.log('上传失败', err);
hideLoading(layerIndex)
toastMsg(err.message);
});
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
var erbanNo;
// 自己信息接口
function h5User() {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/web-user',
data: { uid: pubInfo.uid },
success(res) {
if (res.code == 200) {
$('.myInfo .tx').attr('src', res.data.avatar);
$('.myInfo p').text(res.data.nick);
$('.myInfo b').text(`ID:${res.data.erbanNo}`);
erbanNo = res.data.erbanNo;
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
// 创建接口
function apply(obj) {
showLoading()
networkRequest({
type: 'post',
contentType: 'application/json',
url: urlPrefix + '/guild/apply',
data: obj,
success(res) {
if (res.code == 200) {
$('.submitSuccessfully').show();
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
$('.butBox').click(function () {
var guildAvatar = $('.info .agencyAvatar').attr('src');
var guildName = $('.info .agencyName input').val();
var guildContact = $('.info .agentContactInfo input').val();
var idCard = $('.info .agentIDCardImg').attr('src');
var inviteErbanNo = $('.inviterInfo .InviterId input').val();
var inviteCheck = $('.inviterInfo .inviterPicImg').attr('src');
var obj = {};
obj.guildAvatar = guildAvatar;
obj.guildName = guildName;
obj.guildContact = guildContact;
obj.idCard = idCard;
obj.inviteErbanNo = inviteErbanNo;
obj.inviteCheck = inviteCheck;
obj.erbanNo = erbanNo;
obj.applyUid = pubInfo.uid;
if (guildName != '' && guildContact != '' && guildAvatar != './images/createGuildNull.png' && idCard != './images/createGuildNull.png') {
apply(JSON.stringify(obj))
} else {
toastMsg(localLang.createGuild.null)
}
})

View File

@@ -28,6 +28,7 @@ const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time
skin: 'msg'
})
}
var inputTime = null;
// 初始化函數
$(function () {
getInfoFromClient();
@@ -53,7 +54,8 @@ $(function () {
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
listRank();
applyExist();
// listRank();
}, 100)
})
function translateFun() {
@@ -65,10 +67,15 @@ function translateFun() {
$('.text4').text(langReplace(localLang.guild.text4));
$('.text5').text(langReplace(localLang.guild.text5));
$('.text6').text(langReplace(localLang.guild.text6));
$('.newText1').text(langReplace(localLang.guild.newText1));
$('.newText2').text(langReplace(localLang.guild.newText2));
$('.newText3').text(langReplace(localLang.guild.newText3));
$('.newText4').text(langReplace(localLang.guild.newText4));
$('.placeholder').attr('placeholder', langReplace(localLang.guild.placeholder));
}
// 搜索按钮
$('.top img').click(function () {
window.location.href = './search.html'
// window.location.href = './search.html'
})
// 配置接口
function listRank() {
@@ -80,40 +87,18 @@ function listRank() {
success(res) {
if (res.code === 200) {
var str = '';
if (res.data.length > 6) {//
var arr = generateUniqueRandomNumbers(6, 0, res.data.length - 1);
var currArr = res.data;
console.log(arr);
arr.forEach((val, i) => {
str += `
<li>
<div class="num">${i > 2 ? i + 1 : ''}</div>
${i <= 2 ? `<img src="./images/ts${i + 1}.png" class="ts">` : ''}
<img src="${currArr[val].owner.avatar}" alt="" class="tx">
<div class="user">
<p>${currArr[val].guildName}</p>
<b>ID:${currArr[val].owner.erbanNo}</b>
</div>
<div class="but" familyId=${currArr[val].guildId}>${langReplace(localLang.guild.text7)}</div>
</li>
`
})
} else {
res.data.forEach((res, i) => {
str += `
<li>
<div class="num">${i > 2 ? i + 1 : ''}</div>
${i <= 2 ? `<img src="./images/ts${i + 1}.png" class="ts">` : ''}
<img src="${res.owner.avatar}" alt="" class="tx">
<div class="user">
<p>${res.guildName}</p>
<b>ID:${res.owner.erbanNo}</b>
</div>
<div class="but" familyId=${res.guildId}>${langReplace(localLang.guild.text7)}</div>
</li>
`
})
}
res.data.forEach((val, i) => {
str += `
<li>
<img class="tx" src="${val.owner.avatar}" alt="">
<p>${val.guildName}</p>
<strong>${langReplace(localLang.guild.newText5)} ${val.owner.erbanNo}</strong>
<span><img src="./images/xren.png" alt=""> <b>${val.memberNum ? val.memberNum : 0}/${val.memberNumLimit}</b></span>
<img class="level" style="display:${val.ssLevel == 0 ? 'none' : 'block'}" src="./images/${val.markScore}.png" alt="">
<div class="but" style="top:${val.ssLevel == 0 ? '0.8rem' : '1.22667rem'}" familyId=${val.guildId}>${langReplace(localLang.guild.newText4)}</div>
</li>
`
})
$('ul').append(str);
} else {
toastMsg(res.message)
@@ -126,6 +111,31 @@ function listRank() {
}
})
}
// 公会申请校验
function applyExist() {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/guild/apply/applyExist',
data: { uid: pubInfo.uid },
success(res) {
if (res.code === 200) {
if (res.data) {
$('.submitSuccessfully').show();
} else {
listRank();
}
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
// 随机数
function generateUniqueRandomNumbers(count, min, max) {
const uniqueNumbers = new Set();
@@ -163,6 +173,74 @@ function apply(familyId) {
success(res) {
if (res.code === 200) {
toastMsg(langReplace(localLang.guild.text8))
applyExist();
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
// 创建按钮
$('.create').click(function () {
window.location.href = './createGuild.html';
})
// 弹窗按钮
$('.submitSuccessfully .submitSuccessfully_in .but').click(function () {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
// 监听输入框
$('.top input').on('input', function () {
var val = $(this).val();
clearTimeout(inputTime);
if (val == '') {
listRank();
} else {
inputTime = setTimeout(() => {
searchFamily(val);
}, 500);
}
});
// 配置接口
function searchFamily(erbanNo) {
$('ul li').remove();
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/guild/searchGuild',
data: { erbanNo },
success(res) {
if (res.code == 200) {
var str = '';
console.log(res.data);
str += `
<li>
<img class="tx" src="${res.data.avatar}" alt="">
<p>${res.data.guildName}</p>
<strong>${langReplace(localLang.guild.newText5)} ${res.data.erbanNo}</strong>
<span><img src="./images/xren.png" alt=""> <b>${res.data.memberNum}/${res.data.memberNumLimit}</b></span>
<img class="level" style="display:${res.data.ssLevel == 0 ? 'none' : 'block'}" src="./images/${res.data.markScore}.png" alt="">
<div class="but" style="top:${res.data.ssLevel == 0 ? '0.8rem' : '1.22667rem'}" familyId=${res.data.guildId}>Join</div>
</li>
`
$('ul').append(str);
} else if (res.code == 1404) {
var str = '';
str += `
<li class="null">
<img src="./images/null.png" alt="">
<span>${langReplace(localLang.search.text4)}</span>
</li>`
$('ul').append(str);
} else {
toastMsg(res.message)
}

View File

@@ -60,7 +60,8 @@ $(function () {
$('.payoneer input').val(urlDate.payoneer == undefined ? urlDate.payoneer : '');
$('.usdt input').val(urlDate.usdt == undefined ? urlDate.usdt : '');
$('.paypal input').val(urlDate.payPal == undefined ? urlDate.payPal : '');
$('.background img').attr('src', urlDate.backgroundUrl);
$('.backgrounds2 img').attr('src', urlDate.avatar);
$('.backgrounds img').attr('src', urlDate.backgroundUrl);
newBg = urlDate.backgroundUrl;
if ($('.payoneer input').val() != '') {
$('.payoneer span').hide();

View File

@@ -31,6 +31,7 @@ const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time
var roleTypes;
var searTime;
var guildNick;
var avatar;
var backgroundUrl;
var payoneer;
var usdt;
@@ -95,7 +96,11 @@ function translateFun() {
$('.newtext7').text(langReplace(localLang.demoModule.newtext7));
$('.audit').text(langReplace(localLang.demoModule.audit));
$('.weeklyRewardsText1').text(langReplace(localLang.demoModule.weeklyRewardsText1));
$('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2));
if (window.localStorage.getItem('partitionId') == 2) {
$('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2));
} else if (window.localStorage.getItem('partitionId') == 8) {
$('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText22));
}
$('.weeklyRewardsText3').text(langReplace(localLang.demoModule.weeklyRewardsText3));
$('.weeklyRewardsText4').text(langReplace(localLang.demoModule.weeklyRewardsText4));
$('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText5));
@@ -138,6 +143,8 @@ function get() {
url: urlPrefix + '/guild/get',
success(res) {
if (res.code === 200) {
// 存储分区id partitionId
window.localStorage.setItem('partitionId', res.data.partitionId);
// 判断身份
roleTypes = res.data.roleType;
if (roleTypes == 1 && res.data.isReview == true) {
@@ -180,6 +187,7 @@ function get() {
$('.header .tx').attr('src', res.data.avatar);
$('.header .nick').text(res.data.name);
guildNick = res.data.name;
avatar = res.data.avatar;
backgroundUrl = res.data.backgroundUrl;
if (res.data.payAccount) {
payoneer = res.data.payAccount.payoneer;
@@ -384,7 +392,7 @@ $('.adminSet').click(function () {
})
// 公会信息设置
$('.guildInfoSet').click(function () {
window.location.href = `./guildInfoSet.html?guildNick=${guildNick}&backgroundUrl=${backgroundUrl}&payoneer=${payoneer}&usdt=${usdt}&payPal=${payPal}`
window.location.href = `./guildInfoSet.html?guildNick=${guildNick}&avatar=${avatar}&backgroundUrl=${backgroundUrl}&payoneer=${payoneer}&usdt=${usdt}&payPal=${payPal}`
})
// 我的收入
$('.memberFlow').click(function (params) {

View File

@@ -63,7 +63,11 @@ function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.weeklyRewards.text1));
$('.text2').html(langReplace(localLang.weeklyRewards.text2));
if (window.localStorage.getItem('partitionId') == 2) {
$('.text2').html(langReplace(localLang.weeklyRewards.text2));
} else if (window.localStorage.getItem('partitionId') == 8) {
$('.text2').html(langReplace(localLang.weeklyRewards.text22));
}
$('.text3').text(langReplace(localLang.weeklyRewards.text3));
$('.text4').text(langReplace(localLang.weeklyRewards.text4));
$('.text5').text(langReplace(localLang.weeklyRewards.text5));

View File

@@ -61,5 +61,10 @@ function translateFun() {
var localLang = window.lang;
$('.text1').text(langReplace(localLang.weeklyRewardsRule.text1));
$('.text2').html(langReplace(localLang.weeklyRewardsRule.text2));
$('.text3').attr('src', langReplace(localLang.weeklyRewardsRule.text3));
if (window.localStorage.getItem('partitionId') == 2) {
$('.text3').attr('src', langReplace(localLang.weeklyRewardsRule.text3));
} else if (window.localStorage.getItem('partitionId') == 8) {
$('.text3').attr('src', langReplace(localLang.weeklyRewardsRule.text33));
}
}

View File

@@ -38,6 +38,7 @@ langAr = {
audit: 'قيد المراجعة',
weeklyRewardsText1: 'مكافآت المضيف الأسبوعية',
weeklyRewardsText2: 'يمكنك الحصول على 2240000 عملة بالمجموع.',
weeklyRewardsText22: 'يمكنك الحصول على 3000000 عملة بالمجموع.',
weeklyRewardsText3: 'احصل على',
weeklyRewardsText33: `تم الاستلام`,
weeklyRewardsText4: 'مستوى المضيف',
@@ -75,6 +76,26 @@ langAr = {
text6: `تأكيد`,
text7: `طلب إضافة `,
text8: 'تم تقديم الطلب بنجاح',
newText1: 'إنشاء نقابة',
newText2: 'قيد المراجعة',
newText3: 'يرجى الانتظار بصبر~',
newText4: `انضمام`,
newText5: 'معرّف الوكيل:',
placeholder: 'يرجى إدخال معرّف الوكيل للبحث',
},
createGuild: {
text1: `طلب تسجيل الوكالة`,
text2: `صورة الوكالة`,
text3: `اسم الوكالة`,
text4: `معلومات الاتصال بالوكيل`,
text5: `بطاقة هوية الوكيل`,
text6: `معرّف الداعي`,
text7: `صورة الداعي`,
text8: `تم الإرسال بنجاح`,
text9: `شكرًا لتقديم طلبك لإنشاء نقابة. سنقوم بمراجعة الطلب خلال 3 أيام عمل. يرجى الانتظار بصبر، وسنوافيك بالرد في أقرب وقت ممكن.`,
text10: `تأكيد`,
placeholder: `يرجى الإدخال`,
null: `لا يمكن ترك الحقول الإلزامية فارغة`,
},
guildInfoSet: {
text1: `إعدادات معلومات الوكالة `,
@@ -326,6 +347,7 @@ langAr = {
weeklyRewards: {
text1: `مكافآت المضيف الأسبوعية`,
text2: `يمكنك الحصول على <b>2240000</b> عملة بالمجموع.`,
text22: `يمكنك الحصول على <b>3000000</b> عملة بالمجموع.`,
text3: `احصل على`,
text4: `مستوى المضيف`,
text5: `تم الاستلام`,
@@ -336,6 +358,7 @@ langAr = {
<p>2 مكافآت العملات: يتم حساب دخل المستخدم من الألماس أسبوعيًا، ويمكنك الحصول على العملات عند الوصول إلى مستوى معين.</p>
<p>3 تدرج مكافآت العملات</p>`,
text3: `./images/weeklyRewardsRule2-ar.png`,
text33: `./images/weeklyRewardsRule2-trar.png`,
},
agencyDiamondIncome: {
text1: `إيرادات الألماس للوكالة`, // 阿拉伯文

View File

@@ -36,6 +36,7 @@ langEn = {
audit: 'In Audit',
weeklyRewardsText1: 'Host weekly rewards',
weeklyRewardsText2: 'You can get 2240000 coins totally.',
weeklyRewardsText22: 'You can get 3000000 coins totally.',
weeklyRewardsText3: 'Get',
weeklyRewardsText33: 'Got',
weeklyRewardsText4: 'Host Lv',
@@ -73,6 +74,28 @@ langEn = {
text6: `Confirm`,
text7: `Add`,
text8: 'Submitted',
newText1: 'Create a Agency',
newText2: 'Under review',
newText3: 'Please wait patiently~',
newText4: 'Join',
newText5: 'Agent ID:',
placeholder: 'Please enter the Agent ID to search',
},
createGuild: {
text1: `Agency Registration Application`,
text2: `Agency Avatar`,
text3: `Agency Name`,
text4: `Agent Contact Info`,
text5: `Agent ID Card`,
text6: `Inviter ID`,
text7: `Inviter Pic.`,
text8: `Submit Successfully`,
text9: `Thank you for submitting your application to create a guild. We will review it within 3 working days.
Please
wait patiently and we will give you a reply as soon as possible.`,
text10: `Confirm`,
placeholder: `Please enter`,
null: `Mandatory fields cannot be blank`,
},
guildInfoSet: {
text1: `Agency Settings`,
@@ -325,6 +348,7 @@ langEn = {
weeklyRewards: {
text1: `Host weekly rewards`,
text2: `You can get <b>2240000</b> coins totally.`,
text22: `You can get <b>3000000</b> coins totally.`,
text3: `Get`,
text4: `Host Lv`,
text5: `Got`,
@@ -336,6 +360,7 @@ langEn = {
reach a certain level.</p>
<p>3 Coin reward gradient</p>`,
text3: `./images/weeklyRewardsRule2.png`,
text33: `./images/weeklyRewardsRule2-tren.png`,
},
agencyDiamondIncome: {
text1: `Agency Diamond Income`,

View File

@@ -36,6 +36,7 @@ langTr = {
audit: 'Denetim Aşamasında',
weeklyRewardsText1: 'Yayıncıya Haftalık Ödüller',
weeklyRewardsText2: 'Toplamda 2240000 jeton kazanabilirsiniz.',
weeklyRewardsText22: 'Toplamda 3000000 jeton kazanabilirsiniz.',
weeklyRewardsText3: 'Al',
weeklyRewardsText33: 'Alındı',
weeklyRewardsText4: ' Seviyesi',
@@ -73,6 +74,27 @@ langTr = {
text6: `Onayla`,
text7: `Ekle`,
text8: 'Gönderildi',
newText1: 'Bir Lonca Oluştur',
newText2: 'İncelemede',
newText3: 'Lütfen sabırla bekleyin~',
newText4: `Katıl`,
newText5: 'Temsilci Kimliği:',
placeholder: 'Aramak için Temsilci Kimliğini giriniz',
},
createGuild: {
text1: `Ajans Kayıt Başvurusu`,
text2: `Ajans Avatarı`,
text3: `Ajans Adı`,
text4: `Ajan İletişim Bilgileri`,
text5: `Ajan Kimlik Kartı`,
text6: `Davet Edenin Kimliği`,
text7: `Davet Edenin Fotoğrafı`,
text8: `Başarıyla Gönderildi`,
text9: `Bir lonca oluşturmak için başvurunuzu gönderdiğiniz için teşekkür ederiz. Başvurunuzu 3 iş günü içinde inceleyeceğiz. Lütfen sabırlı olun, mümkün olan en kısa sürede size bir yanıt vereceğiz.`,
text10: `Onayla`,
placeholder: `Lütfen girin`,
null: `Zorunlu alanlar boş bırakılamaz`,
},
guildInfoSet: {
text1: `Ajans Ayarları`,
@@ -326,6 +348,7 @@ langTr = {
weeklyRewards: {
text1: `Yayıncıya Haftalık Ödüller`,
text2: `Toplamda <b>2240000</b> jeton kazanabilirsiniz.`,
text22: `Toplamda <b>3000000</b> jeton kazanabilirsiniz.`,
text3: `Al`,
text4: ` Seviyesi`,
text5: `Alındı`,
@@ -336,6 +359,7 @@ langTr = {
<p>2 jeton Ödülleri: Kullanıcının elmas gelirleri her hafta hesaplanır, belirli bir seviyeye ulaştığında karşılık gelen madeni paralar verilir.</p>
<p>3 jeton Ödül Gradyanı</p>`,
text3: `./images/weeklyRewardsRule2.png`,
text33: `./images/weeklyRewardsRule2-trtr.png`,
},
agencyDiamondIncome: {
text1: `Ajans Elmas Geliri`,

View File

@@ -38,6 +38,7 @@ langZh = {
audit: '審核中',
weeklyRewardsText1: '主播每週獎勵',
weeklyRewardsText2: '您可以總共獲得 2240000 金幣。',
weeklyRewardsText22: '您可以總共獲得 3000000 金幣。',
weeklyRewardsText3: '領取',
weeklyRewardsText33: '已獲得',
weeklyRewardsText4: '主播等級',
@@ -75,6 +76,27 @@ langZh = {
text6: `確認`,
text7: `添加請求`,
text8: '請求成功提交',
newText1: '創建公會',
newText2: '審核中',
newText3: '請耐心等待~',
newText4: `加入`,
newText5: '代理人ID:',
placeholder: '請輸入代理人ID進行搜尋',
},
createGuild: {
text1: `代理註冊申請`,
text2: `代理頭像`,
text3: `代理名稱`,
text4: `代理聯絡資訊`,
text5: `代理身份證`,
text6: `邀請人ID`,
text7: `邀請人照片`,
text8: `提交成功`,
text9: `感謝您提交創建公會的申請。我們將在3個工作日內審核您的申請。請耐心等待我們將盡快給您回覆。`,
text10: `確認`,
placeholder: `請輸入`,
null: `必填項不能為空`,
},
guildInfoSet: {
text1: `公會信息設置`,
@@ -327,6 +349,7 @@ langZh = {
weeklyRewards: {
text1: `主播每週獎勵`,
text2: `您可以總共獲得 <b>2240000</b> 金幣。`,
text22: `您可以總共獲得 <b>3000000</b> 金幣。`,
text3: `領取`,
text4: `主播等級`,
text5: `已獲得`,
@@ -337,6 +360,7 @@ langZh = {
<p>2 金幣獎勵:每週計算用戶的鑽石收入,達到特定級別時可以獲得相應的金幣獎勵。</p>
<p>3 金幣獎勵梯度</p>`,
text3: `./images/weeklyRewardsRule2.png`,
text33: `./images/weeklyRewardsRule2-trtr.png`,
},
agencyDiamondIncome: {
text1: `公會鑽石收入`, // 繁體中文

View File

@@ -59,5 +59,5 @@
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/tr.js"></script>
<script src="./js/weeklyRewards.js?v=1.11"></script>
<script src="./js/weeklyRewards.js?v=2"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -35,5 +35,5 @@
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/tr.js"></script>
<script src="./js/weeklyRewardsRule.js"></script>
<script src="./js/weeklyRewardsRule.js?v=2"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -19,7 +19,9 @@
<div class="inform">
<div class="inform-radio">
<div class="radio-box"><span class="radio active" data-id="0"></span><span
<div class="radio-box"><span class="radio active" data-id="9"></span><span
class="title" id="text21"></span></div>
<div class="radio-box"><span class="radio " data-id="0"></span><span
class="title" id="text1"></span></div>
<div class="radio-box"><span class="radio" data-id="1"></span><span
class="title" id="text2"></span></div>
@@ -96,10 +98,11 @@
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/template-web.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/index.js?v=1.2"></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?v=2"></script>
<script src="../../common/local/langHandler.js"></script>
</html>

View File

@@ -45,6 +45,7 @@ function translateFun() {
$('#text11').html(langReplace(localLang.demoModule.text13));
$('#text14').html(langReplace(localLang.demoModule.text14));
$('#text15').html(langReplace(localLang.demoModule.text15));
$('#text21').html(langReplace(localLang.demoModule.text21));
}
function requestUidFromNative() {
target = locateObj.reportUid; //获取别举报人id

View File

@@ -2,26 +2,27 @@
langAr = {
// 模块
demoModule: {
title: `البلاغ`,
text1: `محتوى إباحي أو مقزز`,
title: `الإبلاغ`,
text1: `محتوى إباحي أو مبتذل`,
text2: `حساسية سياسية`,
text3: `إعلانات سخيفة`,
text4: `اعتداء لفظي`,
text5: `تعاملات غير قانونية`,
text3: `إعلانات غير مرغوب فيها`,
text4: `إساءة لفظية`,
text5: `معاملات غير قانونية`,
text6: `انتهاك الخصوصية`,
text7: `عنف أو إرهاب`,
text8: `انتهاك حقوق الملكية`,
text9: `آخر`,
text10: `أدخل محتوى البلاغ`,
text11: `تحميل لقطة شاشة (حد أقصى 1 ميجابايت)`,
text7: `العنف أو الإرهاب`,
text8: `انتهاك حقوق النشر`,
text9: `أخرى`,
text10: `أدخل محتوى الإبلاغ`,
text11: `رفع لقطة شاشة (بحد أقصى 1 ميجابايت)`,
text12: `إعادة التحميل`,
text13: `يرجى تحميل على الأقل لقطة شاشة ذات صلة لضمان الدقة.`,
text13: `يرجى تحميل لقطة شاشة واحدة على الأقل لتحسين الدقة.`,
text14: `إرسال`,
text15: `تم تقديم البلاغ`,
text16: `تحميل الصورة`,
text17: `تم التحميل بنجاح`,
text18: `فشل التحميل، يرجى إعادة المحاولة`,
text19: `أدخل محتوى البلاغ`,
text20: `تم التقديم`,
}
text15: `تم إرسال الإبلاغ`,
text16: `جارٍ رفع الصورة`,
text17: `تم الرفع بنجاح`,
text18: `فشل الرفع، يرجى المحاولة مرة أخرى`,
text19: `أدخل محتوى الإبلاغ`,
text20: `تم الإرسال`,
text21: `محتوى أو سلوك غير لائق يتعلق بالقاصرين (بما في ذلك على سبيل المثال لا الحصر): كشف خصوصية القاصرين؛ التحريض أو التحرش غير اللائق؛ قضايا أخرى تتعلق بالمستخدمين القاصرين`,
}
}

View File

@@ -23,5 +23,6 @@ langEn = {
text18: `Upload Failed, Please Retry`,
text19: `Enter Report Content`,
text20: `Submitted`,
text21: `Improper content or behavior involving minors (including but not limited to): exposing minors' privacy; inappropriate inducement or harassment; other issues involving minor users`,
}
}

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