Compare commits
10 Commits
newYear-20
...
rechargeNe
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1c664c8088 | ||
![]() |
a39a8401a5 | ||
![]() |
13d6887103 | ||
![]() |
ac87d8d60a | ||
![]() |
1889382b6f | ||
![]() |
d2de1aeec5 | ||
![]() |
4fb948ef7a | ||
![]() |
b2cb2f4d61 | ||
![]() |
eaf629bf44 | ||
![]() |
720f7b180a |
@@ -135,7 +135,7 @@ body {
|
||||
font-weight: 600;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: -0.53333rem;
|
||||
bottom: -0.65rem;
|
||||
}
|
||||
|
||||
.timeBox {
|
||||
@@ -936,3 +936,11 @@ body {
|
||||
background: url(../images/rewardBg-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.Turkiye .timeBox {
|
||||
width: 10rem;
|
||||
}
|
||||
|
||||
.Turkiye .timeBox div {
|
||||
width: 1.6rem;
|
||||
}
|
||||
|
@@ -136,7 +136,7 @@ body {
|
||||
font-weight: 600;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: px2rem(-40);
|
||||
bottom: -0.65rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -949,4 +949,12 @@ body {
|
||||
background: url(../images/rewardBg-tr.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.timeBox {
|
||||
width: px2rem(750);
|
||||
|
||||
div {
|
||||
width: 1.6rem;
|
||||
}
|
||||
}
|
||||
}
|
@@ -128,7 +128,7 @@ function getConfig() {
|
||||
if (listTo3.length < 3) {
|
||||
let arr = new Array(3 - listTo3.length).fill({
|
||||
avatar: './images/logo.png',
|
||||
name: '虚位以待',
|
||||
name: langReplace(localLang.demoModule.waiting),
|
||||
erbanNo: null,
|
||||
totalNum: null
|
||||
})
|
||||
|
@@ -24,5 +24,6 @@ langAr = {
|
||||
more: 'أكثر',
|
||||
month: 'شهر ',
|
||||
day: 'يوم ',
|
||||
waiting: 'منتظر',
|
||||
}
|
||||
}
|
@@ -28,5 +28,6 @@ langEn = {
|
||||
more: 'More',
|
||||
month: 'Month',
|
||||
day: 'Day',
|
||||
waiting: 'Waiting',
|
||||
},
|
||||
}
|
||||
|
@@ -26,6 +26,7 @@ langTr = {
|
||||
more: 'Daha Fazla',
|
||||
month: 'Ay',
|
||||
day: 'Gün',
|
||||
waiting: 'Beklemek',
|
||||
},
|
||||
|
||||
}
|
@@ -24,5 +24,6 @@ langZh = {
|
||||
more: '更多',
|
||||
month: '月',
|
||||
day: '日',
|
||||
waiting: '虚位以待',
|
||||
}
|
||||
}
|
BIN
view/molistar/activity/rechargeNew/images/1000.png
Normal file
After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 134 KiB |
BIN
view/molistar/activity/rechargeNew/images/bottomBg.png
Normal file
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
BIN
view/molistar/activity/rechargeNew/images/contentBg.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1002 KiB After Width: | Height: | Size: 322 KiB |
Before Width: | Height: | Size: 1004 KiB After Width: | Height: | Size: 317 KiB |
Before Width: | Height: | Size: 490 KiB After Width: | Height: | Size: 420 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 82 KiB |
BIN
view/molistar/activity/rechargeNew/images/recharge10000-ar.png
Normal file
After Width: | Height: | Size: 228 KiB |
BIN
view/molistar/activity/rechargeNew/images/recharge10000.png
Normal file
After Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 643 KiB After Width: | Height: | Size: 372 KiB |
Before Width: | Height: | Size: 641 KiB After Width: | Height: | Size: 368 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 80 KiB |
BIN
view/molistar/activity/rechargeNew/images/recharge5000-ar.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
view/molistar/activity/rechargeNew/images/recharge5000.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
view/molistar/activity/rechargeNew/images/recharge8000-ar.png
Normal file
After Width: | Height: | Size: 218 KiB |
BIN
view/molistar/activity/rechargeNew/images/recharge8000.png
Normal file
After Width: | Height: | Size: 218 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 31 KiB |
BIN
view/molistar/activity/rechargeNew/images/topBg.png
Normal file
After Width: | Height: | Size: 862 KiB |
BIN
view/molistar/activity/rechargeNew/images/topBg2.png
Normal file
After Width: | Height: | Size: 162 KiB |
@@ -42,7 +42,7 @@
|
||||
<!-- 我的充值 -->
|
||||
<div class="myRecharge">
|
||||
<div class="title text7"></div>
|
||||
<p><b>$0</b><img style="display: none;" src="./images/why.png" alt=""></p>
|
||||
<p><b>$0</b><img src="./images/why.png" alt=""></p>
|
||||
<div class="but text8"></div>
|
||||
</div>
|
||||
<!-- 充值档位到达10 -->
|
||||
@@ -224,6 +224,121 @@
|
||||
<div class="but text10"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 充值档位到达5000 -->
|
||||
<div class="recharge5000 recharge7 recharges">
|
||||
<div class="top">
|
||||
<div class="title">Recharge $5000</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<!-- 奖励图片 -->
|
||||
<div class="rewardImg">
|
||||
<div class="ts" id="txTop5000"></div>
|
||||
<img src="./images/bo.png" alt="" class="bo">
|
||||
<img src="./images/why.png" alt="" class="why">
|
||||
</div>
|
||||
<!-- 前三标题 -->
|
||||
<div class="topTitle">
|
||||
<img src="./images/left.png" alt="" class="left">
|
||||
<b class="text26"></b>
|
||||
<img src="./images/right.png" alt="" class="right">
|
||||
</div>
|
||||
<!-- 前三信息 -->
|
||||
<div class="topBox">
|
||||
<div class="no2">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top2.png" alt="" class="ts">
|
||||
</div>
|
||||
<div class="no1">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top1.png" alt="" class="ts">
|
||||
</div>
|
||||
<div class="no3">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top3.png" alt="" class="ts">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="but text10"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 充值档位到达8000 -->
|
||||
<div class="recharge8000 recharge8 recharges">
|
||||
<div class="top">
|
||||
<div class="title">Recharge $8000</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<!-- 奖励图片 -->
|
||||
<div class="rewardImg">
|
||||
<div class="ts" id="txTop8000"></div>
|
||||
<img src="./images/bo.png" alt="" class="bo">
|
||||
<img src="./images/why.png" alt="" class="why">
|
||||
</div>
|
||||
<!-- 前三标题 -->
|
||||
<div class="topTitle">
|
||||
<img src="./images/left.png" alt="" class="left">
|
||||
<b class="text26"></b>
|
||||
<img src="./images/right.png" alt="" class="right">
|
||||
</div>
|
||||
<!-- 前三信息 -->
|
||||
<div class="topBox">
|
||||
<div class="no2">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top2.png" alt="" class="ts">
|
||||
</div>
|
||||
<div class="no1">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top1.png" alt="" class="ts">
|
||||
</div>
|
||||
<div class="no3">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top3.png" alt="" class="ts">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="but text10"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 充值档位到达10000 -->
|
||||
<div class="recharge10000 recharge9 recharges">
|
||||
<div class="top">
|
||||
<div class="title">Recharge $10000</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<!-- 奖励图片 -->
|
||||
<div class="rewardImg">
|
||||
<div class="ts" id="txTop10000"></div>
|
||||
<img src="./images/bo.png" alt="" class="bo">
|
||||
<img src="./images/why.png" alt="" class="why">
|
||||
<img src="./images/why.png" alt="" class="why why2">
|
||||
</div>
|
||||
<!-- 前三标题 -->
|
||||
<div class="topTitle">
|
||||
<img src="./images/left.png" alt="" class="left">
|
||||
<b class="text26"></b>
|
||||
<img src="./images/right.png" alt="" class="right">
|
||||
</div>
|
||||
<!-- 前三信息 -->
|
||||
<div class="topBox">
|
||||
<div class="no2">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top2.png" alt="" class="ts">
|
||||
</div>
|
||||
<div class="no1">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top1.png" alt="" class="ts">
|
||||
</div>
|
||||
<div class="no3">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<img src="./images/top3.png" alt="" class="ts">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="but text10"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 弹窗 -->
|
||||
<div class="pub">
|
||||
<div class="pub_in">
|
||||
@@ -239,15 +354,32 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 免责声明 -->
|
||||
<div class="disclaimer text24"></div>
|
||||
<div class="video">
|
||||
<div class="video video3000">
|
||||
<video id="zjVideo" controls>
|
||||
<source src="./mp4/3000.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
<div class="video video5000">
|
||||
<video id="zjVideo5000" controls>
|
||||
<source src="./mp4/5000.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
<div class="video video8000">
|
||||
<video id="zjVideo8000" controls>
|
||||
<source src="./mp4/8000.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
<div class="video video10000">
|
||||
<video id="zjVideo10000" controls>
|
||||
<source src="./mp4/10000.mp4" type="video/mp4">
|
||||
</video>
|
||||
<img src="./images/close.png" alt="" class="close">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -262,5 +394,6 @@
|
||||
<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>
|
@@ -81,6 +81,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
loadSVGA('ts500', './svga/500.svga');
|
||||
loadSVGA('ts1000', './svga/1000.svga');
|
||||
loadSVGA('ts3000', './svga/3000.svga');
|
||||
loadSVGA('txTop5000', './svga/txTop.svga');
|
||||
loadSVGA('txTop8000', './svga/txTop.svga');
|
||||
loadSVGA('txTop10000', './svga/txTop.svga');
|
||||
loadSVGA('zj10', './svga/zj10.svga');
|
||||
loadSVGA('zj100', './svga/zj100.svga');
|
||||
loadSVGA('zj300', './svga/zj300.svga');
|
||||
@@ -125,9 +128,9 @@ function getConfig() {
|
||||
wealth = res.data.wealth;
|
||||
limitWealth = res.data.limitWealth;
|
||||
// 处理是否我的充值展示
|
||||
if(res.data.rechargeUser){
|
||||
if (res.data.rechargeUser) {
|
||||
$('.myRecharge').hide();
|
||||
}else{
|
||||
} else {
|
||||
$('.myRecharge').show();
|
||||
}
|
||||
// 处理倒计时
|
||||
@@ -179,7 +182,6 @@ $('.myRecharge .but').click(function () {
|
||||
if (channel == "google") {
|
||||
window.androidJsObj.openChargePage(6);
|
||||
} else {
|
||||
window.androidJsObj.openChargePage(6);
|
||||
window.location.href = urlPrefix + '/molistar/modules/pay/index.html?channelType=4';
|
||||
}
|
||||
} else if (browser.ios) {
|
||||
@@ -187,7 +189,6 @@ $('.myRecharge .but').click(function () {
|
||||
if (channel == "appstore") {
|
||||
window.webkit.messageHandlers.openChargePage.postMessage(null);
|
||||
} else {
|
||||
window.webkit.messageHandlers.chargePayClickPage.postMessage(6);
|
||||
window.location.href = urlPrefix + '/molistar/modules/pay/index.html?channelType=4';
|
||||
}
|
||||
}
|
||||
@@ -215,6 +216,38 @@ $('.recharge3000 .content .rewardImg .why').click(function () {
|
||||
$('.pub ').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 打开5000头饰弹窗
|
||||
$('.recharge5000 .content .rewardImg .why').click(function () {
|
||||
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
|
||||
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.headdressTitle));
|
||||
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.headdressText));
|
||||
$('.pub ').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 打开8000头饰弹窗
|
||||
$('.recharge8000 .content .rewardImg .why').click(function () {
|
||||
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
|
||||
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.headdressTitle));
|
||||
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.headdressText));
|
||||
$('.pub ').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 打开10000头饰弹窗
|
||||
$('.recharge10000 .content .rewardImg .why2').click(function () {
|
||||
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
|
||||
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.headdressTitle));
|
||||
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.headdressText));
|
||||
$('.pub ').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 打开10000座驾弹窗
|
||||
$('.recharge10000 .content .rewardImg .why').click(function () {
|
||||
$('.pub .pub_in .centent').addClass('myRechargeTextWhy');
|
||||
$('.pub .pub_in .title').html(langReplace(localLang.demoModule.carTitle));
|
||||
$('.pub .pub_in .centent').html(langReplace(localLang.demoModule.carText));
|
||||
$('.pub ').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 关闭弹窗
|
||||
$('.pub .pub_in .close').click(function () {
|
||||
$('.pub .pub_in .centent').removeClass('myRechargeText');
|
||||
@@ -291,12 +324,39 @@ $('.recharge3000 .content .rewardImg .bo').click(function () {
|
||||
var video = document.getElementById('zjVideo');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video').show();
|
||||
$('.video3000').show();
|
||||
})
|
||||
// 打开mp4弹窗
|
||||
$('.recharge5000 .content .rewardImg .bo').click(function () {
|
||||
var video = document.getElementById('zjVideo5000');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video5000').show();
|
||||
})
|
||||
// 打开mp4弹窗
|
||||
$('.recharge8000 .content .rewardImg .bo').click(function () {
|
||||
var video = document.getElementById('zjVideo8000');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video8000').show();
|
||||
})
|
||||
// 打开mp4弹窗
|
||||
$('.recharge10000 .content .rewardImg .bo').click(function () {
|
||||
var video = document.getElementById('zjVideo10000');
|
||||
video.play();
|
||||
bodyScroolFun(true);
|
||||
$('.video10000').show();
|
||||
})
|
||||
// 关闭mp4弹窗
|
||||
$('.video .close').click(function () {
|
||||
var video = document.getElementById('zjVideo');
|
||||
var video5000 = document.getElementById('zjVideo5000');
|
||||
var video8000 = document.getElementById('zjVideo8000');
|
||||
var video10000 = document.getElementById('zjVideo10000');
|
||||
video.pause();
|
||||
video5000.pause();
|
||||
video8000.pause();
|
||||
video10000.pause();
|
||||
bodyScroolFun(false);
|
||||
$('.video').hide();
|
||||
})
|
||||
|
@@ -41,5 +41,10 @@ langAr = {
|
||||
text24: `هذا الحدث غير مرتبط بشركة أبل.`,
|
||||
text25: `هذا الحدث غير مرتبط بشركة جوجل.`,
|
||||
text26: `أفضل 3 فائزين`,
|
||||
headdressTitle: 'تاج مخصص',
|
||||
headdressText: '<p>يمكنك إرسال لقبك الفريد إلى خدمة العملاء الرسمية لتخصيص تاجك المخصص</p>',
|
||||
carTitle: 'سيارة مخصصة',
|
||||
carText: '<p>يمكنك إرسال صورتك الرمزية الفريدة ولقبك إلى خدمة العملاء الرسمية لتخصيص سيارتك المخصصة</p>'
|
||||
|
||||
}
|
||||
}
|
@@ -39,5 +39,9 @@ langEn = {
|
||||
text24: `This event is not related to Apple.`,
|
||||
text25: `This event is not related to Google.`,
|
||||
text26: `Top 3 Winner`,
|
||||
headdressTitle: `Customized Headdress`,
|
||||
headdressText: `<p>You can send your unique nickname to the official customer service to customize your customized headdress</p>`,
|
||||
carTitle: `Customized Car`,
|
||||
carText: `<p>You can send your unique avatar and nickname to the official customer service to customize your customized car</p>`,
|
||||
}
|
||||
}
|
||||
|
47
view/molistar/activity/rechargeNew/local/tr.js
Normal file
@@ -0,0 +1,47 @@
|
||||
langTr = {
|
||||
demoModule: {
|
||||
layerIndex1: 'Yükleniyor...',
|
||||
layerIndex2: 'Başarılı',
|
||||
layerIndex3: 'Ağ hatası',
|
||||
text1: 'Aylık yeniden doldurma',
|
||||
text2: 'Kurallar',
|
||||
text3: 'Gün',
|
||||
text4: 'Saat',
|
||||
text5: 'Dakika',
|
||||
text6: 'Saniye',
|
||||
text7: 'Yeniden Doldurmam',
|
||||
text8: 'Yeniden Doldur',
|
||||
text9: '10$ Yeniden Doldur',
|
||||
text10: 'Ödül Al',
|
||||
text11: '100$ Yeniden Doldur',
|
||||
text12: '300$ Yeniden Doldur',
|
||||
text13: 'İlk 3 Kazanan',
|
||||
text14: '500$ Yeniden Doldur',
|
||||
text15: '1000$ Yeniden Doldur',
|
||||
text16: '3000$ Yeniden Doldur',
|
||||
text17: 'Kurallar',
|
||||
text18: `
|
||||
<p>1. Yeniden doldurma etkinlik süresi: Her ayın 1. günü saat 00:00:00'dan ayın son günü saat 23:59:59'a kadar (GMT+3).</p>
|
||||
<p>2. Her ödül seviyesini sadece bir kez alabilirsiniz.</p>
|
||||
<p>3. Her etkinlik turu sonunda ödüller otomatik olarak geçersiz olur.</p>
|
||||
<p>4. Benzersiz kimliğinizi almak için resmi müşteri hizmetlerimizle iletişime geçin!</p>
|
||||
<p>5. Yeniden doldurma aracısı etkinliğe katılamaz.</p>
|
||||
<p>6. Bu etkinlik Google/Apple ile ilişkili değildir.</p>
|
||||
`,
|
||||
text19: 'Aylık Yeniden Doldurmam',
|
||||
text20: `
|
||||
<p>1. Yeniden doldurma yöntemleri Google, Apple içi satın alma vb. içerir.</p>
|
||||
<p>2. Yeniden doldurma aracısı etkinliğe katılamaz.</p>
|
||||
`,
|
||||
text21: 'Özelleştirilmiş Hediye',
|
||||
text22: '<p>Özelleştirilmiş hediyenizi almak için özel videonuzu müşteri hizmetlerimize gönderebilirsiniz.</p>',
|
||||
text23: 'Alındı',
|
||||
text24: 'Bu etkinlik Apple ile ilişkili değildir.',
|
||||
text25: 'Bu etkinlik Google ile ilişkili değildir.',
|
||||
text26: 'İlk 3 Kazanan',
|
||||
headdressTitle: 'Özelleştirilmiş Taç',
|
||||
headdressText: '<p>Benzersiz takma adınızı resmi müşteri hizmetlerine göndererek özelleştirilmiş tacınızı oluşturabilirsiniz</p>',
|
||||
carTitle: 'Özelleştirilmiş Araç',
|
||||
carText: '<p>Benzersiz avatarınızı ve takma adınızı resmi müşteri hizmetlerine göndererek özelleştirilmiş aracınızı oluşturabilirsiniz</p>',
|
||||
}
|
||||
}
|
@@ -41,5 +41,10 @@ langZh = {
|
||||
text24: `本活動與蘋果無關`,
|
||||
text25: `本活動與谷歌無關`,
|
||||
text26: `前3名獲獎者`,
|
||||
headdressTitle: '定制頭飾',
|
||||
headdressText: '<p>您可以將您的獨特暱稱發送給官方客服,來定制您的專屬頭飾</p>',
|
||||
carTitle: '定制車輛',
|
||||
carText: '<p>您可以將您的獨特頭像和暱稱發送給官方客服,來定制您的專屬車輛</p>'
|
||||
|
||||
}
|
||||
}
|
BIN
view/molistar/activity/rechargeNew/mp4/10000.mp4
Normal file
BIN
view/molistar/activity/rechargeNew/mp4/5000.mp4
Normal file
BIN
view/molistar/activity/rechargeNew/mp4/8000.mp4
Normal file
BIN
view/molistar/activity/rechargeNew/svga/txTop.svga
Normal file
@@ -34,7 +34,7 @@ function initLocalLang() {
|
||||
window.lang.code = 'id'
|
||||
window.lang.defaults = false
|
||||
} else if (lang === 'tr' || window.location.href.match('=tr')) {
|
||||
if (window.location.href.match('2024-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')) {
|
||||
if (window.location.href.match('rechargeNew') ||window.location.href.match('2024-newYear') || window.location.href.match('guild-ar') || window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) {
|
||||
// 土耳其
|
||||
console.log("langHandler" + '土耳其')
|
||||
window.lang = langTr
|
||||
|
@@ -12,13 +12,13 @@ langAr = {
|
||||
text5: `ثانية`,
|
||||
text6: `استهلاك العملات`,
|
||||
text7: `استهلاك 70K-700K`,
|
||||
text8: `استهلاك 210K-7M`,
|
||||
text8: `استهلاك 2.1M-7M`,
|
||||
text9: `استهلاك 700K`,
|
||||
text10: `استهلاك 350K`,
|
||||
text11: `استهلاك 70K`,
|
||||
text12: `استهلاك 7M`,
|
||||
text13: `استهلاك 3500K`,
|
||||
text14: `استهلاك 210K`,
|
||||
text13: `استهلاك 3.5M`,
|
||||
text14: `استهلاك 2.1M`,
|
||||
text15: `هذا الحدث لا علاقة له بـ Apple`,
|
||||
text16: `هذا الحدث لا علاقة له بـ Google`,
|
||||
priorityWinners: `الفائزون ذوو الأولوية`,
|
||||
|
@@ -10,13 +10,13 @@ langEn = {
|
||||
text5: `Sec`,
|
||||
text6: `Consume coins`,
|
||||
text7: `Consume 70K-700K`,
|
||||
text8: `Consume 210K-7M`,
|
||||
text8: `Consume 2.1M-7M`,
|
||||
text9: `Consume 700K`,
|
||||
text10: `Consume 350K`,
|
||||
text11: `Consume 70K`,
|
||||
text12: `Consume 7M`,
|
||||
text13: `Consume 3500K`,
|
||||
text14: `Consume 210K`,
|
||||
text13: `Consume 3.5M`,
|
||||
text14: `Consume 2.1M`,
|
||||
text15: `This event has nothing to do with Apple`,
|
||||
text16: `This event has nothing to do with Google`,
|
||||
priorityWinners: `Priority Winners`,
|
||||
|
@@ -12,13 +12,13 @@ langZh = {
|
||||
text5: `秒`,
|
||||
text6: `消耗金幣`,
|
||||
text7: `消耗 70K-700K`,
|
||||
text8: `消耗 210K-700萬`,
|
||||
text8: `消耗 2.1M-700萬`,
|
||||
text9: `消耗 700K`,
|
||||
text10: `消耗 350K`,
|
||||
text11: `消耗 70K`,
|
||||
text12: `消耗 700萬`,
|
||||
text13: `消耗 3500K`,
|
||||
text14: `消耗 210K`,
|
||||
text13: `消耗 3.5M`,
|
||||
text14: `消耗 2.1M`,
|
||||
text15: `此活動與 Apple 無關`,
|
||||
text16: `此活動與 Google 無關`,
|
||||
priorityWinners: `優先獲勝者`,
|
||||
|
@@ -160,6 +160,47 @@ body {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.page1 .myDuration {
|
||||
width: 9.14667rem;
|
||||
height: 1.17333rem;
|
||||
line-height: 1.17333rem;
|
||||
background: #F2F3F7;
|
||||
border-radius: 0.21333rem;
|
||||
margin: 0 auto 0.34667rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0 0.29333rem;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page1 .myDuration strong {
|
||||
color: #313131;
|
||||
font-size: 0.4rem;
|
||||
font-weight: 500;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page1 .myDuration b {
|
||||
color: #313131;
|
||||
font-size: 0.4rem;
|
||||
font-weight: 500;
|
||||
display: block;
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
|
||||
.page1 .myDuration span {
|
||||
display: block;
|
||||
width: 1.62667rem;
|
||||
height: 0.45333rem;
|
||||
line-height: 0.45333rem;
|
||||
font-weight: 600;
|
||||
font-size: 0.26667rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background: #313131;
|
||||
border-radius: 0.45333rem;
|
||||
margin-top: 0.37333rem;
|
||||
}
|
||||
|
||||
.page1 .incomeTitle {
|
||||
width: 9.14667rem;
|
||||
height: 0.66667rem;
|
||||
@@ -654,6 +695,10 @@ body {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.arabic .page1 .myDuration span {
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
|
||||
.arabic .my .tx {
|
||||
float: right;
|
||||
}
|
||||
|
@@ -168,6 +168,47 @@ body {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.myDuration {
|
||||
width: px2rem(686);
|
||||
height: px2rem(88);
|
||||
line-height: px2rem(88);
|
||||
background: #F2F3F7;
|
||||
border-radius: px2rem(16);
|
||||
margin: 0 auto px2rem(26);
|
||||
box-sizing: border-box;
|
||||
padding: 0 px2rem(22);
|
||||
display: none;
|
||||
|
||||
strong {
|
||||
color: #313131;
|
||||
font-size: px2rem(30);
|
||||
font-weight: 500;
|
||||
display: block;
|
||||
}
|
||||
|
||||
b {
|
||||
color: #313131;
|
||||
font-size: px2rem(30);
|
||||
font-weight: 500;
|
||||
display: block;
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
|
||||
span {
|
||||
display: block;
|
||||
width: px2rem(122);
|
||||
height: px2rem(34);
|
||||
line-height: px2rem(34);
|
||||
font-weight: 600;
|
||||
font-size: px2rem(20);
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background: #313131;
|
||||
border-radius: px2rem(34);
|
||||
margin-top: px2rem(28);
|
||||
}
|
||||
}
|
||||
|
||||
.incomeTitle {
|
||||
width: px2rem(686);
|
||||
height: px2rem(50);
|
||||
@@ -664,6 +705,9 @@ body {
|
||||
}
|
||||
|
||||
.arabic {
|
||||
.page1 .myDuration span{
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
.my .tx {
|
||||
float: right;
|
||||
}
|
||||
|
@@ -37,6 +37,7 @@ var payoneer;
|
||||
var usdt;
|
||||
var payPal;
|
||||
var familyMemberId;
|
||||
var partitionId;
|
||||
// 初始化函數
|
||||
$(function () {
|
||||
getInfoFromClient();
|
||||
@@ -144,6 +145,7 @@ function get() {
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
// 存储分区id partitionId
|
||||
partitionId = res.data.partitionId;
|
||||
window.localStorage.setItem('partitionId', res.data.partitionId);
|
||||
// 判断身份
|
||||
roleTypes = res.data.roleType;
|
||||
@@ -396,7 +398,7 @@ $('.guildInfoSet').click(function () {
|
||||
})
|
||||
// 我的收入
|
||||
$('.memberFlow').click(function (params) {
|
||||
window.location.href = `./personal.html?roleTypes=${roleTypes}`
|
||||
window.location.href = `./personal.html?roleTypes=${roleTypes}&partitionId=${partitionId}`
|
||||
})
|
||||
// 薪资账户
|
||||
$('.memberFlow2 b').click(function (params) {
|
||||
|
@@ -57,7 +57,7 @@ $(function () {
|
||||
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
|
||||
langReplace = window.lang.replace;
|
||||
localLang = window.lang;
|
||||
if(getQueryString().roleTypes == 1){
|
||||
if (getQueryString().roleTypes == 1) {
|
||||
$('.page2 .agencyDiamondIncome').show();
|
||||
}
|
||||
translateFun();
|
||||
@@ -86,6 +86,7 @@ function translateFun() {
|
||||
$('.text17').text(langReplace(localLang.personal.text17));
|
||||
$('.text18').text(langReplace(localLang.personal.text18));
|
||||
$('.text19').text(langReplace(localLang.personal.text19));
|
||||
$('.duration').text(langReplace(localLang.personal.duration));
|
||||
$('.agencyDiamondIncometext1').text(langReplace(localLang.agencyDiamondIncome.text1));
|
||||
}
|
||||
// 配置接口
|
||||
@@ -117,6 +118,12 @@ function getAccount() {
|
||||
$('.page1 .incomeBoxLast .d1 span').text(`${lastCycle.totalIncome} ÜS`);
|
||||
$('.page1 .incomeBoxLast .d2 span').text(`${lastCycle.settledIncome} ÜS`);
|
||||
$('.page1 .incomeBoxLast .d3 span').text(`${lastCycle.remainingIncome} ÜS`);
|
||||
// 有效时长
|
||||
if (getQueryString().partitionId == 8) {
|
||||
$('.page1 .myDuration b').text(res.data.person.curCycleMicRemainTime);
|
||||
$('.page1 .myDuration span').text(res.data.person.curCycle.cycleDate);
|
||||
$('.page1 .myDuration').css('display', 'flex');
|
||||
}
|
||||
// agency
|
||||
if (res.data.agency) {
|
||||
var agency = res.data.agency
|
||||
|
@@ -509,12 +509,23 @@ function operateValue(than) {
|
||||
$('.pubWithdrawal .pubWithdrawal_in .ok').attr('type', type);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .ok').attr('accountType', accountObj.type);
|
||||
if (accountObj.type == 'VODAFONE') {
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p').show();
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p strong').text(localLang.salary.textnew8);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p span').text(accountObj.usdRatio);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box4 .right').text(`${((than.attr('guildUsdNum')) - (than.attr('guildUsdNum') * withdrawRate)) * 50} ${accountObj.currency}`);
|
||||
var num = numberFun(((than.attr('guildUsdNum')) - (than.attr('guildUsdNum') * withdrawRate)) * accountObj.usdRatio)
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box4 .right').text(`${num} ${accountObj.currency}`);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p').show();
|
||||
} else if (accountObj.type == 'BANK_TRANSFER_LIRA') {
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p strong').text(localLang.salary.textnew8_TRY);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p span').text(accountObj.usdRatio);
|
||||
var num = numberFun(((than.attr('guildUsdNum')) - (than.attr('guildUsdNum') * withdrawRate)) * accountObj.usdRatio)
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box4 .right').text(`${num} ${accountObj.currency}`);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p').show();
|
||||
// Math.floor(((than.attr('guildUsdNum')) - (than.attr('guildUsdNum') * withdrawRate)) * accountObj.usdRatio * 100) / 100
|
||||
} else {
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box3 .left p').hide();
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box4 .right').text(`${((than.attr('guildUsdNum')) - (than.attr('guildUsdNum') * withdrawRate))} ${accountObj.currency}`);
|
||||
console.log(accountObj.usdRatio);
|
||||
var num = numberFun(((than.attr('guildUsdNum')) - (than.attr('guildUsdNum') * withdrawRate)) * accountObj.usdRatio)
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box4 .right').text(`${num} ${accountObj.currency}`);
|
||||
}
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box1 .right').text(`${than.attr('guildUsdNum')} USD`);
|
||||
$('.pubWithdrawal .pubWithdrawal_in .box2 .right').text(withdrawRate * 100 + '%');
|
||||
@@ -532,6 +543,19 @@ function operateValue(than) {
|
||||
operate(obj)
|
||||
}
|
||||
}
|
||||
// 保留两位小数函数
|
||||
function numberFun(num) {
|
||||
// 將數字轉為字符串
|
||||
var numStr = num.toString();
|
||||
// 分割整數部分和小數部分
|
||||
var parts = numStr.split('.');
|
||||
// 如果有小數部分,截取前兩位,否則直接返回整數部分
|
||||
var result = parts[0]; // 整數部分
|
||||
if (parts[1]) { // 存在小數部分時
|
||||
result += '.' + parts[1].substring(0, 2);
|
||||
}
|
||||
return parseFloat(result); // 返回數字
|
||||
}
|
||||
// 确认提现按钮
|
||||
$('.pubWithdrawal .pubWithdrawal_in .ok').click(function () {
|
||||
var guildUsdNum = $(this).attr('guildUsdNum');
|
||||
|
@@ -204,6 +204,7 @@ langAr = {
|
||||
departed: 'غادر',
|
||||
},
|
||||
personal: {
|
||||
duration: 'مدتي:',
|
||||
text1: `الشخصي`,
|
||||
text2: `الوكالة`,
|
||||
text3: `الماس الخاص بي:`,
|
||||
@@ -269,6 +270,7 @@ langAr = {
|
||||
textnew6: `معدل رسوم المعالجة`,
|
||||
textnew7: `رسوم المعالجة`,
|
||||
textnew8: `سعر الصرف من الدولار الأمريكي إلى الجنيه المصري: 1:`,
|
||||
textnew8_TRY: 'سعر صرف الدولار الأمريكي إلى الليرة التركية: 1:',
|
||||
textnew9: `المبلغ المقدر`,
|
||||
textnew10: `ملاحظة: قد يتأثر المبلغ المتوقع الوصول بسعر صرف البنك وما إلى ذلك.`,
|
||||
textnew11: `سحب`,
|
||||
|
@@ -204,6 +204,7 @@ langEn = {
|
||||
departed: 'Departed',
|
||||
},
|
||||
personal: {
|
||||
duration: `My duration:`,
|
||||
text1: `Personal<span></span>`,
|
||||
text2: `Agency<span></span>`,
|
||||
text3: `My diamond:`,
|
||||
@@ -269,6 +270,7 @@ langEn = {
|
||||
textnew6: `Handling Fee rate`,
|
||||
textnew7: `Handling Fee`,
|
||||
textnew8: `USD to EGP exchange rate: 1:`,
|
||||
textnew8_TRY: `USD to TRY exchange rate: 1:`,
|
||||
textnew9: `Estimated amount`,
|
||||
textnew10: `Note: Estimated arrival amount may be affected by bank exchange rate, etc.`,
|
||||
textnew11: `Withdraw`,
|
||||
|
@@ -203,6 +203,7 @@ langTr = {
|
||||
departed: 'Ayrıldılar',
|
||||
},
|
||||
personal: {
|
||||
duration: 'Sürem:',
|
||||
text1: `Kişisel<span></span>`,
|
||||
text2: `Ajans<span></span>`,
|
||||
text3: `Benim elmasım:`,
|
||||
@@ -269,6 +270,7 @@ langTr = {
|
||||
textnew6: `İşlem Ücreti Oranı`,
|
||||
textnew7: `İşlem Ücreti`,
|
||||
textnew8: `USD to EGP döviz kuru: 1:`,
|
||||
textnew8_TRY: `USD ile TRY döviz kuru: 1:`,
|
||||
textnew9: `Tahmini Miktar`,
|
||||
textnew10: `Not: Tahmini varış miktarı banka döviz kuru gibi faktörlerden etkilenebilir.`,
|
||||
textnew11: `Çekim`,
|
||||
|
@@ -206,6 +206,7 @@ langZh = {
|
||||
placeholder: '請添加',
|
||||
},
|
||||
personal: {
|
||||
duration: '我的時長:',
|
||||
text1: `個人`,
|
||||
text2: `機構`,
|
||||
text3: `我的鑽石:`,
|
||||
@@ -271,6 +272,7 @@ langZh = {
|
||||
textnew6: `手續費率`,
|
||||
textnew7: `手續費`,
|
||||
textnew8: `美元兌埃及鎊匯率:1:`,
|
||||
textnew8_TRY: `美元兌土耳其里拉匯率:1:`,
|
||||
textnew9: `預估金額`,
|
||||
textnew10: `注意:預估到賬金額可能會受銀行匯率等影響。`,
|
||||
textnew11: `提款`,
|
||||
|
@@ -37,6 +37,8 @@
|
||||
</div>
|
||||
<!-- 账户 -->
|
||||
<div class="account text5"></div>
|
||||
<!-- 主播时长 -->
|
||||
<div class="myDuration"><strong class="duration"></strong> <b>0s</b> <span>12.1-12.15</span></div>
|
||||
<!-- 当前收益 -->
|
||||
<div class="incomeTitle"><span></span><b class="text6"></b><i></i></div>
|
||||
<p class="copywriting1 text7"></p>
|
||||
|
@@ -220,11 +220,11 @@
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/common2.js"></script>
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="./local/en.js?v=1.0"></script>
|
||||
<script src="./local/zh.js?v=1.0"></script>
|
||||
<script src="./local/ar.js?v=1.0"></script>
|
||||
<script src="./local/tr.js?v=1.0"></script>
|
||||
<script src="./js/salary.js?v=1.0"></script>
|
||||
<script src="./local/en.js?v=2.0"></script>
|
||||
<script src="./local/zh.js?v=2.0"></script>
|
||||
<script src="./local/ar.js?v=2.0"></script>
|
||||
<script src="./local/tr.js?v=2.0"></script>
|
||||
<script src="./js/salary.js?v=2.0"></script>
|
||||
<script src="../../common/local/langHandler.js"></script>
|
||||
</body>
|
||||
|
||||
|