修复bug
This commit is contained in:
@@ -92,30 +92,51 @@ function getConfig() {
|
||||
if (res.data.qualification) {
|
||||
// 20级
|
||||
if (res.data.hasPrettyNum) {// 是否有靓号
|
||||
if (res.data.examimeStatus == 1) {//审核成功
|
||||
if (res.data.applySign) {// 30天内有申请
|
||||
$('.my .text').text(`Sorry, You cannot change Your SID now`);
|
||||
} else {
|
||||
$('.my .text').text(`You can pick your SID right now.`);
|
||||
}
|
||||
} else if (res.data.examimeStatus == 2) {//审核中
|
||||
$('.my .sid b').text(`In Review`);
|
||||
$('.my .sid b').css('color', '#FF5262');
|
||||
$('.my .text').text(``);
|
||||
} else if (res.data.examimeStatus == 0) {//审核失败
|
||||
$('.my .text').text(`You can pick your SID right now.`);
|
||||
}
|
||||
} else {
|
||||
$('.my .sid b').text(`Available`);
|
||||
$('.my .sid b').css('color', '#20DF5F');
|
||||
$('.my .text').text(`You can pick your SID right now.`);
|
||||
|
||||
} else {
|
||||
if (res.data.applySign) {// 30天内有申请
|
||||
$('.my .text').text(`Sorry, You cannot change Your SID now`);
|
||||
} else {
|
||||
if (res.data.examimeStatus == 1) {//审核成功
|
||||
if (res.data.applySign) {// 30天内有申请
|
||||
$('.my .text').text(`Sorry, You cannot change Your SID now`);
|
||||
} else {
|
||||
$('.my .text').text(`You can pick your SID right now.`);
|
||||
}
|
||||
} else if (res.data.examimeStatus == 2) {//审核失败0
|
||||
$('.my .text').text(`You can pick your SID right now.`);
|
||||
}
|
||||
else if (res.data.examimeStatus == 0) {//审核中
|
||||
$('.my .sid b').text(`In Review`);
|
||||
$('.my .sid b').css('color', '#FF5262');
|
||||
$('.my .text').text(``);
|
||||
}
|
||||
}
|
||||
|
||||
// if (res.data.examimeStatus == 1) {//审核成功
|
||||
// if (res.data.applySign) {// 30天内有申请
|
||||
// $('.my .text').text(`Sorry, You cannot change Your SID now`);
|
||||
// } else {
|
||||
// $('.my .text').text(`You can pick your SID right now.`);
|
||||
// }
|
||||
// } else if (res.data.examimeStatus == 2) {//审核失败0
|
||||
// $('.my .text').text(`You can pick your SID right now.`);
|
||||
// }
|
||||
// else if (res.data.examimeStatus == 0) {//审核中
|
||||
// $('.my .sid b').text(`In Review`);
|
||||
// $('.my .sid b').css('color', '#FF5262');
|
||||
// $('.my .text').text(``);
|
||||
// }
|
||||
}
|
||||
} else {
|
||||
// 非20级
|
||||
$('.my .sid b').text(`Unavailable`);
|
||||
$('.my .sid b').css('color', '#FF5262');
|
||||
$('.my .text').text(`Sorry, you haven't reached the wealth level 20 to exchange Supe`);
|
||||
// $('.sidBox').hide();
|
||||
$('.sidBox').hide();
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user