Compare commits

..

No commits in common. "7edc38914c7665cf886bbcf078202d2ae2c9f6f3" and "028860232a6f2176ef87bfb366dcb34aa12d5944" have entirely different histories.

4 changed files with 394 additions and 441 deletions

File diff suppressed because it is too large Load Diff

View File

@ -28,10 +28,6 @@ export class SysGift extends Component {
onLoad(): void { onLoad(): void {
this.hideAll(); this.hideAll();
let sp_win = this.info.getChildByName("sysgift_win");
let scale = 116 / sp_win.getComponent(Sprite).spriteFrame.width;
sp_win.setScale(scale, scale, scale);
} }
hideAll() { hideAll() {
@ -49,11 +45,16 @@ export class SysGift extends Component {
if (!frb) return; if (!frb) return;
let txt_spin_num = this.info.getChildByName("count") let txt_spin_num = this.info.getChildByName("count")
txt_spin_num.getComponent(Label).string = frb.Ongoing.Frn.toLocaleString() txt_spin_num.getComponent(Label).string = (frb.Ongoing.Frn.toLocaleString())
// let sp_win = this.info.getChildByName("sysgift_win") let sp_win = this.info.getChildByName("sysgift_win")
let txt_win = this.info.getChildByName("win") let txt_win = this.info.getChildByName("win")
sp_win.getComponent(LocalizedSprite).fetchRender();
let scale = 116 / sp_win.getComponent(Sprite).spriteFrame.width;
sp_win.setScale(scale, scale, scale);
let num = Math.round(frb.Ongoing.Fra * 100 + 1e-6) / 100; let num = Math.round(frb.Ongoing.Fra * 100 + 1e-6) / 100;
txt_win.getComponent(Label).string = num.toLocaleString('en-US', { txt_win.getComponent(Label).string = num.toLocaleString('en-US', {
minimumFractionDigits: 2, minimumFractionDigits: 2,
@ -66,7 +67,6 @@ export class SysGift extends Component {
} }
onClickConfirm() { onClickConfirm() {
GameDataManager.instance.frb.Finished = null;
this.hide(this.settle); this.hide(this.settle);
this.node.emit(SYS_GIFT.SETTLE_CONTINUE); this.node.emit(SYS_GIFT.SETTLE_CONTINUE);
} }

View File

@ -1,8 +1,3 @@
{ {
"__version__": "1.3.9", "__version__": "1.3.9"
"splash-setting": {
"logo": {
"type": "none"
}
}
} }

View File

@ -6,7 +6,7 @@
"label": "customSplash", "label": "customSplash",
"enable": true, "enable": true,
"customSplash": { "customSplash": {
"complete": true, "complete": false,
"form": "https://creator-api.cocos.com/api/form/show?sid=571ede397bfe249c5b5fb193d6022644" "form": "https://creator-api.cocos.com/api/form/show?sid=571ede397bfe249c5b5fb193d6022644"
} }
}, },