|
@@ -101,6 +101,7 @@ export default class SafeDepositBoxData {
|
|
|
let response = await mk.http.sendData('newrichbank/getCashRecord', {});
|
|
let response = await mk.http.sendData('newrichbank/getCashRecord', {});
|
|
|
if (response && response.errcode == 0) {
|
|
if (response && response.errcode == 0) {
|
|
|
this.cashRecordData = response.data;
|
|
this.cashRecordData = response.data;
|
|
|
|
|
+ console.log("--------------");
|
|
|
this.freshQipao = true;
|
|
this.freshQipao = true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -109,8 +110,9 @@ export default class SafeDepositBoxData {
|
|
|
gData.gameData.richBankTeachTag = false;
|
|
gData.gameData.richBankTeachTag = false;
|
|
|
let isOpenRichBankUI = mk.ui.isPopPanel();
|
|
let isOpenRichBankUI = mk.ui.isPopPanel();
|
|
|
let times = gData.gameData.getProp(GameProp.cashTimes);
|
|
let times = gData.gameData.getProp(GameProp.cashTimes);
|
|
|
|
|
+ console.log(`=========${isOpenRichBankUI}===${times}=====${this.cashRecordData.length}====${this.cashRecordDataLength}`);
|
|
|
if(gData.gameData.funOpenData[13] == "1" && !isOpenRichBankUI && times >=gData.gameData.showRichBankIconLimit){
|
|
if(gData.gameData.funOpenData[13] == "1" && !isOpenRichBankUI && times >=gData.gameData.showRichBankIconLimit){
|
|
|
- if(this.cashRecordData.length > this.cashRecordDataLength){
|
|
|
|
|
|
|
+ if(this.cashRecordData.length >= this.cashRecordDataLength){
|
|
|
this.cashRecordDataLength = this.cashRecordData.length;
|
|
this.cashRecordDataLength = this.cashRecordData.length;
|
|
|
this.isTeach = mk.guide.open(13);
|
|
this.isTeach = mk.guide.open(13);
|
|
|
}
|
|
}
|
|
@@ -121,6 +123,7 @@ export default class SafeDepositBoxData {
|
|
|
setCashRecordDataLength(){
|
|
setCashRecordDataLength(){
|
|
|
if(this.cashRecordData){
|
|
if(this.cashRecordData){
|
|
|
this.cashRecordDataLength = this.cashRecordData.length;
|
|
this.cashRecordDataLength = this.cashRecordData.length;
|
|
|
|
|
+ console.log(`setCashRecordDataLength==========${this.cashRecordDataLength}`);
|
|
|
}else{
|
|
}else{
|
|
|
this.cashRecordDataLength = 0;
|
|
this.cashRecordDataLength = 0;
|
|
|
}
|
|
}
|