From fc6e89939d80f8f9fd42d05d4df87dec0d45805d Mon Sep 17 00:00:00 2001 From: TJH Date: Tue, 14 Oct 2025 17:29:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8F=92=E5=B1=8F=EF=BC=8C?= =?UTF-8?q?=E5=B0=8F=E6=B8=B8=E6=88=8F=E8=B5=A0=E9=80=81=E7=9A=84bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/prefabs/SlotScene.prefab | 132 +++++++++++++------------- assets/Game/scripts/game/SysGift.ts | 14 +-- settings/v2/packages/builder.json | 7 +- settings/v2/packages/information.json | 2 +- 4 files changed, 80 insertions(+), 75 deletions(-) diff --git a/assets/Game/prefabs/SlotScene.prefab b/assets/Game/prefabs/SlotScene.prefab index e1c24f0..50ab49b 100644 --- a/assets/Game/prefabs/SlotScene.prefab +++ b/assets/Game/prefabs/SlotScene.prefab @@ -2294,7 +2294,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "26had8uwBCY7Un8KiCBp97" + "fileId": "445R7qSWBJNr0pR0Qj7+eL" }, { "__type__": "cc.PrefabInfo", @@ -2304,7 +2304,7 @@ "asset": { "__id__": 0 }, - "fileId": "92eOO3YpFPOrKNXP8qi5nS", + "fileId": "4auNRBdGZMbbXSRSy5hL+o", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2335,7 +2335,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a03hV7PQZAP6iOrNuq1aRw" + "fileId": "99cxUj4LNB95vAnnS6OOt4" }, { "__type__": "cc.PrefabInfo", @@ -2345,7 +2345,7 @@ "asset": { "__id__": 0 }, - "fileId": "e4f8dI8ktJdqkh3t5O7OHw", + "fileId": "8bd5yXcIFE4IrOqsO7/ZED", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2376,7 +2376,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "33M9X9+mNGvof3elTwUq0C" + "fileId": "71hS1EIFdFQpdEx0IiLUPv" }, { "__type__": "5fc10Zl7lVO97/rr2J1uxWH", @@ -2400,7 +2400,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e17ByfuKlCKbvhSDYWEKRQ" + "fileId": "8fpdXcUm1CQ7e2uuPoZyjD" }, { "__type__": "5fd13+Xa69CZogb3Q/F1lnC", @@ -2573,7 +2573,7 @@ "asset": { "__id__": 0 }, - "fileId": "da78irJZVIPLfVbQRVZpSp", + "fileId": "04MP+gflFB/ZjovExmYre7", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2598,7 +2598,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "afaBABNs1I/Lnwajl3ZAa3" + "fileId": "36ftYpPh1DAJjjVMYL83EM" }, { "__type__": "cc.UITransform", @@ -2626,7 +2626,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "655t+kLgZD+5zNsjcPnRjm" + "fileId": "2aRveeVX9JZphcldspiCz1" }, { "__type__": "cc.Sprite", @@ -2671,7 +2671,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2d86AhBVZBaog/ym0jgE9O" + "fileId": "8b2Bj9Br1KRq+tdYUdUTNH" }, { "__type__": "cc.PrefabInfo", @@ -2681,7 +2681,7 @@ "asset": { "__id__": 0 }, - "fileId": "158v9ZDdRKHJhsaOszNQFA", + "fileId": "28sBje609AH7yusMWLXmbR", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2936,7 +2936,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "7f0a5CjwFANK4LTvDfUI1U" + "fileId": "c07u518x1Ozbo/BPz+nVdp" }, { "__type__": "cc.PrefabInfo", @@ -2946,7 +2946,7 @@ "asset": { "__id__": 0 }, - "fileId": "39D/A4xEFI5pZ5FXQtMTHf", + "fileId": "1eU47winNBuoPlh8nW4kOh", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2977,7 +2977,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "ebXKEqbs5GwLe9JXahJg4O" + "fileId": "14tnL8nU1M4pMpPaRtzdJM" }, { "__type__": "cc.PrefabInfo", @@ -2987,7 +2987,7 @@ "asset": { "__id__": 0 }, - "fileId": "bfAmytJxNJNZAKe6JxASoN", + "fileId": "99C9T581VKQpPDJyFIr2sO", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3018,7 +3018,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "87eCZ5TlFD2YD3QJOeatjH" + "fileId": "e1JPhuh69MmqtRY4KgS/xd" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3042,7 +3042,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "faI+b0XudEbrbD5GACJ1jn" + "fileId": "644Y31HQ9FrohiNiSz2WvJ" }, { "__type__": "cc.PrefabInfo", @@ -3052,7 +3052,7 @@ "asset": { "__id__": 0 }, - "fileId": "f4TBUuBLpPm7XeRUMnpWm9", + "fileId": "f1pTWm4rdA3Y5JQRNcZhQ7", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3235,7 +3235,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "32FzHUlD1EMZM0ovqMOGf+" + "fileId": "0arqOZLS9Gf6pridvyA6ti" }, { "__type__": "cc.PrefabInfo", @@ -3245,7 +3245,7 @@ "asset": { "__id__": 0 }, - "fileId": "84y54QwtVOppOdvnxPo+9i", + "fileId": "cdJTYDw8JBEalRtZz5EUum", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3276,7 +3276,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a6hTp9lWVALJUAp05NPJ42" + "fileId": "0blVHAii9A4ZHhwJDXGL02" }, { "__type__": "cc.PrefabInfo", @@ -3286,7 +3286,7 @@ "asset": { "__id__": 0 }, - "fileId": "6cuC88YqJNaKzpyIvdzGXS", + "fileId": "681VAWKBpGw6Hhjybhmg/j", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3317,7 +3317,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a27PmupzxJQr3B1nYH4dwO" + "fileId": "f3mzFoVZxMX7t990oY2l+I" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3341,7 +3341,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e04G8zjuVAyKVn+XlEP0Vp" + "fileId": "f4l/WRyAlFpKCKw/zbD8sm" }, { "__type__": "cc.PrefabInfo", @@ -3351,7 +3351,7 @@ "asset": { "__id__": 0 }, - "fileId": "03iUMTOr1MKKPndiyILLpu", + "fileId": "f7HSzFuFZOL6a0p/J+1rHv", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3534,7 +3534,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "48LJoT77FKdYGSUA2E4tdp" + "fileId": "2fY+I4ZTlJer6m+VtcMnsQ" }, { "__type__": "cc.PrefabInfo", @@ -3544,7 +3544,7 @@ "asset": { "__id__": 0 }, - "fileId": "ad1r262dRDWJwk+uL+EwEn", + "fileId": "33cgZoDmNEfa0soLDp5LLA", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3575,7 +3575,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e6KJ+CvSlDHJ0nXMV0CfbM" + "fileId": "a9JkQx5AZIlpGQluqp49U7" }, { "__type__": "cc.PrefabInfo", @@ -3585,7 +3585,7 @@ "asset": { "__id__": 0 }, - "fileId": "de1H8ypT9KYZf1I/eqEvkI", + "fileId": "91maWuqx1H3a5IinpAerju", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3616,7 +3616,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "371wCIeqxIqazmoahR8nYX" + "fileId": "ffGJo8dxFAdZDIm4nBQOl3" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3640,7 +3640,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "12Yqnx5R9CYIVnxZV4KOQd" + "fileId": "3d0azgMOJCj53YjWa8ahBc" }, { "__type__": "cc.PrefabInfo", @@ -3650,7 +3650,7 @@ "asset": { "__id__": 0 }, - "fileId": "30uQeGkQ1CRo/tuItz9z/t", + "fileId": "88m3md2cJIUrTxzAxPXk5f", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3833,7 +3833,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "dei0YPu3JHg5Cr/byl8ZVB" + "fileId": "ff34Qo9vxM744Pu+dBfTrM" }, { "__type__": "cc.PrefabInfo", @@ -3843,7 +3843,7 @@ "asset": { "__id__": 0 }, - "fileId": "91eoeLXLNDrYr1ung1OoVw", + "fileId": "39ATfMjCBLcJS+Qop1a28g", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3874,7 +3874,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "1fvFb+jIdPx4VvztTqQyJf" + "fileId": "e46vpYfsxB6ImjZovtUPvN" }, { "__type__": "cc.PrefabInfo", @@ -3884,7 +3884,7 @@ "asset": { "__id__": 0 }, - "fileId": "68YV+pIVlHMrh8cBtp2+ok", + "fileId": "b5XmZUpytPEpIaGhem1ip6", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3915,7 +3915,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3coh0LDxpGk5XEyKI539U2" + "fileId": "a9jcv47SpOEI5DgggJzndJ" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3939,7 +3939,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "8aWZIhxRpCX6hII6gQgegV" + "fileId": "c6IfXegGhCBY7fcg4ku8w7" }, { "__type__": "cc.PrefabInfo", @@ -3949,7 +3949,7 @@ "asset": { "__id__": 0 }, - "fileId": "05d19eul9FkoGcN6A1VTAC", + "fileId": "73syZt3XRMFY7fqoqKy0oU", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4132,7 +4132,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4aY86GOQtD9ZVd3ZXPPar+" + "fileId": "d2KmfvYFpPIr06f9e07447" }, { "__type__": "cc.PrefabInfo", @@ -4142,7 +4142,7 @@ "asset": { "__id__": 0 }, - "fileId": "4dM7kjF4tBMISXXkT0TFds", + "fileId": "daCC97a/xNlY9//Kf2lRRN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4173,7 +4173,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "27FoP3BkhKFrAsU4UN90Ui" + "fileId": "85FvRh8eBH868Fo/VTAOqc" }, { "__type__": "cc.PrefabInfo", @@ -4183,7 +4183,7 @@ "asset": { "__id__": 0 }, - "fileId": "aff4iKAuJMcZEQmrWCqubf", + "fileId": "1fjcECmilDb5t9eWsxcGax", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4214,7 +4214,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4eSXvtkclPE5wBkPgYdw4k" + "fileId": "beMd5anEJKNJF8JXiRfREB" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4238,7 +4238,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3cF8zPY3JMJKCCSfeLNN4U" + "fileId": "70DTQ2KZ5EI5tjP5vVOZem" }, { "__type__": "cc.PrefabInfo", @@ -4248,7 +4248,7 @@ "asset": { "__id__": 0 }, - "fileId": "85kBkJ4lZMCZ+kq1AIHIBy", + "fileId": "55lJgP7x1Ho4LcAfes7xI+", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4431,7 +4431,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "05M1Jlrv5O9a31IKW2R+Lu" + "fileId": "9cAm9bA2BHWaNmNu59qTL1" }, { "__type__": "cc.PrefabInfo", @@ -4441,7 +4441,7 @@ "asset": { "__id__": 0 }, - "fileId": "91gu/RytNNmIdoY0fQt4qb", + "fileId": "59J12b2/1CopPTWkIzB2uc", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4472,7 +4472,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "15vHUbNwBLjqwKoPFZ9sSn" + "fileId": "5fUu+8oX9PWZx+GOJqhbzE" }, { "__type__": "cc.PrefabInfo", @@ -4482,7 +4482,7 @@ "asset": { "__id__": 0 }, - "fileId": "8fYK9ViEJEepHzG5aJdfyF", + "fileId": "96c7JMMW1HnJLItdY2VxfF", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4513,7 +4513,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c6LRNTuWFN3ZS5BMnMtXoH" + "fileId": "bfzJAAm+dEErMfhJG32gNR" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4537,7 +4537,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6bUnH9CclLfoXIdOsjRn45" + "fileId": "22doftOedIaYB0U3hBEoC/" }, { "__type__": "cc.PrefabInfo", @@ -4547,7 +4547,7 @@ "asset": { "__id__": 0 }, - "fileId": "21eCp2k5dBCIYn3sCbF7TJ", + "fileId": "42j8fgNO5Ljq5AIrqy2g9k", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4572,7 +4572,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "67uqYscHxNyp+TiiSMZFzD" + "fileId": "e57V6Td89H+4GvHEk35WHh" }, { "__type__": "cc.UITransform", @@ -4600,7 +4600,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "cf/ElkFLhOdoOTURD1CISD" + "fileId": "54sa8O8X9Dc4Zpckcg2nIJ" }, { "__type__": "cc.Sprite", @@ -4645,7 +4645,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c2xSvKvVhD27yjycw3CMco" + "fileId": "052+ak1URI97kVNVfnTbhA" }, { "__type__": "cc.PrefabInfo", @@ -4655,7 +4655,7 @@ "asset": { "__id__": 0 }, - "fileId": "c4JHoecMBKLL6Ojfk5CyXi", + "fileId": "9cm2xYvkJK6omRJQHeVtJB", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -12292,7 +12292,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -22295,7 +22295,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -22460,7 +22460,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -22655,7 +22655,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -22807,7 +22807,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -22959,7 +22959,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -23111,7 +23111,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -28587,7 +28587,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -28691,7 +28691,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1919.9999999999998 + "height": 1920 }, "_anchorPoint": { "__type__": "cc.Vec2", diff --git a/assets/Game/scripts/game/SysGift.ts b/assets/Game/scripts/game/SysGift.ts index 0eda00c..31bdf44 100644 --- a/assets/Game/scripts/game/SysGift.ts +++ b/assets/Game/scripts/game/SysGift.ts @@ -28,6 +28,10 @@ export class SysGift extends Component { onLoad(): void { this.hideAll(); + + let sp_win = this.info.getChildByName("sysgift_win"); + let scale = 116 / sp_win.getComponent(Sprite).spriteFrame.width; + sp_win.setScale(scale, scale, scale); } hideAll() { @@ -45,16 +49,11 @@ export class SysGift extends Component { if (!frb) return; let txt_spin_num = this.info.getChildByName("count") - txt_spin_num.getComponent(Label).string = (frb.Ongoing.Frn.toLocaleString()) + txt_spin_num.getComponent(Label).string = frb.Ongoing.Frn.toLocaleString() - let sp_win = this.info.getChildByName("sysgift_win") + // let sp_win = this.info.getChildByName("sysgift_win") let txt_win = this.info.getChildByName("win") - sp_win.getComponent(LocalizedSprite).fetchRender(); - let scale = 116 / sp_win.getComponent(Sprite).spriteFrame.width; - sp_win.setScale(scale, scale, scale); - - let num = Math.round(frb.Ongoing.Fra * 100 + 1e-6) / 100; txt_win.getComponent(Label).string = num.toLocaleString('en-US', { minimumFractionDigits: 2, @@ -67,6 +66,7 @@ export class SysGift extends Component { } onClickConfirm() { + GameDataManager.instance.frb.Finished = null; this.hide(this.settle); this.node.emit(SYS_GIFT.SETTLE_CONTINUE); } diff --git a/settings/v2/packages/builder.json b/settings/v2/packages/builder.json index 7526e40..3fb9771 100644 --- a/settings/v2/packages/builder.json +++ b/settings/v2/packages/builder.json @@ -1,3 +1,8 @@ { - "__version__": "1.3.9" + "__version__": "1.3.9", + "splash-setting": { + "logo": { + "type": "none" + } + } } diff --git a/settings/v2/packages/information.json b/settings/v2/packages/information.json index 76e8ad7..fb4a3ca 100644 --- a/settings/v2/packages/information.json +++ b/settings/v2/packages/information.json @@ -6,7 +6,7 @@ "label": "customSplash", "enable": true, "customSplash": { - "complete": false, + "complete": true, "form": "https://creator-api.cocos.com/api/form/show?sid=571ede397bfe249c5b5fb193d6022644" } },