修改判断土耳其方式
This commit is contained in:
@@ -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) {
|
||||
|
@@ -119,7 +119,7 @@ function getAccount() {
|
||||
$('.page1 .incomeBoxLast .d2 span').text(`${lastCycle.settledIncome} ÜS`);
|
||||
$('.page1 .incomeBoxLast .d3 span').text(`${lastCycle.remainingIncome} ÜS`);
|
||||
// 有效时长
|
||||
if (window.localStorage.getItem('partitionId') == 8) {
|
||||
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');
|
||||
|
Reference in New Issue
Block a user