From 20886ecf78dce235aad1424535ef7b789cc196b3 Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 26 Feb 2019 21:46:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=91=E9=80=81=E7=9F=AD?= =?UTF-8?q?=E4=BF=A1=E7=9A=84=E5=9B=BE=E5=BD=A2=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/main.fire | 8 +- assets/resources/prefabs/info_menu.prefab | 169 +- .../resources/prefabs/info_menu_input.prefab | 3209 +++++++++++++++++ .../prefabs/info_menu_input.prefab.meta | 7 + assets/scripts/infoMenu.js | 59 +- assets/scripts/main.js | 16 +- assets/scripts/utils/http.js | 10 +- assets/scripts/utils/string.util.js | 11 + assets/scripts/utils/string.util.js.meta | 9 + assets/scripts/utils/webapi.js | 17 + assets/scripts/utils/webapi.js.meta | 9 + 11 files changed, 3464 insertions(+), 60 deletions(-) create mode 100644 assets/resources/prefabs/info_menu_input.prefab create mode 100644 assets/resources/prefabs/info_menu_input.prefab.meta create mode 100644 assets/scripts/utils/string.util.js create mode 100644 assets/scripts/utils/string.util.js.meta create mode 100644 assets/scripts/utils/webapi.js create mode 100644 assets/scripts/utils/webapi.js.meta diff --git a/assets/main.fire b/assets/main.fire index 5733d4b..864ca93 100644 --- a/assets/main.fire +++ b/assets/main.fire @@ -41,8 +41,8 @@ }, "_scale": { "__type__": "cc.Vec3", - "x": 0.4469148552288877, - "y": 0.4469148552288877, + "x": 0.11809926614295294, + "y": 0.11809926614295294, "z": 1 }, "_quat": { @@ -646,6 +646,9 @@ "inviteMenuPrefab": { "__uuid__": "bdf9cd55-9cf3-4bf8-b902-2431701b3d6c" }, + "infoMenuPrefab2": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, "rulePrefab": { "__uuid__": "de027dd7-a186-4797-b332-2f6e2603d165" }, @@ -656,6 +659,7 @@ "__uuid__": "6c21a659-0cc4-49e6-a4b6-9697e946aaa1" }, "topMenu": null, + "partsY": [], "_id": "caqu3+UstJ+6Bc+xrIMgmV" }, { diff --git a/assets/resources/prefabs/info_menu.prefab b/assets/resources/prefabs/info_menu.prefab index f13bd3d..e71c483 100644 --- a/assets/resources/prefabs/info_menu.prefab +++ b/assets/resources/prefabs/info_menu.prefab @@ -26,21 +26,21 @@ "__id__": 10 }, { - "__id__": 57 + "__id__": 58 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 68 + "__id__": 69 }, { - "__id__": 69 + "__id__": 70 } ], "_prefab": { - "__id__": 70 + "__id__": 71 }, "_opacity": 255, "_color": { @@ -346,18 +346,18 @@ "__id__": 11 }, { - "__id__": 47 + "__id__": 48 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 55 + "__id__": 56 } ], "_prefab": { - "__id__": 56 + "__id__": 57 }, "_opacity": 255, "_color": { @@ -432,11 +432,11 @@ "_level": 4, "_components": [ { - "__id__": 45 + "__id__": 46 } ], "_prefab": { - "__id__": 46 + "__id__": 47 }, "_opacity": 255, "_color": { @@ -833,7 +833,7 @@ "_useOriginalSize": true, "_string": "", "_N$string": "", - "_fontSize": 20, + "_fontSize": 30, "_lineHeight": 40, "_enableWrapText": false, "_N$file": null, @@ -973,10 +973,10 @@ "_N$backgroundImage": { "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" }, - "_N$returnType": 0, + "_N$returnType": 2, "_N$inputFlag": 5, - "_N$inputMode": 6, - "_N$fontSize": 20, + "_N$inputMode": 3, + "_N$fontSize": 30, "_N$lineHeight": 40, "_N$fontColor": { "__type__": "cc.Color", @@ -994,7 +994,7 @@ "b": 187, "a": 255 }, - "_N$maxLength": 8, + "_N$maxLength": 11, "_N$stayOnTop": false, "_id": "" }, @@ -1359,7 +1359,7 @@ "_useOriginalSize": true, "_string": "", "_N$string": "", - "_fontSize": 20, + "_fontSize": 30, "_lineHeight": 40, "_enableWrapText": false, "_N$file": null, @@ -1501,8 +1501,8 @@ }, "_N$returnType": 0, "_N$inputFlag": 5, - "_N$inputMode": 6, - "_N$fontSize": 20, + "_N$inputMode": 2, + "_N$fontSize": 30, "_N$lineHeight": 40, "_N$fontColor": { "__type__": "cc.Color", @@ -1520,7 +1520,7 @@ "b": 187, "a": 255 }, - "_N$maxLength": 8, + "_N$maxLength": 6, "_N$stayOnTop": false, "_id": "" }, @@ -1548,10 +1548,13 @@ "_components": [ { "__id__": 43 + }, + { + "__id__": 44 } ], "_prefab": { - "__id__": 44 + "__id__": 45 }, "_opacity": 255, "_color": { @@ -1626,6 +1629,59 @@ "_atlas": null, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 42 + }, + "_enabled": true, + "transition": 0, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 42 + }, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -1685,21 +1741,21 @@ }, "_children": [ { - "__id__": 48 + "__id__": 49 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 52 + "__id__": 53 }, { - "__id__": 53 + "__id__": 54 } ], "_prefab": { - "__id__": 54 + "__id__": 55 }, "_opacity": 255, "_color": { @@ -1751,21 +1807,21 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 47 + "__id__": 48 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 49 + "__id__": 50 }, { - "__id__": 50 + "__id__": 51 } ], "_prefab": { - "__id__": 51 + "__id__": 52 }, "_opacity": 255, "_color": { @@ -1817,7 +1873,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 48 + "__id__": 49 }, "_enabled": true, "_srcBlendFactor": 1, @@ -1842,7 +1898,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 48 + "__id__": 49 }, "_enabled": true, "_color": { @@ -1871,7 +1927,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 47 + "__id__": 48 }, "_enabled": true, "_srcBlendFactor": 770, @@ -1899,7 +1955,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 47 + "__id__": 48 }, "_enabled": true, "transition": 0, @@ -1943,7 +1999,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 47 + "__id__": 48 }, "_id": "" }, @@ -2006,21 +2062,21 @@ }, "_children": [ { - "__id__": 58 + "__id__": 59 }, { - "__id__": 62 + "__id__": 63 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 66 + "__id__": 67 } ], "_prefab": { - "__id__": 67 + "__id__": 68 }, "_opacity": 255, "_color": { @@ -2072,21 +2128,21 @@ "_name": "menu_close_btn", "_objFlags": 0, "_parent": { - "__id__": 57 + "__id__": 58 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 59 + "__id__": 60 }, { - "__id__": 60 + "__id__": 61 } ], "_prefab": { - "__id__": 61 + "__id__": 62 }, "_opacity": 255, "_color": { @@ -2138,7 +2194,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 58 + "__id__": 59 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2166,7 +2222,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 58 + "__id__": 59 }, "_enabled": true, "transition": 0, @@ -2210,7 +2266,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 58 + "__id__": 59 }, "_id": "" }, @@ -2230,21 +2286,21 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 57 + "__id__": 58 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 63 + "__id__": 64 }, { - "__id__": 64 + "__id__": 65 } ], "_prefab": { - "__id__": 65 + "__id__": 66 }, "_opacity": 255, "_color": { @@ -2296,7 +2352,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 62 + "__id__": 63 }, "_enabled": true, "_srcBlendFactor": 1, @@ -2321,7 +2377,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 62 + "__id__": 63 }, "_enabled": true, "_color": { @@ -2350,7 +2406,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 57 + "__id__": 58 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2420,14 +2476,23 @@ }, "_enabled": true, "closeBtn": { - "__id__": 58 + "__id__": 59 }, "submitBtn": { - "__id__": 47 + "__id__": 48 + }, + "captchaBtn": { + "__id__": 42 }, "resultPrefab": { "__uuid__": "50fc505c-5051-4781-84b8-6bdf8254ed17" }, + "mobileInput": { + "__id__": 25 + }, + "captchaInput": { + "__id__": 40 + }, "_id": "" }, { diff --git a/assets/resources/prefabs/info_menu_input.prefab b/assets/resources/prefabs/info_menu_input.prefab new file mode 100644 index 0000000..5d7f580 --- /dev/null +++ b/assets/resources/prefabs/info_menu_input.prefab @@ -0,0 +1,3209 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "menu_sample", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 7 + }, + { + "__id__": 10 + }, + { + "__id__": 77 + } + ], + "_active": true, + "_level": 1, + "_components": [ + { + "__id__": 88 + }, + { + "__id__": 89 + } + ], + "_prefab": { + "__id__": 90 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 750, + "height": 1624 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 375, + "y": 812, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "menu_bg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 4 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 6 + }, + "_opacity": 125, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 750, + "height": 1624 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "e984b114-8c4d-4c8f-98d0-a61a25cdc99a" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 5, + "_originalHeight": 5, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "1ak6WkAVdBsL8pKce1cCmh", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "menu_bg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 9 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 546, + "height": 454 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -34, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "854b3b06-aa6f-4519-b5fb-4c93555ea4d0" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "88l/fmj51IFYA0qDBve9UR", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "border", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 11 + }, + { + "__id__": 67 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 75 + } + ], + "_prefab": { + "__id__": 76 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 454 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -34, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "menu_inner_bg", + "_objFlags": 0, + "_parent": { + "__id__": 10 + }, + "_children": [ + { + "__id__": 12 + }, + { + "__id__": 15 + }, + { + "__id__": 27 + }, + { + "__id__": 30 + }, + { + "__id__": 42 + }, + { + "__id__": 46 + }, + { + "__id__": 58 + }, + { + "__id__": 61 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 65 + } + ], + "_prefab": { + "__id__": 66 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 508, + "height": 270 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 9, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "mobile", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 14 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -167, + "y": 90, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 12 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": false, + "_string": "填写手机号", + "_N$string": "填写手机号", + "_fontSize": 20, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "1cdJ+8IDhFC4Bzr2coHu4I", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "mobileEditBox", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [ + { + "__id__": 16 + }, + { + "__id__": 19 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 26 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 304, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 80, + "y": 89, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "BACKGROUND_SPRITE", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 18 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 304, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 16 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "5a1IsaQ5lM+L5bKB22dpB9", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": false, + "_level": 2, + "_components": [ + { + "__id__": 20 + } + ], + "_prefab": { + "__id__": 21 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 302, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -150, + "y": 25, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 30, + "_lineHeight": 40, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "0aX8zBKRdE64UnV3HLWoBZ", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 23 + } + ], + "_prefab": { + "__id__": 24 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 302, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -150, + "y": 25, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 22 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 20, + "_lineHeight": 50, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "656r/CU6FJR7cRMicuKDEV", + "sync": false + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 15 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "", + "_tabIndex": 0, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [], + "_N$backgroundImage": { + "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" + }, + "_N$returnType": 2, + "_N$inputFlag": 5, + "_N$inputMode": 3, + "_N$fontSize": 30, + "_N$lineHeight": 40, + "_N$fontColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$placeholder": "", + "_N$placeholderFontSize": 20, + "_N$placeholderFontColor": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_N$maxLength": 11, + "_N$stayOnTop": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "2bcNV91S1CBIqkZtVJr+Nb", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "captcha", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 28 + } + ], + "_prefab": { + "__id__": 29 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 60, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -151, + "y": 6, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": false, + "_string": "验证码", + "_N$string": "验证码", + "_fontSize": 20, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "57WGmY68dCpLTd44kTg5Yh", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "captchaEditBox", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [ + { + "__id__": 31 + }, + { + "__id__": 34 + }, + { + "__id__": 37 + } + ], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 41 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 125, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -10, + "y": 6, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "BACKGROUND_SPRITE", + "_objFlags": 0, + "_parent": { + "__id__": 30 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 33 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 125, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 31 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "48nH6AS91M2Ly698rf80it", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 30 + }, + "_children": [], + "_active": false, + "_level": 2, + "_components": [ + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 36 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 123, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -60.5, + "y": 25, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 34 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 30, + "_lineHeight": 40, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "befktjThhKMpBrBpxDNCnS", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 30 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 38 + } + ], + "_prefab": { + "__id__": 39 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 123, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -60.5, + "y": 25, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 37 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 20, + "_lineHeight": 50, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "7d061HaGlFM7v533Tb/q5z", + "sync": false + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 30 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "", + "_tabIndex": 0, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [], + "_N$backgroundImage": { + "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" + }, + "_N$returnType": 0, + "_N$inputFlag": 5, + "_N$inputMode": 2, + "_N$fontSize": 30, + "_N$lineHeight": 40, + "_N$fontColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$placeholder": "", + "_N$placeholderFontSize": 20, + "_N$placeholderFontColor": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_N$maxLength": 6, + "_N$stayOnTop": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "7ezzpSaiFH+q7MqFy2heHQ", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "captcha_btn", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 43 + }, + { + "__id__": 44 + } + ], + "_prefab": { + "__id__": 45 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 57 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 152, + "y": 6, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 42 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f02db9a3-6a93-4504-b7c5-d9460d20f591" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 42 + }, + "_enabled": true, + "transition": 0, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 42 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "58Mlbq+MBDhLe27i03dw9+", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "codeEditBox", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [ + { + "__id__": 47 + }, + { + "__id__": 50 + }, + { + "__id__": 53 + } + ], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 56 + } + ], + "_prefab": { + "__id__": 57 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 125, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -10, + "y": -75, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "BACKGROUND_SPRITE", + "_objFlags": 0, + "_parent": { + "__id__": 46 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 48 + } + ], + "_prefab": { + "__id__": 49 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 125, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 47 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "d5YPhH8BNDMKA/p9oksJcC", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 46 + }, + "_children": [], + "_active": false, + "_level": 2, + "_components": [ + { + "__id__": 51 + } + ], + "_prefab": { + "__id__": 52 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 123, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -60.5, + "y": 25, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 50 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 30, + "_lineHeight": 40, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "32l/2XGTVFTbqOtDHU8t0x", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 46 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 54 + } + ], + "_prefab": { + "__id__": 55 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 123, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -60.5, + "y": 25, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 20, + "_lineHeight": 50, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "9csrKvuaJBSrBEmnqJ22z4", + "sync": false + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 46 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "", + "_tabIndex": 0, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [], + "_N$backgroundImage": { + "__uuid__": "ed4c60fd-a3c0-4565-a0e9-9a7d82b14c7a" + }, + "_N$returnType": 0, + "_N$inputFlag": 5, + "_N$inputMode": 2, + "_N$fontSize": 30, + "_N$lineHeight": 40, + "_N$fontColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$placeholder": "", + "_N$placeholderFontSize": 20, + "_N$placeholderFontColor": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_N$maxLength": 6, + "_N$stayOnTop": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "ecbDnZuOtFs7WhZVn0atSk", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "captchaPic", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 59 + } + ], + "_prefab": { + "__id__": 60 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -167, + "y": -75, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 58 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": false, + "_string": "图形验证码", + "_N$string": "图形验证码", + "_fontSize": 20, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "41glP7p8RIxr7gt9/b30Uk", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "codeImg", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 62 + }, + { + "__id__": 63 + } + ], + "_prefab": { + "__id__": 64 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 155, + "y": -75, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 61 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 61 + }, + "_enabled": true, + "transition": 0, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 61 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "eeUzlH44RPQLclwJCjyOzP", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "0062fe68-8e87-4959-a569-f7dcd8509a5c" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "c2i/JogitAy6aqGQZ5d4l0", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "menu_btn", + "_objFlags": 0, + "_parent": { + "__id__": 10 + }, + "_children": [ + { + "__id__": 68 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 72 + }, + { + "__id__": 73 + } + ], + "_prefab": { + "__id__": 74 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 213, + "height": 71 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -168, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 67 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 69 + }, + { + "__id__": 70 + } + ], + "_prefab": { + "__id__": 71 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 84, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 68 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": false, + "_string": "预约", + "_N$string": "预约", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_id": "" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 68 + }, + "_enabled": true, + "_color": { + "__type__": "cc.Color", + "r": 21, + "g": 49, + "b": 96, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "848mLIbXFH7IOcQ0+xQkJq", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 67 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "174a1f8b-1afa-48d5-8d3e-801cc6bfca60" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 67 + }, + "_enabled": true, + "transition": 0, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 67 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "37CsQpmRRPGbSmkfv0sEan", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "e8247d6f-22e8-4734-81dc-b397237ee6de" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "19MfUgeFlBh7aCU5lR0vuJ", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "menu_title_03", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 78 + }, + { + "__id__": 82 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 86 + } + ], + "_prefab": { + "__id__": 87 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 545, + "height": 64 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 166, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "menu_close_btn", + "_objFlags": 0, + "_parent": { + "__id__": 77 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 79 + }, + { + "__id__": 80 + } + ], + "_prefab": { + "__id__": 81 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 49 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 219, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 78 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "51a67ca8-e497-47b0-94c5-7a9708ff2dc0" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 78 + }, + "_enabled": true, + "transition": 0, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 78 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "f61/NJGxBE1YpD8L8F6KU/", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 77 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 83 + }, + { + "__id__": 84 + } + ], + "_prefab": { + "__id__": 85 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 164, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "_zIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 82 + }, + "_enabled": true, + "_srcBlendFactor": 1, + "_dstBlendFactor": 771, + "_useOriginalSize": false, + "_string": "填写信息", + "_N$string": "填写信息", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_id": "" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 82 + }, + "_enabled": true, + "_color": { + "__type__": "cc.Color", + "r": 21, + "g": 49, + "b": 96, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "d4ll5D6MRBsJlLtl0v5gvw", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 77 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d628f6bf-f16e-49e4-af45-05dfee539e77" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "45EHFC/gBBXZ8mIUzGn76y", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "8fe4aRRqPhKfbVOu+Qu3V2i", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "closeBtn": { + "__id__": 78 + }, + "submitBtn": { + "__id__": 67 + }, + "captchaBtn": { + "__id__": 42 + }, + "resultPrefab": { + "__uuid__": "50fc505c-5051-4781-84b8-6bdf8254ed17" + }, + "mobileInput": { + "__id__": 25 + }, + "captchaInput": { + "__id__": 40 + }, + "codeInput": { + "__id__": 56 + }, + "codeImg": { + "__id__": 62 + }, + "needCode": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "14e28457-5820-4f5b-a685-e9a9083b336c" + }, + "fileId": "f58SiEB29DJ7Kumwc9kH3w", + "sync": false + } +] \ No newline at end of file diff --git a/assets/resources/prefabs/info_menu_input.prefab.meta b/assets/resources/prefabs/info_menu_input.prefab.meta new file mode 100644 index 0000000..1ae3130 --- /dev/null +++ b/assets/resources/prefabs/info_menu_input.prefab.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.0", + "uuid": "14e28457-5820-4f5b-a685-e9a9083b336c", + "optimizationPolicy": "AUTO", + "asyncLoadAssets": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/infoMenu.js b/assets/scripts/infoMenu.js index 9614b54..a68c8a5 100644 --- a/assets/scripts/infoMenu.js +++ b/assets/scripts/infoMenu.js @@ -1,3 +1,5 @@ +let webapi = require('./utils/webapi'); +let stringUtil = require('./utils/string.util'); cc.Class({ extends: cc.Component, @@ -10,9 +12,29 @@ cc.Class({ default: null, type: cc.Node }, + captchaBtn: { + default: null, + type: cc.Node + }, resultPrefab: { default: null, type: cc.Prefab + }, + mobileInput: { + default: null, + type: cc.EditBox + }, + captchaInput: { + default: null, + type: cc.EditBox + }, + codeInput: { + default: null, + type: cc.EditBox + }, + codeImg: { + default: null, + type: cc.Sprite } }, @@ -20,11 +42,32 @@ cc.Class({ onLoad () { let self = this; + if (this.top.needCode) { + this.showCaptchaInput(); + this.codeImg.node.on('click', function () { + self.showCaptchaInput(); + }) + } this.closeBtn.on('click', function () { self.node.removeFromParent(true); }); this.submitBtn.on('click', function () { - self.showResultView(); + let mobile = self.mobileInput.string; + }); + this.captchaBtn.on('click', function () { + console.log(self.mobileInput.string); + let mobile = self.mobileInput.string; + if (!stringUtil.checkMobile(mobile)) { + alert('请输入有效的手机号码。'); + return false; + } + webapi.sendSms(mobile) + .then(res => { + console.log(res); + }) + .catch(err => { + console.log(err); + }) }) }, @@ -35,5 +78,19 @@ cc.Class({ let result = cc.instantiate(this.resultPrefab); this.top.node.addChild(result, 11); this.node.removeFromParent(true); + }, + + showCaptchaInput() { + let self = this; + cc.loader.load({ + url: webapi.captchaUrl()+'?'+new Date(), + type: 'jpg' + }, function (err, texture) { + if (err) { + console.log('load avatar error === ', err); + return; + } + self.codeImg.spriteFrame = new cc.SpriteFrame(texture); + }); } }); diff --git a/assets/scripts/main.js b/assets/scripts/main.js index 5423a5f..7c7284a 100644 --- a/assets/scripts/main.js +++ b/assets/scripts/main.js @@ -36,6 +36,10 @@ cc.Class({ default: null, type: cc.Prefab }, + infoMenuPrefab2: { + default: null, + type: cc.Prefab + }, rulePrefab: { default: null, type: cc.Prefab @@ -52,14 +56,15 @@ cc.Class({ default: null, type: cc.Node }, - partsY: [] + partsY: [], + needCode: true }, // LIFE-CYCLE CALLBACKS: onLoad () { let self = this; - http.get('http://192.168.100.228:7456/res/import/4d/4d364e42-855d-4e28-abe4-0221d8b6c47b.json', {} ) + http.get('http://192.168.100.228/activity/api/index', {} ) .then(res => { console.log(res); }) @@ -124,7 +129,12 @@ cc.Class({ this.topMenu.active = false; }, showInfoMenu() { - let infoMenu = cc.instantiate(this.infoMenuPrefab); + let infoMenu; + if (this.needCode) { + infoMenu = cc.instantiate(this.infoMenuPrefab2); + } else { + infoMenu = cc.instantiate(this.infoMenuPrefab); + } infoMenu.getComponent('infoMenu').top = this; this.node.addChild(infoMenu, 11); }, diff --git a/assets/scripts/utils/http.js b/assets/scripts/utils/http.js index b07f4a2..e092e5e 100644 --- a/assets/scripts/utils/http.js +++ b/assets/scripts/utils/http.js @@ -7,8 +7,14 @@ const get = (url, header) => { const post = (url, data, header) => { header = header || {}; - header['Content-Type'] = 'application/json'; - return Ajax(url, 'POST', data, header) + let formStr = ''; + let i = 0; + for(let key in data) { + if (i ++ > 0) formStr += '&'; + formStr += (key + '=' + data[key]); + } + header['Content-Type'] = 'application/x-www-form-urlencoded'; + return Ajax(url, 'POST', formStr, header) }; const Ajax = (url, method, data, header) => { diff --git a/assets/scripts/utils/string.util.js b/assets/scripts/utils/string.util.js new file mode 100644 index 0000000..51914b9 --- /dev/null +++ b/assets/scripts/utils/string.util.js @@ -0,0 +1,11 @@ +export default { + checkMobile(mobile) { + return /^1\d{10}$/.test(mobile); + }, + checkAuthCode(code) { + return /^\d{6}$/.test(code); + }, + checkCaptcheCode(code) { + + } +} diff --git a/assets/scripts/utils/string.util.js.meta b/assets/scripts/utils/string.util.js.meta new file mode 100644 index 0000000..56ee7de --- /dev/null +++ b/assets/scripts/utils/string.util.js.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "d71687dd-e39a-4e7f-97e4-6fc499fea404", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/utils/webapi.js b/assets/scripts/utils/webapi.js new file mode 100644 index 0000000..a7ac021 --- /dev/null +++ b/assets/scripts/utils/webapi.js @@ -0,0 +1,17 @@ +var http = require('./http'); + +const baseUrl = 'http://192.168.100.228'; +export default { + sendSms: (mobile, captcha) => { + let data = {mobile: mobile}; + if (captcha) { + data['captcha'] = captcha; + } + + let url = baseUrl + '/activity/api/send_sms'; + return http.post(url, data); + }, + captchaUrl: () => { + return baseUrl + '/captcha/ch/login' + } +} diff --git a/assets/scripts/utils/webapi.js.meta b/assets/scripts/utils/webapi.js.meta new file mode 100644 index 0000000..72d77bb --- /dev/null +++ b/assets/scripts/utils/webapi.js.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "c750bf25-4ad4-4de7-b570-efcb5f8a7f6f", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file