From 0fc28fc37c9dcc9bf32d142b454531d7f6ffb368 Mon Sep 17 00:00:00 2001 From: "guoqing.zhu" <1521292690@qq.com> Date: Sun, 5 Jun 2022 16:29:25 +0800 Subject: [PATCH] update --- assets/res/prefabs/NUI/UINWantedSend.prefab | 81 +- assets/res/prefabs/NUI/UINewWanted.prefab | 2051 +++++++------------ assets/scripts/UI/task/mission_choose.js | 32 +- assets/scripts/UI/task/singleWanted.js | 37 +- assets/scripts/manages/NetManage.js | 10 + 5 files changed, 828 insertions(+), 1383 deletions(-) diff --git a/assets/res/prefabs/NUI/UINWantedSend.prefab b/assets/res/prefabs/NUI/UINWantedSend.prefab index a9b8e366..a4cf6a95 100644 --- a/assets/res/prefabs/NUI/UINWantedSend.prefab +++ b/assets/res/prefabs/NUI/UINWantedSend.prefab @@ -17286,7 +17286,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 403, + "width": 201, "height": 200 }, "_anchorPoint": { @@ -17365,7 +17365,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": -151.5, + "x": -50.5, "y": -140, "z": 0 }, @@ -17417,7 +17417,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111.23, + "width": 22.25, "height": 40 }, "_anchorPoint": { @@ -17460,8 +17460,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", + "_string": "0", + "_N$string": "0", "_fontSize": 40, "_lineHeight": 40, "_enableWrapText": true, @@ -17515,8 +17515,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 77, - "height": 77 + "width": 41, + "height": 47 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17531,8 +17531,8 @@ }, "_scale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 1.64, + "y": 1.64, "z": 1 }, "_rotationX": 0, @@ -17560,7 +17560,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" + "__uuid__": "67b84c36-b7fd-4c7f-8466-7d2dd606d3c4" }, "_type": 0, "_sizeMode": 1, @@ -17629,7 +17629,7 @@ }, { "__type__": "cc.Node", - "_name": "reward2", + "_name": "reward1 copy", "_objFlags": 0, "_parent": { "__id__": 489 @@ -17672,7 +17672,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": -50.5, + "x": 50.5, "y": -140, "z": 0 }, @@ -17724,7 +17724,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111.23, + "width": 22.25, "height": 40 }, "_anchorPoint": { @@ -17767,8 +17767,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", + "_string": "0", + "_N$string": "0", "_fontSize": 40, "_lineHeight": 40, "_enableWrapText": true, @@ -17791,7 +17791,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "a6VG3gWRJFPIkqicW4/Ami", + "fileId": "65sbGQiohCrYb9MxFrd43F", "sync": false }, { @@ -17892,7 +17892,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "ee53hCv6NO2oUU13vtuska", + "fileId": "70BTDV0p9HhZx+uFXKD/gO", "sync": false }, { @@ -17931,12 +17931,12 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "16Pautou9IupBTKLGrIFoa", + "fileId": "0dGTLIyeFEo48WlJCEcZB2", "sync": false }, { "__type__": "cc.Node", - "_name": "reward3", + "_name": "reward1 copy", "_objFlags": 0, "_parent": { "__id__": 489 @@ -17949,7 +17949,7 @@ "__id__": 512 } ], - "_active": true, + "_active": false, "_level": 3, "_components": [ { @@ -18031,7 +18031,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111.23, + "width": 22.25, "height": 40 }, "_anchorPoint": { @@ -18074,8 +18074,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", + "_string": "0", + "_N$string": "0", "_fontSize": 40, "_lineHeight": 40, "_enableWrapText": true, @@ -18098,7 +18098,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "a5Yf+ilSlF+4hsgotdwelv", + "fileId": "cexq5TjjBNeK8eaKHUaLV4", "sync": false }, { @@ -18173,9 +18173,7 @@ "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" - }, + "_spriteFrame": null, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -18199,7 +18197,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "f7N8FJVnVHorLhoukoY/l3", + "fileId": "11f2nkGZ5M0YqpyNruLLkK", "sync": false }, { @@ -18238,12 +18236,12 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "85AcQc6ddJ+6xW+qONxDS1", + "fileId": "d9oKU2LexCyoUwkK/djI7K", "sync": false }, { "__type__": "cc.Node", - "_name": "reward4", + "_name": "reward1 copy", "_objFlags": 0, "_parent": { "__id__": 489 @@ -18256,7 +18254,7 @@ "__id__": 521 } ], - "_active": true, + "_active": false, "_level": 3, "_components": [ { @@ -18338,7 +18336,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111.23, + "width": 22.25, "height": 40 }, "_anchorPoint": { @@ -18381,8 +18379,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", + "_string": "0", + "_N$string": "0", "_fontSize": 40, "_lineHeight": 40, "_enableWrapText": true, @@ -18405,7 +18403,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "a4AqGXRjRFer7bjeA2l77d", + "fileId": "72XRF1MtJNTro/0ywwAwIC", "sync": false }, { @@ -18480,9 +18478,7 @@ "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" - }, + "_spriteFrame": null, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -18506,7 +18502,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "a5B+PwzIhA8563VhBoC7A7", + "fileId": "d0reXgPb5PxKgh6Atexaof", "sync": false }, { @@ -18545,7 +18541,7 @@ "asset": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, - "fileId": "d26U1kj1JPBolL7QpKIC/u", + "fileId": "18jD0m1L9EIqXO6ZJEU/Iy", "sync": false }, { @@ -18558,7 +18554,7 @@ "_enabled": true, "_layoutSize": { "__type__": "cc.Size", - "width": 403, + "width": 201, "height": 200 }, "_resize": 1, @@ -23880,6 +23876,9 @@ "gunlistNode": { "__id__": 181 }, + "rewardIcons": { + "__id__": 489 + }, "_id": "" }, { diff --git a/assets/res/prefabs/NUI/UINewWanted.prefab b/assets/res/prefabs/NUI/UINewWanted.prefab index 345c48e3..fc263e0e 100644 --- a/assets/res/prefabs/NUI/UINewWanted.prefab +++ b/assets/res/prefabs/NUI/UINewWanted.prefab @@ -29,27 +29,27 @@ "__id__": 26 }, { - "__id__": 65 + "__id__": 47 + }, + { + "__id__": 54 }, { "__id__": 72 }, { - "__id__": 90 - }, - { - "__id__": 103 + "__id__": 85 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 109 + "__id__": 91 } ], "_prefab": { - "__id__": 110 + "__id__": 92 }, "_opacity": 255, "_color": { @@ -934,23 +934,17 @@ }, { "__id__": 36 - }, - { - "__id__": 45 - }, - { - "__id__": 54 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 63 + "__id__": 45 } ], "_prefab": { - "__id__": 64 + "__id__": 46 }, "_opacity": 255, "_color": { @@ -962,7 +956,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 280, + "width": 160, "height": 200 }, "_anchorPoint": { @@ -1041,7 +1035,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": -90, + "x": -30, "y": -3, "z": 0 }, @@ -1093,7 +1087,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111.23, + "width": 22.25, "height": 40 }, "_anchorPoint": { @@ -1136,8 +1130,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", + "_string": "0", + "_N$string": "0", "_fontSize": 40, "_lineHeight": 40, "_enableWrapText": true, @@ -1191,8 +1185,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 77, - "height": 77 + "width": 41, + "height": 47 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1207,8 +1201,8 @@ }, "_scale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 1.72, + "y": 1.72, "z": 1 }, "_rotationX": 0, @@ -1236,7 +1230,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" + "__uuid__": "67b84c36-b7fd-4c7f-8466-7d2dd606d3c4" }, "_type": 0, "_sizeMode": 1, @@ -1305,7 +1299,7 @@ }, { "__type__": "cc.Node", - "_name": "reward2", + "_name": "reward1 copy", "_objFlags": 0, "_parent": { "__id__": 26 @@ -1348,7 +1342,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": -30, + "x": 30, "y": -3, "z": 0 }, @@ -1400,7 +1394,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111.23, + "width": 22.25, "height": 40 }, "_anchorPoint": { @@ -1443,8 +1437,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", + "_string": "0", + "_N$string": "0", "_fontSize": 40, "_lineHeight": 40, "_enableWrapText": true, @@ -1467,7 +1461,7 @@ "asset": { "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" }, - "fileId": "eaFK2Yg3RK9IJ/BK5qJkJJ", + "fileId": "77BgyPTJZBurWNOdl2LLb3", "sync": false }, { @@ -1568,7 +1562,7 @@ "asset": { "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" }, - "fileId": "78zh5pu0dBaItFPDkN/OvQ", + "fileId": "c8pboeFhhCua8PuvuBiNbV", "sync": false }, { @@ -1607,621 +1601,7 @@ "asset": { "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" }, - "fileId": "6emWl508xLfKulNs5pCxYy", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "reward3", - "_objFlags": 0, - "_parent": { - "__id__": 26 - }, - "_children": [ - { - "__id__": 46 - }, - { - "__id__": 49 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 52 - } - ], - "_prefab": { - "__id__": 53 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 30, - "y": -3, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "_parent": { - "__id__": 45 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 47 - } - ], - "_prefab": { - "__id__": 48 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 111.23, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -70, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 46 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "f5fxFGKQZNO5TR9MN0JAkW", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "reward_pic", - "_objFlags": 0, - "_parent": { - "__id__": 45 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 50 - } - ], - "_prefab": { - "__id__": 51 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 77, - "height": 77 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 49 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "b54C03qqxDgoZCQE07FoX8", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 45 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "4efd7cff-0cc8-4738-8374-3fcbb684fd03" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "59jcLcMEJKl6vJ2WisKouV", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "reward4", - "_objFlags": 0, - "_parent": { - "__id__": 26 - }, - "_children": [ - { - "__id__": 55 - }, - { - "__id__": 58 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 61 - } - ], - "_prefab": { - "__id__": 62 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 90, - "y": -3, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "_parent": { - "__id__": 54 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 56 - } - ], - "_prefab": { - "__id__": 57 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 111.23, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -70, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 55 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "65535", - "_N$string": "65535", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "abO6qU7f9FEYCco7r9z4Pu", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "reward_pic", - "_objFlags": 0, - "_parent": { - "__id__": 54 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 59 - } - ], - "_prefab": { - "__id__": 60 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 77, - "height": 77 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 58 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "62Uk/UnPFN4p1rtxGvmwxy", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 54 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "4efd7cff-0cc8-4738-8374-3fcbb684fd03" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "79MPuA+opE+L5hbUMwAiWf", + "fileId": "05Ib8gHWhDyb1DB3Iz3TjM", "sync": false }, { @@ -2234,7 +1614,7 @@ "_enabled": true, "_layoutSize": { "__type__": "cc.Size", - "width": 280, + "width": 160, "height": 200 }, "_resize": 1, @@ -2277,14 +1657,14 @@ }, "_children": [ { - "__id__": 66 + "__id__": 48 } ], "_active": false, "_level": 2, "_components": [], "_prefab": { - "__id__": 71 + "__id__": 53 }, "_opacity": 255, "_color": { @@ -2335,21 +1715,21 @@ "_name": "btn_send", "_objFlags": 0, "_parent": { - "__id__": 65 + "__id__": 47 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 67 + "__id__": 49 }, { - "__id__": 68 + "__id__": 50 } ], "_prefab": { - "__id__": 70 + "__id__": 52 }, "_opacity": 255, "_color": { @@ -2400,7 +1780,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 66 + "__id__": 48 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2428,14 +1808,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 66 + "__id__": 48 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 69 + "__id__": 51 } ], "_N$interactable": true, @@ -2534,20 +1914,20 @@ }, "_children": [ { - "__id__": 73 + "__id__": 55 }, { - "__id__": 78 + "__id__": 60 }, { - "__id__": 83 + "__id__": 65 } ], "_active": false, "_level": 2, "_components": [], "_prefab": { - "__id__": 89 + "__id__": 71 }, "_opacity": 255, "_color": { @@ -2598,21 +1978,21 @@ "_name": "btn_boost", "_objFlags": 0, "_parent": { - "__id__": 72 + "__id__": 54 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 74 + "__id__": 56 }, { - "__id__": 75 + "__id__": 57 } ], "_prefab": { - "__id__": 77 + "__id__": 59 }, "_opacity": 255, "_color": { @@ -2663,7 +2043,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 73 + "__id__": 55 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2686,6 +2066,653 @@ "_atlas": null, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 55 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 58 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "baad7KCZDlDH47+DhYodH8U", + "handler": "onClickBtn", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" + }, + "fileId": "022FjTwI5NJYo0tfYjInH8", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_cancel", + "_objFlags": 0, + "_parent": { + "__id__": 54 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 61 + }, + { + "__id__": 62 + } + ], + "_prefab": { + "__id__": 64 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 36, + "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 100, + "y": -70, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 60 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1ed531b5-5fd3-4b15-8abb-7bf53bd6d3c2" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 60 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 63 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "baad7KCZDlDH47+DhYodH8U", + "handler": "onCancelBtn", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" + }, + "fileId": "96qUxn6eREirmN+Ity/2nl", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "countdown_pic", + "_objFlags": 0, + "_parent": { + "__id__": 54 + }, + "_children": [ + { + "__id__": 66 + } + ], + "_active": false, + "_level": 3, + "_components": [ + { + "__id__": 69 + } + ], + "_prefab": { + "__id__": 70 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 16, + "height": 16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -100, + "y": -70, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "countdown_date", + "_objFlags": 0, + "_parent": { + "__id__": 65 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 67 + } + ], + "_prefab": { + "__id__": 68 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 216, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 177.95, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 55, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.4, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 66 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "999:99:99", + "_N$string": "999:99:99", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" + }, + "fileId": "80eDfDuclBJp4q5n3iGwM5", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 65 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ef39853a-9304-46ff-a2c6-18306f91d7ea" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" + }, + "fileId": "1bPpKpPHVGVapiMXRl84da", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" + }, + "fileId": "34+dQn6j9EppBUS2kaIfl0", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "Receive", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 73 + }, + { + "__id__": 78 + } + ], + "_active": false, + "_level": 2, + "_components": [], + "_prefab": { + "__id__": 84 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.73, + "y": 0.73, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "btn_receive", + "_objFlags": 0, + "_parent": { + "__id__": 72 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 74 + }, + { + "__id__": 75 + } + ], + "_prefab": { + "__id__": 77 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 98, + "height": 37 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 70, + "y": -70, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 73 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "91db7bb1-a769-41f2-b8b5-42d29612f207" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, { "__type__": "cc.Button", "_name": "", @@ -2766,653 +2793,6 @@ "handler": "onClickBtn", "customEventData": "" }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "022FjTwI5NJYo0tfYjInH8", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btn_cancel", - "_objFlags": 0, - "_parent": { - "__id__": 72 - }, - "_children": [], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 79 - }, - { - "__id__": 80 - } - ], - "_prefab": { - "__id__": 82 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 36, - "height": 28 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 100, - "y": -70, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 78 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "1ed531b5-5fd3-4b15-8abb-7bf53bd6d3c2" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 78 - }, - "_enabled": true, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 81 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_N$hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": null, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "baad7KCZDlDH47+DhYodH8U", - "handler": "onCancelBtn", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "96qUxn6eREirmN+Ity/2nl", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "countdown_pic", - "_objFlags": 0, - "_parent": { - "__id__": 72 - }, - "_children": [ - { - "__id__": 84 - } - ], - "_active": false, - "_level": 3, - "_components": [ - { - "__id__": 87 - } - ], - "_prefab": { - "__id__": 88 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 16, - "height": 16 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -100, - "y": -70, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "countdown_date", - "_objFlags": 0, - "_parent": { - "__id__": 83 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 85 - } - ], - "_prefab": { - "__id__": 86 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 216, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 177.95, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 55, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.4, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 84 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "999:99:99", - "_N$string": "999:99:99", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "80eDfDuclBJp4q5n3iGwM5", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 83 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "ef39853a-9304-46ff-a2c6-18306f91d7ea" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "1bPpKpPHVGVapiMXRl84da", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "61e3496b-fe21-4785-b932-e3da498070cd" - }, - "fileId": "34+dQn6j9EppBUS2kaIfl0", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "Receive", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 91 - }, - { - "__id__": 96 - } - ], - "_active": false, - "_level": 2, - "_components": [], - "_prefab": { - "__id__": 102 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.73, - "y": 0.73, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "btn_receive", - "_objFlags": 0, - "_parent": { - "__id__": 90 - }, - "_children": [], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 92 - }, - { - "__id__": 93 - } - ], - "_prefab": { - "__id__": 95 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 98, - "height": 37 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 70, - "y": -70, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 91 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "91db7bb1-a769-41f2-b8b5-42d29612f207" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 91 - }, - "_enabled": true, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 94 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_N$hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": null, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "baad7KCZDlDH47+DhYodH8U", - "handler": "onClickBtn", - "customEventData": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -3429,22 +2809,22 @@ "_name": "countdown_pic", "_objFlags": 0, "_parent": { - "__id__": 90 + "__id__": 72 }, "_children": [ { - "__id__": 97 + "__id__": 79 } ], "_active": false, "_level": 3, "_components": [ { - "__id__": 100 + "__id__": 82 } ], "_prefab": { - "__id__": 101 + "__id__": 83 }, "_opacity": 255, "_color": { @@ -3495,18 +2875,18 @@ "_name": "countdown_date", "_objFlags": 0, "_parent": { - "__id__": 96 + "__id__": 78 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 98 + "__id__": 80 } ], "_prefab": { - "__id__": 99 + "__id__": 81 }, "_opacity": 255, "_color": { @@ -3557,7 +2937,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 97 + "__id__": 79 }, "_enabled": true, "_useOriginalSize": false, @@ -3593,7 +2973,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 96 + "__id__": 78 }, "_enabled": true, "_srcBlendFactor": 770, @@ -3647,18 +3027,18 @@ }, "_children": [ { - "__id__": 104 + "__id__": 86 } ], "_active": false, "_level": 2, "_components": [ { - "__id__": 107 + "__id__": 89 } ], "_prefab": { - "__id__": 108 + "__id__": 90 }, "_opacity": 255, "_color": { @@ -3709,18 +3089,18 @@ "_name": "countdown_date", "_objFlags": 0, "_parent": { - "__id__": 103 + "__id__": 85 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 105 + "__id__": 87 } ], "_prefab": { - "__id__": 106 + "__id__": 88 }, "_opacity": 255, "_color": { @@ -3771,7 +3151,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 104 + "__id__": 86 }, "_enabled": true, "_useOriginalSize": false, @@ -3807,7 +3187,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 103 + "__id__": 85 }, "_enabled": true, "_srcBlendFactor": 770, @@ -3852,20 +3232,23 @@ "title": { "__id__": 6 }, + "allRewardNode": { + "__id__": 26 + }, "missionPrefab": { "__uuid__": "50305022-201d-4628-a25f-9cfd5c8a6910" }, "lb_time": { - "__id__": 105 + "__id__": 87 }, "getNode": { - "__id__": 65 + "__id__": 47 }, "receiveNode": { - "__id__": 90 + "__id__": 72 }, "boostNode": { - "__id__": 72 + "__id__": 54 }, "_id": "" }, diff --git a/assets/scripts/UI/task/mission_choose.js b/assets/scripts/UI/task/mission_choose.js index 58f830d1..7ed9dc27 100644 --- a/assets/scripts/UI/task/mission_choose.js +++ b/assets/scripts/UI/task/mission_choose.js @@ -1,10 +1,10 @@ const { - playerConfig, - itemConfig, - dropItemConfig, + dropConfig, + all_ItemConfig, } = require('../../game/gameConfig'); const NetManage = require('../../manages/NetManage'); const { type } = require('../../netBattle/net/proto/bytebuffer'); +var Utils = require("Utils") cc.Class({ extends: cc.Component, @@ -40,6 +40,10 @@ cc.Class({ type:cc.Node }, + rewardIcons:{ + default:null, + type:cc.Node + } // needNode: { // default: null, @@ -56,6 +60,9 @@ cc.Class({ this.allChooseHero.length = 10; this.missionData = data; + + this.setRewards(data.reward) + // this.currentBtn = 0; // this.allChoose.length = 5; @@ -84,6 +91,25 @@ cc.Class({ // } }, + setRewards(string){ + var config = dropConfig[string] + var rewards = config.itemdata + // console.log(`reward---${JSON.stringify(rewards)}`) + + for(let i=0;i{ + + }) }, formatSeconds(value) { @@ -118,4 +123,26 @@ cc.Class({ this.node.destroy(); } }, + + start(){ + this.setRewards(this.wantedData.reward) + }, + + + setRewards(string){ + + var config = dropConfig[string] + var rewards = config.itemdata + + for(let i=0;i