Commit 7556cf8e authored by haiyoucuv's avatar haiyoucuv

init

parent 31df166b
...@@ -9,6 +9,7 @@ import { miniGoUrl } from '../AppTool'; ...@@ -9,6 +9,7 @@ import { miniGoUrl } from '../AppTool';
import Scene from "db://assets/core/Module/Scene"; import Scene from "db://assets/core/Module/Scene";
import { changeScene, hideWaiting, showToast, showWaiting } from "db://assets/core/Module/UIFast"; import { changeScene, hideWaiting, showToast, showWaiting } from "db://assets/core/Module/UIFast";
import { YXCollectionView, YXFlowLayout, YXIndexPath } from "db://assets/core/Component/YXList/lib"; import { YXCollectionView, YXFlowLayout, YXIndexPath } from "db://assets/core/Component/YXList/lib";
import { HomeScene } from "db://assets/Scripts/Scenes/HomeScene";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@observer @observer
...@@ -54,7 +55,7 @@ export class PrizeScene extends Scene { ...@@ -54,7 +55,7 @@ export class PrizeScene extends Scene {
// 返回首页 // 返回首页
clickBackHome = _asyncThrottle(async () => { clickBackHome = _asyncThrottle(async () => {
await changeScene(MainGame); changeScene(HomeScene);
}); });
// rank榜单信息 // rank榜单信息
......
...@@ -73,7 +73,7 @@ class GameStore { ...@@ -73,7 +73,7 @@ class GameStore {
} }
if (type === "credits") { if (type === "credits") {
const { success, ticket } = await creditsCost("main", "unlockPark", "deduct_credits_desc", 1000); const { success, ticket } = await creditsCost("main", "unlockPark", "deduct_credits_desc", unparkCreditsNum);
if (!success) return false; if (!success) return false;
params.ticketNum = ticket; params.ticketNum = ticket;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment