修复bug
This commit is contained in:
@@ -52,10 +52,10 @@ body {
|
||||
line-height: 0.58667rem;
|
||||
margin: 2.64rem auto 0.29333rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.tab div {
|
||||
margin-right: 0.66667rem;
|
||||
color: #7B7B7D;
|
||||
font-size: 0.37333rem;
|
||||
font-weight: 400;
|
||||
@@ -234,8 +234,3 @@ body {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.arabic .tab div {
|
||||
margin-right: 0;
|
||||
margin-left: 0.66667rem;
|
||||
}
|
||||
|
@@ -57,9 +57,10 @@ body {
|
||||
line-height: px2rem(44);
|
||||
margin: px2rem(198) auto px2rem(22);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
div {
|
||||
margin-right: px2rem(50);
|
||||
// margin-right: px2rem(50);
|
||||
color: #7B7B7D;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 400;
|
||||
@@ -237,8 +238,4 @@ body {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.tab div{
|
||||
margin-right: 0;
|
||||
margin-left: px2rem(50);
|
||||
}
|
||||
}
|
@@ -114,7 +114,7 @@ function ulFun(index) {
|
||||
<div class="left">
|
||||
<img src="./images/coin.png" alt="" class="gold">
|
||||
<span>${unitProcessingAr(res.rewardNum, 2)}</span>
|
||||
<div class="get ${res.status == 1 ? 'act' : ''}" id=${res.id}>${langReplace(localLang.weeklyRewards.text3)}</div>
|
||||
<div class="get ${res.status == 1 ? 'getAct' : ''}" id=${res.id} status=${res.status}>${langReplace(localLang.weeklyRewards.text3)}</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="textTop">
|
||||
@@ -142,7 +142,7 @@ function getReward(id) {
|
||||
},
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
get();
|
||||
getConfig();
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -155,7 +155,7 @@ function getReward(id) {
|
||||
})
|
||||
}
|
||||
// 领取按钮
|
||||
$('.box ul li .left .get').click(function () {
|
||||
$('.box ul').on('click', ' li .left .get', function () {
|
||||
var status = $(this).attr('status');
|
||||
var id = $(this).attr('id');
|
||||
if (status == 1) {
|
||||
|
@@ -37,7 +37,7 @@ langAr = {
|
||||
transfer_salary: "تحويل الراتب:",
|
||||
audit: 'قيد المراجعة',
|
||||
weeklyRewardsText1: 'مكافآت المضيف الأسبوعية',
|
||||
weeklyRewardsText2: 'يمكنك الحصول على 560000 عملة بالمجموع.',
|
||||
weeklyRewardsText2: 'يمكنك الحصول على 2240000 عملة بالمجموع.',
|
||||
weeklyRewardsText3: 'احصل على',
|
||||
weeklyRewardsText4: 'مستوى المضيف',
|
||||
weeklyRewardsText5: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+3)',
|
||||
@@ -323,7 +323,7 @@ langAr = {
|
||||
},
|
||||
weeklyRewards: {
|
||||
text1: `مكافآت المضيف الأسبوعية`,
|
||||
text2: `يمكنك الحصول على <b>560000</b> عملة بالمجموع.`,
|
||||
text2: `يمكنك الحصول على <b>2240000</b> عملة بالمجموع.`,
|
||||
text3: `احصل على`,
|
||||
text4: `مستوى المضيف`,
|
||||
text5: ``,
|
||||
|
@@ -35,7 +35,7 @@ langEn = {
|
||||
transfer_salary: "Salary Transfer:",
|
||||
audit: 'In Audit',
|
||||
weeklyRewardsText1: 'Host weekly rewards',
|
||||
weeklyRewardsText2: 'You can get 560000 coins totally.',
|
||||
weeklyRewardsText2: 'You can get 2240000 coins totally.',
|
||||
weeklyRewardsText3: 'Get',
|
||||
weeklyRewardsText4: 'Host Lv',
|
||||
weeklyRewardsText5: 'Reset time: Monday 0:00 (GMT+3)',
|
||||
@@ -322,7 +322,7 @@ langEn = {
|
||||
},
|
||||
weeklyRewards: {
|
||||
text1: `Host weekly rewards`,
|
||||
text2: `You can get <b>560000</b> coins totally.`,
|
||||
text2: `You can get <b>2240000</b> coins totally.`,
|
||||
text3: `Get`,
|
||||
text4: `Host Lv`,
|
||||
text5: ``,
|
||||
|
@@ -37,7 +37,7 @@ langZh = {
|
||||
transfer_salary: "薪资转账:",
|
||||
audit: '審核中',
|
||||
weeklyRewardsText1: '主播每週獎勵',
|
||||
weeklyRewardsText2: '您可以總共獲得 560000 金幣。',
|
||||
weeklyRewardsText2: '您可以總共獲得 2240000 金幣。',
|
||||
weeklyRewardsText3: '領取',
|
||||
weeklyRewardsText4: '主播等級',
|
||||
weeklyRewardsText5: '重置時間:週一 0:00(GMT+3)',
|
||||
@@ -324,7 +324,7 @@ langZh = {
|
||||
},
|
||||
weeklyRewards: {
|
||||
text1: `主播每週獎勵`,
|
||||
text2: `您可以總共獲得 <b>560000</b> 金幣。`,
|
||||
text2: `您可以總共獲得 <b>2240000</b> 金幣。`,
|
||||
text3: `領取`,
|
||||
text4: `主播等級`,
|
||||
text5: ``,
|
||||
|
@@ -52,10 +52,10 @@ body {
|
||||
line-height: 0.58667rem;
|
||||
margin: 2.64rem auto 0.29333rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.tab div {
|
||||
margin-right: 0.66667rem;
|
||||
color: #7B7B7D;
|
||||
font-size: 0.37333rem;
|
||||
font-weight: 400;
|
||||
@@ -234,8 +234,3 @@ body {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.arabic .tab div {
|
||||
margin-right: 0;
|
||||
margin-left: 0.66667rem;
|
||||
}
|
||||
|
@@ -57,9 +57,9 @@ body {
|
||||
line-height: px2rem(44);
|
||||
margin: px2rem(198) auto px2rem(22);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
div {
|
||||
margin-right: px2rem(50);
|
||||
color: #7B7B7D;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 400;
|
||||
@@ -237,8 +237,4 @@ body {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.tab div{
|
||||
margin-right: 0;
|
||||
margin-left: px2rem(50);
|
||||
}
|
||||
}
|
@@ -75,7 +75,7 @@ function getConfig() {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/familyMemberWeekLevelReward/get',
|
||||
url: urlPrefix + '/guildMemberWeekLevelReward/get',
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
data = res.data;
|
||||
@@ -114,7 +114,7 @@ function ulFun(index) {
|
||||
<div class="left">
|
||||
<img src="./images/coin.png" alt="" class="gold">
|
||||
<span>${unitProcessingAr(res.rewardNum, 2)}</span>
|
||||
<div class="get ${res.status == 1 ? 'act' : ''}" id=${res.id}>${langReplace(localLang.weeklyRewards.text3)}</div>
|
||||
<div class="get ${res.status == 1 ? 'getAct' : ''}" id=${res.id} status=${res.status}>${langReplace(localLang.weeklyRewards.text3)}</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="textTop">
|
||||
@@ -136,13 +136,13 @@ function getReward(id) {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'post',
|
||||
url: urlPrefix + '/familyMemberWeekLevelReward/getReward',
|
||||
url: urlPrefix + '/guildMemberWeekLevelReward/getReward',
|
||||
data: {
|
||||
id,
|
||||
},
|
||||
success(res) {
|
||||
if (res.code === 200) {
|
||||
get();
|
||||
getConfig();
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -155,7 +155,7 @@ function getReward(id) {
|
||||
})
|
||||
}
|
||||
// 领取按钮
|
||||
$('.box ul li .left .get').click(function () {
|
||||
$('.box ul').on('click', ' li .left .get', function () {
|
||||
var status = $(this).attr('status');
|
||||
var id = $(this).attr('id');
|
||||
if (status == 1) {
|
||||
|
@@ -31,7 +31,7 @@ langAr = {
|
||||
newText3: `المسؤول`,
|
||||
audit: 'قيد المراجعة',
|
||||
weeklyRewardsText1: 'مكافآت المضيف الأسبوعية',
|
||||
weeklyRewardsText2: 'يمكنك الحصول على 93000 عملة بالمجموع.',
|
||||
weeklyRewardsText2: 'يمكنك الحصول على 185000 عملة بالمجموع.',
|
||||
weeklyRewardsText3: 'احصل على',
|
||||
weeklyRewardsText4: 'مستوى المضيف',
|
||||
weeklyRewardsText5: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+8)',
|
||||
@@ -190,7 +190,7 @@ langAr = {
|
||||
},
|
||||
weeklyRewards: {
|
||||
text1: `مكافآت المضيف الأسبوعية`,
|
||||
text2: `يمكنك الحصول على <b>93000</b> عملة بالمجموع.`,
|
||||
text2: `يمكنك الحصول على <b>185000</b> عملة بالمجموع.`,
|
||||
text3: `احصل على`,
|
||||
text4: `مستوى المضيف`,
|
||||
text5: ``,
|
||||
|
@@ -29,7 +29,7 @@ langEn = {
|
||||
newText3: `Administrator`,
|
||||
audit:'In Audit',
|
||||
weeklyRewardsText1: 'Host weekly rewards',
|
||||
weeklyRewardsText2: 'You can get 93000 coins totally.',
|
||||
weeklyRewardsText2: 'You can get 185000 coins totally.',
|
||||
weeklyRewardsText3: 'Get',
|
||||
weeklyRewardsText4: 'Host Lv',
|
||||
weeklyRewardsText5: 'Reset time: Monday 0:00 (GMT+8)',
|
||||
@@ -188,7 +188,7 @@ langEn = {
|
||||
},
|
||||
weeklyRewards: {
|
||||
text1: `Host weekly rewards`,
|
||||
text2: `You can get <b>93000</b> coins totally.`,
|
||||
text2: `You can get <b>185000</b> coins totally.`,
|
||||
text3: `Get`,
|
||||
text4: `Host Lv`,
|
||||
text5: ``,
|
||||
|
@@ -31,7 +31,7 @@ langZh = {
|
||||
newText3: `管理員`,
|
||||
audit: '審核中',
|
||||
weeklyRewardsText1: '主播每週獎勵',
|
||||
weeklyRewardsText2: '您可以總共獲得 93000 金幣。',
|
||||
weeklyRewardsText2: '您可以總共獲得 185000 金幣。',
|
||||
weeklyRewardsText3: '領取',
|
||||
weeklyRewardsText4: '主播等級',
|
||||
weeklyRewardsText5: '重置時間:週一 0:00(GMT+8)',
|
||||
@@ -191,7 +191,7 @@ langZh = {
|
||||
},
|
||||
weeklyRewards: {
|
||||
text1: `主播每週獎勵`,
|
||||
text2: `您可以總共獲得 <b>93000</b> 金幣。`,
|
||||
text2: `您可以總共獲得 <b>185000</b> 金幣。`,
|
||||
text3: `領取`,
|
||||
text4: `主播等級`,
|
||||
text5: ``,
|
||||
|
Reference in New Issue
Block a user