diff --git a/AGENTS.md b/AGENTS.md index ca210d0..e2c2cd7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,7 +19,34 @@ Git 历史采用 Conventional Commits,且摘要多为中文,例如 `feat: # Memory Context -# [mp-xieyingeng] recent context, 2026-04-24 8:45am GMT+8 +# [mp-xieyingeng] recent context, 2026-04-24 8:08pm GMT+8 -No previous sessions found. +Legend: 🎯session 🔴bugfix 🟣feature 🔄refactor ✅change 🔵discovery ⚖️decision 🚨security_alert 🔐security_note +Format: ID TIME TYPE TITLE +Fetch details: get_observations([IDs]) | Search: mem-search skill + +Stats: 19 obs (4,277t read) | 178,750t work | 98% savings + +### Apr 24, 2026 +101 8:46a 🟣 Live label display format updated to X/Y format +114 6:40p 🟣 Dynamic Input Layout Initialization in PageLevel Prefab +115 6:41p 🟣 Dynamic Punch Block Layout for PageLevel.prefab +116 " 🔵 Layout Component Configuration for Input and Punch Blocks +119 6:42p 🟣 Dynamic Input Blocks and Punch Layout System Implemented +121 " 🟣 PageLevel Prefab Updated with punchLayout Property +122 " 🔄 Cleanup After Dynamic Block Refactoring +124 " ✅ TypeScript Compilation Check in Progress +126 6:43p ✅ TypeScript Compilation Check Extended +127 " 🔄 Complete Diff of PageLevel.ts Dynamic Block System +128 " 🔵 PageLevel.prefab Changes Not Persisted +129 6:44p 🟣 PageLevel Prefab Correctly Updated with punchLayout +130 " ✅ TypeScript Compilation Blocked - Permission Required +133 6:45p 🔄 Extracted getPunchBlockLabel Helper Method +134 " 🔄 Template Node Hiding Logic Improved +136 6:48p ⚖️ TypeScript diagnostics disabled, using IDE/linter instead +138 " 🔄 PageLevel 输入方式从单框改为逐字格子 +139 " 🔄 谐音梗展示从 Label 改为动态 Block 节点 +140 " ✅ PageLevel.prefab 布局位置微调 + +Access 179k tokens of past work via get_observations([IDs]) or mem-search skill. \ No newline at end of file diff --git a/assets/levels.meta b/assets/levels.meta new file mode 100644 index 0000000..1be3f85 --- /dev/null +++ b/assets/levels.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "0b928321-a809-4339-8af8-5a053aeda2d5", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/prefabs/PageLevel.prefab b/assets/prefabs/PageLevel.prefab index 1ed74f1..9a93ba9 100644 --- a/assets/prefabs/PageLevel.prefab +++ b/assets/prefabs/PageLevel.prefab @@ -28,44 +28,44 @@ "__id__": 24 }, { - "__id__": 100 + "__id__": 132 }, { - "__id__": 110 + "__id__": 142 }, { - "__id__": 134 + "__id__": 166 }, { - "__id__": 158 + "__id__": 190 }, { - "__id__": 220 + "__id__": 246 }, { - "__id__": 240 + "__id__": 266 }, { - "__id__": 292 + "__id__": 318 } ], "_active": true, "_components": [ { - "__id__": 298 + "__id__": 324 }, { - "__id__": 300 + "__id__": 326 }, { - "__id__": 302 + "__id__": 328 }, { - "__id__": 304 + "__id__": 330 } ], "_prefab": { - "__id__": 306 + "__id__": 332 }, "_lpos": { "__type__": "cc.Vec3", @@ -616,26 +616,23 @@ "__id__": 67 }, { - "__id__": 79 - }, - { - "__id__": 87 + "__id__": 117 } ], "_active": true, "_components": [ { - "__id__": 93 + "__id__": 125 }, { - "__id__": 95 + "__id__": 127 }, { - "__id__": 97 + "__id__": 129 } ], "_prefab": { - "__id__": 99 + "__id__": 131 }, "_lpos": { "__type__": "cc.Vec3", @@ -1689,19 +1686,19 @@ "_children": [ { "__id__": 68 + }, + { + "__id__": 96 } ], "_active": true, "_components": [ { - "__id__": 74 - }, - { - "__id__": 76 + "__id__": 114 } ], "_prefab": { - "__id__": 78 + "__id__": 116 }, "_lpos": { "__type__": "cc.Vec3", @@ -1740,23 +1737,140 @@ "_parent": { "__id__": 67 }, + "_children": [ + { + "__id__": 69 + } + ], + "_active": true, + "_components": [ + { + "__id__": 89 + }, + { + "__id__": 91 + }, + { + "__id__": 93 + } + ], + "_prefab": { + "__id__": 95 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 6.1129999999999995, + "y": -2.646, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Input", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 68 + }, + "_children": [ + { + "__id__": 70 + }, + { + "__id__": 76 + } + ], + "_active": true, + "_components": [ + { + "__id__": 82 + }, + { + "__id__": 84 + }, + { + "__id__": 86 + } + ], + "_prefab": { + "__id__": 88 + }, + "_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": 0.8, + "y": 0.8, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 69 + }, "_children": [], "_active": true, "_components": [ { - "__id__": 69 + "__id__": 71 }, { - "__id__": 71 + "__id__": 73 } ], "_prefab": { - "__id__": 73 + "__id__": 75 }, "_lpos": { "__type__": "cc.Vec3", - "x": -310, - "y": 0, + "x": -87.5, + "y": 106, "z": 0 }, "_lrot": { @@ -1782,6 +1896,401 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 72 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 177, + "height": 212 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8cLnXJuOdMmoFM22XPhrVA" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 74 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 75, + "g": 75, + "b": 75, + "a": 255 + }, + "_string": "柠", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 100, + "_fontSize": 100, + "_fontFamily": "Arial", + "_lineHeight": 100, + "_overflow": 1, + "_enableWrapText": false, + "_font": { + "__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80", + "__expectedType__": "cc.TTFFont" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0ecUvPLzFMzpS3vAVzVc+b" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "33yaFw4dBOLrXz8Y9gYLgZ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 69 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 77 + }, + { + "__id__": 79 + } + ], + "_prefab": { + "__id__": 81 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -87.5, + "y": 106, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 76 + }, + "_enabled": true, + "__prefab": { + "__id__": 78 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 177, + "height": 212 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "58SwrLknFJUYUGWVCdadg4" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 76 + }, + "_enabled": true, + "__prefab": { + "__id__": 80 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 97, + "g": 78, + "b": 78, + "a": 255 + }, + "_string": "", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4exqgq8gdP5bIMIhs7HFO8" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "91Bsnnx4FEfLsGrQmmb/rr", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": { + "__id__": 83 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 179, + "height": 212 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "56vDWK8ZlJ1ZP7UMtRSCmV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "31d2998e-4261-4284-bbcd-9a34ad9c73a6@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": "6bFFbZicNNdbPlGomswRfo" + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [], + "_textLabel": { + "__id__": 73 + }, + "_placeholderLabel": { + "__id__": 79 + }, + "_returnType": 0, + "_string": "柠", + "_tabIndex": 0, + "_backgroundImage": { + "__uuid__": "31d2998e-4261-4284-bbcd-9a34ad9c73a6@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_inputFlag": 5, + "_inputMode": 6, + "_maxLength": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ae7BKAtCxGd7g43wEiD9RJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3aayjoZLhO/am8qviNqowd", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -1792,11 +2301,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 70 + "__id__": 90 }, "_contentSize": { "__type__": "cc.Size", - "width": -20, + "width": 179, "height": 100 }, "_anchorPoint": { @@ -1820,7 +2329,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 72 + "__id__": 92 }, "_resizeMode": 1, "_layoutType": 1, @@ -1848,6 +2357,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "2dCn7uYatBRLETBXaXbcC6" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 68 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "_alignFlags": 40, + "_target": null, + "_left": 216.613, + "_right": 204.387, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 179, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2246j677JF1oPAOVqtnZ/S" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -1861,113 +2406,139 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 67 - }, - "_enabled": true, - "__prefab": { - "__id__": 75 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 600, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "95uEcqYPRJ/JsQWGHMXn20" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 67 - }, - "_enabled": true, - "__prefab": { - "__id__": 77 - }, - "_resizeMode": 0, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f4CxQ7laRFOp09gI0UW91w" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4deoRli6lG4Le/Y/sMCn6i", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", - "_name": "border_dashline_wht", + "_name": "punchLayout", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 24 + "__id__": 67 + }, + "_children": [ + { + "__id__": 97 + } + ], + "_active": true, + "_components": [ + { + "__id__": 109 + }, + { + "__id__": 111 + } + ], + "_prefab": { + "__id__": 113 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 14.27, + "y": -216.933, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "block", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 96 + }, + "_children": [ + { + "__id__": 98 + } + ], + "_active": true, + "_components": [ + { + "__id__": 104 + }, + { + "__id__": 106 + } + ], + "_prefab": { + "__id__": 108 + }, + "_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": 0.8, + "y": 0.8, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 97 }, "_children": [], "_active": true, "_components": [ { - "__id__": 80 + "__id__": 99 }, { - "__id__": 82 - }, - { - "__id__": 84 + "__id__": 101 } ], "_prefab": { - "__id__": 86 + "__id__": 103 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -816.284, + "y": 0, "z": 0 }, "_lrot": { @@ -1999,11 +2570,379 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 98 }, "_enabled": true, "__prefab": { - "__id__": 81 + "__id__": 100 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 42.255859375, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "75Q24DZPVD+I1hbXy157SD" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 98 + }, + "_enabled": true, + "__prefab": { + "__id__": 102 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "label", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "78FvwwAfNEeIi337pYDMrd" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5bCMJlejpDQ5UMf0Td+j7j", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 178, + "height": 186 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "12UCIldZlAKL99qCHvQFab" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 107 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 231, + "g": 255, + "b": 224, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "88cc67ba-1a68-4e04-99de-db6fd60fe3d6@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68lF23GBhMQJQ8wWcQ33b6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7dBMb+EQVB9JDvOyvByHg5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 110 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 178, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9gVAK7ApMpZbx1Vbq6zSS" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 112 + }, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 20, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "791T1tadJLb6u3q2PAo8uC" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "00MiG/RkVAX6V7oQ1tLpyN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 115 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 600, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95uEcqYPRJ/JsQWGHMXn20" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4deoRli6lG4Le/Y/sMCn6i", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "border_dashline_wht", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 24 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 118 + }, + { + "__id__": 120 + }, + { + "__id__": 122 + } + ], + "_prefab": { + "__id__": 124 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -842.74, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": { + "__id__": 119 }, "_contentSize": { "__type__": "cc.Size", @@ -2027,11 +2966,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 83 + "__id__": 121 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2072,11 +3011,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 85 + "__id__": 123 }, "_alignFlags": 40, "_target": null, @@ -2115,165 +3054,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "PunchlineLabel", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 24 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 88 - }, - { - "__id__": 90 - } - ], - "_prefab": { - "__id__": 92 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -863.56, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 87 - }, - "_enabled": true, - "__prefab": { - "__id__": 89 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 84.51171875, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "34W/3ZumhHyZ/o7/ROVy7d" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 87 - }, - "_enabled": true, - "__prefab": { - "__id__": 91 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "label", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 40, - "_fontSize": 40, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": false, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3ak+y0YFZB+afgXqxmKKXy" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "0eVBV8HJFFabxVaWIy0c10", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.UITransform", "_name": "", @@ -2284,7 +3064,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 94 + "__id__": 126 }, "_contentSize": { "__type__": "cc.Size", @@ -2312,7 +3092,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 96 + "__id__": 128 }, "_alignFlags": 1, "_target": null, @@ -2348,7 +3128,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 98 + "__id__": 130 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2408,20 +3188,20 @@ "_active": true, "_components": [ { - "__id__": 101 + "__id__": 133 }, { - "__id__": 103 + "__id__": 135 }, { - "__id__": 105 + "__id__": 137 }, { - "__id__": 107 + "__id__": 139 } ], "_prefab": { - "__id__": 109 + "__id__": 141 }, "_lpos": { "__type__": "cc.Vec3", @@ -2458,11 +3238,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 134 }, "_contentSize": { "__type__": "cc.Size", @@ -2486,11 +3266,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 104 + "__id__": 136 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2531,11 +3311,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 106 + "__id__": 138 }, "_alignFlags": 9, "_target": null, @@ -2567,11 +3347,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 108 + "__id__": 140 }, "clickEvents": [], "_interactable": true, @@ -2640,26 +3420,26 @@ }, "_children": [ { - "__id__": 111 + "__id__": 143 }, { - "__id__": 117 + "__id__": 149 }, { - "__id__": 123 + "__id__": 155 } ], "_active": true, "_components": [ { - "__id__": 129 + "__id__": 161 }, { - "__id__": 131 + "__id__": 163 } ], "_prefab": { - "__id__": 133 + "__id__": 165 }, "_lpos": { "__type__": "cc.Vec3", @@ -2696,20 +3476,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 110 + "__id__": 142 }, "_children": [], "_active": true, "_components": [ { - "__id__": 112 + "__id__": 144 }, { - "__id__": 114 + "__id__": 146 } ], "_prefab": { - "__id__": 116 + "__id__": 148 }, "_lpos": { "__type__": "cc.Vec3", @@ -2746,11 +3526,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 143 }, "_enabled": true, "__prefab": { - "__id__": 113 + "__id__": 145 }, "_contentSize": { "__type__": "cc.Size", @@ -2774,11 +3554,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 143 }, "_enabled": true, "__prefab": { - "__id__": 115 + "__id__": 147 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2832,20 +3612,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 110 + "__id__": 142 }, "_children": [], "_active": true, "_components": [ { - "__id__": 118 + "__id__": 150 }, { - "__id__": 120 + "__id__": 152 } ], "_prefab": { - "__id__": 122 + "__id__": 154 }, "_lpos": { "__type__": "cc.Vec3", @@ -2882,11 +3662,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 117 + "__id__": 149 }, "_enabled": true, "__prefab": { - "__id__": 119 + "__id__": 151 }, "_contentSize": { "__type__": "cc.Size", @@ -2910,11 +3690,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 117 + "__id__": 149 }, "_enabled": true, "__prefab": { - "__id__": 121 + "__id__": 153 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2968,20 +3748,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 110 + "__id__": 142 }, "_children": [], "_active": true, "_components": [ { - "__id__": 124 + "__id__": 156 }, { - "__id__": 126 + "__id__": 158 } ], "_prefab": { - "__id__": 128 + "__id__": 160 }, "_lpos": { "__type__": "cc.Vec3", @@ -3018,11 +3798,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 123 + "__id__": 155 }, "_enabled": true, "__prefab": { - "__id__": 125 + "__id__": 157 }, "_contentSize": { "__type__": "cc.Size", @@ -3046,11 +3826,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 123 + "__id__": 155 }, "_enabled": true, "__prefab": { - "__id__": 127 + "__id__": 159 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3130,11 +3910,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 142 }, "_enabled": true, "__prefab": { - "__id__": 130 + "__id__": 162 }, "_contentSize": { "__type__": "cc.Size", @@ -3158,11 +3938,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 142 }, "_enabled": true, "__prefab": { - "__id__": 132 + "__id__": 164 }, "_alignFlags": 9, "_target": null, @@ -3211,26 +3991,26 @@ }, "_children": [ { - "__id__": 135 + "__id__": 167 }, { - "__id__": 141 + "__id__": 173 }, { - "__id__": 147 + "__id__": 179 } ], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 185 }, { - "__id__": 155 + "__id__": 187 } ], "_prefab": { - "__id__": 157 + "__id__": 189 }, "_lpos": { "__type__": "cc.Vec3", @@ -3267,20 +4047,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 134 + "__id__": 166 }, "_children": [], "_active": true, "_components": [ { - "__id__": 136 + "__id__": 168 }, { - "__id__": 138 + "__id__": 170 } ], "_prefab": { - "__id__": 140 + "__id__": 172 }, "_lpos": { "__type__": "cc.Vec3", @@ -3317,11 +4097,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 167 }, "_enabled": true, "__prefab": { - "__id__": 137 + "__id__": 169 }, "_contentSize": { "__type__": "cc.Size", @@ -3345,11 +4125,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 167 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 171 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3403,20 +4183,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 134 + "__id__": 166 }, "_children": [], "_active": true, "_components": [ { - "__id__": 142 + "__id__": 174 }, { - "__id__": 144 + "__id__": 176 } ], "_prefab": { - "__id__": 146 + "__id__": 178 }, "_lpos": { "__type__": "cc.Vec3", @@ -3453,11 +4233,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 141 + "__id__": 173 }, "_enabled": true, "__prefab": { - "__id__": 143 + "__id__": 175 }, "_contentSize": { "__type__": "cc.Size", @@ -3481,11 +4261,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 141 + "__id__": 173 }, "_enabled": true, "__prefab": { - "__id__": 145 + "__id__": 177 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3539,20 +4319,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 134 + "__id__": 166 }, "_children": [], "_active": true, "_components": [ { - "__id__": 148 + "__id__": 180 }, { - "__id__": 150 + "__id__": 182 } ], "_prefab": { - "__id__": 152 + "__id__": 184 }, "_lpos": { "__type__": "cc.Vec3", @@ -3589,11 +4369,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 179 }, "_enabled": true, "__prefab": { - "__id__": 149 + "__id__": 181 }, "_contentSize": { "__type__": "cc.Size", @@ -3617,11 +4397,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 179 }, "_enabled": true, "__prefab": { - "__id__": 151 + "__id__": 183 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3701,11 +4481,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 186 }, "_contentSize": { "__type__": "cc.Size", @@ -3729,11 +4509,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 188 }, "_alignFlags": 33, "_target": null, @@ -3782,34 +4562,34 @@ }, "_children": [ { - "__id__": 159 + "__id__": 191 }, { - "__id__": 177 + "__id__": 207 }, { - "__id__": 195 + "__id__": 223 } ], "_active": true, "_components": [ { - "__id__": 213 + "__id__": 239 }, { - "__id__": 215 + "__id__": 241 }, { - "__id__": 217 + "__id__": 243 } ], "_prefab": { - "__id__": 219 + "__id__": 245 }, "_lpos": { "__type__": "cc.Vec3", - "x": -117.886, - "y": -586.649, + "x": -50.312, + "y": -660.724, "z": 0 }, "_lrot": { @@ -3821,8 +4601,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.828, - "y": 0.828, + "x": 1, + "y": 1, "z": 0.828 }, "_mobility": 0, @@ -3841,32 +4621,29 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 190 }, "_children": [ { - "__id__": 160 + "__id__": 192 }, { - "__id__": 166 + "__id__": 198 } ], "_active": true, "_components": [ { - "__id__": 172 - }, - { - "__id__": 174 + "__id__": 204 } ], "_prefab": { - "__id__": 176 + "__id__": 206 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 170, + "y": 120, "z": 0 }, "_lrot": { @@ -3898,20 +4675,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 159 + "__id__": 191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 161 + "__id__": 193 }, { - "__id__": 163 + "__id__": 195 } ], "_prefab": { - "__id__": 165 + "__id__": 197 }, "_lpos": { "__type__": "cc.Vec3", @@ -3948,11 +4725,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 160 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 162 + "__id__": 194 }, "_contentSize": { "__type__": "cc.Size", @@ -3976,11 +4753,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 160 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 164 + "__id__": 196 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4034,24 +4811,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 159 + "__id__": 191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 167 + "__id__": 199 }, { - "__id__": 169 + "__id__": 201 } ], "_prefab": { - "__id__": 171 + "__id__": 203 }, "_lpos": { "__type__": "cc.Vec3", - "x": -99.70399999999995, + "x": -156.798, "y": 0, "z": 0 }, @@ -4084,11 +4861,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 198 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 200 }, "_contentSize": { "__type__": "cc.Size", @@ -4112,11 +4889,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 198 }, "_enabled": true, "__prefab": { - "__id__": 170 + "__id__": 202 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4196,16 +4973,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 159 + "__id__": 191 }, "_enabled": true, "__prefab": { - "__id__": 173 + "__id__": 205 }, "_contentSize": { "__type__": "cc.Size", "width": 800, - "height": 150 + "height": 100 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4218,64 +4995,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "37D6b3G0lPlIkr1GzIzW7S" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 175 - }, - "clickEvents": [], - "_interactable": true, - "_transition": 3, - "_normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "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": null, - "_hoverSprite": null, - "_pressedSprite": null, - "_disabledSprite": null, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 159 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b0ekj50j1FPaHcSdO876H3" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -4295,27 +5014,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 190 }, "_children": [ { - "__id__": 178 + "__id__": 208 }, { - "__id__": 184 + "__id__": 214 } ], "_active": true, "_components": [ { - "__id__": 190 - }, - { - "__id__": 192 + "__id__": 220 } ], "_prefab": { - "__id__": 194 + "__id__": 222 }, "_lpos": { "__type__": "cc.Vec3", @@ -4352,20 +5068,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 177 + "__id__": 207 }, "_children": [], "_active": true, "_components": [ { - "__id__": 179 + "__id__": 209 }, { - "__id__": 181 + "__id__": 211 } ], "_prefab": { - "__id__": 183 + "__id__": 213 }, "_lpos": { "__type__": "cc.Vec3", @@ -4402,11 +5118,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 208 }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 210 }, "_contentSize": { "__type__": "cc.Size", @@ -4430,11 +5146,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 208 }, "_enabled": true, "__prefab": { - "__id__": 182 + "__id__": 212 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4488,20 +5204,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 177 + "__id__": 207 }, "_children": [], "_active": true, "_components": [ { - "__id__": 185 + "__id__": 215 }, { - "__id__": 187 + "__id__": 217 } ], "_prefab": { - "__id__": 189 + "__id__": 219 }, "_lpos": { "__type__": "cc.Vec3", @@ -4538,11 +5254,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 184 + "__id__": 214 }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 216 }, "_contentSize": { "__type__": "cc.Size", @@ -4566,11 +5282,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 184 + "__id__": 214 }, "_enabled": true, "__prefab": { - "__id__": 188 + "__id__": 218 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4650,16 +5366,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 177 + "__id__": 207 }, "_enabled": true, "__prefab": { - "__id__": 191 + "__id__": 221 }, "_contentSize": { "__type__": "cc.Size", "width": 800, - "height": 150 + "height": 100 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4672,64 +5388,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "a46BBQHf1EhYfAmqASwIbm" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 177 - }, - "_enabled": true, - "__prefab": { - "__id__": 193 - }, - "clickEvents": [], - "_interactable": true, - "_transition": 3, - "_normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "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": null, - "_hoverSprite": null, - "_pressedSprite": null, - "_disabledSprite": null, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 177 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b8sFGUqIBM2ZUU8W2dX5e4" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -4749,32 +5407,29 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 190 }, "_children": [ { - "__id__": 196 + "__id__": 224 }, { - "__id__": 202 + "__id__": 230 } ], "_active": true, "_components": [ { - "__id__": 208 - }, - { - "__id__": 210 + "__id__": 236 } ], "_prefab": { - "__id__": 212 + "__id__": 238 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -170, + "y": -120, "z": 0 }, "_lrot": { @@ -4806,20 +5461,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 223 }, "_children": [], "_active": true, "_components": [ { - "__id__": 197 + "__id__": 225 }, { - "__id__": 199 + "__id__": 227 } ], "_prefab": { - "__id__": 201 + "__id__": 229 }, "_lpos": { "__type__": "cc.Vec3", @@ -4856,11 +5511,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 224 }, "_enabled": true, "__prefab": { - "__id__": 198 + "__id__": 226 }, "_contentSize": { "__type__": "cc.Size", @@ -4884,11 +5539,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 224 }, "_enabled": true, "__prefab": { - "__id__": 200 + "__id__": 228 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4942,20 +5597,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 223 }, "_children": [], "_active": true, "_components": [ { - "__id__": 203 + "__id__": 231 }, { - "__id__": 205 + "__id__": 233 } ], "_prefab": { - "__id__": 207 + "__id__": 235 }, "_lpos": { "__type__": "cc.Vec3", @@ -4992,11 +5647,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 202 + "__id__": 230 }, "_enabled": true, "__prefab": { - "__id__": 204 + "__id__": 232 }, "_contentSize": { "__type__": "cc.Size", @@ -5020,11 +5675,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 202 + "__id__": 230 }, "_enabled": true, "__prefab": { - "__id__": 206 + "__id__": 234 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5104,16 +5759,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 223 }, "_enabled": true, "__prefab": { - "__id__": 209 + "__id__": 237 }, "_contentSize": { "__type__": "cc.Size", "width": 800, - "height": 150 + "height": 100 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5126,64 +5781,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "ec1Wk1ToBHKIC8U5Szya/3" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 195 - }, - "_enabled": true, - "__prefab": { - "__id__": 211 - }, - "clickEvents": [], - "_interactable": true, - "_transition": 3, - "_normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "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": null, - "_hoverSprite": null, - "_pressedSprite": null, - "_disabledSprite": null, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 195 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "27ft4SQ4lH7Z52tQXiH8GU" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -5203,16 +5800,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 190 }, "_enabled": true, "__prefab": { - "__id__": 214 + "__id__": 240 }, "_contentSize": { "__type__": "cc.Size", "width": 800, - "height": 490 + "height": 340 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5231,11 +5828,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 190 }, "_enabled": true, "__prefab": { - "__id__": 216 + "__id__": 242 }, "_resizeMode": 1, "_layoutType": 2, @@ -5269,18 +5866,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 190 }, "_enabled": true, "__prefab": { - "__id__": 218 + "__id__": 244 }, "_alignFlags": 4, "_target": null, "_left": 0, "_right": 0, "_top": 0, - "_bottom": 290.491, + "_bottom": 249.27599999999995, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -5322,26 +5919,26 @@ }, "_children": [ { - "__id__": 221 + "__id__": 247 }, { - "__id__": 227 + "__id__": 253 } ], "_active": true, "_components": [ { - "__id__": 233 + "__id__": 259 }, { - "__id__": 235 + "__id__": 261 }, { - "__id__": 237 + "__id__": 263 } ], "_prefab": { - "__id__": 239 + "__id__": 265 }, "_lpos": { "__type__": "cc.Vec3", @@ -5378,20 +5975,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 220 + "__id__": 246 }, "_children": [], "_active": true, "_components": [ { - "__id__": 222 + "__id__": 248 }, { - "__id__": 224 + "__id__": 250 } ], "_prefab": { - "__id__": 226 + "__id__": 252 }, "_lpos": { "__type__": "cc.Vec3", @@ -5428,11 +6025,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 221 + "__id__": 247 }, "_enabled": true, "__prefab": { - "__id__": 223 + "__id__": 249 }, "_contentSize": { "__type__": "cc.Size", @@ -5456,11 +6053,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 221 + "__id__": 247 }, "_enabled": true, "__prefab": { - "__id__": 225 + "__id__": 251 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5540,20 +6137,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 220 + "__id__": 246 }, "_children": [], "_active": false, "_components": [ { - "__id__": 228 + "__id__": 254 }, { - "__id__": 230 + "__id__": 256 } ], "_prefab": { - "__id__": 232 + "__id__": 258 }, "_lpos": { "__type__": "cc.Vec3", @@ -5590,11 +6187,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 227 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 229 + "__id__": 255 }, "_contentSize": { "__type__": "cc.Size", @@ -5618,11 +6215,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 227 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 231 + "__id__": 257 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5699,11 +6296,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 246 }, "_enabled": true, "__prefab": { - "__id__": 234 + "__id__": 260 }, "_contentSize": { "__type__": "cc.Size", @@ -5727,11 +6324,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 246 }, "_enabled": true, "__prefab": { - "__id__": 236 + "__id__": 262 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5772,21 +6369,21 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 246 }, "_enabled": true, "__prefab": { - "__id__": 238 + "__id__": 264 }, "editingDidBegan": [], "textChanged": [], "editingDidEnded": [], "editingReturn": [], "_textLabel": { - "__id__": 224 + "__id__": 250 }, "_placeholderLabel": { - "__id__": 230 + "__id__": 256 }, "_returnType": 0, "_string": "柠", @@ -5827,26 +6424,26 @@ }, "_children": [ { - "__id__": 241 - }, - { - "__id__": 263 - } - ], - "_active": true, - "_components": [ - { - "__id__": 285 - }, - { - "__id__": 287 + "__id__": 267 }, { "__id__": 289 } ], + "_active": true, + "_components": [ + { + "__id__": 311 + }, + { + "__id__": 313 + }, + { + "__id__": 315 + } + ], "_prefab": { - "__id__": 291 + "__id__": 317 }, "_lpos": { "__type__": "cc.Vec3", @@ -5883,33 +6480,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 240 + "__id__": 266 }, "_children": [ { - "__id__": 242 + "__id__": 268 }, { - "__id__": 248 + "__id__": 274 } ], "_active": true, "_components": [ { - "__id__": 254 + "__id__": 280 }, { - "__id__": 256 + "__id__": 282 }, { - "__id__": 258 + "__id__": 284 }, { - "__id__": 260 + "__id__": 286 } ], "_prefab": { - "__id__": 262 + "__id__": 288 }, "_lpos": { "__type__": "cc.Vec3", @@ -5946,20 +6543,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 241 + "__id__": 267 }, "_children": [], "_active": true, "_components": [ { - "__id__": 243 + "__id__": 269 }, { - "__id__": 245 + "__id__": 271 } ], "_prefab": { - "__id__": 247 + "__id__": 273 }, "_lpos": { "__type__": "cc.Vec3", @@ -5996,11 +6593,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 268 }, "_enabled": true, "__prefab": { - "__id__": 244 + "__id__": 270 }, "_contentSize": { "__type__": "cc.Size", @@ -6024,11 +6621,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 268 }, "_enabled": true, "__prefab": { - "__id__": 246 + "__id__": 272 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6082,20 +6679,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 241 + "__id__": 267 }, "_children": [], "_active": true, "_components": [ { - "__id__": 249 + "__id__": 275 }, { - "__id__": 251 + "__id__": 277 } ], "_prefab": { - "__id__": 253 + "__id__": 279 }, "_lpos": { "__type__": "cc.Vec3", @@ -6132,11 +6729,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 248 + "__id__": 274 }, "_enabled": true, "__prefab": { - "__id__": 250 + "__id__": 276 }, "_contentSize": { "__type__": "cc.Size", @@ -6160,11 +6757,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 248 + "__id__": 274 }, "_enabled": true, "__prefab": { - "__id__": 252 + "__id__": 278 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6244,11 +6841,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 255 + "__id__": 281 }, "_contentSize": { "__type__": "cc.Size", @@ -6272,11 +6869,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 257 + "__id__": 283 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6317,11 +6914,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 259 + "__id__": 285 }, "_alignFlags": 12, "_target": null, @@ -6353,11 +6950,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 261 + "__id__": 287 }, "clickEvents": [], "_interactable": true, @@ -6397,7 +6994,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 241 + "__id__": 267 }, "_id": "" }, @@ -6424,33 +7021,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 240 + "__id__": 266 }, "_children": [ { - "__id__": 264 + "__id__": 290 }, { - "__id__": 270 + "__id__": 296 } ], "_active": true, "_components": [ { - "__id__": 276 + "__id__": 302 }, { - "__id__": 278 + "__id__": 304 }, { - "__id__": 280 + "__id__": 306 }, { - "__id__": 282 + "__id__": 308 } ], "_prefab": { - "__id__": 284 + "__id__": 310 }, "_lpos": { "__type__": "cc.Vec3", @@ -6487,20 +7084,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 263 + "__id__": 289 }, "_children": [], "_active": true, "_components": [ { - "__id__": 265 + "__id__": 291 }, { - "__id__": 267 + "__id__": 293 } ], "_prefab": { - "__id__": 269 + "__id__": 295 }, "_lpos": { "__type__": "cc.Vec3", @@ -6537,11 +7134,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 264 + "__id__": 290 }, "_enabled": true, "__prefab": { - "__id__": 266 + "__id__": 292 }, "_contentSize": { "__type__": "cc.Size", @@ -6565,11 +7162,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 264 + "__id__": 290 }, "_enabled": true, "__prefab": { - "__id__": 268 + "__id__": 294 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6623,20 +7220,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 263 + "__id__": 289 }, "_children": [], "_active": true, "_components": [ { - "__id__": 271 + "__id__": 297 }, { - "__id__": 273 + "__id__": 299 } ], "_prefab": { - "__id__": 275 + "__id__": 301 }, "_lpos": { "__type__": "cc.Vec3", @@ -6673,11 +7270,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 270 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 272 + "__id__": 298 }, "_contentSize": { "__type__": "cc.Size", @@ -6701,11 +7298,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 270 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 274 + "__id__": 300 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6785,11 +7382,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 263 + "__id__": 289 }, "_enabled": true, "__prefab": { - "__id__": 277 + "__id__": 303 }, "_contentSize": { "__type__": "cc.Size", @@ -6813,11 +7410,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 263 + "__id__": 289 }, "_enabled": true, "__prefab": { - "__id__": 279 + "__id__": 305 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6858,11 +7455,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 263 + "__id__": 289 }, "_enabled": true, "__prefab": { - "__id__": 281 + "__id__": 307 }, "_alignFlags": 36, "_target": null, @@ -6894,11 +7491,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 263 + "__id__": 289 }, "_enabled": true, "__prefab": { - "__id__": 283 + "__id__": 309 }, "clickEvents": [], "_interactable": true, @@ -6963,11 +7560,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 286 + "__id__": 312 }, "_contentSize": { "__type__": "cc.Size", @@ -6991,11 +7588,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 288 + "__id__": 314 }, "_resizeMode": 1, "_layoutType": 1, @@ -7029,11 +7626,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 290 + "__id__": 316 }, "_alignFlags": 44, "_target": null, @@ -7084,14 +7681,14 @@ "_active": true, "_components": [ { - "__id__": 293 + "__id__": 319 }, { - "__id__": 295 + "__id__": 321 } ], "_prefab": { - "__id__": 297 + "__id__": 323 }, "_lpos": { "__type__": "cc.Vec3", @@ -7128,11 +7725,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 292 + "__id__": 318 }, "_enabled": true, "__prefab": { - "__id__": 294 + "__id__": 320 }, "_contentSize": { "__type__": "cc.Size", @@ -7156,11 +7753,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 292 + "__id__": 318 }, "_enabled": true, "__prefab": { - "__id__": 296 + "__id__": 322 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7218,7 +7815,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 299 + "__id__": 325 }, "_contentSize": { "__type__": "cc.Size", @@ -7246,7 +7843,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 301 + "__id__": 327 }, "_alignFlags": 0, "_target": null, @@ -7282,23 +7879,26 @@ }, "_enabled": true, "__prefab": { - "__id__": 303 + "__id__": 329 }, "inputLayout": { "__id__": 68 }, + "punchLayout": { + "__id__": 96 + }, "submitButton": null, "inputTemplate": { - "__id__": 220 + "__id__": 246 }, "actionNode": { "__id__": 67 }, "iconSetting": { - "__id__": 100 + "__id__": 132 }, "tipsLayout": { - "__id__": 158 + "__id__": 190 }, "mainImage": { "__id__": 26 @@ -7312,29 +7912,26 @@ "image2DescLabel": { "__id__": 59 }, - "punchlineLabel": { - "__id__": 90 - }, "tipsItem1": { - "__id__": 159 + "__id__": 191 }, "tipsItem2": { - "__id__": 177 + "__id__": 207 }, "tipsItem3": { - "__id__": 195 + "__id__": 223 }, "unLockTipsBtn": { - "__id__": 241 + "__id__": 267 }, "addTimeBtn": { - "__id__": 263 + "__id__": 289 }, "clockLabel": { - "__id__": 150 + "__id__": 182 }, "liveLabel": { - "__id__": 126 + "__id__": 158 }, "currentLevelIndex": 0, "clickAudio": { @@ -7369,7 +7966,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 305 + "__id__": 331 }, "_clip": null, "_loop": false, diff --git a/assets/prefabs/PageLevel.ts b/assets/prefabs/PageLevel.ts index 9e4c805..38a4b0e 100644 --- a/assets/prefabs/PageLevel.ts +++ b/assets/prefabs/PageLevel.ts @@ -1,4 +1,4 @@ -import { _decorator, Node, EditBox, instantiate, Vec3, Button, Label, Sprite, SpriteFrame, AudioClip, AudioSource, UITransform, Prefab } from 'cc'; +import { _decorator, Node, EditBox, instantiate, Vec3, Button, Label, Sprite, SpriteFrame, AudioClip, AudioSource, Prefab } from 'cc'; import { BaseView } from 'db://assets/scripts/core/BaseView'; import { ViewManager } from 'db://assets/scripts/core/ViewManager'; import { StorageManager } from 'db://assets/scripts/utils/StorageManager'; @@ -28,6 +28,9 @@ export class PageLevel extends BaseView { @property(Node) inputLayout: Node | null = null; + @property(Node) + punchLayout: Node | null = null; + @property(Node) submitButton: Node | null = null; @@ -55,9 +58,6 @@ export class PageLevel extends BaseView { @property(Label) image2DescLabel: Label | null = null; - @property(Label) - punchlineLabel: Label | null = null; - @property(Node) tipsItem1: Node | null = null; @@ -103,6 +103,21 @@ export class PageLevel extends BaseView { /** 当前创建的输入框节点数组 */ private _inputNodes: Node[] = []; + /** InputLayout 中默认放置的输入框模板节点 */ + private _inputTemplateNode: Node | null = null; + + /** 当前创建的包袱展示块节点数组 */ + private _punchBlockNodes: Node[] = []; + + /** punchLayout 中默认放置的展示块模板节点 */ + private _punchBlockTemplateNode: Node | null = null; + + /** 是否正在同步输入格内容,避免设置文本时重复触发事件 */ + private _isSyncingInputText: boolean = false; + + /** 最近一次自动提交的答案,避免填满后重复提交同一内容 */ + private _lastAutoSubmittedAnswer: string = ''; + /** 倒计时剩余秒数 */ private _countdown: number = 60; @@ -185,6 +200,7 @@ export class PageLevel extends BaseView { onViewDestroy(): void { console.log('[PageLevel] onViewDestroy'); this.clearInputNodes(); + this.clearPunchBlocks(); this.stopCountdown(); this._closePassModal(); this._stopStaminaRecoverTimer(); @@ -310,9 +326,9 @@ export class PageLevel extends BaseView { // 显示解锁按钮(单个统一按钮) this.showUnlockButton(); - // 根据答案长度创建单个输入框 + // 根据答案字数创建输入格 if (config.answer) { - this.createSingleInput(config.answer.length); + this.createInputBlocks(config.answer); } // 更新倒计时显示 @@ -328,99 +344,106 @@ export class PageLevel extends BaseView { LevelDataManager.instance.preloadNextLevel(this.currentLevelIndex); } - console.log(`[PageLevel] 初始化关卡 ${this.currentLevelIndex + 1}, 答案长度: ${config.answer?.length ?? 0}`); + console.log(`[PageLevel] 初始化关卡 ${this.currentLevelIndex + 1}, 答案长度: ${Array.from(config.answer ?? '').length}`); } /** - * 创建单个输入框 - * @param answerLength 答案长度,用于设置 placeholder 和宽度 + * 根据答案字数创建输入格 */ - private createSingleInput(answerLength: number): void { - if (!this.inputLayout || !this.inputTemplate) { - console.error('[PageLevel] inputLayout 或 inputTemplate 未设置'); + private createInputBlocks(answer: string): void { + if (!this.inputLayout) { + console.error('[PageLevel] inputLayout 未设置'); return; } - // 清理现有输入框 + const chars = Array.from(answer); + const template = this.getInputTemplateNode(); + if (!template) { + console.error('[PageLevel] InputLayout 下未找到默认 Input 节点'); + return; + } + if (this.inputTemplate && this.inputTemplate !== template) { + this.inputTemplate.active = false; + } + this.clearInputNodes(); + this.removeUnexpectedInputLayoutChildren(template); + this._lastAutoSubmittedAnswer = ''; - // 隐藏模板节点 - this.inputTemplate.active = false; + for (let i = 0; i < chars.length; i++) { + const inputNode = i === 0 ? template : instantiate(template); + inputNode.active = true; + inputNode.name = `Input_${i + 1}`; + inputNode.setPosition(PageLevel.ZERO_POS); - // 创建单个输入框 - const inputNode = instantiate(this.inputTemplate); - inputNode.active = true; - inputNode.name = 'singleInput'; - - // 设置位置 - inputNode.setPosition(PageLevel.ZERO_POS); - - // 获取 EditBox 组件 - const editBox = inputNode.getComponent(EditBox); - if (editBox) { - // 设置 placeholder 提示 - editBox.placeholder = `(${answerLength}个字)`; - - // 设置最大长度为答案长度 - editBox.maxLength = answerLength; - - // 清空输入内容 - editBox.string = ''; - - // 监听事件 - editBox.node.on(EditBox.EventType.TEXT_CHANGED, this.onInputTextChanged, this); - editBox.node.on(EditBox.EventType.EDITING_DID_ENDED, this.onInputEditingEnded, this); - } - - // 动态调整输入框宽度 - const uitransform = inputNode.getComponent(UITransform); - let inputWidth = 200; - if (uitransform) { - // 每个字符约 60px,加上 padding - inputWidth = Math.min(600, Math.max(200, answerLength * 60 + 40)); - uitransform.setContentSize(inputWidth, 100); - } - - // 调整下划线宽度与输入框一致 - const underLine = inputNode.getChildByName('UnderLine'); - if (underLine) { - const underLineTransform = underLine.getComponent(UITransform); - if (underLineTransform) { - underLineTransform.setContentSize(inputWidth, underLineTransform.height); + const editBox = inputNode.getComponent(EditBox); + if (editBox) { + editBox.placeholder = ''; + editBox.maxLength = chars.length; + editBox.string = ''; + editBox.node.on(EditBox.EventType.TEXT_CHANGED, this.onInputTextChanged, this); + editBox.node.on(EditBox.EventType.EDITING_DID_ENDED, this.onInputEditingEnded, this); } + + if (inputNode.parent !== this.inputLayout) { + this.inputLayout.addChild(inputNode); + } + this._inputNodes.push(inputNode); } - this.inputLayout.addChild(inputNode); - this._inputNodes.push(inputNode); - - console.log(`[PageLevel] 创建单个输入框,答案长度: ${answerLength}`); + console.log(`[PageLevel] 创建输入格,答案长度: ${chars.length}`); } /** * 清理所有输入框节点 */ private clearInputNodes(): void { + const template = this.getInputTemplateNode(); + for (const node of this._inputNodes) { if (node.isValid) { const editBox = node.getComponent(EditBox); if (editBox) { editBox.node.off(EditBox.EventType.TEXT_CHANGED, this.onInputTextChanged, this); editBox.node.off(EditBox.EventType.EDITING_DID_ENDED, this.onInputEditingEnded, this); + editBox.string = ''; + } + + if (node === template) { + node.active = false; + } else { + node.removeFromParent(); + node.destroy(); } - node.destroy(); } } this._inputNodes = []; } + private getInputTemplateNode(): Node | null { + if (this._inputTemplateNode?.isValid) return this._inputTemplateNode; + + this._inputTemplateNode = this.inputLayout?.children.find(node => !!node.getComponent(EditBox)) ?? this.inputTemplate ?? null; + return this._inputTemplateNode; + } + + private removeUnexpectedInputLayoutChildren(template: Node): void { + if (!this.inputLayout) return; + + for (const child of [...this.inputLayout.children]) { + if (child !== template) { + child.removeFromParent(); + child.destroy(); + } + } + } + /** * 获取所有输入框的值 */ getInputValues(): string[] { if (this._inputNodes.length === 0) return []; - const editBox = this._inputNodes[0].getComponent(EditBox); - const str = (editBox?.string ?? '').trim(); - return [str]; + return this._inputNodes.map(node => (node.getComponent(EditBox)?.string ?? '').trim()); } /** @@ -428,8 +451,7 @@ export class PageLevel extends BaseView { */ getAnswer(): string { if (this._inputNodes.length === 0) return ''; - const editBox = this._inputNodes[0].getComponent(EditBox); - return (editBox?.string ?? '').trim(); + return this.getInputValues().join('').trim(); } // ========== EditBox 事件回调 ========== @@ -437,8 +459,14 @@ export class PageLevel extends BaseView { /** * 输入框文本变化回调 */ - private onInputTextChanged(_editBox: EditBox): void { - console.log('[PageLevel] 输入内容变化'); + private onInputTextChanged(editBox: EditBox): void { + if (this._isSyncingInputText) return; + + const inputIndex = this._inputNodes.findIndex(node => node === editBox.node); + if (inputIndex < 0) return; + + this.distributeInputText(inputIndex, editBox.string); + this.tryAutoSubmitAnswer(); } /** @@ -448,6 +476,47 @@ export class PageLevel extends BaseView { console.log('[PageLevel] 输入编辑结束'); } + private distributeInputText(startIndex: number, text: string): void { + const chars = Array.from(text); + this._isSyncingInputText = true; + + try { + if (chars.length <= 1) { + const editBox = this._inputNodes[startIndex]?.getComponent(EditBox); + if (editBox) { + editBox.string = chars[0] ?? ''; + } + return; + } + + for (let i = startIndex; i < this._inputNodes.length; i++) { + const editBox = this._inputNodes[i].getComponent(EditBox); + if (editBox) { + editBox.string = chars[i - startIndex] ?? ''; + } + } + } finally { + this._isSyncingInputText = false; + } + } + + private tryAutoSubmitAnswer(): void { + if (!this._currentConfig || this._isTransitioning) return; + + const values = this.getInputValues(); + const isFilled = values.length === Array.from(this._currentConfig.answer ?? '').length && values.every(value => value.length === 1); + if (!isFilled) { + this._lastAutoSubmittedAnswer = ''; + return; + } + + const answer = values.join(''); + if (answer === this._lastAutoSubmittedAnswer) return; + + this._lastAutoSubmittedAnswer = answer; + this.onSubmitAnswer(); + } + // ========== IconSetting 按钮相关 ========== /** @@ -680,18 +749,74 @@ export class PageLevel extends BaseView { } /** - * 设置谐音梗说明(通关后展示,未通关时传 null 隐藏) + * 设置谐音梗说明(通关后逐字展示,未通关时传 null 隐藏) */ private setPunchline(punchline: string | null): void { - if (!this.punchlineLabel) return; + if (!this.punchLayout) return; - if (punchline) { - this.punchlineLabel.node.active = true; - this.punchlineLabel.string = punchline; - } else { - this.punchlineLabel.node.active = false; - this.punchlineLabel.string = ''; + const chars = Array.from(punchline ?? ''); + if (chars.length === 0) { + this.punchLayout.active = false; + this.clearPunchBlocks(); + return; } + + const template = this.getPunchBlockTemplateNode(); + if (!template) { + console.error('[PageLevel] punchLayout 下未找到默认 block 节点'); + return; + } + + this.clearPunchBlocks(); + this.punchLayout.active = true; + + for (let i = 0; i < chars.length; i++) { + const blockNode = i === 0 ? template : instantiate(template); + blockNode.active = true; + blockNode.name = `block_${i + 1}`; + blockNode.setPosition(PageLevel.ZERO_POS); + + const label = this.getPunchBlockLabel(blockNode); + if (label) { + label.string = chars[i]; + } + + if (blockNode.parent !== this.punchLayout) { + this.punchLayout.addChild(blockNode); + } + this._punchBlockNodes.push(blockNode); + } + } + + private clearPunchBlocks(): void { + const template = this.getPunchBlockTemplateNode(); + + for (const node of this._punchBlockNodes) { + if (node.isValid) { + const label = this.getPunchBlockLabel(node); + if (label) { + label.string = ''; + } + + if (node === template) { + node.active = false; + } else { + node.destroy(); + } + } + } + this._punchBlockNodes = []; + } + + private getPunchBlockTemplateNode(): Node | null { + if (this._punchBlockTemplateNode?.isValid) return this._punchBlockTemplateNode; + + this._punchBlockTemplateNode = this.punchLayout?.children[0] ?? null; + return this._punchBlockTemplateNode; + } + + private getPunchBlockLabel(blockNode: Node): Label | null { + return blockNode.getChildByName('Label')?.getComponent(Label) ?? blockNode.getComponent(Label); } // ========== 音效相关方法 ==========