|
|
@@ -2,7 +2,7 @@
|
|
|
* @Author: mojunshou 1637302775@qq.com
|
|
|
* @Date: 2025-03-21 14:43:24
|
|
|
* @LastEditors: mojunshou 1637302775@qq.com
|
|
|
- * @LastEditTime: 2025-04-27 16:24:43
|
|
|
+ * @LastEditTime: 2025-04-28 20:41:55
|
|
|
* @Description: 游戏通关弹窗
|
|
|
*/
|
|
|
import { Label, Node } from 'cc';
|
|
|
@@ -29,7 +29,11 @@ export class GamePassView extends GameComponent {
|
|
|
@property(Label)
|
|
|
private lab_tips: Label = null!;
|
|
|
@property(Node)
|
|
|
- private receiveNode: Node = null!; //十倍领取
|
|
|
+ private showBtn1: Node = null!;
|
|
|
+
|
|
|
+ @property(Node)
|
|
|
+ private showBtn2: Node = null!;
|
|
|
+
|
|
|
|
|
|
@property([Label])
|
|
|
private lab_list: Label[] = [];
|
|
|
@@ -65,7 +69,9 @@ export class GamePassView extends GameComponent {
|
|
|
DCHandler.inst.reportData(3000100, curLevel);
|
|
|
}
|
|
|
this.isAuto = smc.game.GameModel.passViewInfo.doubleReward;
|
|
|
- this.receiveNode.active = this.isAuto;
|
|
|
+ this.showBtn1.active = this.isAuto;
|
|
|
+ this.showBtn2.active = !this.isAuto;
|
|
|
+
|
|
|
if (this.isAuto) {
|
|
|
this.setAutoReceive();
|
|
|
}
|