From aad7ff06f48cd9fad1242feb48e186714abf2193 Mon Sep 17 00:00:00 2001 From: "YZ\\249929363" <249929363@qq.com> Date: Fri, 4 Jul 2025 17:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AC=AC=E4=BA=94=E9=A1=B9?= =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Script/module/Tool/GameTool.ts | 2 +- assets/shop/script/shop.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 3511cc3..df269ff 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -837,7 +837,7 @@ var GameTool = { price = 12800; MiniGameSdk.API.showToast("充值成功,获得32000金币"); break; - case "gold_pack_5": + case "gold_5": cc.fx.GameTool.changeCoin(100000); coin = 100000; price = 32800; diff --git a/assets/shop/script/shop.ts b/assets/shop/script/shop.ts index 79c304c..65208f4 100644 --- a/assets/shop/script/shop.ts +++ b/assets/shop/script/shop.ts @@ -35,7 +35,7 @@ export default class NewClass extends cc.Component { { product_id: "gold_2", name: "金币包2", price: 3600, coin:8000, title: "" }, { product_id: "gold_3", name: "金币包3", price: 6800, coin:16000, title: "" }, { product_id: "gold_4", name: "金币包4", price: 12800, coin:32000, title: "" }, - { product_id: "gold_pack_5", name: "金币包5", price: 32800, coin:100000, title: "" }, + { product_id: "gold_5", name: "金币包5", price: 32800, coin:100000, title: "" }, { product_id: "gold_6", name: "金币包6", price: 64800, coin:240000, title: "" }, ]; for (let i = 1; i <= 6 && i < this.itemList.children.length; i++) { @@ -97,8 +97,8 @@ export default class NewClass extends cc.Component { case "gold_4": price = 12800; break; - case "gold_pack_5": - price = 100; + case "gold_5": + price = 32800; break; case "gold_6": price = 64800;