|
|
@@ -1,8 +1,8 @@
|
|
|
/*
|
|
|
* @Author: dgflash
|
|
|
* @Date: 2021-07-03 16:13:17
|
|
|
- * @LastEditors: bansomin
|
|
|
- * @LastEditTime: 2024-03-31 01:17:02
|
|
|
+ * @LastEditors: mojunshou 1637302775@qq.com
|
|
|
+ * @LastEditTime: 2025-03-19 17:29:41
|
|
|
*/
|
|
|
import { _decorator } from "cc";
|
|
|
import { oops } from "../../../../../extensions/oops-plugin-framework/assets/core/Oops";
|
|
|
@@ -12,6 +12,7 @@ import { ModuleUtil } from "../../../../../extensions/oops-plugin-framework/asse
|
|
|
import { DemoViewComp } from "../../account/view/DemoViewComp";
|
|
|
import { smc } from "../../common/SingletonModuleComp";
|
|
|
import { UIID } from "../../common/config/GameUIConfig";
|
|
|
+import { EventTouch } from "cc";
|
|
|
|
|
|
const { ccclass, property } = _decorator;
|
|
|
|
|
|
@@ -19,6 +20,11 @@ const { ccclass, property } = _decorator;
|
|
|
@ccclass('LoadingViewComp')
|
|
|
@ecs.register('LoadingView', false)
|
|
|
export class LoadingViewComp extends CCVMParentComp {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/** VM 组件绑定数据 */
|
|
|
data: any = {
|
|
|
/** 加载资源当前进度 */
|
|
|
@@ -35,6 +41,7 @@ export class LoadingViewComp extends CCVMParentComp {
|
|
|
|
|
|
start() {
|
|
|
this.enter();
|
|
|
+ this.setButton();
|
|
|
}
|
|
|
|
|
|
enter() {
|
|
|
@@ -77,8 +84,50 @@ export class LoadingViewComp extends CCVMParentComp {
|
|
|
private async onCompleteCallback() {
|
|
|
// 获取用户信息的多语言提示文本
|
|
|
this.data.prompt = oops.language.getLangByID("loading_load_player");
|
|
|
- await ModuleUtil.addViewUiAsync(smc.account, DemoViewComp, UIID.Demo);
|
|
|
- ModuleUtil.removeViewUi(this.ent, LoadingViewComp, UIID.Loading);
|
|
|
+ // await ModuleUtil.addViewUiAsync(smc.account, DemoViewComp, UIID.Demo);
|
|
|
+ // ModuleUtil.removeViewUi(this.ent, LoadingViewComp, UIID.Loading);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @description: 微信登录
|
|
|
+ * @return {*}
|
|
|
+ */
|
|
|
+ private btn_wxlogin() {
|
|
|
+ //
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @description: 用户协议
|
|
|
+ * @return {*}
|
|
|
+ */
|
|
|
+ private btn_user() {
|
|
|
+ console.log("用户协议");
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @description: 隐私协议
|
|
|
+ * @return {*}
|
|
|
+ */
|
|
|
+ private btn_privacy() {
|
|
|
+ console.log("隐私协议");
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ //打开温馨提示
|
|
|
+ private open_kindTipsView() {
|
|
|
+
|
|
|
+ //
|
|
|
+
|
|
|
}
|
|
|
|
|
|
reset(): void { }
|