diff --git a/assets/prefabs/PagePKData.prefab b/assets/prefabs/PagePKData.prefab index d6892f6..ac0a427 100644 --- a/assets/prefabs/PagePKData.prefab +++ b/assets/prefabs/PagePKData.prefab @@ -31,26 +31,26 @@ "__id__": 38 }, { - "__id__": 160 + "__id__": 166 }, { - "__id__": 174 + "__id__": 180 }, { - "__id__": 254 + "__id__": 266 } ], "_active": true, "_components": [ { - "__id__": 270 + "__id__": 282 }, { - "__id__": 272 + "__id__": 284 } ], "_prefab": { - "__id__": 274 + "__id__": 286 }, "_lpos": { "__type__": "cc.Vec3", @@ -934,22 +934,25 @@ }, { "__id__": 55 + }, + { + "__id__": 155 } ], "_active": true, "_components": [ { - "__id__": 155 + "__id__": 161 }, { - "__id__": 157 + "__id__": 163 }, { "__id__": 52 } ], "_prefab": { - "__id__": 159 + "__id__": 165 }, "_lpos": { "__type__": "cc.Vec3", @@ -3768,6 +3771,142 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "ScrolViewMask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 38 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 156 + }, + { + "__id__": 158 + } + ], + "_prefab": { + "__id__": 160 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -7.846, + "y": -497.59, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 1, + "w": 6.123233995736766e-17 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 180 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 155 + }, + "_enabled": true, + "__prefab": { + "__id__": 157 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1209, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0f7ddQG+tKRKqVkVI2F9L8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 155 + }, + "_enabled": true, + "__prefab": { + "__id__": 159 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 225, + "g": 245, + "b": 197, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "faab3d46-e885-4c46-8f19-9f872e7d6973@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "914lwS1HZCRrYpsyX27c+9" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e1phDSxhRAwYqNgCHAQXdJ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -3778,7 +3917,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 162 }, "_contentSize": { "__type__": "cc.Size", @@ -3806,7 +3945,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 158 + "__id__": 164 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3861,23 +4000,23 @@ }, "_children": [ { - "__id__": 161 + "__id__": 167 } ], "_active": true, "_components": [ { - "__id__": 167 + "__id__": 173 }, { - "__id__": 169 + "__id__": 175 }, { - "__id__": 171 + "__id__": 177 } ], "_prefab": { - "__id__": 173 + "__id__": 179 }, "_lpos": { "__type__": "cc.Vec3", @@ -3914,20 +4053,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 160 + "__id__": 166 }, "_children": [], "_active": true, "_components": [ { - "__id__": 162 + "__id__": 168 }, { - "__id__": 164 + "__id__": 170 } ], "_prefab": { - "__id__": 166 + "__id__": 172 }, "_lpos": { "__type__": "cc.Vec3", @@ -3964,11 +4103,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 161 + "__id__": 167 }, "_enabled": true, "__prefab": { - "__id__": 163 + "__id__": 169 }, "_contentSize": { "__type__": "cc.Size", @@ -3992,11 +4131,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 161 + "__id__": 167 }, "_enabled": true, "__prefab": { - "__id__": 165 + "__id__": 171 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4076,11 +4215,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 160 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 174 }, "_contentSize": { "__type__": "cc.Size", @@ -4104,11 +4243,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 160 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 170 + "__id__": 176 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4149,11 +4288,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 160 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 172 + "__id__": 178 }, "_alignFlags": 9, "_target": null, @@ -4202,23 +4341,26 @@ }, "_children": [ { - "__id__": 175 + "__id__": 181 }, { - "__id__": 191 + "__id__": 197 + }, + { + "__id__": 257 } ], "_active": true, "_components": [ { - "__id__": 251 + "__id__": 263 }, { - "__id__": 188 + "__id__": 194 } ], "_prefab": { - "__id__": 253 + "__id__": 265 }, "_lpos": { "__type__": "cc.Vec3", @@ -4255,27 +4397,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 174 + "__id__": 180 }, "_children": [ { - "__id__": 176 + "__id__": 182 } ], "_active": true, "_components": [ { - "__id__": 182 + "__id__": 188 }, { - "__id__": 184 + "__id__": 190 }, { - "__id__": 186 + "__id__": 192 } ], "_prefab": { - "__id__": 250 + "__id__": 256 }, "_lpos": { "__type__": "cc.Vec3", @@ -4312,20 +4454,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 175 + "__id__": 181 }, "_children": [], "_active": true, "_components": [ { - "__id__": 177 + "__id__": 183 }, { - "__id__": 179 + "__id__": 185 } ], "_prefab": { - "__id__": 181 + "__id__": 187 }, "_lpos": { "__type__": "cc.Vec3", @@ -4362,11 +4504,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 184 }, "_contentSize": { "__type__": "cc.Size", @@ -4390,11 +4532,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 186 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4438,6 +4580,8 @@ "__id__": 0 }, "fileId": "712rPHoTZDgpEX6q1bhKRj", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -4446,11 +4590,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 175 + "__id__": 181 }, "_enabled": true, "__prefab": { - "__id__": 183 + "__id__": 189 }, "_contentSize": { "__type__": "cc.Size", @@ -4474,11 +4618,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 175 + "__id__": 181 }, "_enabled": true, "__prefab": { - "__id__": 185 + "__id__": 191 }, "_alignFlags": 37, "_target": null, @@ -4510,17 +4654,17 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 175 + "__id__": 181 }, "_enabled": true, "__prefab": { - "__id__": 187 + "__id__": 193 }, "_scrollView": { - "__id__": 188 + "__id__": 194 }, "_handle": { - "__id__": 179 + "__id__": 185 }, "_direction": 1, "_enableAutoHide": false, @@ -4537,11 +4681,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 174 + "__id__": 180 }, "_enabled": true, "__prefab": { - "__id__": 189 + "__id__": 195 }, "bounceDuration": 0.23, "brake": 0.75, @@ -4552,11 +4696,11 @@ "cancelInnerEvents": true, "scrollEvents": [], "_content": { - "__id__": 190 + "__id__": 196 }, "_horizontalScrollBar": null, "_verticalScrollBar": { - "__id__": 186 + "__id__": 192 }, "_id": "" }, @@ -4570,21 +4714,21 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 191 + "__id__": 197 }, "_children": [ { - "__id__": 199 + "__id__": 205 } ], "_active": true, "_components": [ { - "__id__": 247 + "__id__": 253 } ], "_prefab": { - "__id__": 249 + "__id__": 255 }, "_lpos": { "__type__": "cc.Vec3", @@ -4621,27 +4765,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 174 + "__id__": 180 }, "_children": [ { - "__id__": 190 + "__id__": 196 } ], "_active": true, "_components": [ { - "__id__": 192 + "__id__": 198 }, { - "__id__": 194 + "__id__": 200 }, { - "__id__": 196 + "__id__": 202 } ], "_prefab": { - "__id__": 198 + "__id__": 204 }, "_lpos": { "__type__": "cc.Vec3", @@ -4678,11 +4822,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 191 + "__id__": 197 }, "_enabled": true, "__prefab": { - "__id__": 193 + "__id__": 199 }, "_contentSize": { "__type__": "cc.Size", @@ -4706,11 +4850,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 191 + "__id__": 197 }, "_enabled": true, "__prefab": { - "__id__": 195 + "__id__": 201 }, "_type": 0, "_inverted": false, @@ -4728,11 +4872,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 191 + "__id__": 197 }, "_enabled": true, "__prefab": { - "__id__": 197 + "__id__": 203 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4787,33 +4931,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 190 + "__id__": 196 }, "_children": [ { - "__id__": 200 - }, - { - "__id__": 224 + "__id__": 206 }, { "__id__": 230 }, { "__id__": 236 + }, + { + "__id__": 242 } ], "_active": true, "_components": [ { - "__id__": 242 + "__id__": 248 }, { - "__id__": 244 + "__id__": 250 } ], "_prefab": { - "__id__": 246 + "__id__": 252 }, "_lpos": { "__type__": "cc.Vec3", @@ -4850,30 +4994,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 199 + "__id__": 205 }, "_children": [ - { - "__id__": 201 - }, { "__id__": 207 }, { "__id__": 213 + }, + { + "__id__": 219 } ], "_active": true, "_components": [ { - "__id__": 219 + "__id__": 225 }, { - "__id__": 221 + "__id__": 227 } ], "_prefab": { - "__id__": 223 + "__id__": 229 }, "_lpos": { "__type__": "cc.Vec3", @@ -4910,146 +5054,10 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 200 + "__id__": 206 }, "_children": [], "_active": true, - "_components": [ - { - "__id__": 202 - }, - { - "__id__": 204 - } - ], - "_prefab": { - "__id__": 206 - }, - "_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.399, - "y": 0.399, - "z": 1.597 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 201 - }, - "_enabled": true, - "__prefab": { - "__id__": 203 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 586, - "height": 755 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "12ue0BWClIn71cvBGlIXqq" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 201 - }, - "_enabled": true, - "__prefab": { - "__id__": 205 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "00df6780-63ee-45e4-b0a9-a5e59b86aeef@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": "9b4UjdlpxMHZnihzvTebwf" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "75XmFZtSJK7rPBjwMEXwgN", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "rank2badge", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 200 - }, - "_children": [], - "_active": false, "_components": [ { "__id__": 208 @@ -5116,7 +5124,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "22jYtiooJAq7E6u8pmEZVt" + "fileId": "12ue0BWClIn71cvBGlIXqq" }, { "__type__": "cc.Sprite", @@ -5141,7 +5149,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "25123199-43b8-4b63-a4ff-6557beaa6c85@f9941", + "__uuid__": "00df6780-63ee-45e4-b0a9-a5e59b86aeef@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -5161,7 +5169,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "0dDbTNvxBAnqAFoWlyfRdE" + "fileId": "9b4UjdlpxMHZnihzvTebwf" }, { "__type__": "cc.PrefabInfo", @@ -5171,18 +5179,18 @@ "asset": { "__id__": 0 }, - "fileId": "56oJrqTyhHl7sngAukYxje", + "fileId": "75XmFZtSJK7rPBjwMEXwgN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "rank3badge", + "_name": "rank2badge", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 200 + "__id__": 206 }, "_children": [], "_active": false, @@ -5238,6 +5246,142 @@ "__prefab": { "__id__": 215 }, + "_contentSize": { + "__type__": "cc.Size", + "width": 586, + "height": 755 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "22jYtiooJAq7E6u8pmEZVt" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 213 + }, + "_enabled": true, + "__prefab": { + "__id__": 217 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "25123199-43b8-4b63-a4ff-6557beaa6c85@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": "0dDbTNvxBAnqAFoWlyfRdE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "56oJrqTyhHl7sngAukYxje", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "rank3badge", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 206 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 220 + }, + { + "__id__": 222 + } + ], + "_prefab": { + "__id__": 224 + }, + "_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.399, + "y": 0.399, + "z": 1.597 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": { + "__id__": 221 + }, "_contentSize": { "__type__": "cc.Size", "width": 585, @@ -5260,11 +5404,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 213 + "__id__": 219 }, "_enabled": true, "__prefab": { - "__id__": 217 + "__id__": 223 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5318,11 +5462,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 206 }, "_enabled": true, "__prefab": { - "__id__": 220 + "__id__": 226 }, "_contentSize": { "__type__": "cc.Size", @@ -5346,11 +5490,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 206 }, "_enabled": true, "__prefab": { - "__id__": 222 + "__id__": 228 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5404,20 +5548,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 199 + "__id__": 205 }, "_children": [], "_active": true, "_components": [ { - "__id__": 225 + "__id__": 231 }, { - "__id__": 227 + "__id__": 233 } ], "_prefab": { - "__id__": 229 + "__id__": 235 }, "_lpos": { "__type__": "cc.Vec3", @@ -5454,11 +5598,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 224 + "__id__": 230 }, "_enabled": true, "__prefab": { - "__id__": 226 + "__id__": 232 }, "_contentSize": { "__type__": "cc.Size", @@ -5482,11 +5626,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 224 + "__id__": 230 }, "_enabled": true, "__prefab": { - "__id__": 228 + "__id__": 234 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5566,20 +5710,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 199 + "__id__": 205 }, "_children": [], "_active": true, "_components": [ { - "__id__": 231 + "__id__": 237 }, { - "__id__": 233 + "__id__": 239 } ], "_prefab": { - "__id__": 235 + "__id__": 241 }, "_lpos": { "__type__": "cc.Vec3", @@ -5616,11 +5760,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 230 + "__id__": 236 }, "_enabled": true, "__prefab": { - "__id__": 232 + "__id__": 238 }, "_contentSize": { "__type__": "cc.Size", @@ -5644,11 +5788,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 230 + "__id__": 236 }, "_enabled": true, "__prefab": { - "__id__": 234 + "__id__": 240 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5702,20 +5846,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 199 + "__id__": 205 }, "_children": [], "_active": true, "_components": [ { - "__id__": 237 + "__id__": 243 }, { - "__id__": 239 + "__id__": 245 } ], "_prefab": { - "__id__": 241 + "__id__": 247 }, "_lpos": { "__type__": "cc.Vec3", @@ -5752,11 +5896,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 242 }, "_enabled": true, "__prefab": { - "__id__": 238 + "__id__": 244 }, "_contentSize": { "__type__": "cc.Size", @@ -5780,11 +5924,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 242 }, "_enabled": true, "__prefab": { - "__id__": 240 + "__id__": 246 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5864,11 +6008,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 199 + "__id__": 205 }, "_enabled": true, "__prefab": { - "__id__": 243 + "__id__": 249 }, "_contentSize": { "__type__": "cc.Size", @@ -5892,11 +6036,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 199 + "__id__": 205 }, "_enabled": true, "__prefab": { - "__id__": 245 + "__id__": 251 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5940,6 +6084,8 @@ "__id__": 0 }, "fileId": "d8w9KAK0tFbLceCJtTgIej", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -5948,11 +6094,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 190 + "__id__": 196 }, "_enabled": true, "__prefab": { - "__id__": 248 + "__id__": 254 }, "_contentSize": { "__type__": "cc.Size", @@ -5992,6 +6138,144 @@ "__id__": 0 }, "fileId": "7bxjVqu3ZJWrG9+zPqzWn+", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "ScrolViewMask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 180 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 258 + }, + { + "__id__": 260 + } + ], + "_prefab": { + "__id__": 262 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -7.846, + "y": -278.583, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 1, + "w": 6.123233995736766e-17 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 180 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 257 + }, + "_enabled": true, + "__prefab": { + "__id__": 259 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1209, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4dDsI0DBN3ras3F40Pmld" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 257 + }, + "_enabled": true, + "__prefab": { + "__id__": 261 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 225, + "g": 245, + "b": 197, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "faab3d46-e885-4c46-8f19-9f872e7d6973@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96WJ6tG/9CbqKvYCR76qoe" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "258qhY2c1AprkWMB0iAtwj", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -6000,11 +6284,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 174 + "__id__": 180 }, "_enabled": true, "__prefab": { - "__id__": 252 + "__id__": 264 }, "_contentSize": { "__type__": "cc.Size", @@ -6045,26 +6329,26 @@ }, "_children": [ { - "__id__": 255 + "__id__": 267 } ], "_active": true, "_components": [ { - "__id__": 261 + "__id__": 273 }, { - "__id__": 263 + "__id__": 275 }, { - "__id__": 265 + "__id__": 277 }, { - "__id__": 267 + "__id__": 279 } ], "_prefab": { - "__id__": 269 + "__id__": 281 }, "_lpos": { "__type__": "cc.Vec3", @@ -6101,20 +6385,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 254 + "__id__": 266 }, "_children": [], "_active": true, "_components": [ { - "__id__": 256 + "__id__": 268 }, { - "__id__": 258 + "__id__": 270 } ], "_prefab": { - "__id__": 260 + "__id__": 272 }, "_lpos": { "__type__": "cc.Vec3", @@ -6151,11 +6435,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 255 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 257 + "__id__": 269 }, "_contentSize": { "__type__": "cc.Size", @@ -6179,11 +6463,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 255 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 259 + "__id__": 271 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6263,11 +6547,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 262 + "__id__": 274 }, "_contentSize": { "__type__": "cc.Size", @@ -6291,11 +6575,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 264 + "__id__": 276 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6336,11 +6620,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 266 + "__id__": 278 }, "_alignFlags": 20, "_target": null, @@ -6372,11 +6656,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 268 + "__id__": 280 }, "clickEvents": [], "_interactable": true, @@ -6416,7 +6700,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 254 + "__id__": 266 }, "_id": "" }, @@ -6447,7 +6731,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 271 + "__id__": 283 }, "_contentSize": { "__type__": "cc.Size", @@ -6475,10 +6759,10 @@ }, "_enabled": true, "__prefab": { - "__id__": 273 + "__id__": 285 }, "backBtn": { - "__id__": 254 + "__id__": 266 }, "_id": "" }, diff --git a/assets/prefabs/PagePreviewLevels.prefab b/assets/prefabs/PagePreviewLevels.prefab index 54644e5..234903e 100644 --- a/assets/prefabs/PagePreviewLevels.prefab +++ b/assets/prefabs/PagePreviewLevels.prefab @@ -28,23 +28,23 @@ "__id__": 22 }, { - "__id__": 58 + "__id__": 64 }, { - "__id__": 122 + "__id__": 128 } ], "_active": true, "_components": [ { - "__id__": 136 + "__id__": 142 }, { - "__id__": 138 + "__id__": 144 } ], "_prefab": { - "__id__": 140 + "__id__": 146 }, "_lpos": { "__type__": "cc.Vec3", @@ -548,22 +548,25 @@ }, { "__id__": 41 + }, + { + "__id__": 53 } ], "_active": true, "_components": [ { - "__id__": 53 + "__id__": 59 }, { - "__id__": 55 + "__id__": 61 }, { "__id__": 38 } ], "_prefab": { - "__id__": 57 + "__id__": 63 }, "_lpos": { "__type__": "cc.Vec3", @@ -1226,6 +1229,142 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "ScrolViewMask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 54 + }, + { + "__id__": 56 + } + ], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -728.827, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 1, + "w": 6.123233995736766e-17 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 180 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "75hT9U0vpP+ovHPRLpBU/f" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": { + "__id__": 57 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 225, + "g": 245, + "b": 197, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "faab3d46-e885-4c46-8f19-9f872e7d6973@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0ftWWFMXBLp7zqfAcryFtX" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "76wU4ROVVC3K9066UvfC0r", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -1236,7 +1375,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 54 + "__id__": 60 }, "_contentSize": { "__type__": "cc.Size", @@ -1264,7 +1403,7 @@ }, "_enabled": false, "__prefab": { - "__id__": 56 + "__id__": 62 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1321,36 +1460,36 @@ "__id__": 1 }, "_children": [ - { - "__id__": 59 - }, { "__id__": 65 }, { - "__id__": 81 + "__id__": 71 }, { - "__id__": 97 + "__id__": 87 + }, + { + "__id__": 103 } ], "_active": true, "_components": [ - { - "__id__": 113 - }, - { - "__id__": 115 - }, - { - "__id__": 117 - }, { "__id__": 119 + }, + { + "__id__": 121 + }, + { + "__id__": 123 + }, + { + "__id__": 125 } ], "_prefab": { - "__id__": 121 + "__id__": 127 }, "_lpos": { "__type__": "cc.Vec3", @@ -1387,20 +1526,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 58 + "__id__": 64 }, "_children": [], "_active": true, "_components": [ { - "__id__": 60 + "__id__": 66 }, { - "__id__": 62 + "__id__": 68 } ], "_prefab": { - "__id__": 64 + "__id__": 70 }, "_lpos": { "__type__": "cc.Vec3", @@ -1437,11 +1576,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 65 }, "_enabled": true, "__prefab": { - "__id__": 61 + "__id__": 67 }, "_contentSize": { "__type__": "cc.Size", @@ -1465,11 +1604,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 65 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 69 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1520,24 +1659,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 58 + "__id__": 64 }, "_children": [ { - "__id__": 66 + "__id__": 72 }, { - "__id__": 72 + "__id__": 78 } ], "_active": true, "_components": [ { - "__id__": 78 + "__id__": 84 } ], "_prefab": { - "__id__": 80 + "__id__": 86 }, "_lpos": { "__type__": "cc.Vec3", @@ -1574,20 +1713,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 65 + "__id__": 71 }, "_children": [], "_active": true, "_components": [ { - "__id__": 67 + "__id__": 73 }, { - "__id__": 69 + "__id__": 75 } ], "_prefab": { - "__id__": 71 + "__id__": 77 }, "_lpos": { "__type__": "cc.Vec3", @@ -1624,11 +1763,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 66 + "__id__": 72 }, "_enabled": true, "__prefab": { - "__id__": 68 + "__id__": 74 }, "_contentSize": { "__type__": "cc.Size", @@ -1652,11 +1791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 66 + "__id__": 72 }, "_enabled": true, "__prefab": { - "__id__": 70 + "__id__": 76 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1733,20 +1872,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 65 + "__id__": 71 }, "_children": [], "_active": true, "_components": [ { - "__id__": 73 + "__id__": 79 }, { - "__id__": 75 + "__id__": 81 } ], "_prefab": { - "__id__": 77 + "__id__": 83 }, "_lpos": { "__type__": "cc.Vec3", @@ -1783,11 +1922,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 78 }, "_enabled": true, "__prefab": { - "__id__": 74 + "__id__": 80 }, "_contentSize": { "__type__": "cc.Size", @@ -1811,11 +1950,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 78 }, "_enabled": true, "__prefab": { - "__id__": 76 + "__id__": 82 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1869,11 +2008,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 71 }, "_enabled": true, "__prefab": { - "__id__": 79 + "__id__": 85 }, "_contentSize": { "__type__": "cc.Size", @@ -1910,24 +2049,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 58 + "__id__": 64 }, "_children": [ { - "__id__": 82 + "__id__": 88 }, { - "__id__": 88 + "__id__": 94 } ], "_active": true, "_components": [ { - "__id__": 94 + "__id__": 100 } ], "_prefab": { - "__id__": 96 + "__id__": 102 }, "_lpos": { "__type__": "cc.Vec3", @@ -1964,20 +2103,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 81 + "__id__": 87 }, "_children": [], "_active": true, "_components": [ { - "__id__": 83 + "__id__": 89 }, { - "__id__": 85 + "__id__": 91 } ], "_prefab": { - "__id__": 87 + "__id__": 93 }, "_lpos": { "__type__": "cc.Vec3", @@ -2014,11 +2153,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 88 }, "_enabled": true, "__prefab": { - "__id__": 84 + "__id__": 90 }, "_contentSize": { "__type__": "cc.Size", @@ -2042,11 +2181,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 88 }, "_enabled": true, "__prefab": { - "__id__": 86 + "__id__": 92 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2123,20 +2262,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 81 + "__id__": 87 }, "_children": [], "_active": true, "_components": [ { - "__id__": 89 + "__id__": 95 }, { - "__id__": 91 + "__id__": 97 } ], "_prefab": { - "__id__": 93 + "__id__": 99 }, "_lpos": { "__type__": "cc.Vec3", @@ -2173,11 +2312,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 94 }, "_enabled": true, "__prefab": { - "__id__": 90 + "__id__": 96 }, "_contentSize": { "__type__": "cc.Size", @@ -2201,11 +2340,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 94 }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 98 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2259,11 +2398,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 81 + "__id__": 87 }, "_enabled": true, "__prefab": { - "__id__": 95 + "__id__": 101 }, "_contentSize": { "__type__": "cc.Size", @@ -2300,24 +2439,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 58 + "__id__": 64 }, "_children": [ { - "__id__": 98 + "__id__": 104 }, { - "__id__": 104 + "__id__": 110 } ], "_active": true, "_components": [ { - "__id__": 110 + "__id__": 116 } ], "_prefab": { - "__id__": 112 + "__id__": 118 }, "_lpos": { "__type__": "cc.Vec3", @@ -2354,20 +2493,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 103 }, "_children": [], "_active": true, "_components": [ { - "__id__": 99 + "__id__": 105 }, { - "__id__": 101 + "__id__": 107 } ], "_prefab": { - "__id__": 103 + "__id__": 109 }, "_lpos": { "__type__": "cc.Vec3", @@ -2404,11 +2543,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 98 + "__id__": 104 }, "_enabled": true, "__prefab": { - "__id__": 100 + "__id__": 106 }, "_contentSize": { "__type__": "cc.Size", @@ -2432,11 +2571,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 98 + "__id__": 104 }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 108 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2490,20 +2629,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 103 }, "_children": [], "_active": true, "_components": [ { - "__id__": 105 + "__id__": 111 }, { - "__id__": 107 + "__id__": 113 } ], "_prefab": { - "__id__": 109 + "__id__": 115 }, "_lpos": { "__type__": "cc.Vec3", @@ -2540,11 +2679,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 106 + "__id__": 112 }, "_contentSize": { "__type__": "cc.Size", @@ -2568,11 +2707,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 108 + "__id__": 114 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2652,11 +2791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 103 }, "_enabled": true, "__prefab": { - "__id__": 111 + "__id__": 117 }, "_contentSize": { "__type__": "cc.Size", @@ -2693,11 +2832,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 114 + "__id__": 120 }, "_contentSize": { "__type__": "cc.Size", @@ -2721,11 +2860,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 122 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2766,11 +2905,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 124 }, "clickEvents": [], "_interactable": true, @@ -2810,7 +2949,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 58 + "__id__": 64 }, "_id": "" }, @@ -2824,23 +2963,23 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 120 + "__id__": 126 }, "levelCover": { - "__id__": 62 + "__id__": 68 }, "answerLabel": { - "__id__": 107 + "__id__": 113 }, "tips1Label": { - "__id__": 69 + "__id__": 75 }, "tips2Label": { - "__id__": 85 + "__id__": 91 }, "tips3Label": null, "_id": "" @@ -2872,23 +3011,23 @@ }, "_children": [ { - "__id__": 123 + "__id__": 129 } ], "_active": true, "_components": [ { - "__id__": 129 + "__id__": 135 }, { - "__id__": 131 + "__id__": 137 }, { - "__id__": 133 + "__id__": 139 } ], "_prefab": { - "__id__": 135 + "__id__": 141 }, "_lpos": { "__type__": "cc.Vec3", @@ -2925,20 +3064,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 122 + "__id__": 128 }, "_children": [], "_active": true, "_components": [ { - "__id__": 124 + "__id__": 130 }, { - "__id__": 126 + "__id__": 132 } ], "_prefab": { - "__id__": 128 + "__id__": 134 }, "_lpos": { "__type__": "cc.Vec3", @@ -2975,11 +3114,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 123 + "__id__": 129 }, "_enabled": true, "__prefab": { - "__id__": 125 + "__id__": 131 }, "_contentSize": { "__type__": "cc.Size", @@ -3003,11 +3142,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 123 + "__id__": 129 }, "_enabled": true, "__prefab": { - "__id__": 127 + "__id__": 133 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3087,11 +3226,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 130 + "__id__": 136 }, "_contentSize": { "__type__": "cc.Size", @@ -3115,11 +3254,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 132 + "__id__": 138 }, "clickEvents": [], "_interactable": true, @@ -3171,11 +3310,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 134 + "__id__": 140 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3233,7 +3372,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 137 + "__id__": 143 }, "_contentSize": { "__type__": "cc.Size", @@ -3261,10 +3400,10 @@ }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 145 }, "backBtn": { - "__id__": 122 + "__id__": 128 }, "scrollView": { "__id__": 22 @@ -3273,10 +3412,10 @@ "__id__": 40 }, "listTemplate": { - "__id__": 58 + "__id__": 64 }, "backButton": { - "__id__": 122 + "__id__": 128 }, "pkTitle": { "__id__": 11 diff --git a/assets/prefabs/PageWriteLevels.prefab b/assets/prefabs/PageWriteLevels.prefab index 44b1724..9815390 100644 --- a/assets/prefabs/PageWriteLevels.prefab +++ b/assets/prefabs/PageWriteLevels.prefab @@ -52,23 +52,23 @@ "__id__": 136 }, { - "__id__": 156 + "__id__": 176 } ], "_active": true, "_components": [ { - "__id__": 188 + "__id__": 208 }, { - "__id__": 190 + "__id__": 210 }, { - "__id__": 192 + "__id__": 212 } ], "_prefab": { - "__id__": 194 + "__id__": 214 }, "_lpos": { "__type__": "cc.Vec3", @@ -628,6 +628,8 @@ "__id__": 0 }, "fileId": "ac1NMltcFCHYLwVCCxc8qC", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -827,6 +829,8 @@ "__id__": 0 }, "fileId": "12CJpBYllPtJT1ErTJCgwy", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -3347,22 +3351,28 @@ "_children": [ { "__id__": 137 + }, + { + "__id__": 153 + }, + { + "__id__": 165 } ], "_active": true, "_components": [ { - "__id__": 149 + "__id__": 171 }, { - "__id__": 151 + "__id__": 173 }, { - "__id__": 153 + "__id__": 150 } ], "_prefab": { - "__id__": 155 + "__id__": 175 }, "_lpos": { "__type__": "cc.Vec3", @@ -3393,6 +3403,370 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 136 + }, + "_children": [ + { + "__id__": 138 + } + ], + "_active": false, + "_components": [ + { + "__id__": 144 + }, + { + "__id__": 146 + }, + { + "__id__": 148 + } + ], + "_prefab": { + "__id__": 164 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 481.78, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 137 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 139 + }, + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 143 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": 267.782, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.128, + "y": 0.128, + "z": 0.128 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 140 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 121, + "height": 2000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b8jeFN5rZI4KTdlEDo+Yvs" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 142 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 64 + }, + "_spriteFrame": { + "__uuid__": "876df56a-6941-4c25-823c-ba91f5eeb023@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": "4dttpUeHdJ4r0ZEXj8Qq3i" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e0W1xRiRZAqa5B/gkggcC+", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 145 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 1000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59go0HtpZP45mcrvanG2Aj" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 147 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": -21.779999999999973, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "57wPsfQ25LcqZ6B50rWKzU" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 149 + }, + "_scrollView": { + "__id__": 150 + }, + "_handle": { + "__id__": 141 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b5WpSuH2ZASqYHqJLeUmIx" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 151 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 152 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 148 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d46RD62t5P6q0jNwxD4k4I" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 153 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 161 + } + ], + "_prefab": { + "__id__": 163 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -450, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.Node", "_name": "view", @@ -3403,23 +3777,23 @@ }, "_children": [ { - "__id__": 138 + "__id__": 152 } ], "_active": true, "_components": [ { - "__id__": 142 + "__id__": 154 }, { - "__id__": 144 + "__id__": 156 }, { - "__id__": 146 + "__id__": 158 } ], "_prefab": { - "__id__": 148 + "__id__": 160 }, "_lpos": { "__type__": "cc.Vec3", @@ -3450,109 +3824,21 @@ }, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "content", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 137 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 139 - } - ], - "_prefab": { - "__id__": 141 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -450, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 138 + "__id__": 153 }, "_enabled": true, "__prefab": { - "__id__": 140 + "__id__": 155 }, "_contentSize": { "__type__": "cc.Size", - "width": 900, - "height": 1000 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c7c/Ka9cxIR6kgD/sdPKC1" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "3bstd5zsZMyJTU1JWWQOcz", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 137 - }, - "_enabled": true, - "__prefab": { - "__id__": 143 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 920, + "width": 940, "height": 1000 }, "_anchorPoint": { @@ -3572,11 +3858,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 153 }, "_enabled": true, "__prefab": { - "__id__": 145 + "__id__": 157 }, "_type": 0, "_inverted": false, @@ -3594,11 +3880,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 153 }, "_enabled": true, "__prefab": { - "__id__": 147 + "__id__": 159 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3653,17 +3939,207 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 136 + "__id__": 152 }, "_enabled": true, "__prefab": { - "__id__": 150 + "__id__": 162 }, "_contentSize": { "__type__": "cc.Size", "width": 920, "height": 1000 }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c7c/Ka9cxIR6kgD/sdPKC1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3bstd5zsZMyJTU1JWWQOcz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "68F6Qy7rtGtqEFfKXoSfLW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "ScrolViewMask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 136 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 166 + }, + { + "__id__": 168 + } + ], + "_prefab": { + "__id__": 170 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -7.846, + "y": -474.801, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 1, + "w": 6.123233995736766e-17 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 180 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 165 + }, + "_enabled": true, + "__prefab": { + "__id__": 167 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "21xAFA/bpBJaTrGnLp8V5Y" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 165 + }, + "_enabled": true, + "__prefab": { + "__id__": 169 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 225, + "g": 245, + "b": 197, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "faab3d46-e885-4c46-8f19-9f872e7d6973@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "74p2TD1V9KC70qRBaWzuv6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a1Kga0uihPcbUwfE05WByN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 172 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 940, + "height": 1000 + }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, @@ -3685,7 +4161,7 @@ }, "_enabled": false, "__prefab": { - "__id__": 152 + "__id__": 174 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3720,37 +4196,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "c3taCLJuBMuajdMJYhNc31" }, - { - "__type__": "cc.ScrollView", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 136 - }, - "_enabled": true, - "__prefab": { - "__id__": 154 - }, - "bounceDuration": 0.23, - "brake": 0.75, - "elastic": true, - "inertia": true, - "horizontal": false, - "vertical": true, - "cancelInnerEvents": true, - "scrollEvents": [], - "_content": { - "__id__": 138 - }, - "_horizontalScrollBar": null, - "_verticalScrollBar": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d46RD62t5P6q0jNwxD4k4I" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -3774,33 +4219,33 @@ }, "_children": [ { - "__id__": 157 - }, - { - "__id__": 163 - }, - { - "__id__": 169 - } - ], - "_active": true, - "_components": [ - { - "__id__": 181 + "__id__": 177 }, { "__id__": 183 }, { - "__id__": 185 + "__id__": 189 + } + ], + "_active": true, + "_components": [ + { + "__id__": 201 + }, + { + "__id__": 203 + }, + { + "__id__": 205 } ], "_prefab": { - "__id__": 187 + "__id__": 207 }, "_lpos": { "__type__": "cc.Vec3", - "x": -939.544, + "x": -815.565, "y": 573.083, "z": 0 }, @@ -3813,8 +4258,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.68, - "y": 0.68, + "x": 0.75, + "y": 0.75, "z": 0.68 }, "_mobility": 0, @@ -3833,25 +4278,25 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 156 + "__id__": 176 }, "_children": [], "_active": true, "_components": [ { - "__id__": 158 + "__id__": 178 }, { - "__id__": 160 + "__id__": 180 } ], "_prefab": { - "__id__": 162 + "__id__": 182 }, "_lpos": { "__type__": "cc.Vec3", - "x": 2.286, - "y": 47.542, + "x": -0.977, + "y": 58.145, "z": 0 }, "_lrot": { @@ -3883,15 +4328,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 157 + "__id__": 177 }, "_enabled": true, "__prefab": { - "__id__": 159 + "__id__": 179 }, "_contentSize": { "__type__": "cc.Size", - "width": 1297, + "width": 1240, "height": 729 }, "_anchorPoint": { @@ -3911,11 +4356,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 157 + "__id__": 177 }, "_enabled": true, "__prefab": { - "__id__": 161 + "__id__": 181 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3966,20 +4411,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 156 + "__id__": 176 }, "_children": [], "_active": true, "_components": [ { - "__id__": 164 + "__id__": 184 }, { - "__id__": 166 + "__id__": 186 } ], "_prefab": { - "__id__": 168 + "__id__": 188 }, "_lpos": { "__type__": "cc.Vec3", @@ -4016,11 +4461,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 165 + "__id__": 185 }, "_contentSize": { "__type__": "cc.Size", @@ -4044,11 +4489,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 167 + "__id__": 187 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4128,24 +4573,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 156 + "__id__": 176 }, "_children": [ { - "__id__": 170 + "__id__": 190 } ], "_active": true, "_components": [ { - "__id__": 176 + "__id__": 196 }, { - "__id__": 178 + "__id__": 198 } ], "_prefab": { - "__id__": 180 + "__id__": 200 }, "_lpos": { "__type__": "cc.Vec3", @@ -4182,20 +4627,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 169 + "__id__": 189 }, "_children": [], "_active": true, "_components": [ { - "__id__": 171 + "__id__": 191 }, { - "__id__": 173 + "__id__": 193 } ], "_prefab": { - "__id__": 175 + "__id__": 195 }, "_lpos": { "__type__": "cc.Vec3", @@ -4232,11 +4677,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 170 + "__id__": 190 }, "_enabled": true, "__prefab": { - "__id__": 172 + "__id__": 192 }, "_contentSize": { "__type__": "cc.Size", @@ -4260,11 +4705,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 170 + "__id__": 190 }, "_enabled": true, "__prefab": { - "__id__": 174 + "__id__": 194 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4318,11 +4763,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 189 }, "_enabled": true, "__prefab": { - "__id__": 177 + "__id__": 197 }, "_contentSize": { "__type__": "cc.Size", @@ -4346,11 +4791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 189 }, "_enabled": true, "__prefab": { - "__id__": 179 + "__id__": 199 }, "clickEvents": [], "_interactable": true, @@ -4393,12 +4838,12 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 169 + "__id__": 189 }, "checkEvents": [], "_isChecked": true, "_checkMark": { - "__id__": 173 + "__id__": 193 }, "_id": "" }, @@ -4425,11 +4870,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 156 + "__id__": 176 }, "_enabled": true, "__prefab": { - "__id__": 182 + "__id__": 202 }, "_contentSize": { "__type__": "cc.Size", @@ -4453,11 +4898,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 156 + "__id__": 176 }, "_enabled": true, "__prefab": { - "__id__": 184 + "__id__": 204 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4498,11 +4943,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 156 + "__id__": 176 }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 206 }, "clickEvents": [], "_interactable": true, @@ -4571,7 +5016,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 189 + "__id__": 209 }, "backBtn": { "__id__": 10 @@ -4580,10 +5025,10 @@ "__id__": 136 }, "listContent": { - "__id__": 138 + "__id__": 152 }, "listTemplate": { - "__id__": 156 + "__id__": 176 }, "selectedLabel": { "__id__": 49 @@ -4605,6 +5050,10 @@ "__expectedType__": "cc.EffectAsset" }, "coverCornerRadius": 0.1, + "itemToggleAudio": { + "__uuid__": "798824f1-0e20-48b7-ad8a-fb24d55bf986", + "__expectedType__": "cc.AudioClip" + }, "_id": "" }, { @@ -4621,7 +5070,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 191 + "__id__": 211 }, "_contentSize": { "__type__": "cc.Size", @@ -4649,7 +5098,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 193 + "__id__": 213 }, "_alignFlags": 45, "_target": null, @@ -4687,4 +5136,4 @@ "instance": null, "targetOverrides": null } -] +] \ No newline at end of file diff --git a/assets/prefabs/PageWriteLevels.ts b/assets/prefabs/PageWriteLevels.ts index 26b4c98..4cca4f9 100644 --- a/assets/prefabs/PageWriteLevels.ts +++ b/assets/prefabs/PageWriteLevels.ts @@ -1,4 +1,4 @@ -import { _decorator, Node, Button, Sprite, Label, Toggle, ScrollView, EditBox, instantiate, UITransform, Vec2, EventTouch, EffectAsset } from 'cc'; +import { _decorator, Node, Button, Sprite, Label, Toggle, ScrollView, EditBox, instantiate, UITransform, Vec2, EventTouch, EffectAsset, AudioClip, AudioSource } from 'cc'; import { BaseView } from 'db://assets/scripts/core/BaseView'; import { ViewManager } from 'db://assets/scripts/core/ViewManager'; import { CompletedLevelsManager } from 'db://assets/scripts/utils/CompletedLevelsManager'; @@ -69,6 +69,9 @@ export class PageWriteLevels extends BaseView { @property({ tooltip: '关卡封面圆角半径比例(相对于短边,0-0.5)' }) coverCornerRadius: number = 0.1; + @property({ type: AudioClip, tooltip: '关卡项选中/取消选中音效' }) + itemToggleAudio: AudioClip | null = null; + private _selectedIndices: Set = new Set(); private _levels: CompletedLevel[] = []; private _levelCount: number = 0; @@ -425,6 +428,8 @@ export class PageWriteLevels extends BaseView { this._selectedIndices.delete(index); } + this._playSound(this.itemToggleAudio); + console.log('[PageWriteLevels] item切换选中:', index, selected, '当前已选:', this._selectedIndices.size); const item = this._itemNodes[index]; @@ -507,6 +512,15 @@ export class PageWriteLevels extends BaseView { return true; } + private _playSound(clip: AudioClip | null): void { + if (!clip) { + return; + } + + const audioSource = this.node.getComponent(AudioSource) ?? this.node.addComponent(AudioSource); + audioSource?.playOneShot(clip); + } + private _onPreviewClick(): void { if (!this._validateSelection()) return; const shareTitle = this.shareTitleEditBox?.getComponent(EditBox)?.string?.trim() || ''; diff --git a/assets/resources/audios/clickItem.mp3 b/assets/resources/audios/clickItem.mp3 new file mode 100644 index 0000000..b154a6e Binary files /dev/null and b/assets/resources/audios/clickItem.mp3 differ diff --git a/assets/resources/audios/clickItem.mp3.meta b/assets/resources/audios/clickItem.mp3.meta new file mode 100644 index 0000000..d721dc7 --- /dev/null +++ b/assets/resources/audios/clickItem.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "798824f1-0e20-48b7-ad8a-fb24d55bf986", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +}