薛鸿潇 5 jaren geleden
bovenliggende
commit
274908ceec

+ 2 - 5
assets/resources/module/receiptNotice/receiptNotice.prefab

@@ -1835,7 +1835,7 @@
   {
     "__type__": "cc.Node",
     "_name": "lbl提现记录",
-    "_objFlags": 0,
+    "_objFlags": 512,
     "_parent": {
       "__id__": 47
     },
@@ -1950,7 +1950,7 @@
       "__id__": 47
     },
     "_enabled": true,
-    "panel_name": "",
+    "panel_name": "module/cashNormal/cashNormal",
     "open_type": 0,
     "transition_type": 3,
     "onComplete": [],
@@ -2353,9 +2353,6 @@
     "lbl_rmb_total": {
       "__id__": 45
     },
-    "lbl_game_name": {
-      "__id__": 39
-    },
     "lbl_user_name": {
       "__id__": 33
     },

+ 5 - 0
assets/script/game/data/module/RedBagCashData.ts

@@ -57,6 +57,11 @@ export class RedBagCashData extends Data {
         let item_data = this.getItemDataByIndex(cash_index);
         gData.gameData.gameData.redMoney -= item_data.type_value;
 
+        // 打开提现到账界面
+        gData.receiptNotice.receip_rmb = item_data.money;
+        gData.cashNormal.receip_total_rmb += gData.receiptNotice.receip_rmb;
+        mk.ui.openPanel('module/receiptNotice/receiptNotice');
+
     }
 
     /**