设置页、弹窗逻辑、跳转逻辑
视频播放逻辑优化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { _decorator, Button, Component, Node, Label } from "cc";
|
||||
import { _decorator, Button, Component, Node, Label, View } from "cc";
|
||||
import li_BaseView from "../../../Main/Common/li_BaseView";
|
||||
import Utils from "../../../Main/Common/Utils";
|
||||
import { GButton } from "../../../Main/Common/GButton";
|
||||
@@ -10,6 +10,8 @@ import { GirlData } from "../../data/GirlData";
|
||||
import { WalletData } from "../../data/WalletData";
|
||||
import proto from "db://assets/Scripts/proto/proto.pb.js";
|
||||
import LanguageUtils from "../../../Main/Common/LanguageUtils";
|
||||
import { ViewManager } from "../../../Main/Manager/ViewManager";
|
||||
import { TipsPanel } from "./TipsPanel";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass("GirlListPopupPanel")
|
||||
@@ -74,6 +76,11 @@ export class GirlListPopupPanel extends li_BaseView {
|
||||
// 刷新界面
|
||||
this.base.refreshBuy(true);
|
||||
this.close();
|
||||
} else {
|
||||
//ViewManager.I.openBundlesView("PurchasePanel");
|
||||
this.close();
|
||||
TipsPanel.show("Insufficient balance, need to purchase");
|
||||
}
|
||||
// TipsPanel.show("Insufficient balance, need to purchase");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user