免费加载界面调整

This commit is contained in:
TJH 2026-04-11 11:14:02 +08:00
parent 2994c329c6
commit b1a3195bec
2 changed files with 7 additions and 4 deletions

View File

@ -645,7 +645,7 @@
"__id__": 26 "__id__": 26
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 28 "__id__": 28
@ -1123,7 +1123,7 @@
"__id__": 26 "__id__": 26
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 50 "__id__": 50
@ -1259,7 +1259,7 @@
"__id__": 26 "__id__": 26
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 56 "__id__": 56
@ -1425,7 +1425,7 @@
"__id__": 62 "__id__": 62
} }
], ],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 70 "__id__": 70

View File

@ -33,6 +33,7 @@ export class FreeSpinEnterSpine extends Component {
this.hasClickBtn = false; this.hasClickBtn = false;
this.loadingNode.active = true; this.loadingNode.active = true;
this.freeSpinCount.string = freeSpinCount.toString(); this.freeSpinCount.string = freeSpinCount.toString();
this.freeSpinCount.node.active = false
Tween.stopAllByTarget(this.loadingNode); Tween.stopAllByTarget(this.loadingNode);
this.startBtn.off(Node.EventType.TOUCH_START); this.startBtn.off(Node.EventType.TOUCH_START);
@ -63,7 +64,9 @@ export class FreeSpinEnterSpine extends Component {
}) })
.onComplete(() => { .onComplete(() => {
this.loadingNode.active = false; this.loadingNode.active = false;
this.loadingProgressLabel.string = ''
this.startBtn.active = true; this.startBtn.active = true;
this.freeSpinCount.node.active = true
this.startBtn.scale = new Vec3(0.1, 0.1, 0.1); this.startBtn.scale = new Vec3(0.1, 0.1, 0.1);
tween(this.startBtn) tween(this.startBtn)
.set({ scale: new Vec3(0.1, 0.1, 0.1) }) .set({ scale: new Vec3(0.1, 0.1, 0.1) })