diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab index 65e4e441..6d00955f 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab @@ -25,32 +25,26 @@ "__id__": 10 }, { - "__id__": 104 + "__id__": 125 }, { - "__id__": 198 - }, - { - "__id__": 217 - }, - { - "__id__": 232 + "__id__": 219 } ], "_active": true, "_components": [ { - "__id__": 247 + "__id__": 238 }, { - "__id__": 249 + "__id__": 240 }, { - "__id__": 251 + "__id__": 242 } ], "_prefab": { - "__id__": 253 + "__id__": 244 }, "_lpos": { "__type__": "cc.Vec3", @@ -282,19 +276,22 @@ }, { "__id__": 82 - } - ], - "_active": true, - "_components": [ - { - "__id__": 99 }, { "__id__": 101 } ], + "_active": true, + "_components": [ + { + "__id__": 120 + }, + { + "__id__": 122 + } + ], "_prefab": { - "__id__": 103 + "__id__": 124 }, "_lpos": { "__type__": "cc.Vec3", @@ -1587,9 +1584,6 @@ ], "_active": true, "_components": [ - { - "__id__": 89 - }, { "__id__": 91 }, @@ -1597,11 +1591,14 @@ "__id__": 93 }, { - "__id__": 96 + "__id__": 95 + }, + { + "__id__": 98 } ], "_prefab": { - "__id__": 98 + "__id__": 100 }, "_lpos": { "__type__": "cc.Vec3", @@ -1648,10 +1645,13 @@ }, { "__id__": 86 + }, + { + "__id__": 88 } ], "_prefab": { - "__id__": 88 + "__id__": 90 }, "_lpos": { "__type__": "cc.Vec3", @@ -1727,9 +1727,9 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_string": "下一关", @@ -1745,7 +1745,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": false, + "_isBold": true, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -1755,6 +1755,32 @@ "__type__": "cc.CompPrefabInfo", "fileId": "b0SEZOjSBFoam0g02qh+Di" }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "78/T5uOxxBN6cMaHB2G8JI" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -1778,7 +1804,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 90 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", @@ -1806,7 +1832,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 94 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1851,11 +1877,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 94 + "__id__": 96 }, "clickEvents": [ { - "__id__": 95 + "__id__": 97 } ], "_interactable": true, @@ -1935,7 +1961,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 97 + "__id__": 99 }, "_alignFlags": 1, "_target": null, @@ -1974,6 +2000,437 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Button-003", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [ + { + "__id__": 102 + } + ], + "_active": true, + "_components": [ + { + "__id__": 110 + }, + { + "__id__": 112 + }, + { + "__id__": 114 + }, + { + "__id__": 117 + } + ], + "_prefab": { + "__id__": 119 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 269.181, + "y": 520.668, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 101 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 103 + }, + { + "__id__": 105 + }, + { + "__id__": 107 + } + ], + "_prefab": { + "__id__": 109 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": { + "__id__": 104 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dcfTVhlZpBzrB95qtmh8bO" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": { + "__id__": 106 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "排行榜 ♛", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b9uVv0QZ5MGabzofNlcrqc" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": { + "__id__": 108 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "46UVIoXZ1KVLGPcyPwhoOL" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "22kA54dXpGM7b6L1MJWnit", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 101 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 140, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f4AKzKqQxJfasCwthfUDvW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 101 + }, + "_enabled": true, + "__prefab": { + "__id__": 113 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "32w4zruA5IW6lMXHXwW4gC" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 101 + }, + "_enabled": true, + "__prefab": { + "__id__": 115 + }, + "clickEvents": [ + { + "__id__": 116 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 101 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0fBEjbCNlOtr4PArnpMxPY" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "b51bfKvsidNPKBbFirAFgQI", + "handler": "onOpenOnHookRinking", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 101 + }, + "_enabled": true, + "__prefab": { + "__id__": 118 + }, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 24.332, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "56adH0G4tIHqLxGGhV+Lsn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "47EDseE2RJKpoIWVoTGNSh", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -1984,7 +2441,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 100 + "__id__": 121 }, "_contentSize": { "__type__": "cc.Size", @@ -2012,7 +2469,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 123 }, "_alignFlags": 45, "_target": null, @@ -2061,32 +2518,32 @@ }, "_children": [ { - "__id__": 105 + "__id__": 126 }, { - "__id__": 129 + "__id__": 150 }, { - "__id__": 143 + "__id__": 164 }, { - "__id__": 183 + "__id__": 204 } ], "_active": true, "_components": [ { - "__id__": 191 + "__id__": 212 }, { - "__id__": 193 + "__id__": 214 }, { - "__id__": 195 + "__id__": 216 } ], "_prefab": { - "__id__": 197 + "__id__": 218 }, "_lpos": { "__type__": "cc.Vec3", @@ -2121,17 +2578,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 104 + "__id__": 125 }, "_prefab": { - "__id__": 106 + "__id__": 127 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 105 + "__id__": 126 }, "asset": { "__uuid__": "a9053170-1055-4272-b3fd-ad6fa75b5f25", @@ -2139,7 +2596,7 @@ }, "fileId": "cfqtEvOKpHO7NzoHh8DAIM", "instance": { - "__id__": 107 + "__id__": 128 }, "targetOverrides": null }, @@ -2153,43 +2610,43 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 108 + "__id__": 129 }, { - "__id__": 110 + "__id__": 131 }, { - "__id__": 111 + "__id__": 132 }, { - "__id__": 112 + "__id__": 133 }, { - "__id__": 113 + "__id__": 134 }, { - "__id__": 115 + "__id__": 136 }, { - "__id__": 117 + "__id__": 138 }, { - "__id__": 119 + "__id__": 140 }, { - "__id__": 121 + "__id__": 142 }, { - "__id__": 123 + "__id__": 144 }, { - "__id__": 125 + "__id__": 146 }, { - "__id__": 127 + "__id__": 148 }, { - "__id__": 128 + "__id__": 149 } ], "removedComponents": [] @@ -2197,7 +2654,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 130 }, "propertyPath": [ "_name" @@ -2213,7 +2670,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 130 }, "propertyPath": [ "_lpos" @@ -2228,7 +2685,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 130 }, "propertyPath": [ "_lrot" @@ -2244,7 +2701,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 130 }, "propertyPath": [ "_euler" @@ -2259,7 +2716,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 114 + "__id__": 135 }, "propertyPath": [ "_right" @@ -2275,7 +2732,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 116 + "__id__": 137 }, "propertyPath": [ "_contentSize" @@ -2295,7 +2752,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 118 + "__id__": 139 }, "propertyPath": [ "_lpos" @@ -2316,7 +2773,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 120 + "__id__": 141 }, "propertyPath": [ "_contentSize" @@ -2336,7 +2793,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 122 + "__id__": 143 }, "propertyPath": [ "_contentSize" @@ -2356,7 +2813,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 124 + "__id__": 145 }, "propertyPath": [ "_lpos" @@ -2377,7 +2834,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 126 + "__id__": 147 }, "propertyPath": [ "_lpos" @@ -2398,7 +2855,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 114 + "__id__": 135 }, "propertyPath": [ "_alignFlags" @@ -2408,7 +2865,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 114 + "__id__": 135 }, "propertyPath": [ "_top" @@ -2421,24 +2878,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 125 }, "_children": [ { - "__id__": 130 + "__id__": 151 } ], "_active": true, "_components": [ { - "__id__": 138 + "__id__": 159 }, { - "__id__": 140 + "__id__": 161 } ], "_prefab": { - "__id__": 142 + "__id__": 163 }, "_lpos": { "__type__": "cc.Vec3", @@ -2473,17 +2930,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 129 + "__id__": 150 }, "_prefab": { - "__id__": 131 + "__id__": 152 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 130 + "__id__": 151 }, "asset": { "__uuid__": "9d7eeadb-58f6-4c42-aaed-bc402f272c84", @@ -2491,7 +2948,7 @@ }, "fileId": "a8T0NC/KpNY7MMbRkPRuwY", "instance": { - "__id__": 132 + "__id__": 153 }, "targetOverrides": null }, @@ -2505,16 +2962,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 133 + "__id__": 154 }, { - "__id__": 135 + "__id__": 156 }, { - "__id__": 136 + "__id__": 157 }, { - "__id__": 137 + "__id__": 158 } ], "removedComponents": [] @@ -2522,7 +2979,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 134 + "__id__": 155 }, "propertyPath": [ "_name" @@ -2538,7 +2995,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 134 + "__id__": 155 }, "propertyPath": [ "_lpos" @@ -2553,7 +3010,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 134 + "__id__": 155 }, "propertyPath": [ "_lrot" @@ -2569,7 +3026,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 134 + "__id__": 155 }, "propertyPath": [ "_euler" @@ -2587,11 +3044,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 129 + "__id__": 150 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 160 }, "_contentSize": { "__type__": "cc.Size", @@ -2615,11 +3072,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 129 + "__id__": 150 }, "_enabled": false, "__prefab": { - "__id__": 141 + "__id__": 162 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2673,27 +3130,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 125 }, "_children": [ { - "__id__": 144 + "__id__": 165 }, { - "__id__": 161 + "__id__": 182 } ], "_active": true, "_components": [ { - "__id__": 178 + "__id__": 199 }, { - "__id__": 180 + "__id__": 201 } ], "_prefab": { - "__id__": 182 + "__id__": 203 }, "_lpos": { "__type__": "cc.Vec3", @@ -2730,27 +3187,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 143 + "__id__": 164 }, "_children": [ { - "__id__": 145 + "__id__": 166 } ], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 174 }, { - "__id__": 155 + "__id__": 176 }, { - "__id__": 157 + "__id__": 178 } ], "_prefab": { - "__id__": 160 + "__id__": 181 }, "_lpos": { "__type__": "cc.Vec3", @@ -2787,23 +3244,23 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 144 + "__id__": 165 }, "_children": [], "_active": true, "_components": [ { - "__id__": 146 + "__id__": 167 }, { - "__id__": 148 + "__id__": 169 }, { - "__id__": 150 + "__id__": 171 } ], "_prefab": { - "__id__": 152 + "__id__": 173 }, "_lpos": { "__type__": "cc.Vec3", @@ -2840,11 +3297,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 145 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 147 + "__id__": 168 }, "_contentSize": { "__type__": "cc.Size", @@ -2868,11 +3325,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 145 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 149 + "__id__": 170 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2913,11 +3370,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 145 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 151 + "__id__": 172 }, "_color": { "__type__": "cc.Color", @@ -2952,11 +3409,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 175 }, "_contentSize": { "__type__": "cc.Size", @@ -2980,11 +3437,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 177 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3025,15 +3482,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 158 + "__id__": 179 }, "clickEvents": [ { - "__id__": 159 + "__id__": 180 } ], "_interactable": true, @@ -3085,7 +3542,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 144 + "__id__": 165 }, "_id": "" }, @@ -3122,27 +3579,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 143 + "__id__": 164 }, "_children": [ { - "__id__": 162 + "__id__": 183 } ], "_active": true, "_components": [ { - "__id__": 170 + "__id__": 191 }, { - "__id__": 172 + "__id__": 193 }, { - "__id__": 174 + "__id__": 195 } ], "_prefab": { - "__id__": 177 + "__id__": 198 }, "_lpos": { "__type__": "cc.Vec3", @@ -3179,23 +3636,23 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 161 + "__id__": 182 }, "_children": [], "_active": true, "_components": [ { - "__id__": 163 + "__id__": 184 }, { - "__id__": 165 + "__id__": 186 }, { - "__id__": 167 + "__id__": 188 } ], "_prefab": { - "__id__": 169 + "__id__": 190 }, "_lpos": { "__type__": "cc.Vec3", @@ -3232,11 +3689,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 164 + "__id__": 185 }, "_contentSize": { "__type__": "cc.Size", @@ -3260,11 +3717,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 166 + "__id__": 187 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3305,11 +3762,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 189 }, "_color": { "__type__": "cc.Color", @@ -3344,11 +3801,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 161 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 171 + "__id__": 192 }, "_contentSize": { "__type__": "cc.Size", @@ -3372,11 +3829,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 161 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 173 + "__id__": 194 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3417,15 +3874,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 161 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 175 + "__id__": 196 }, "clickEvents": [ { - "__id__": 176 + "__id__": 197 } ], "_interactable": true, @@ -3477,7 +3934,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 161 + "__id__": 182 }, "_id": "" }, @@ -3514,11 +3971,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 179 + "__id__": 200 }, "_contentSize": { "__type__": "cc.Size", @@ -3542,11 +3999,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 181 + "__id__": 202 }, "_resizeMode": 1, "_layoutType": 2, @@ -3593,23 +4050,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 125 }, "_children": [], "_active": true, "_components": [ { - "__id__": 184 + "__id__": 205 }, { - "__id__": 186 + "__id__": 207 }, { - "__id__": 188 + "__id__": 209 } ], "_prefab": { - "__id__": 190 + "__id__": 211 }, "_lpos": { "__type__": "cc.Vec3", @@ -3646,11 +4103,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 183 + "__id__": 204 }, "_enabled": true, "__prefab": { - "__id__": 185 + "__id__": 206 }, "_contentSize": { "__type__": "cc.Size", @@ -3674,11 +4131,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 183 + "__id__": 204 }, "_enabled": true, "__prefab": { - "__id__": 187 + "__id__": 208 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3719,11 +4176,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 183 + "__id__": 204 }, "_enabled": true, "__prefab": { - "__id__": 189 + "__id__": 210 }, "_color": { "__type__": "cc.Color", @@ -3758,11 +4215,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 125 }, "_enabled": true, "__prefab": { - "__id__": 192 + "__id__": 213 }, "_contentSize": { "__type__": "cc.Size", @@ -3786,11 +4243,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 125 }, "_enabled": true, "__prefab": { - "__id__": 194 + "__id__": 215 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3831,11 +4288,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 125 }, "_enabled": true, "__prefab": { - "__id__": 196 + "__id__": 217 }, "_alignFlags": 44, "_target": null, @@ -3884,26 +4341,26 @@ }, "_children": [ { - "__id__": 199 + "__id__": 220 } ], "_active": true, "_components": [ { - "__id__": 207 + "__id__": 228 }, { - "__id__": 209 + "__id__": 230 }, { - "__id__": 211 + "__id__": 232 }, { - "__id__": 213 + "__id__": 234 } ], "_prefab": { - "__id__": 216 + "__id__": 237 }, "_lpos": { "__type__": "cc.Vec3", @@ -3940,23 +4397,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 198 + "__id__": 219 }, "_children": [], "_active": true, "_components": [ { - "__id__": 200 + "__id__": 221 }, { - "__id__": 202 + "__id__": 223 }, { - "__id__": 204 + "__id__": 225 } ], "_prefab": { - "__id__": 206 + "__id__": 227 }, "_lpos": { "__type__": "cc.Vec3", @@ -3993,11 +4450,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 199 + "__id__": 220 }, "_enabled": true, "__prefab": { - "__id__": 201 + "__id__": 222 }, "_contentSize": { "__type__": "cc.Size", @@ -4021,11 +4478,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 199 + "__id__": 220 }, "_enabled": true, "__prefab": { - "__id__": 203 + "__id__": 224 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4066,11 +4523,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 199 + "__id__": 220 }, "_enabled": true, "__prefab": { - "__id__": 205 + "__id__": 226 }, "_color": { "__type__": "cc.Color", @@ -4105,11 +4562,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 219 }, "_enabled": true, "__prefab": { - "__id__": 208 + "__id__": 229 }, "_contentSize": { "__type__": "cc.Size", @@ -4133,11 +4590,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 219 }, "_enabled": true, "__prefab": { - "__id__": 210 + "__id__": 231 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4178,11 +4635,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 219 }, "_enabled": true, "__prefab": { - "__id__": 212 + "__id__": 233 }, "_alignFlags": 44, "_target": null, @@ -4214,15 +4671,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 219 }, "_enabled": true, "__prefab": { - "__id__": 214 + "__id__": 235 }, "clickEvents": [ { - "__id__": 215 + "__id__": 236 } ], "_interactable": true, @@ -4291,732 +4748,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "Button", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 218 - } - ], - "_active": true, - "_components": [ - { - "__id__": 224 - }, - { - "__id__": 226 - }, - { - "__id__": 228 - } - ], - "_prefab": { - "__id__": 231 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 279.236, - "y": 587.407, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 512, - "__editorExtras__": {}, - "_parent": { - "__id__": 217 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 219 - }, - { - "__id__": 221 - } - ], - "_prefab": { - "__id__": 223 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 218 - }, - "_enabled": true, - "__prefab": { - "__id__": 220 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "295FJgqrlID7+EM3GmajI1" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 218 - }, - "_enabled": true, - "__prefab": { - "__id__": 222 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "button", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 1, - "_enableWrapText": false, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d78KXR8/BE9IlqhJatmbX2" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "786qjkRnhJRpQ7Q9gAl6IV", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 217 - }, - "_enabled": true, - "__prefab": { - "__id__": 225 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "51h2LQ2vNMV4JpEi7g01aZ" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 217 - }, - "_enabled": true, - "__prefab": { - "__id__": 227 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d8rnA//K9Fn4rzLgVZZy5b" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 217 - }, - "_enabled": true, - "__prefab": { - "__id__": 229 - }, - "clickEvents": [ - { - "__id__": 230 - } - ], - "_interactable": true, - "_transition": 2, - "_normalColor": { - "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 255 - }, - "_hoverColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_pressedColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_normalSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_hoverSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_pressedSprite": { - "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_disabledSprite": { - "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 217 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "107xV2OVpNTor7W8en2vF7" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "b51bfKvsidNPKBbFirAFgQI", - "handler": "onOpenDemo", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "83fgzFEQJO+6c4/L3Y/adf", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Button-001", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 233 - } - ], - "_active": true, - "_components": [ - { - "__id__": 239 - }, - { - "__id__": 241 - }, - { - "__id__": 243 - } - ], - "_prefab": { - "__id__": 246 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 165.073, - "y": 587.407, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 512, - "__editorExtras__": {}, - "_parent": { - "__id__": 232 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 234 - }, - { - "__id__": 236 - } - ], - "_prefab": { - "__id__": 238 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 233 - }, - "_enabled": true, - "__prefab": { - "__id__": 235 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "edlBw6qthJVaj/Jw5F1VlJ" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 233 - }, - "_enabled": true, - "__prefab": { - "__id__": 237 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "button", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 1, - "_enableWrapText": false, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c2ch8VomJJI56sruDdgnhr" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "df48QMeDhBr65Sk2KF9u8/", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 232 - }, - "_enabled": true, - "__prefab": { - "__id__": 240 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "76rH/uJ59PB6JH7eExn9T+" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 232 - }, - "_enabled": true, - "__prefab": { - "__id__": 242 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "11YtsicrhDoaONMq1d7iEv" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 232 - }, - "_enabled": true, - "__prefab": { - "__id__": 244 - }, - "clickEvents": [ - { - "__id__": 245 - } - ], - "_interactable": true, - "_transition": 2, - "_normalColor": { - "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 255 - }, - "_hoverColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_pressedColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_normalSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_hoverSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_pressedSprite": { - "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_disabledSprite": { - "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 232 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "065+/ndM9NBJumAyXAxxgE" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "b51bfKvsidNPKBbFirAFgQI", - "handler": "onOpenOnHook", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "57lU3jCIBFmYBvRXLhkAzw", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.UITransform", "_name": "", @@ -5027,7 +4758,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 248 + "__id__": 239 }, "_contentSize": { "__type__": "cc.Size", @@ -5055,7 +4786,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 250 + "__id__": 241 }, "_alignFlags": 45, "_target": null, @@ -5091,7 +4822,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 252 + "__id__": 243 }, "mask": false, "maskOpcity": 80, @@ -5100,10 +4831,10 @@ "__id__": 28 }, "onHookLabel": { - "__id__": 148 + "__id__": 169 }, "nextLevelBtn": { - "__id__": 93 + "__id__": 95 }, "_id": "" }, @@ -5124,10 +4855,10 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 130 + "__id__": 151 }, { - "__id__": 105 + "__id__": 126 }, { "__id__": 71 diff --git a/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook.meta b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook.meta new file mode 100644 index 00000000..072f8a6f --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "9cba9069-da44-48a9-aba5-3c29cb53c065", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜.prefab b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜.prefab new file mode 100644 index 00000000..ace275aa --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜.prefab @@ -0,0 +1,1976 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "OnHook排行榜", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "OnHook排行榜", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 87 + }, + { + "__id__": 89 + }, + { + "__id__": 91 + }, + { + "__id__": 93 + } + ], + "_prefab": { + "__id__": 95 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 47 + }, + { + "__id__": 61 + } + ], + "_active": true, + "_components": [ + { + "__id__": 80 + }, + { + "__id__": 82 + }, + { + "__id__": 84 + } + ], + "_prefab": { + "__id__": 86 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "排行榜列表", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 42 + }, + { + "__id__": 44 + }, + { + "__id__": 37 + } + ], + "_prefab": { + "__id__": 46 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 200, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + }, + { + "__id__": 19 + } + ], + "_prefab": { + "__id__": 21 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 440, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 4 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 12 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 20 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e1Epe/rZxASqiUr+3ylZEN" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 10, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 20, + "_spacingX": 8, + "_spacingY": 20, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d3FLCFmeNBVJs80ot4lRPe" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_alignFlags": 40, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 220, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d2OuX6VilEQoXXbWQGfx94" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "beaH2zjJtDC6NXe9ukuslR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 880 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cadS+UKOBN26jr13f00gH7" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0e4D4FmcJPsJh8/7pkxnKv" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 1, + "_strokeColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_miterLimit": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8o+Ph7ItOWboIqERbzrqU" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "36DjiRVR5GvZ3mtwi+vA1T" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e9GXPJmOZJbLlMiL6n3jQs", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 23 + } + ], + "_active": true, + "_components": [ + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 360, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -31.25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 156.25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "32ZC2ltvNO2o7E5yeI3chL" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0OgsTrmZFgJHEbm7ulfb6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4cT9+tm9tFqox0sD/Rgb9c", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 880 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dptOpx4VMhr0EqHngToX9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "57rOUI82xP5JxtvCRV8zw9" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "73f0WBep5GR4EID2J4R2Ba" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_scrollView": { + "__id__": 37 + }, + "_handle": { + "__id__": 26 + }, + "_direction": 1, + "_enableAutoHide": true, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "76aKOY799N8IJT4+mrh3Hq" + }, + { + "__type__": "563f2c1JcVKmrpHhC0vl3PI", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 5 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 35 + }, + "itemPrefab": { + "__uuid__": "293353b4-edba-4914-8182-bead1548dc57", + "__expectedType__": "cc.Prefab" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4UtvSi3xM2q+DOtiPiaAj" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f8Jn8S5NxHC4/a63t+msJ6", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 880 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9z2M/DjdFYIEdCxJRJmbK" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 43 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43w3/F4M9PToRISHL+WApn" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 400, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "97A3T5orJEuJpXfnY9hsw4" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "caeGtjwmhME5P5SFfvb1wK", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_prefab": { + "__id__": 48 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 47 + }, + "asset": { + "__uuid__": "293353b4-edba-4914-8182-bead1548dc57", + "__expectedType__": "cc.Prefab" + }, + "fileId": "43rsGIRw5KCrVPpMPUma9c", + "instance": { + "__id__": 49 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "cfUP289CVNbIgwzmVk80Py", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [ + { + "__id__": 50 + } + ], + "propertyOverrides": [ + { + "__id__": 54 + }, + { + "__id__": 56 + }, + { + "__id__": 57 + }, + { + "__id__": 58 + }, + { + "__id__": 59 + } + ], + "removedComponents": [] + }, + { + "__type__": "cc.MountedComponentsInfo", + "targetInfo": { + "__id__": 51 + }, + "components": [ + { + "__id__": 52 + } + ] + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "43rsGIRw5KCrVPpMPUma9c" + ] + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 47 + } + }, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_alignFlags": 4, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 209.31799999999998, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "32BnVQwPRHC4j4q9rf3dzo" + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_name" + ], + "value": "OnHook排行榜节点" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "43rsGIRw5KCrVPpMPUma9c" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -355.682, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 60 + }, + "propertyPath": [ + "_color" + ], + "value": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "ff4kiM0zJEWo5aejn8NX1c" + ] + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 62 + } + ], + "_active": true, + "_components": [ + { + "__id__": 70 + }, + { + "__id__": 72 + }, + { + "__id__": 74 + }, + { + "__id__": 77 + } + ], + "_prefab": { + "__id__": 79 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -530, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 61 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 63 + }, + { + "__id__": 65 + }, + { + "__id__": 67 + } + ], + "_prefab": { + "__id__": 69 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 64 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1cMpciVeFG95kL8zzMj1fO" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "关闭", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9F94xOZFBZqe5WCEEpqZG" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 4, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b3aoAS9hlB9Igl6OdyRwtF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "05qulMfHREcbNMTPaRC5pf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": { + "__id__": 71 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 140, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3pFblJbpOoIpI1z38vife" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "adPExZ621BDIpeU7p4jFjt" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": { + "__id__": 75 + }, + "clickEvents": [ + { + "__id__": 76 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 61 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0h3N8tJdCtK9s/rLQSz24" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "7eb7cCuUd1DfaN/gN/Pz8fS", + "handler": "close", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": { + "__id__": 78 + }, + "_alignFlags": 4, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 50, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d70QwD5K9EB7oFKlhZ1My2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "99m6Ed0KhHB6hDLqxzrHVi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "04pgQlL75PYrzbOMFIuHtr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 83 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "40FlN9EydFMbscg4h7gMlk" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6bCBog0gBLrYdmSKs8qasN" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aeJTQB9slAWbnvdL7zQNK5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dgJxmIH5HIpXD6y0/xMwI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 90 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "582zBz6m5DKqmkTkiS/LE0" + }, + { + "__type__": "7eb7cCuUd1DfaN/gN/Pz8fS", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 92 + }, + "mask": false, + "maskOpcity": 80, + "isClickMaskeClose": false, + "rankings": { + "__id__": 37 + }, + "myItem": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a24R5DdHBBYo0beOqAqAL/" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6f+eR9mclPJqxgYExWThRa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08xLpDDa9NlK3pgR7XiOqb", + "instance": null, + "targetOverrides": [ + { + "__id__": 96 + } + ], + "nestedPrefabInstanceRoots": [ + { + "__id__": 47 + } + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 91 + }, + "sourceInfo": null, + "propertyPath": [ + "myItem" + ], + "target": { + "__id__": 47 + }, + "targetInfo": { + "__id__": 97 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "3etbBUsxlK4aAUKb5tspLa" + ] + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜.prefab.meta new file mode 100644 index 00000000..61554b04 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "96d65d45-9df6-4b13-8253-d740249f2ae4", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "OnHook排行榜" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜节点.prefab b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜节点.prefab new file mode 100644 index 00000000..c3493f4f --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜节点.prefab @@ -0,0 +1,1121 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "OnHook排行榜节点", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "OnHook排行榜节点", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 16 + }, + { + "__id__": 24 + } + ], + "_active": true, + "_components": [ + { + "__id__": 46 + }, + { + "__id__": 48 + }, + { + "__id__": 50 + } + ], + "_prefab": { + "__id__": 52 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -342.831, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "排行", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + } + ], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -250, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "数字", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 52.4921875, + "height": 108.8 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "80GQcPYrRJpoMYxFc/WGsQ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "1", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 80, + "_fontSize": 80, + "_fontFamily": "Arial", + "_lineHeight": 80, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3fj2DVSh9Mwph2S84XrCvN" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 4, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "77a+CfMmdEOoYjSGwEnMF8" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1eNLp0UfJIrp6vsBSvX0Hw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a450B4BudIuLCDDqzGC57s" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_alignFlags": 8, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "45okKyZahJBo1yMBqFHOGn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d5l3BHGN9MHKEdrRhfL7nv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "排行右边", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 21 + } + ], + "_prefab": { + "__id__": 23 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -172.5, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 5, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cdklV9dg9J47t4zLhAoZ1P" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "85f5RCzg9LsZ5IF0AUafEW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_alignFlags": 8, + "_target": null, + "_left": 150, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7a+ZP0ClRPVrxSq3BRl4it" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "90eKfB3/RGy4ytAEQeVw+T", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 25 + }, + { + "__id__": 33 + } + ], + "_active": true, + "_components": [ + { + "__id__": 41 + }, + { + "__id__": 43 + } + ], + "_prefab": { + "__id__": 45 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 77.5, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "玩家名称", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 24 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 26 + }, + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 32 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -217.347, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 56.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eadq+5qRRLqZDtgf8EALZa" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "玩家名称", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96oxnSeRlAua7rV8YbgDlZ" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 3, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6bLhwz91FK6rRpi1X3jflD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "65IAMW2zBMiLae8XAybOUL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "挑战的关卡名称", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 24 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 34 + }, + { + "__id__": 36 + }, + { + "__id__": 38 + } + ], + "_prefab": { + "__id__": 40 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 224.934, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 33 + }, + "_enabled": true, + "__prefab": { + "__id__": 35 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 114, + "height": 56.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2bnPsKVzVKb4uMnG4Weaz5" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 33 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "无关卡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55lMqOCuBM+5AFKUpn35bG" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 33 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 3, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8cFt7yffhOuY1RPAsXMsr0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e63Hckxh9B9YaVIrKyGtj0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 495, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "637ojOE/JN3r+n3+f4vF2A" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_alignFlags": 45, + "_target": null, + "_left": 155, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "89bEcE0HlNu4ERn+Jijpvn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "25H5adrmRH6KKLUB3uriGB", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 47 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "10NXKXQV5Ay5GpCrfN0fr0" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 49 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ff4kiM0zJEWo5aejn8NX1c" + }, + { + "__type__": "1cbc5e/T15KlqBUl68TlLWZ", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 51 + }, + "rinking": { + "__id__": 6 + }, + "playerName": { + "__id__": 28 + }, + "levelName": { + "__id__": 36 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3etbBUsxlK4aAUKb5tspLa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "43rsGIRw5KCrVPpMPUma9c", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜节点.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜节点.prefab.meta new file mode 100644 index 00000000..814acb12 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/模式/OnHook/OnHook排行榜节点.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "293353b4-edba-4914-8182-bead1548dc57", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "OnHook排行榜节点" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/阵法/阵法选择页面.prefab b/JisolGameCocos/assets/resources/prefab/ui/阵法/阵法选择页面.prefab index 3f393ba6..e41a7317 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/阵法/阵法选择页面.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/阵法/阵法选择页面.prefab @@ -2720,6 +2720,9 @@ "__id__": 85 }, "petPreview": null, + "tacticalLabel": { + "__id__": 99 + }, "_id": "" }, { diff --git a/JisolGameCocos/assets/script/consts/API.ts b/JisolGameCocos/assets/script/consts/API.ts index fa449e66..98f13291 100644 --- a/JisolGameCocos/assets/script/consts/API.ts +++ b/JisolGameCocos/assets/script/consts/API.ts @@ -93,6 +93,14 @@ export interface ResourceOV{ version:number; //版本号 } +export interface ModeOnHookRankingOV{ + playerId:number; //游戏玩家Id + playerName:string; //游戏玩家名称 + levelId:number; //玩家关卡Id + rank:number; //玩家当前排名 + mapId:number; //地图Id +} + export const API = { UserRegister : async () => RData(await app.api.post(`/user/register`)) as UserVO, //玩家注册 @@ -118,5 +126,8 @@ export const API = { /********** 资源接口 ******************/ GetPlayerResource: async () => RData(await app.api.get(`/game/resource/get`),false) as ResourceOV[], //获取玩家资源 + /********** 排行榜接口(无限模式) *******************/ + GOnHookRankings: async (mapId:number) => RData(await app.api.get(`/game/mode/onHook/onRankings/${mapId}`),false) as ModeOnHookRankingOV[], //获取玩家资源 + } diff --git a/JisolGameCocos/assets/script/manager/battle/mode/GOnHookManager.ts b/JisolGameCocos/assets/script/manager/battle/mode/GOnHookManager.ts index d7b9724d..d8d8228f 100644 --- a/JisolGameCocos/assets/script/manager/battle/mode/GOnHookManager.ts +++ b/JisolGameCocos/assets/script/manager/battle/mode/GOnHookManager.ts @@ -112,11 +112,11 @@ export default class GOnHookManager extends Singleton{ //生成野怪 onSpawnSreeps = NGameUtil.ThrottleASync((async () => { - GAPI.GOnHookSpawnCreeps().then(data => { - data.pets.forEach(pet => { - this._sreeps.set(pet.key,pet as GOnHookPet); - }) - }); + let data = await GAPI.GOnHookSpawnCreeps(); + if(!data) return; + data.pets.forEach(pet => { + this._sreeps.set(pet.key,pet as GOnHookPet); + }) }).bind(this)) //获取下一只野怪 diff --git a/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts b/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts index 95aace39..22e593c9 100644 --- a/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts +++ b/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts @@ -83,24 +83,26 @@ export class PlayerTacticalItem extends Component { //如果拖拽了则不生效点击事件 if(this.drag.isMove) return; - //如果没有宠物则弹出选择宠物 负责 删除宠物 - if(this.petId){ - //移除宠物 - //提示是否移除宠物 - app.layer.Open(GUI.SelectionBox,{ - tigText:"是否移除宠物?", - cancel:()=>{}, - confirm:async ()=>{ - //移除宠物 (0就是移除) - await PlayerTacticalData.getIns().UpdateIndexTactical(this.index,0); - } - }) - }else{ - //选择宠物 - app.layer.Open(GUI.IntoBattleView,{ - index:this.index, //当前选择的阵法下标 - }); - } + // //如果没有宠物则弹出选择宠物 负责 删除宠物 + // if(this.petId){ + // //移除宠物 + // //提示是否移除宠物 + // app.layer.Open(GUI.SelectionBox,{ + // tigText:"是否移除宠物?", + // cancel:()=>{}, + // confirm:async ()=>{ + // //移除宠物 (0就是移除) + // await PlayerTacticalData.getIns().UpdateIndexTactical(this.index,0); + // } + // }) + // }else{ + // } + + //选择宠物 + app.layer.Open(GUI.IntoBattleView,{ + index:this.index, //当前选择的阵法下标 + }); + } //交换阵法 diff --git a/JisolGameCocos/assets/script/ui/Home/MainView.ts b/JisolGameCocos/assets/script/ui/Home/MainView.ts index 11cfb232..5653ce6a 100644 --- a/JisolGameCocos/assets/script/ui/Home/MainView.ts +++ b/JisolGameCocos/assets/script/ui/Home/MainView.ts @@ -95,6 +95,11 @@ export class MainView extends JNGLayerBase { app.layer.Open(GUI.MapSelectView); } + //点击排行榜 + onOpenOnHookRinking(){ + app.layer.Open(GUI.OnHookRinkingView); + } + //点击下一关 async onClickNextLevel(){ GOnHookManager.getIns().onNextLevel(); diff --git a/JisolGameCocos/assets/script/ui/Mode/OnHook.meta b/JisolGameCocos/assets/script/ui/Mode/OnHook.meta new file mode 100644 index 00000000..d1a5b3d9 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Mode/OnHook.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "3e290ee9-c2f6-45f0-9d24-52f03fc8de30", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingItem.ts b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingItem.ts new file mode 100644 index 00000000..f768976a --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingItem.ts @@ -0,0 +1,39 @@ +import { _decorator, Component, Node } from 'cc'; +import JNScrollViewItem from '../../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem'; +import { ModeOnHookRankingOV } from '../../../consts/API'; +import { Label } from 'cc'; +import { TD } from '../../../App'; +import GOnHookData from '../../../data/GOnHookData'; +import { TbGEntity } from '../../../config/data/schema'; +const { ccclass, property } = _decorator; + +@ccclass('OnHookRinkingItem') +export class OnHookRinkingItem extends JNScrollViewItem { + + //排名 + @property(Label) + rinking:Label; + + //玩家名称 + @property(Label) + playerName:Label; + + //关卡名称 + @property(Label) + levelName:Label; + + onInit(myData:ModeOnHookRankingOV){ + this.data = myData; + + this.rinking.string = `${this.data.rank}`; + this.playerName.string = `${this.data.playerName}`; + + let table:{data:TbGEntity.TOnHookLevel} = TD[TD.TbGOnHookMaps.get(this.data.mapId)?.sign].get(this.data.levelId); + if(table) + this.levelName.string = `难度 : ${table.data.level}-${table.data.childLevel}`; + + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingItem.ts.meta b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingItem.ts.meta new file mode 100644 index 00000000..63694b4c --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingItem.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "1cbc57bf-4f5e-4a96-a054-97af1394b599", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingView.ts b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingView.ts new file mode 100644 index 00000000..4313272f --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingView.ts @@ -0,0 +1,46 @@ +import { _decorator, Component, Node } from 'cc'; +import { JNGLayerBase } from '../../../components/JNComponent'; +import { API } from '../../../consts/API'; +import { TD } from '../../../App'; +import JNScrollView from '../../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollView'; +import { OnHookRinkingItem } from './OnHookRinkingItem'; +import PlayerData from '../../../data/PlayerData'; +const { ccclass, property } = _decorator; + +/** + * OnHook 排行榜 + */ +@ccclass('OnHookRinkingView') +export class OnHookRinkingView extends JNGLayerBase { + + mapId:number; + + @property(JNScrollView) + rankings:JNScrollView; + + @property(OnHookRinkingItem) + myItem:OnHookRinkingItem; + + onJNLoad(mapId?: number): void { + + this.mapId = mapId || TD.TbGOnHookMaps.getDataList()[0].id; + super.onJNLoad(mapId); + + this.onInit(); + + } + + async onInit(){ + + let ranks = await API.GOnHookRankings(this.mapId); + + this.rankings.refreshData(ranks.filter(item => item.rank <= 10)); + let myData = ranks.filter(item => item.playerId == PlayerData.getIns().data.playerId)[0] + if(myData) + this.myItem.onInit(myData); + + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingView.ts.meta b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingView.ts.meta new file mode 100644 index 00000000..63550822 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Mode/OnHook/OnHookRinkingView.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "7eb7c0ae-51dd-437d-a37f-80dfcfcfc7d2", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts b/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts index 4b8a8cdf..bdbc3b37 100644 --- a/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts +++ b/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts @@ -12,6 +12,7 @@ import { GUI } from '../UIConfig'; import PlayerTacticalData from '../../data/PlayerTacticalData'; import { PetIconSelectScroll } from '../Consts/Pet/PetIconSelectScroll'; import { PetPreviewWindow } from '../Consts/Pet/info/PetPreviewWindow'; +import { Label } from 'cc'; const { ccclass, property } = _decorator; //上阵页面 @@ -25,6 +26,9 @@ export class IntoBattleView extends JNLayerBase { @property(PetPreviewWindow) petPreview:PetPreviewWindow; //宠物显示窗口 + @property(Label) + tacticalLabel:Label;//上阵文本 + //宠物数据 pets:PlayerPetOV[] = []; @@ -51,6 +55,14 @@ export class IntoBattleView extends JNLayerBase { //获取所有玩家宠物 this.pets = PlayerPetData.getIns().getData(); + + //获取当前阵法下标是否存在宠物 + let petId = PlayerTacticalData.getIns().getItem(this.tIndex); + if(petId){ + //如果存在则默认选中 + this.index = this.pets.indexOf(PlayerPetData.getIns().petIdQueryPetInfo(petId)); + } + this.views.refreshData(this.pets); //设置不可选中 @@ -83,6 +95,14 @@ export class IntoBattleView extends JNLayerBase { this.petPreview.bind(this.pets[this.index]); } + this.onUpdateTactical(); + } + + //刷新上阵 + onUpdateTactical(){ + //获取当前阵法下标是否存在宠物 + let petId = PlayerTacticalData.getIns().getItem(this.tIndex); + this.tacticalLabel.string = `${petId ? "下阵" : "上阵"}` } //点击Item @@ -102,13 +122,21 @@ export class IntoBattleView extends JNLayerBase { app.layer.Open(GUI.Tips,{text:"请选择要上阵的宠物."}) return; } - if(this.views.getItems()[this.index].select.isNoSelect) { - app.layer.Open(GUI.Tips,{text:"当前宠物已上阵"}) + //获取当前阵法下标是否存在宠物 + let petId = PlayerTacticalData.getIns().getItem(this.tIndex); + + if(petId) { + //下阵 + await PlayerTacticalData.getIns().UpdateIndexTactical(this.tIndex,0); + app.layer.Open(GUI.Tips,{text:"下阵成功"}); + //上阵完 关闭页面 + app.layer.CloseNode(this.node); return; } //修改上阵信息 await PlayerTacticalData.getIns().UpdateIndexTactical(this.tIndex,this.pets[this.index].petId); + app.layer.Open(GUI.Tips,{text:"上阵成功"}); //上阵完 关闭页面 app.layer.CloseNode(this.node); diff --git a/JisolGameCocos/assets/script/ui/UIConfig.ts b/JisolGameCocos/assets/script/ui/UIConfig.ts index 3aca6b6a..f26687b5 100644 --- a/JisolGameCocos/assets/script/ui/UIConfig.ts +++ b/JisolGameCocos/assets/script/ui/UIConfig.ts @@ -28,6 +28,7 @@ export enum GUI{ /**游戏模式页面 */ PVPModeMatchView = "PVPModeMatchView", //PVP模式匹配页面 CampGuardianView = "CampGuardianView", //阵营守护战斗页面 + OnHookRinkingView = "OnHookRinkingView", //OnHook 排行榜页面 Home = "Home", //主页面 Main = "Main", //主页面2 @@ -137,6 +138,11 @@ const UIGModeConfig:{ [key: string]: JNLayerInfo; } = { uri: "prefab/ui/模式/CampGuardian/阵营守护战斗页面", anims:BackOutScale }, + [GUI.OnHookRinkingView]:{ + layer:GLayer.Popup, + uri: "prefab/ui/模式/OnHook/OnHook排行榜", + anims:BackOutScale + }, } diff --git a/JisolGameCocos/extensions/ngame b/JisolGameCocos/extensions/ngame index 10cb5e38..f147b04d 160000 --- a/JisolGameCocos/extensions/ngame +++ b/JisolGameCocos/extensions/ngame @@ -1 +1 @@ -Subproject commit 10cb5e383994f61503b951861ccee9911f0149b7 +Subproject commit f147b04ddd86f482f842c803027a963a6bcc59de diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/mode/GOnHookController.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/mode/GOnHookController.java index f61f0e07..8a50d471 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/mode/GOnHookController.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/mode/GOnHookController.java @@ -18,6 +18,7 @@ import cn.jisol.game.service.ModeOnHookService; import cn.jisol.game.service.PlayerPetService; import cn.jisol.game.service.ResourceService; import cn.jisol.game.table.GTbGOnHookLevels; +import cn.jisol.game.vo.mode.ModeOnHookRankingOV; import cn.jisol.game.vo.news.NewsResource; import cn.jisol.game.vo.news.ov.ResourceUpdateOV; import cn.jisol.ngame.util.NewsContext; @@ -260,9 +261,9 @@ public class GOnHookController { @ApiImplicitParams({}) @ApiOperation(value = "排行榜") @GetMapping("/onRankings/{mapId}") - public NewsContext> onRankings(@PathVariable Integer mapId){ + public NewsContext> onRankings(@PathVariable Integer mapId,@CurrentPlayer Player player){ - return NewsContext.onSuccess("查询成功",this.modeOnHookMapper.onRankings(mapId.toString())); + return NewsContext.onSuccess("查询成功",this.modeOnHookMapper.onRankings(mapId.toString(),player.getPlayerId())); } diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/mapper/ModeOnHookMapper.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/mapper/ModeOnHookMapper.java index 1bff7de3..db144f31 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/mapper/ModeOnHookMapper.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/mapper/ModeOnHookMapper.java @@ -2,6 +2,7 @@ package cn.jisol.game.mapper; import cn.jisol.game.entity.game.Player; import cn.jisol.game.entity.mode.ModeOnHook; +import cn.jisol.game.vo.mode.ModeOnHookRankingOV; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; @@ -13,7 +14,22 @@ import java.util.List; public interface ModeOnHookMapper extends BaseMapper { //排行榜 - @Select("SELECT * FROM mode_on_hook ORDER BY JSON_EXTRACT(on_hook_info, CONCAT('$.maps.\"',#{mapId},'\"')) DESC LIMIT 10;") - List onRankings(@Param("mapId") String mapId); + @Select("SET @rank = 0;\n" + + "SELECT \n" + + " p.player_id,\n" + + " p.player_name,\n" + + " IFNULL(o.level_id,0) AS level_id,\n" + + " o.rank,\n" + + " #{mapId} AS map_id\n" + + "FROM \n" + + " (SELECT \n" + + " player_id,\n" + + " JSON_EXTRACT(on_hook_info, CONCAT('$.maps.\"',#{mapId},'\"')) AS level_id,\n" + + " @rank := @rank + 1 AS rank\n" + + " FROM mode_on_hook \n" + + " ORDER BY JSON_EXTRACT(on_hook_info, CONCAT('$.maps.\"',#{mapId},'\"')) DESC) AS o\n" + + "RIGHT JOIN player AS p ON o.player_id = p.player_id\n" + + "WHERE o.player_id = #{playerId} OR o.rank < 11;") + List onRankings(@Param("mapId") String mapId,@Param("playerId") Long playerId); } \ No newline at end of file diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/vo/mode/ModeOnHookRankingOV.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/vo/mode/ModeOnHookRankingOV.java new file mode 100644 index 00000000..9de147dd --- /dev/null +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/vo/mode/ModeOnHookRankingOV.java @@ -0,0 +1,14 @@ +package cn.jisol.game.vo.mode; + +import lombok.Builder; +import lombok.Data; + +@Builder +@Data +public class ModeOnHookRankingOV { + private Long playerId; //游戏玩家Id + private String playerName; //游戏玩家名称 + private Integer levelId; //玩家关卡Id + private Integer rank; //玩家当前排名 + private Integer mapId; //地图Id +} diff --git a/JisolGameServer/Main/src/main/resources/application.yml b/JisolGameServer/Main/src/main/resources/application.yml index 9e0d9877..26fc9772 100644 --- a/JisolGameServer/Main/src/main/resources/application.yml +++ b/JisolGameServer/Main/src/main/resources/application.yml @@ -4,8 +4,8 @@ spring: datasource: username: pet_jisol_cn password: sThsBwjfDcaw2wJR - url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 -# url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 +# url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true + url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true driver-class-name: com.mysql.cj.jdbc.Driver jackson: serialization: