1.新增历史和收藏界面
Showing
15 changed files
with
3203 additions
and
29 deletions
assets/Scene/sceneHistoryAndCollect.fire
0 → 100644
| 1 | [ | ||
| 2 | { | ||
| 3 | "__type__": "cc.SceneAsset", | ||
| 4 | "_name": "", | ||
| 5 | "_objFlags": 0, | ||
| 6 | "_native": "", | ||
| 7 | "scene": { | ||
| 8 | "__id__": 1 | ||
| 9 | } | ||
| 10 | }, | ||
| 11 | { | ||
| 12 | "__type__": "cc.Scene", | ||
| 13 | "_objFlags": 0, | ||
| 14 | "_parent": null, | ||
| 15 | "_children": [ | ||
| 16 | { | ||
| 17 | "__id__": 2 | ||
| 18 | } | ||
| 19 | ], | ||
| 20 | "_active": false, | ||
| 21 | "_components": [], | ||
| 22 | "_prefab": null, | ||
| 23 | "_opacity": 255, | ||
| 24 | "_color": { | ||
| 25 | "__type__": "cc.Color", | ||
| 26 | "r": 255, | ||
| 27 | "g": 255, | ||
| 28 | "b": 255, | ||
| 29 | "a": 255 | ||
| 30 | }, | ||
| 31 | "_contentSize": { | ||
| 32 | "__type__": "cc.Size", | ||
| 33 | "width": 0, | ||
| 34 | "height": 0 | ||
| 35 | }, | ||
| 36 | "_anchorPoint": { | ||
| 37 | "__type__": "cc.Vec2", | ||
| 38 | "x": 0, | ||
| 39 | "y": 0 | ||
| 40 | }, | ||
| 41 | "_trs": { | ||
| 42 | "__type__": "TypedArray", | ||
| 43 | "ctor": "Float32Array", | ||
| 44 | "array": [ | ||
| 45 | 0, | ||
| 46 | 0, | ||
| 47 | 0, | ||
| 48 | 0, | ||
| 49 | 0, | ||
| 50 | 0, | ||
| 51 | 1, | ||
| 52 | 1, | ||
| 53 | 1, | ||
| 54 | 1 | ||
| 55 | ] | ||
| 56 | }, | ||
| 57 | "_is3DNode": true, | ||
| 58 | "_groupIndex": 0, | ||
| 59 | "groupIndex": 0, | ||
| 60 | "autoReleaseAssets": false, | ||
| 61 | "_id": "36e68e88-9892-445e-a121-d01b73ffdd6c" | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | "__type__": "cc.Node", | ||
| 65 | "_name": "Canvas", | ||
| 66 | "_objFlags": 0, | ||
| 67 | "_parent": { | ||
| 68 | "__id__": 1 | ||
| 69 | }, | ||
| 70 | "_children": [ | ||
| 71 | { | ||
| 72 | "__id__": 3 | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | "__id__": 5 | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | "__id__": 7 | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "__id__": 10 | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | "__id__": 13 | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "__id__": 20 | ||
| 88 | }, | ||
| 89 | { | ||
| 90 | "__id__": 45 | ||
| 91 | }, | ||
| 92 | { | ||
| 93 | "__id__": 48 | ||
| 94 | } | ||
| 95 | ], | ||
| 96 | "_active": true, | ||
| 97 | "_components": [ | ||
| 98 | { | ||
| 99 | "__id__": 50 | ||
| 100 | }, | ||
| 101 | { | ||
| 102 | "__id__": 51 | ||
| 103 | } | ||
| 104 | ], | ||
| 105 | "_prefab": null, | ||
| 106 | "_opacity": 255, | ||
| 107 | "_color": { | ||
| 108 | "__type__": "cc.Color", | ||
| 109 | "r": 255, | ||
| 110 | "g": 255, | ||
| 111 | "b": 255, | ||
| 112 | "a": 255 | ||
| 113 | }, | ||
| 114 | "_contentSize": { | ||
| 115 | "__type__": "cc.Size", | ||
| 116 | "width": 1280, | ||
| 117 | "height": 720 | ||
| 118 | }, | ||
| 119 | "_anchorPoint": { | ||
| 120 | "__type__": "cc.Vec2", | ||
| 121 | "x": 0.5, | ||
| 122 | "y": 0.5 | ||
| 123 | }, | ||
| 124 | "_trs": { | ||
| 125 | "__type__": "TypedArray", | ||
| 126 | "ctor": "Float32Array", | ||
| 127 | "array": [ | ||
| 128 | 640, | ||
| 129 | 360, | ||
| 130 | 0, | ||
| 131 | 0, | ||
| 132 | 0, | ||
| 133 | 0, | ||
| 134 | 1, | ||
| 135 | 1, | ||
| 136 | 1, | ||
| 137 | 1 | ||
| 138 | ] | ||
| 139 | }, | ||
| 140 | "_eulerAngles": { | ||
| 141 | "__type__": "cc.Vec3", | ||
| 142 | "x": 0, | ||
| 143 | "y": 0, | ||
| 144 | "z": 0 | ||
| 145 | }, | ||
| 146 | "_skewX": 0, | ||
| 147 | "_skewY": 0, | ||
| 148 | "_is3DNode": false, | ||
| 149 | "_groupIndex": 0, | ||
| 150 | "groupIndex": 0, | ||
| 151 | "_id": "cdYufzFHhJl7rOXLb+DJtL" | ||
| 152 | }, | ||
| 153 | { | ||
| 154 | "__type__": "cc.Node", | ||
| 155 | "_name": "Main Camera", | ||
| 156 | "_objFlags": 0, | ||
| 157 | "_parent": { | ||
| 158 | "__id__": 2 | ||
| 159 | }, | ||
| 160 | "_children": [], | ||
| 161 | "_active": true, | ||
| 162 | "_components": [ | ||
| 163 | { | ||
| 164 | "__id__": 4 | ||
| 165 | } | ||
| 166 | ], | ||
| 167 | "_prefab": null, | ||
| 168 | "_opacity": 0, | ||
| 169 | "_color": { | ||
| 170 | "__type__": "cc.Color", | ||
| 171 | "r": 255, | ||
| 172 | "g": 255, | ||
| 173 | "b": 255, | ||
| 174 | "a": 255 | ||
| 175 | }, | ||
| 176 | "_contentSize": { | ||
| 177 | "__type__": "cc.Size", | ||
| 178 | "width": 0, | ||
| 179 | "height": 0 | ||
| 180 | }, | ||
| 181 | "_anchorPoint": { | ||
| 182 | "__type__": "cc.Vec2", | ||
| 183 | "x": 0.5, | ||
| 184 | "y": 0.5 | ||
| 185 | }, | ||
| 186 | "_trs": { | ||
| 187 | "__type__": "TypedArray", | ||
| 188 | "ctor": "Float32Array", | ||
| 189 | "array": [ | ||
| 190 | 0, | ||
| 191 | 0, | ||
| 192 | 271.0659484863281, | ||
| 193 | 0, | ||
| 194 | 0, | ||
| 195 | 0, | ||
| 196 | 1, | ||
| 197 | 1, | ||
| 198 | 1, | ||
| 199 | 1 | ||
| 200 | ] | ||
| 201 | }, | ||
| 202 | "_eulerAngles": { | ||
| 203 | "__type__": "cc.Vec3", | ||
| 204 | "x": 0, | ||
| 205 | "y": 0, | ||
| 206 | "z": 0 | ||
| 207 | }, | ||
| 208 | "_skewX": 0, | ||
| 209 | "_skewY": 0, | ||
| 210 | "_is3DNode": false, | ||
| 211 | "_groupIndex": 0, | ||
| 212 | "groupIndex": 0, | ||
| 213 | "_id": "99M7M75IFKzoWvG5oeOIh2" | ||
| 214 | }, | ||
| 215 | { | ||
| 216 | "__type__": "cc.Camera", | ||
| 217 | "_name": "", | ||
| 218 | "_objFlags": 0, | ||
| 219 | "node": { | ||
| 220 | "__id__": 3 | ||
| 221 | }, | ||
| 222 | "_enabled": true, | ||
| 223 | "_cullingMask": 4294967295, | ||
| 224 | "_clearFlags": 7, | ||
| 225 | "_backgroundColor": { | ||
| 226 | "__type__": "cc.Color", | ||
| 227 | "r": 0, | ||
| 228 | "g": 0, | ||
| 229 | "b": 0, | ||
| 230 | "a": 255 | ||
| 231 | }, | ||
| 232 | "_depth": -1, | ||
| 233 | "_zoomRatio": 1, | ||
| 234 | "_targetTexture": null, | ||
| 235 | "_fov": 60, | ||
| 236 | "_orthoSize": 10, | ||
| 237 | "_nearClip": 1, | ||
| 238 | "_farClip": 4096, | ||
| 239 | "_ortho": true, | ||
| 240 | "_rect": { | ||
| 241 | "__type__": "cc.Rect", | ||
| 242 | "x": 0, | ||
| 243 | "y": 0, | ||
| 244 | "width": 1, | ||
| 245 | "height": 1 | ||
| 246 | }, | ||
| 247 | "_renderStages": 1, | ||
| 248 | "_id": "95HmldDWtAUaCaBAOlepR9" | ||
| 249 | }, | ||
| 250 | { | ||
| 251 | "__type__": "cc.Node", | ||
| 252 | "_name": "Bg", | ||
| 253 | "_objFlags": 0, | ||
| 254 | "_parent": { | ||
| 255 | "__id__": 2 | ||
| 256 | }, | ||
| 257 | "_children": [], | ||
| 258 | "_active": true, | ||
| 259 | "_components": [ | ||
| 260 | { | ||
| 261 | "__id__": 6 | ||
| 262 | } | ||
| 263 | ], | ||
| 264 | "_prefab": null, | ||
| 265 | "_opacity": 255, | ||
| 266 | "_color": { | ||
| 267 | "__type__": "cc.Color", | ||
| 268 | "r": 255, | ||
| 269 | "g": 255, | ||
| 270 | "b": 255, | ||
| 271 | "a": 255 | ||
| 272 | }, | ||
| 273 | "_contentSize": { | ||
| 274 | "__type__": "cc.Size", | ||
| 275 | "width": 1280, | ||
| 276 | "height": 720 | ||
| 277 | }, | ||
| 278 | "_anchorPoint": { | ||
| 279 | "__type__": "cc.Vec2", | ||
| 280 | "x": 0.5, | ||
| 281 | "y": 0.5 | ||
| 282 | }, | ||
| 283 | "_trs": { | ||
| 284 | "__type__": "TypedArray", | ||
| 285 | "ctor": "Float32Array", | ||
| 286 | "array": [ | ||
| 287 | 0, | ||
| 288 | 0, | ||
| 289 | 0, | ||
| 290 | 0, | ||
| 291 | 0, | ||
| 292 | 0, | ||
| 293 | 1, | ||
| 294 | 1, | ||
| 295 | 1, | ||
| 296 | 1 | ||
| 297 | ] | ||
| 298 | }, | ||
| 299 | "_eulerAngles": { | ||
| 300 | "__type__": "cc.Vec3", | ||
| 301 | "x": 0, | ||
| 302 | "y": 0, | ||
| 303 | "z": 0 | ||
| 304 | }, | ||
| 305 | "_skewX": 0, | ||
| 306 | "_skewY": 0, | ||
| 307 | "_is3DNode": false, | ||
| 308 | "_groupIndex": 0, | ||
| 309 | "groupIndex": 0, | ||
| 310 | "_id": "4b+jn1Y/VI27MvVQeAWsWj" | ||
| 311 | }, | ||
| 312 | { | ||
| 313 | "__type__": "cc.Sprite", | ||
| 314 | "_name": "", | ||
| 315 | "_objFlags": 0, | ||
| 316 | "node": { | ||
| 317 | "__id__": 5 | ||
| 318 | }, | ||
| 319 | "_enabled": true, | ||
| 320 | "_materials": [ | ||
| 321 | { | ||
| 322 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 323 | } | ||
| 324 | ], | ||
| 325 | "_srcBlendFactor": 770, | ||
| 326 | "_dstBlendFactor": 771, | ||
| 327 | "_spriteFrame": { | ||
| 328 | "__uuid__": "ed6fe971-2e89-425f-9e8d-30ad0d4d6596" | ||
| 329 | }, | ||
| 330 | "_type": 0, | ||
| 331 | "_sizeMode": 0, | ||
| 332 | "_fillType": 0, | ||
| 333 | "_fillCenter": { | ||
| 334 | "__type__": "cc.Vec2", | ||
| 335 | "x": 0, | ||
| 336 | "y": 0 | ||
| 337 | }, | ||
| 338 | "_fillStart": 0, | ||
| 339 | "_fillRange": 0, | ||
| 340 | "_isTrimmedMode": true, | ||
| 341 | "_atlas": null, | ||
| 342 | "_id": "0bJanYPL9GTrlCOCqS0XSc" | ||
| 343 | }, | ||
| 344 | { | ||
| 345 | "__type__": "cc.Node", | ||
| 346 | "_name": "New Sprite", | ||
| 347 | "_objFlags": 0, | ||
| 348 | "_parent": { | ||
| 349 | "__id__": 2 | ||
| 350 | }, | ||
| 351 | "_children": [], | ||
| 352 | "_active": true, | ||
| 353 | "_components": [ | ||
| 354 | { | ||
| 355 | "__id__": 8 | ||
| 356 | }, | ||
| 357 | { | ||
| 358 | "__id__": 9 | ||
| 359 | } | ||
| 360 | ], | ||
| 361 | "_prefab": null, | ||
| 362 | "_opacity": 255, | ||
| 363 | "_color": { | ||
| 364 | "__type__": "cc.Color", | ||
| 365 | "r": 255, | ||
| 366 | "g": 255, | ||
| 367 | "b": 255, | ||
| 368 | "a": 255 | ||
| 369 | }, | ||
| 370 | "_contentSize": { | ||
| 371 | "__type__": "cc.Size", | ||
| 372 | "width": 195, | ||
| 373 | "height": 79 | ||
| 374 | }, | ||
| 375 | "_anchorPoint": { | ||
| 376 | "__type__": "cc.Vec2", | ||
| 377 | "x": 0.5, | ||
| 378 | "y": 0.5 | ||
| 379 | }, | ||
| 380 | "_trs": { | ||
| 381 | "__type__": "TypedArray", | ||
| 382 | "ctor": "Float32Array", | ||
| 383 | "array": [ | ||
| 384 | -506.5, | ||
| 385 | 308.5, | ||
| 386 | 0, | ||
| 387 | 0, | ||
| 388 | 0, | ||
| 389 | 0, | ||
| 390 | 1, | ||
| 391 | 1, | ||
| 392 | 1, | ||
| 393 | 1 | ||
| 394 | ] | ||
| 395 | }, | ||
| 396 | "_eulerAngles": { | ||
| 397 | "__type__": "cc.Vec3", | ||
| 398 | "x": 0, | ||
| 399 | "y": 0, | ||
| 400 | "z": 0 | ||
| 401 | }, | ||
| 402 | "_skewX": 0, | ||
| 403 | "_skewY": 0, | ||
| 404 | "_is3DNode": false, | ||
| 405 | "_groupIndex": 0, | ||
| 406 | "groupIndex": 0, | ||
| 407 | "_id": "2aDTTt4VND573Fg1DX5r5g" | ||
| 408 | }, | ||
| 409 | { | ||
| 410 | "__type__": "cc.Sprite", | ||
| 411 | "_name": "", | ||
| 412 | "_objFlags": 0, | ||
| 413 | "node": { | ||
| 414 | "__id__": 7 | ||
| 415 | }, | ||
| 416 | "_enabled": true, | ||
| 417 | "_materials": [ | ||
| 418 | { | ||
| 419 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 420 | } | ||
| 421 | ], | ||
| 422 | "_srcBlendFactor": 770, | ||
| 423 | "_dstBlendFactor": 771, | ||
| 424 | "_spriteFrame": { | ||
| 425 | "__uuid__": "af1cc76d-4254-4cc3-b2bc-c0e7026a5059" | ||
| 426 | }, | ||
| 427 | "_type": 0, | ||
| 428 | "_sizeMode": 1, | ||
| 429 | "_fillType": 0, | ||
| 430 | "_fillCenter": { | ||
| 431 | "__type__": "cc.Vec2", | ||
| 432 | "x": 0, | ||
| 433 | "y": 0 | ||
| 434 | }, | ||
| 435 | "_fillStart": 0, | ||
| 436 | "_fillRange": 0, | ||
| 437 | "_isTrimmedMode": true, | ||
| 438 | "_atlas": null, | ||
| 439 | "_id": "9ehTcbq4lOIb3MQ+u4NMge" | ||
| 440 | }, | ||
| 441 | { | ||
| 442 | "__type__": "cc.Widget", | ||
| 443 | "_name": "", | ||
| 444 | "_objFlags": 0, | ||
| 445 | "node": { | ||
| 446 | "__id__": 7 | ||
| 447 | }, | ||
| 448 | "_enabled": true, | ||
| 449 | "alignMode": 1, | ||
| 450 | "_target": null, | ||
| 451 | "_alignFlags": 9, | ||
| 452 | "_left": 36, | ||
| 453 | "_right": 0, | ||
| 454 | "_top": 12, | ||
| 455 | "_bottom": 0, | ||
| 456 | "_verticalCenter": 0, | ||
| 457 | "_horizontalCenter": 0, | ||
| 458 | "_isAbsLeft": true, | ||
| 459 | "_isAbsRight": true, | ||
| 460 | "_isAbsTop": true, | ||
| 461 | "_isAbsBottom": true, | ||
| 462 | "_isAbsHorizontalCenter": true, | ||
| 463 | "_isAbsVerticalCenter": true, | ||
| 464 | "_originalWidth": 0, | ||
| 465 | "_originalHeight": 0, | ||
| 466 | "_id": "62oyus3lJEY4hxSlL+3bMp" | ||
| 467 | }, | ||
| 468 | { | ||
| 469 | "__type__": "cc.Node", | ||
| 470 | "_name": "TitleLabel", | ||
| 471 | "_objFlags": 0, | ||
| 472 | "_parent": { | ||
| 473 | "__id__": 2 | ||
| 474 | }, | ||
| 475 | "_children": [], | ||
| 476 | "_active": false, | ||
| 477 | "_components": [ | ||
| 478 | { | ||
| 479 | "__id__": 11 | ||
| 480 | }, | ||
| 481 | { | ||
| 482 | "__id__": 12 | ||
| 483 | } | ||
| 484 | ], | ||
| 485 | "_prefab": null, | ||
| 486 | "_opacity": 255, | ||
| 487 | "_color": { | ||
| 488 | "__type__": "cc.Color", | ||
| 489 | "r": 246, | ||
| 490 | "g": 254, | ||
| 491 | "b": 255, | ||
| 492 | "a": 255 | ||
| 493 | }, | ||
| 494 | "_contentSize": { | ||
| 495 | "__type__": "cc.Size", | ||
| 496 | "width": 60, | ||
| 497 | "height": 37.8 | ||
| 498 | }, | ||
| 499 | "_anchorPoint": { | ||
| 500 | "__type__": "cc.Vec2", | ||
| 501 | "x": 0.5, | ||
| 502 | "y": 0.5 | ||
| 503 | }, | ||
| 504 | "_trs": { | ||
| 505 | "__type__": "TypedArray", | ||
| 506 | "ctor": "Float32Array", | ||
| 507 | "array": [ | ||
| 508 | -530, | ||
| 509 | 317.1000061035156, | ||
| 510 | 0, | ||
| 511 | 0, | ||
| 512 | 0, | ||
| 513 | 0, | ||
| 514 | 1, | ||
| 515 | 1, | ||
| 516 | 1, | ||
| 517 | 1 | ||
| 518 | ] | ||
| 519 | }, | ||
| 520 | "_eulerAngles": { | ||
| 521 | "__type__": "cc.Vec3", | ||
| 522 | "x": 0, | ||
| 523 | "y": 0, | ||
| 524 | "z": 0 | ||
| 525 | }, | ||
| 526 | "_skewX": 0, | ||
| 527 | "_skewY": 0, | ||
| 528 | "_is3DNode": false, | ||
| 529 | "_groupIndex": 0, | ||
| 530 | "groupIndex": 0, | ||
| 531 | "_id": "95N43/51NONrtOFqzxEAah" | ||
| 532 | }, | ||
| 533 | { | ||
| 534 | "__type__": "cc.Label", | ||
| 535 | "_name": "", | ||
| 536 | "_objFlags": 0, | ||
| 537 | "node": { | ||
| 538 | "__id__": 10 | ||
| 539 | }, | ||
| 540 | "_enabled": true, | ||
| 541 | "_materials": [ | ||
| 542 | { | ||
| 543 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 544 | } | ||
| 545 | ], | ||
| 546 | "_useOriginalSize": false, | ||
| 547 | "_string": "分类", | ||
| 548 | "_N$string": "分类", | ||
| 549 | "_fontSize": 30, | ||
| 550 | "_lineHeight": 30, | ||
| 551 | "_enableWrapText": true, | ||
| 552 | "_N$file": null, | ||
| 553 | "_isSystemFontUsed": true, | ||
| 554 | "_spacingX": 0, | ||
| 555 | "_batchAsBitmap": false, | ||
| 556 | "_N$horizontalAlign": 1, | ||
| 557 | "_N$verticalAlign": 1, | ||
| 558 | "_N$fontFamily": "Arial", | ||
| 559 | "_N$overflow": 0, | ||
| 560 | "_N$cacheMode": 0, | ||
| 561 | "_id": "ackt/J+XZNZp/rJVq2csxX" | ||
| 562 | }, | ||
| 563 | { | ||
| 564 | "__type__": "cc.Widget", | ||
| 565 | "_name": "", | ||
| 566 | "_objFlags": 0, | ||
| 567 | "node": { | ||
| 568 | "__id__": 10 | ||
| 569 | }, | ||
| 570 | "_enabled": true, | ||
| 571 | "alignMode": 1, | ||
| 572 | "_target": null, | ||
| 573 | "_alignFlags": 9, | ||
| 574 | "_left": 80, | ||
| 575 | "_right": 0, | ||
| 576 | "_top": 24, | ||
| 577 | "_bottom": 0, | ||
| 578 | "_verticalCenter": 0, | ||
| 579 | "_horizontalCenter": 0, | ||
| 580 | "_isAbsLeft": true, | ||
| 581 | "_isAbsRight": true, | ||
| 582 | "_isAbsTop": true, | ||
| 583 | "_isAbsBottom": true, | ||
| 584 | "_isAbsHorizontalCenter": true, | ||
| 585 | "_isAbsVerticalCenter": true, | ||
| 586 | "_originalWidth": 0, | ||
| 587 | "_originalHeight": 0, | ||
| 588 | "_id": "51VlCee69C7I5r1KIUrxz0" | ||
| 589 | }, | ||
| 590 | { | ||
| 591 | "__type__": "cc.Node", | ||
| 592 | "_name": "TypeListArea", | ||
| 593 | "_objFlags": 0, | ||
| 594 | "_parent": { | ||
| 595 | "__id__": 2 | ||
| 596 | }, | ||
| 597 | "_children": [ | ||
| 598 | { | ||
| 599 | "__id__": 14 | ||
| 600 | }, | ||
| 601 | { | ||
| 602 | "__id__": 16 | ||
| 603 | } | ||
| 604 | ], | ||
| 605 | "_active": true, | ||
| 606 | "_components": [ | ||
| 607 | { | ||
| 608 | "__id__": 19 | ||
| 609 | } | ||
| 610 | ], | ||
| 611 | "_prefab": null, | ||
| 612 | "_opacity": 255, | ||
| 613 | "_color": { | ||
| 614 | "__type__": "cc.Color", | ||
| 615 | "r": 255, | ||
| 616 | "g": 255, | ||
| 617 | "b": 255, | ||
| 618 | "a": 255 | ||
| 619 | }, | ||
| 620 | "_contentSize": { | ||
| 621 | "__type__": "cc.Size", | ||
| 622 | "width": 250, | ||
| 623 | "height": 550 | ||
| 624 | }, | ||
| 625 | "_anchorPoint": { | ||
| 626 | "__type__": "cc.Vec2", | ||
| 627 | "x": 0.5, | ||
| 628 | "y": 0.5 | ||
| 629 | }, | ||
| 630 | "_position": { | ||
| 631 | "__type__": "cc.Vec3", | ||
| 632 | "x": 0, | ||
| 633 | "y": 0, | ||
| 634 | "z": 0 | ||
| 635 | }, | ||
| 636 | "_scale": { | ||
| 637 | "__type__": "cc.Vec3", | ||
| 638 | "x": 1, | ||
| 639 | "y": 1, | ||
| 640 | "z": 1 | ||
| 641 | }, | ||
| 642 | "_trs": { | ||
| 643 | "__type__": "TypedArray", | ||
| 644 | "ctor": "Float32Array", | ||
| 645 | "array": [ | ||
| 646 | -505, | ||
| 647 | -43, | ||
| 648 | 0, | ||
| 649 | 0, | ||
| 650 | 0, | ||
| 651 | 0, | ||
| 652 | 1, | ||
| 653 | 1, | ||
| 654 | 1, | ||
| 655 | 1 | ||
| 656 | ] | ||
| 657 | }, | ||
| 658 | "_eulerAngles": { | ||
| 659 | "__type__": "cc.Vec3", | ||
| 660 | "x": 0, | ||
| 661 | "y": 0, | ||
| 662 | "z": 0 | ||
| 663 | }, | ||
| 664 | "_skewX": 0, | ||
| 665 | "_skewY": 0, | ||
| 666 | "_is3DNode": false, | ||
| 667 | "_groupIndex": 0, | ||
| 668 | "groupIndex": 0, | ||
| 669 | "_id": "54GpLg9MROYa0wsr1cDPTB" | ||
| 670 | }, | ||
| 671 | { | ||
| 672 | "__type__": "cc.Node", | ||
| 673 | "_name": "Bg", | ||
| 674 | "_objFlags": 0, | ||
| 675 | "_parent": { | ||
| 676 | "__id__": 13 | ||
| 677 | }, | ||
| 678 | "_children": [], | ||
| 679 | "_active": true, | ||
| 680 | "_components": [ | ||
| 681 | { | ||
| 682 | "__id__": 15 | ||
| 683 | } | ||
| 684 | ], | ||
| 685 | "_prefab": null, | ||
| 686 | "_opacity": 255, | ||
| 687 | "_color": { | ||
| 688 | "__type__": "cc.Color", | ||
| 689 | "r": 255, | ||
| 690 | "g": 255, | ||
| 691 | "b": 255, | ||
| 692 | "a": 255 | ||
| 693 | }, | ||
| 694 | "_contentSize": { | ||
| 695 | "__type__": "cc.Size", | ||
| 696 | "width": 250, | ||
| 697 | "height": 550 | ||
| 698 | }, | ||
| 699 | "_anchorPoint": { | ||
| 700 | "__type__": "cc.Vec2", | ||
| 701 | "x": 0.5, | ||
| 702 | "y": 0.5 | ||
| 703 | }, | ||
| 704 | "_position": { | ||
| 705 | "__type__": "cc.Vec3", | ||
| 706 | "x": 0, | ||
| 707 | "y": 0, | ||
| 708 | "z": 0 | ||
| 709 | }, | ||
| 710 | "_scale": { | ||
| 711 | "__type__": "cc.Vec3", | ||
| 712 | "x": 1, | ||
| 713 | "y": 1, | ||
| 714 | "z": 1 | ||
| 715 | }, | ||
| 716 | "_trs": { | ||
| 717 | "__type__": "TypedArray", | ||
| 718 | "ctor": "Float32Array", | ||
| 719 | "array": [ | ||
| 720 | 0, | ||
| 721 | 0, | ||
| 722 | 0, | ||
| 723 | 0, | ||
| 724 | 0, | ||
| 725 | 0, | ||
| 726 | 1, | ||
| 727 | 1, | ||
| 728 | 1, | ||
| 729 | 1 | ||
| 730 | ] | ||
| 731 | }, | ||
| 732 | "_eulerAngles": { | ||
| 733 | "__type__": "cc.Vec3", | ||
| 734 | "x": 0, | ||
| 735 | "y": 0, | ||
| 736 | "z": 0 | ||
| 737 | }, | ||
| 738 | "_skewX": 0, | ||
| 739 | "_skewY": 0, | ||
| 740 | "_is3DNode": false, | ||
| 741 | "_groupIndex": 0, | ||
| 742 | "groupIndex": 0, | ||
| 743 | "_id": "04sPoMQIdBvYX8yRYcoBjX" | ||
| 744 | }, | ||
| 745 | { | ||
| 746 | "__type__": "cc.Sprite", | ||
| 747 | "_name": "", | ||
| 748 | "_objFlags": 0, | ||
| 749 | "node": { | ||
| 750 | "__id__": 14 | ||
| 751 | }, | ||
| 752 | "_enabled": true, | ||
| 753 | "_materials": [ | ||
| 754 | { | ||
| 755 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 756 | } | ||
| 757 | ], | ||
| 758 | "_srcBlendFactor": 770, | ||
| 759 | "_dstBlendFactor": 771, | ||
| 760 | "_spriteFrame": null, | ||
| 761 | "_type": 0, | ||
| 762 | "_sizeMode": 0, | ||
| 763 | "_fillType": 0, | ||
| 764 | "_fillCenter": { | ||
| 765 | "__type__": "cc.Vec2", | ||
| 766 | "x": 0, | ||
| 767 | "y": 0 | ||
| 768 | }, | ||
| 769 | "_fillStart": 0, | ||
| 770 | "_fillRange": 0, | ||
| 771 | "_isTrimmedMode": true, | ||
| 772 | "_atlas": null, | ||
| 773 | "_id": "57Sd6PitBGrbQFnI7bMYEE" | ||
| 774 | }, | ||
| 775 | { | ||
| 776 | "__type__": "cc.Node", | ||
| 777 | "_name": "TypeListWrapper", | ||
| 778 | "_objFlags": 0, | ||
| 779 | "_parent": { | ||
| 780 | "__id__": 13 | ||
| 781 | }, | ||
| 782 | "_children": [ | ||
| 783 | { | ||
| 784 | "__id__": 17 | ||
| 785 | } | ||
| 786 | ], | ||
| 787 | "_active": true, | ||
| 788 | "_components": [ | ||
| 789 | { | ||
| 790 | "__id__": 18 | ||
| 791 | } | ||
| 792 | ], | ||
| 793 | "_prefab": null, | ||
| 794 | "_opacity": 255, | ||
| 795 | "_color": { | ||
| 796 | "__type__": "cc.Color", | ||
| 797 | "r": 255, | ||
| 798 | "g": 255, | ||
| 799 | "b": 255, | ||
| 800 | "a": 255 | ||
| 801 | }, | ||
| 802 | "_contentSize": { | ||
| 803 | "__type__": "cc.Size", | ||
| 804 | "width": 250, | ||
| 805 | "height": 565 | ||
| 806 | }, | ||
| 807 | "_anchorPoint": { | ||
| 808 | "__type__": "cc.Vec2", | ||
| 809 | "x": 0.5, | ||
| 810 | "y": 1 | ||
| 811 | }, | ||
| 812 | "_position": { | ||
| 813 | "__type__": "cc.Vec3", | ||
| 814 | "x": -598, | ||
| 815 | "y": 0, | ||
| 816 | "z": 0 | ||
| 817 | }, | ||
| 818 | "_scale": { | ||
| 819 | "__type__": "cc.Vec3", | ||
| 820 | "x": 1, | ||
| 821 | "y": 1, | ||
| 822 | "z": 1 | ||
| 823 | }, | ||
| 824 | "_trs": { | ||
| 825 | "__type__": "TypedArray", | ||
| 826 | "ctor": "Float32Array", | ||
| 827 | "array": [ | ||
| 828 | 0, | ||
| 829 | 275, | ||
| 830 | 0, | ||
| 831 | 0, | ||
| 832 | 0, | ||
| 833 | 0, | ||
| 834 | 1, | ||
| 835 | 1, | ||
| 836 | 1, | ||
| 837 | 1 | ||
| 838 | ] | ||
| 839 | }, | ||
| 840 | "_eulerAngles": { | ||
| 841 | "__type__": "cc.Vec3", | ||
| 842 | "x": 0, | ||
| 843 | "y": 0, | ||
| 844 | "z": 0 | ||
| 845 | }, | ||
| 846 | "_skewX": 0, | ||
| 847 | "_skewY": 0, | ||
| 848 | "_is3DNode": false, | ||
| 849 | "_groupIndex": 0, | ||
| 850 | "groupIndex": 0, | ||
| 851 | "_id": "1ev3MDyQRC9IfjRSvOo+xq" | ||
| 852 | }, | ||
| 853 | { | ||
| 854 | "__type__": "cc.Node", | ||
| 855 | "_name": "TypeList", | ||
| 856 | "_objFlags": 0, | ||
| 857 | "_parent": { | ||
| 858 | "__id__": 16 | ||
| 859 | }, | ||
| 860 | "_children": [], | ||
| 861 | "_active": true, | ||
| 862 | "_components": [], | ||
| 863 | "_prefab": null, | ||
| 864 | "_opacity": 255, | ||
| 865 | "_color": { | ||
| 866 | "__type__": "cc.Color", | ||
| 867 | "r": 255, | ||
| 868 | "g": 255, | ||
| 869 | "b": 255, | ||
| 870 | "a": 255 | ||
| 871 | }, | ||
| 872 | "_contentSize": { | ||
| 873 | "__type__": "cc.Size", | ||
| 874 | "width": 0, | ||
| 875 | "height": 0 | ||
| 876 | }, | ||
| 877 | "_anchorPoint": { | ||
| 878 | "__type__": "cc.Vec2", | ||
| 879 | "x": 0, | ||
| 880 | "y": 0.5 | ||
| 881 | }, | ||
| 882 | "_position": { | ||
| 883 | "__type__": "cc.Vec3", | ||
| 884 | "x": 0, | ||
| 885 | "y": 0, | ||
| 886 | "z": 0 | ||
| 887 | }, | ||
| 888 | "_scale": { | ||
| 889 | "__type__": "cc.Vec3", | ||
| 890 | "x": 1, | ||
| 891 | "y": 1, | ||
| 892 | "z": 1 | ||
| 893 | }, | ||
| 894 | "_trs": { | ||
| 895 | "__type__": "TypedArray", | ||
| 896 | "ctor": "Float32Array", | ||
| 897 | "array": [ | ||
| 898 | 0, | ||
| 899 | 0, | ||
| 900 | 0, | ||
| 901 | 0, | ||
| 902 | 0, | ||
| 903 | 0, | ||
| 904 | 1, | ||
| 905 | 1, | ||
| 906 | 1, | ||
| 907 | 1 | ||
| 908 | ] | ||
| 909 | }, | ||
| 910 | "_eulerAngles": { | ||
| 911 | "__type__": "cc.Vec3", | ||
| 912 | "x": 0, | ||
| 913 | "y": 0, | ||
| 914 | "z": 0 | ||
| 915 | }, | ||
| 916 | "_skewX": 0, | ||
| 917 | "_skewY": 0, | ||
| 918 | "_is3DNode": false, | ||
| 919 | "_groupIndex": 0, | ||
| 920 | "groupIndex": 0, | ||
| 921 | "_id": "70w9JVerJKo6WH5QHtizcp" | ||
| 922 | }, | ||
| 923 | { | ||
| 924 | "__type__": "cc.Mask", | ||
| 925 | "_name": "", | ||
| 926 | "_objFlags": 0, | ||
| 927 | "node": { | ||
| 928 | "__id__": 16 | ||
| 929 | }, | ||
| 930 | "_enabled": true, | ||
| 931 | "_materials": [ | ||
| 932 | { | ||
| 933 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 934 | } | ||
| 935 | ], | ||
| 936 | "_spriteFrame": null, | ||
| 937 | "_type": 0, | ||
| 938 | "_segments": 64, | ||
| 939 | "_N$alphaThreshold": 0, | ||
| 940 | "_N$inverted": false, | ||
| 941 | "_id": "8eIrbdxN1J74JaekVs4au4" | ||
| 942 | }, | ||
| 943 | { | ||
| 944 | "__type__": "cc.Widget", | ||
| 945 | "_name": "", | ||
| 946 | "_objFlags": 0, | ||
| 947 | "node": { | ||
| 948 | "__id__": 13 | ||
| 949 | }, | ||
| 950 | "_enabled": true, | ||
| 951 | "alignMode": 2, | ||
| 952 | "_target": null, | ||
| 953 | "_alignFlags": 9, | ||
| 954 | "_left": 10, | ||
| 955 | "_right": 0, | ||
| 956 | "_top": 128, | ||
| 957 | "_bottom": 0, | ||
| 958 | "_verticalCenter": 0, | ||
| 959 | "_horizontalCenter": 0, | ||
| 960 | "_isAbsLeft": true, | ||
| 961 | "_isAbsRight": true, | ||
| 962 | "_isAbsTop": true, | ||
| 963 | "_isAbsBottom": true, | ||
| 964 | "_isAbsHorizontalCenter": true, | ||
| 965 | "_isAbsVerticalCenter": true, | ||
| 966 | "_originalWidth": 0, | ||
| 967 | "_originalHeight": 0, | ||
| 968 | "_id": "f7A74/rllPQ4wTdc6dTWMg" | ||
| 969 | }, | ||
| 970 | { | ||
| 971 | "__type__": "cc.Node", | ||
| 972 | "_name": "CategoryList", | ||
| 973 | "_objFlags": 0, | ||
| 974 | "_parent": { | ||
| 975 | "__id__": 2 | ||
| 976 | }, | ||
| 977 | "_children": [ | ||
| 978 | { | ||
| 979 | "__id__": 21 | ||
| 980 | }, | ||
| 981 | { | ||
| 982 | "__id__": 24 | ||
| 983 | } | ||
| 984 | ], | ||
| 985 | "_active": true, | ||
| 986 | "_components": [ | ||
| 987 | { | ||
| 988 | "__id__": 44 | ||
| 989 | } | ||
| 990 | ], | ||
| 991 | "_prefab": null, | ||
| 992 | "_opacity": 255, | ||
| 993 | "_color": { | ||
| 994 | "__type__": "cc.Color", | ||
| 995 | "r": 255, | ||
| 996 | "g": 255, | ||
| 997 | "b": 255, | ||
| 998 | "a": 255 | ||
| 999 | }, | ||
| 1000 | "_contentSize": { | ||
| 1001 | "__type__": "cc.Size", | ||
| 1002 | "width": 1000, | ||
| 1003 | "height": 650 | ||
| 1004 | }, | ||
| 1005 | "_anchorPoint": { | ||
| 1006 | "__type__": "cc.Vec2", | ||
| 1007 | "x": 0.5, | ||
| 1008 | "y": 0.5 | ||
| 1009 | }, | ||
| 1010 | "_position": { | ||
| 1011 | "__type__": "cc.Vec3", | ||
| 1012 | "x": 107, | ||
| 1013 | "y": -54, | ||
| 1014 | "z": 0 | ||
| 1015 | }, | ||
| 1016 | "_scale": { | ||
| 1017 | "__type__": "cc.Vec3", | ||
| 1018 | "x": 1, | ||
| 1019 | "y": 1, | ||
| 1020 | "z": 1 | ||
| 1021 | }, | ||
| 1022 | "_trs": { | ||
| 1023 | "__type__": "TypedArray", | ||
| 1024 | "ctor": "Float32Array", | ||
| 1025 | "array": [ | ||
| 1026 | 90, | ||
| 1027 | -35, | ||
| 1028 | 0, | ||
| 1029 | 0, | ||
| 1030 | 0, | ||
| 1031 | 0, | ||
| 1032 | 1, | ||
| 1033 | 1, | ||
| 1034 | 1, | ||
| 1035 | 1 | ||
| 1036 | ] | ||
| 1037 | }, | ||
| 1038 | "_eulerAngles": { | ||
| 1039 | "__type__": "cc.Vec3", | ||
| 1040 | "x": 0, | ||
| 1041 | "y": 0, | ||
| 1042 | "z": 0 | ||
| 1043 | }, | ||
| 1044 | "_skewX": 0, | ||
| 1045 | "_skewY": 0, | ||
| 1046 | "_is3DNode": false, | ||
| 1047 | "_groupIndex": 0, | ||
| 1048 | "groupIndex": 0, | ||
| 1049 | "_id": "42Yns4eY1B3JcH3wTcA+4k" | ||
| 1050 | }, | ||
| 1051 | { | ||
| 1052 | "__type__": "cc.Node", | ||
| 1053 | "_name": "DataContainerMask", | ||
| 1054 | "_objFlags": 0, | ||
| 1055 | "_parent": { | ||
| 1056 | "__id__": 20 | ||
| 1057 | }, | ||
| 1058 | "_children": [ | ||
| 1059 | { | ||
| 1060 | "__id__": 22 | ||
| 1061 | } | ||
| 1062 | ], | ||
| 1063 | "_active": true, | ||
| 1064 | "_components": [ | ||
| 1065 | { | ||
| 1066 | "__id__": 23 | ||
| 1067 | } | ||
| 1068 | ], | ||
| 1069 | "_prefab": null, | ||
| 1070 | "_opacity": 255, | ||
| 1071 | "_color": { | ||
| 1072 | "__type__": "cc.Color", | ||
| 1073 | "r": 255, | ||
| 1074 | "g": 255, | ||
| 1075 | "b": 255, | ||
| 1076 | "a": 255 | ||
| 1077 | }, | ||
| 1078 | "_contentSize": { | ||
| 1079 | "__type__": "cc.Size", | ||
| 1080 | "width": 1020, | ||
| 1081 | "height": 650 | ||
| 1082 | }, | ||
| 1083 | "_anchorPoint": { | ||
| 1084 | "__type__": "cc.Vec2", | ||
| 1085 | "x": 0.5, | ||
| 1086 | "y": 0.5 | ||
| 1087 | }, | ||
| 1088 | "_position": { | ||
| 1089 | "__type__": "cc.Vec3", | ||
| 1090 | "x": 0, | ||
| 1091 | "y": 0, | ||
| 1092 | "z": 0 | ||
| 1093 | }, | ||
| 1094 | "_scale": { | ||
| 1095 | "__type__": "cc.Vec3", | ||
| 1096 | "x": 1, | ||
| 1097 | "y": 1, | ||
| 1098 | "z": 1 | ||
| 1099 | }, | ||
| 1100 | "_trs": { | ||
| 1101 | "__type__": "TypedArray", | ||
| 1102 | "ctor": "Float32Array", | ||
| 1103 | "array": [ | ||
| 1104 | 0, | ||
| 1105 | 0, | ||
| 1106 | 0, | ||
| 1107 | 0, | ||
| 1108 | 0, | ||
| 1109 | 0, | ||
| 1110 | 1, | ||
| 1111 | 1, | ||
| 1112 | 1, | ||
| 1113 | 1 | ||
| 1114 | ] | ||
| 1115 | }, | ||
| 1116 | "_eulerAngles": { | ||
| 1117 | "__type__": "cc.Vec3", | ||
| 1118 | "x": 0, | ||
| 1119 | "y": 0, | ||
| 1120 | "z": 0 | ||
| 1121 | }, | ||
| 1122 | "_skewX": 0, | ||
| 1123 | "_skewY": 0, | ||
| 1124 | "_is3DNode": false, | ||
| 1125 | "_groupIndex": 0, | ||
| 1126 | "groupIndex": 0, | ||
| 1127 | "_id": "672kHUI+pEFo/SxpgxkDNs" | ||
| 1128 | }, | ||
| 1129 | { | ||
| 1130 | "__type__": "cc.Node", | ||
| 1131 | "_name": "DataContainer", | ||
| 1132 | "_objFlags": 0, | ||
| 1133 | "_parent": { | ||
| 1134 | "__id__": 21 | ||
| 1135 | }, | ||
| 1136 | "_children": [], | ||
| 1137 | "_active": true, | ||
| 1138 | "_components": [], | ||
| 1139 | "_prefab": null, | ||
| 1140 | "_opacity": 255, | ||
| 1141 | "_color": { | ||
| 1142 | "__type__": "cc.Color", | ||
| 1143 | "r": 255, | ||
| 1144 | "g": 255, | ||
| 1145 | "b": 255, | ||
| 1146 | "a": 255 | ||
| 1147 | }, | ||
| 1148 | "_contentSize": { | ||
| 1149 | "__type__": "cc.Size", | ||
| 1150 | "width": 1000, | ||
| 1151 | "height": 650 | ||
| 1152 | }, | ||
| 1153 | "_anchorPoint": { | ||
| 1154 | "__type__": "cc.Vec2", | ||
| 1155 | "x": 0.5, | ||
| 1156 | "y": 0.5 | ||
| 1157 | }, | ||
| 1158 | "_position": { | ||
| 1159 | "__type__": "cc.Vec3", | ||
| 1160 | "x": 0, | ||
| 1161 | "y": 0, | ||
| 1162 | "z": 0 | ||
| 1163 | }, | ||
| 1164 | "_scale": { | ||
| 1165 | "__type__": "cc.Vec3", | ||
| 1166 | "x": 1, | ||
| 1167 | "y": 1, | ||
| 1168 | "z": 1 | ||
| 1169 | }, | ||
| 1170 | "_trs": { | ||
| 1171 | "__type__": "TypedArray", | ||
| 1172 | "ctor": "Float32Array", | ||
| 1173 | "array": [ | ||
| 1174 | 0, | ||
| 1175 | 0, | ||
| 1176 | 0, | ||
| 1177 | 0, | ||
| 1178 | 0, | ||
| 1179 | 0, | ||
| 1180 | 1, | ||
| 1181 | 1, | ||
| 1182 | 1, | ||
| 1183 | 1 | ||
| 1184 | ] | ||
| 1185 | }, | ||
| 1186 | "_eulerAngles": { | ||
| 1187 | "__type__": "cc.Vec3", | ||
| 1188 | "x": 0, | ||
| 1189 | "y": 0, | ||
| 1190 | "z": 0 | ||
| 1191 | }, | ||
| 1192 | "_skewX": 0, | ||
| 1193 | "_skewY": 0, | ||
| 1194 | "_is3DNode": false, | ||
| 1195 | "_groupIndex": 0, | ||
| 1196 | "groupIndex": 0, | ||
| 1197 | "_id": "bcAsjCquRLfKSxbhacL2pO" | ||
| 1198 | }, | ||
| 1199 | { | ||
| 1200 | "__type__": "cc.Mask", | ||
| 1201 | "_name": "", | ||
| 1202 | "_objFlags": 0, | ||
| 1203 | "node": { | ||
| 1204 | "__id__": 21 | ||
| 1205 | }, | ||
| 1206 | "_enabled": true, | ||
| 1207 | "_materials": [ | ||
| 1208 | { | ||
| 1209 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 1210 | } | ||
| 1211 | ], | ||
| 1212 | "_spriteFrame": null, | ||
| 1213 | "_type": 0, | ||
| 1214 | "_segments": 64, | ||
| 1215 | "_N$alphaThreshold": 1, | ||
| 1216 | "_N$inverted": false, | ||
| 1217 | "_id": "ebCyQKBk9NMLueZXAS4qPT" | ||
| 1218 | }, | ||
| 1219 | { | ||
| 1220 | "__type__": "cc.Node", | ||
| 1221 | "_name": "ScrollBarContainer", | ||
| 1222 | "_objFlags": 0, | ||
| 1223 | "_parent": { | ||
| 1224 | "__id__": 20 | ||
| 1225 | }, | ||
| 1226 | "_children": [ | ||
| 1227 | { | ||
| 1228 | "__id__": 25 | ||
| 1229 | }, | ||
| 1230 | { | ||
| 1231 | "__id__": 27 | ||
| 1232 | } | ||
| 1233 | ], | ||
| 1234 | "_active": false, | ||
| 1235 | "_components": [ | ||
| 1236 | { | ||
| 1237 | "__id__": 42 | ||
| 1238 | }, | ||
| 1239 | { | ||
| 1240 | "__id__": 43 | ||
| 1241 | } | ||
| 1242 | ], | ||
| 1243 | "_prefab": null, | ||
| 1244 | "_opacity": 255, | ||
| 1245 | "_color": { | ||
| 1246 | "__type__": "cc.Color", | ||
| 1247 | "r": 255, | ||
| 1248 | "g": 255, | ||
| 1249 | "b": 255, | ||
| 1250 | "a": 255 | ||
| 1251 | }, | ||
| 1252 | "_contentSize": { | ||
| 1253 | "__type__": "cc.Size", | ||
| 1254 | "width": 10, | ||
| 1255 | "height": 475 | ||
| 1256 | }, | ||
| 1257 | "_anchorPoint": { | ||
| 1258 | "__type__": "cc.Vec2", | ||
| 1259 | "x": 0.5, | ||
| 1260 | "y": 0.5 | ||
| 1261 | }, | ||
| 1262 | "_position": { | ||
| 1263 | "__type__": "cc.Vec3", | ||
| 1264 | "x": 440, | ||
| 1265 | "y": 5, | ||
| 1266 | "z": 0 | ||
| 1267 | }, | ||
| 1268 | "_scale": { | ||
| 1269 | "__type__": "cc.Vec3", | ||
| 1270 | "x": 1, | ||
| 1271 | "y": 1, | ||
| 1272 | "z": 1 | ||
| 1273 | }, | ||
| 1274 | "_trs": { | ||
| 1275 | "__type__": "TypedArray", | ||
| 1276 | "ctor": "Float32Array", | ||
| 1277 | "array": [ | ||
| 1278 | 601.5, | ||
| 1279 | 5, | ||
| 1280 | 0, | ||
| 1281 | 0, | ||
| 1282 | 0, | ||
| 1283 | 0, | ||
| 1284 | 1, | ||
| 1285 | 1, | ||
| 1286 | 1, | ||
| 1287 | 1 | ||
| 1288 | ] | ||
| 1289 | }, | ||
| 1290 | "_eulerAngles": { | ||
| 1291 | "__type__": "cc.Vec3", | ||
| 1292 | "x": 0, | ||
| 1293 | "y": 0, | ||
| 1294 | "z": 0 | ||
| 1295 | }, | ||
| 1296 | "_skewX": 0, | ||
| 1297 | "_skewY": 0, | ||
| 1298 | "_is3DNode": false, | ||
| 1299 | "_groupIndex": 0, | ||
| 1300 | "groupIndex": 0, | ||
| 1301 | "_id": "b9mxpzWjBJ7rqDGA6l6VCF" | ||
| 1302 | }, | ||
| 1303 | { | ||
| 1304 | "__type__": "cc.Node", | ||
| 1305 | "_name": "ScrollBarHight", | ||
| 1306 | "_objFlags": 0, | ||
| 1307 | "_parent": { | ||
| 1308 | "__id__": 24 | ||
| 1309 | }, | ||
| 1310 | "_children": [], | ||
| 1311 | "_active": true, | ||
| 1312 | "_components": [ | ||
| 1313 | { | ||
| 1314 | "__id__": 26 | ||
| 1315 | } | ||
| 1316 | ], | ||
| 1317 | "_prefab": null, | ||
| 1318 | "_opacity": 100, | ||
| 1319 | "_color": { | ||
| 1320 | "__type__": "cc.Color", | ||
| 1321 | "r": 255, | ||
| 1322 | "g": 255, | ||
| 1323 | "b": 255, | ||
| 1324 | "a": 255 | ||
| 1325 | }, | ||
| 1326 | "_contentSize": { | ||
| 1327 | "__type__": "cc.Size", | ||
| 1328 | "width": 2, | ||
| 1329 | "height": 475 | ||
| 1330 | }, | ||
| 1331 | "_anchorPoint": { | ||
| 1332 | "__type__": "cc.Vec2", | ||
| 1333 | "x": 0.5, | ||
| 1334 | "y": 0.5 | ||
| 1335 | }, | ||
| 1336 | "_position": { | ||
| 1337 | "__type__": "cc.Vec3", | ||
| 1338 | "x": 0, | ||
| 1339 | "y": 0, | ||
| 1340 | "z": 0 | ||
| 1341 | }, | ||
| 1342 | "_scale": { | ||
| 1343 | "__type__": "cc.Vec3", | ||
| 1344 | "x": 1, | ||
| 1345 | "y": 1, | ||
| 1346 | "z": 1 | ||
| 1347 | }, | ||
| 1348 | "_trs": { | ||
| 1349 | "__type__": "TypedArray", | ||
| 1350 | "ctor": "Float32Array", | ||
| 1351 | "array": [ | ||
| 1352 | 0, | ||
| 1353 | 0, | ||
| 1354 | 0, | ||
| 1355 | 0, | ||
| 1356 | 0, | ||
| 1357 | 0, | ||
| 1358 | 1, | ||
| 1359 | 1, | ||
| 1360 | 1, | ||
| 1361 | 1 | ||
| 1362 | ] | ||
| 1363 | }, | ||
| 1364 | "_eulerAngles": { | ||
| 1365 | "__type__": "cc.Vec3", | ||
| 1366 | "x": 0, | ||
| 1367 | "y": 0, | ||
| 1368 | "z": 0 | ||
| 1369 | }, | ||
| 1370 | "_skewX": 0, | ||
| 1371 | "_skewY": 0, | ||
| 1372 | "_is3DNode": false, | ||
| 1373 | "_groupIndex": 0, | ||
| 1374 | "groupIndex": 0, | ||
| 1375 | "_id": "c7rW/WDgFCTqXacKZQlwf6" | ||
| 1376 | }, | ||
| 1377 | { | ||
| 1378 | "__type__": "cc.Sprite", | ||
| 1379 | "_name": "", | ||
| 1380 | "_objFlags": 0, | ||
| 1381 | "node": { | ||
| 1382 | "__id__": 25 | ||
| 1383 | }, | ||
| 1384 | "_enabled": true, | ||
| 1385 | "_materials": [], | ||
| 1386 | "_srcBlendFactor": 770, | ||
| 1387 | "_dstBlendFactor": 771, | ||
| 1388 | "_spriteFrame": null, | ||
| 1389 | "_type": 0, | ||
| 1390 | "_sizeMode": 0, | ||
| 1391 | "_fillType": 0, | ||
| 1392 | "_fillCenter": { | ||
| 1393 | "__type__": "cc.Vec2", | ||
| 1394 | "x": 0, | ||
| 1395 | "y": 0 | ||
| 1396 | }, | ||
| 1397 | "_fillStart": 0, | ||
| 1398 | "_fillRange": 0, | ||
| 1399 | "_isTrimmedMode": true, | ||
| 1400 | "_atlas": null, | ||
| 1401 | "_id": "64B63JzWFJTKGEmunQrLrJ" | ||
| 1402 | }, | ||
| 1403 | { | ||
| 1404 | "__type__": "cc.Node", | ||
| 1405 | "_name": "ScrollBarShadow", | ||
| 1406 | "_objFlags": 0, | ||
| 1407 | "_parent": { | ||
| 1408 | "__id__": 24 | ||
| 1409 | }, | ||
| 1410 | "_children": [ | ||
| 1411 | { | ||
| 1412 | "__id__": 28 | ||
| 1413 | } | ||
| 1414 | ], | ||
| 1415 | "_active": true, | ||
| 1416 | "_components": [ | ||
| 1417 | { | ||
| 1418 | "__id__": 40 | ||
| 1419 | }, | ||
| 1420 | { | ||
| 1421 | "__id__": 41 | ||
| 1422 | } | ||
| 1423 | ], | ||
| 1424 | "_prefab": null, | ||
| 1425 | "_opacity": 255, | ||
| 1426 | "_color": { | ||
| 1427 | "__type__": "cc.Color", | ||
| 1428 | "r": 255, | ||
| 1429 | "g": 255, | ||
| 1430 | "b": 255, | ||
| 1431 | "a": 255 | ||
| 1432 | }, | ||
| 1433 | "_contentSize": { | ||
| 1434 | "__type__": "cc.Size", | ||
| 1435 | "width": 2, | ||
| 1436 | "height": 94 | ||
| 1437 | }, | ||
| 1438 | "_anchorPoint": { | ||
| 1439 | "__type__": "cc.Vec2", | ||
| 1440 | "x": 0.5, | ||
| 1441 | "y": 0 | ||
| 1442 | }, | ||
| 1443 | "_position": { | ||
| 1444 | "__type__": "cc.Vec3", | ||
| 1445 | "x": 0, | ||
| 1446 | "y": 143.5, | ||
| 1447 | "z": 0 | ||
| 1448 | }, | ||
| 1449 | "_scale": { | ||
| 1450 | "__type__": "cc.Vec3", | ||
| 1451 | "x": 1, | ||
| 1452 | "y": 1, | ||
| 1453 | "z": 1 | ||
| 1454 | }, | ||
| 1455 | "_trs": { | ||
| 1456 | "__type__": "TypedArray", | ||
| 1457 | "ctor": "Float32Array", | ||
| 1458 | "array": [ | ||
| 1459 | 0, | ||
| 1460 | 143.5, | ||
| 1461 | 0, | ||
| 1462 | 0, | ||
| 1463 | 0, | ||
| 1464 | 0, | ||
| 1465 | 1, | ||
| 1466 | 1, | ||
| 1467 | 1, | ||
| 1468 | 1 | ||
| 1469 | ] | ||
| 1470 | }, | ||
| 1471 | "_eulerAngles": { | ||
| 1472 | "__type__": "cc.Vec3", | ||
| 1473 | "x": 0, | ||
| 1474 | "y": 0, | ||
| 1475 | "z": 0 | ||
| 1476 | }, | ||
| 1477 | "_skewX": 0, | ||
| 1478 | "_skewY": 0, | ||
| 1479 | "_is3DNode": false, | ||
| 1480 | "_groupIndex": 0, | ||
| 1481 | "groupIndex": 0, | ||
| 1482 | "_id": "56tSzxQ0NKOaYEYKXfskx2" | ||
| 1483 | }, | ||
| 1484 | { | ||
| 1485 | "__type__": "cc.Node", | ||
| 1486 | "_name": "ScrollBarBlock", | ||
| 1487 | "_objFlags": 0, | ||
| 1488 | "_parent": { | ||
| 1489 | "__id__": 27 | ||
| 1490 | }, | ||
| 1491 | "_children": [ | ||
| 1492 | { | ||
| 1493 | "__id__": 29 | ||
| 1494 | }, | ||
| 1495 | { | ||
| 1496 | "__id__": 32 | ||
| 1497 | }, | ||
| 1498 | { | ||
| 1499 | "__id__": 35 | ||
| 1500 | } | ||
| 1501 | ], | ||
| 1502 | "_active": true, | ||
| 1503 | "_components": [ | ||
| 1504 | { | ||
| 1505 | "__id__": 38 | ||
| 1506 | }, | ||
| 1507 | { | ||
| 1508 | "__id__": 39 | ||
| 1509 | } | ||
| 1510 | ], | ||
| 1511 | "_prefab": null, | ||
| 1512 | "_opacity": 255, | ||
| 1513 | "_color": { | ||
| 1514 | "__type__": "cc.Color", | ||
| 1515 | "r": 255, | ||
| 1516 | "g": 255, | ||
| 1517 | "b": 255, | ||
| 1518 | "a": 255 | ||
| 1519 | }, | ||
| 1520 | "_contentSize": { | ||
| 1521 | "__type__": "cc.Size", | ||
| 1522 | "width": 10, | ||
| 1523 | "height": 94 | ||
| 1524 | }, | ||
| 1525 | "_anchorPoint": { | ||
| 1526 | "__type__": "cc.Vec2", | ||
| 1527 | "x": 0.5, | ||
| 1528 | "y": 0.5 | ||
| 1529 | }, | ||
| 1530 | "_position": { | ||
| 1531 | "__type__": "cc.Vec3", | ||
| 1532 | "x": 0, | ||
| 1533 | "y": 47, | ||
| 1534 | "z": 0 | ||
| 1535 | }, | ||
| 1536 | "_scale": { | ||
| 1537 | "__type__": "cc.Vec3", | ||
| 1538 | "x": 1, | ||
| 1539 | "y": 1, | ||
| 1540 | "z": 1 | ||
| 1541 | }, | ||
| 1542 | "_trs": { | ||
| 1543 | "__type__": "TypedArray", | ||
| 1544 | "ctor": "Float32Array", | ||
| 1545 | "array": [ | ||
| 1546 | 0, | ||
| 1547 | 47, | ||
| 1548 | 0, | ||
| 1549 | 0, | ||
| 1550 | 0, | ||
| 1551 | 0, | ||
| 1552 | 1, | ||
| 1553 | 1, | ||
| 1554 | 1, | ||
| 1555 | 1 | ||
| 1556 | ] | ||
| 1557 | }, | ||
| 1558 | "_eulerAngles": { | ||
| 1559 | "__type__": "cc.Vec3", | ||
| 1560 | "x": 0, | ||
| 1561 | "y": 0, | ||
| 1562 | "z": 0 | ||
| 1563 | }, | ||
| 1564 | "_skewX": 0, | ||
| 1565 | "_skewY": 0, | ||
| 1566 | "_is3DNode": false, | ||
| 1567 | "_groupIndex": 0, | ||
| 1568 | "groupIndex": 0, | ||
| 1569 | "_id": "f5RZZ2rmZOGbpTIDB9Q2kA" | ||
| 1570 | }, | ||
| 1571 | { | ||
| 1572 | "__type__": "cc.Node", | ||
| 1573 | "_name": "AU", | ||
| 1574 | "_objFlags": 0, | ||
| 1575 | "_parent": { | ||
| 1576 | "__id__": 28 | ||
| 1577 | }, | ||
| 1578 | "_children": [], | ||
| 1579 | "_active": true, | ||
| 1580 | "_components": [ | ||
| 1581 | { | ||
| 1582 | "__id__": 30 | ||
| 1583 | }, | ||
| 1584 | { | ||
| 1585 | "__id__": 31 | ||
| 1586 | } | ||
| 1587 | ], | ||
| 1588 | "_prefab": null, | ||
| 1589 | "_opacity": 255, | ||
| 1590 | "_color": { | ||
| 1591 | "__type__": "cc.Color", | ||
| 1592 | "r": 255, | ||
| 1593 | "g": 255, | ||
| 1594 | "b": 255, | ||
| 1595 | "a": 255 | ||
| 1596 | }, | ||
| 1597 | "_contentSize": { | ||
| 1598 | "__type__": "cc.Size", | ||
| 1599 | "width": 10, | ||
| 1600 | "height": 12 | ||
| 1601 | }, | ||
| 1602 | "_anchorPoint": { | ||
| 1603 | "__type__": "cc.Vec2", | ||
| 1604 | "x": 0.5, | ||
| 1605 | "y": 0.5 | ||
| 1606 | }, | ||
| 1607 | "_position": { | ||
| 1608 | "__type__": "cc.Vec3", | ||
| 1609 | "x": 30, | ||
| 1610 | "y": 47, | ||
| 1611 | "z": 0 | ||
| 1612 | }, | ||
| 1613 | "_scale": { | ||
| 1614 | "__type__": "cc.Vec3", | ||
| 1615 | "x": 1, | ||
| 1616 | "y": 1, | ||
| 1617 | "z": 1 | ||
| 1618 | }, | ||
| 1619 | "_trs": { | ||
| 1620 | "__type__": "TypedArray", | ||
| 1621 | "ctor": "Float32Array", | ||
| 1622 | "array": [ | ||
| 1623 | 30, | ||
| 1624 | 47, | ||
| 1625 | 0, | ||
| 1626 | 0, | ||
| 1627 | 0, | ||
| 1628 | 0, | ||
| 1629 | 1, | ||
| 1630 | 1, | ||
| 1631 | 1, | ||
| 1632 | 1 | ||
| 1633 | ] | ||
| 1634 | }, | ||
| 1635 | "_eulerAngles": { | ||
| 1636 | "__type__": "cc.Vec3", | ||
| 1637 | "x": 0, | ||
| 1638 | "y": 0, | ||
| 1639 | "z": 0 | ||
| 1640 | }, | ||
| 1641 | "_skewX": 0, | ||
| 1642 | "_skewY": 0, | ||
| 1643 | "_is3DNode": false, | ||
| 1644 | "_groupIndex": 0, | ||
| 1645 | "groupIndex": 0, | ||
| 1646 | "_id": "49ipjulgtNbKxiGRvYN5aA" | ||
| 1647 | }, | ||
| 1648 | { | ||
| 1649 | "__type__": "cc.Sprite", | ||
| 1650 | "_name": "", | ||
| 1651 | "_objFlags": 0, | ||
| 1652 | "node": { | ||
| 1653 | "__id__": 29 | ||
| 1654 | }, | ||
| 1655 | "_enabled": true, | ||
| 1656 | "_materials": [], | ||
| 1657 | "_srcBlendFactor": 770, | ||
| 1658 | "_dstBlendFactor": 771, | ||
| 1659 | "_spriteFrame": null, | ||
| 1660 | "_type": 0, | ||
| 1661 | "_sizeMode": 0, | ||
| 1662 | "_fillType": 0, | ||
| 1663 | "_fillCenter": { | ||
| 1664 | "__type__": "cc.Vec2", | ||
| 1665 | "x": 0, | ||
| 1666 | "y": 0 | ||
| 1667 | }, | ||
| 1668 | "_fillStart": 0, | ||
| 1669 | "_fillRange": 0, | ||
| 1670 | "_isTrimmedMode": true, | ||
| 1671 | "_atlas": null, | ||
| 1672 | "_id": "900TDgr+lDyoeMAkdFm8QJ" | ||
| 1673 | }, | ||
| 1674 | { | ||
| 1675 | "__type__": "cc.Widget", | ||
| 1676 | "_name": "", | ||
| 1677 | "_objFlags": 0, | ||
| 1678 | "node": { | ||
| 1679 | "__id__": 29 | ||
| 1680 | }, | ||
| 1681 | "_enabled": true, | ||
| 1682 | "alignMode": 0, | ||
| 1683 | "_target": null, | ||
| 1684 | "_alignFlags": 12, | ||
| 1685 | "_left": 30, | ||
| 1686 | "_right": 0, | ||
| 1687 | "_top": 41, | ||
| 1688 | "_bottom": 88, | ||
| 1689 | "_verticalCenter": 0, | ||
| 1690 | "_horizontalCenter": 0, | ||
| 1691 | "_isAbsLeft": true, | ||
| 1692 | "_isAbsRight": true, | ||
| 1693 | "_isAbsTop": true, | ||
| 1694 | "_isAbsBottom": true, | ||
| 1695 | "_isAbsHorizontalCenter": true, | ||
| 1696 | "_isAbsVerticalCenter": true, | ||
| 1697 | "_originalWidth": 0, | ||
| 1698 | "_originalHeight": 12, | ||
| 1699 | "_id": "f1HCAllAxG37giHBz9DKPw" | ||
| 1700 | }, | ||
| 1701 | { | ||
| 1702 | "__type__": "cc.Node", | ||
| 1703 | "_name": "AD", | ||
| 1704 | "_objFlags": 0, | ||
| 1705 | "_parent": { | ||
| 1706 | "__id__": 28 | ||
| 1707 | }, | ||
| 1708 | "_children": [], | ||
| 1709 | "_active": true, | ||
| 1710 | "_components": [ | ||
| 1711 | { | ||
| 1712 | "__id__": 33 | ||
| 1713 | }, | ||
| 1714 | { | ||
| 1715 | "__id__": 34 | ||
| 1716 | } | ||
| 1717 | ], | ||
| 1718 | "_prefab": null, | ||
| 1719 | "_opacity": 255, | ||
| 1720 | "_color": { | ||
| 1721 | "__type__": "cc.Color", | ||
| 1722 | "r": 255, | ||
| 1723 | "g": 255, | ||
| 1724 | "b": 255, | ||
| 1725 | "a": 255 | ||
| 1726 | }, | ||
| 1727 | "_contentSize": { | ||
| 1728 | "__type__": "cc.Size", | ||
| 1729 | "width": 10, | ||
| 1730 | "height": 13 | ||
| 1731 | }, | ||
| 1732 | "_anchorPoint": { | ||
| 1733 | "__type__": "cc.Vec2", | ||
| 1734 | "x": 0.5, | ||
| 1735 | "y": 0.5 | ||
| 1736 | }, | ||
| 1737 | "_position": { | ||
| 1738 | "__type__": "cc.Vec3", | ||
| 1739 | "x": 30, | ||
| 1740 | "y": -47, | ||
| 1741 | "z": 0 | ||
| 1742 | }, | ||
| 1743 | "_scale": { | ||
| 1744 | "__type__": "cc.Vec3", | ||
| 1745 | "x": 1, | ||
| 1746 | "y": 1, | ||
| 1747 | "z": 1 | ||
| 1748 | }, | ||
| 1749 | "_trs": { | ||
| 1750 | "__type__": "TypedArray", | ||
| 1751 | "ctor": "Float32Array", | ||
| 1752 | "array": [ | ||
| 1753 | 30, | ||
| 1754 | -47, | ||
| 1755 | 0, | ||
| 1756 | 0, | ||
| 1757 | 0, | ||
| 1758 | 0, | ||
| 1759 | 1, | ||
| 1760 | 1, | ||
| 1761 | 1, | ||
| 1762 | 1 | ||
| 1763 | ] | ||
| 1764 | }, | ||
| 1765 | "_eulerAngles": { | ||
| 1766 | "__type__": "cc.Vec3", | ||
| 1767 | "x": 0, | ||
| 1768 | "y": 0, | ||
| 1769 | "z": 0 | ||
| 1770 | }, | ||
| 1771 | "_skewX": 0, | ||
| 1772 | "_skewY": 0, | ||
| 1773 | "_is3DNode": false, | ||
| 1774 | "_groupIndex": 0, | ||
| 1775 | "groupIndex": 0, | ||
| 1776 | "_id": "3cXbE8vXtOEbm/Bm7vJbG4" | ||
| 1777 | }, | ||
| 1778 | { | ||
| 1779 | "__type__": "cc.Sprite", | ||
| 1780 | "_name": "", | ||
| 1781 | "_objFlags": 0, | ||
| 1782 | "node": { | ||
| 1783 | "__id__": 32 | ||
| 1784 | }, | ||
| 1785 | "_enabled": true, | ||
| 1786 | "_materials": [], | ||
| 1787 | "_srcBlendFactor": 770, | ||
| 1788 | "_dstBlendFactor": 771, | ||
| 1789 | "_spriteFrame": null, | ||
| 1790 | "_type": 0, | ||
| 1791 | "_sizeMode": 0, | ||
| 1792 | "_fillType": 0, | ||
| 1793 | "_fillCenter": { | ||
| 1794 | "__type__": "cc.Vec2", | ||
| 1795 | "x": 0, | ||
| 1796 | "y": 0 | ||
| 1797 | }, | ||
| 1798 | "_fillStart": 0, | ||
| 1799 | "_fillRange": 0, | ||
| 1800 | "_isTrimmedMode": true, | ||
| 1801 | "_atlas": null, | ||
| 1802 | "_id": "ban8EWbBRFLKY8d9Y3fyJ2" | ||
| 1803 | }, | ||
| 1804 | { | ||
| 1805 | "__type__": "cc.Widget", | ||
| 1806 | "_name": "", | ||
| 1807 | "_objFlags": 0, | ||
| 1808 | "node": { | ||
| 1809 | "__id__": 32 | ||
| 1810 | }, | ||
| 1811 | "_enabled": true, | ||
| 1812 | "alignMode": 0, | ||
| 1813 | "_target": null, | ||
| 1814 | "_alignFlags": 13, | ||
| 1815 | "_left": 30, | ||
| 1816 | "_right": 0, | ||
| 1817 | "_top": 87.5, | ||
| 1818 | "_bottom": -6.5, | ||
| 1819 | "_verticalCenter": 0, | ||
| 1820 | "_horizontalCenter": 0, | ||
| 1821 | "_isAbsLeft": true, | ||
| 1822 | "_isAbsRight": true, | ||
| 1823 | "_isAbsTop": true, | ||
| 1824 | "_isAbsBottom": true, | ||
| 1825 | "_isAbsHorizontalCenter": true, | ||
| 1826 | "_isAbsVerticalCenter": true, | ||
| 1827 | "_originalWidth": 0, | ||
| 1828 | "_originalHeight": 12, | ||
| 1829 | "_id": "2dZJFmoDFP/q/1HnvepYCU" | ||
| 1830 | }, | ||
| 1831 | { | ||
| 1832 | "__type__": "cc.Node", | ||
| 1833 | "_name": "Page", | ||
| 1834 | "_objFlags": 0, | ||
| 1835 | "_parent": { | ||
| 1836 | "__id__": 28 | ||
| 1837 | }, | ||
| 1838 | "_children": [], | ||
| 1839 | "_active": true, | ||
| 1840 | "_components": [ | ||
| 1841 | { | ||
| 1842 | "__id__": 36 | ||
| 1843 | }, | ||
| 1844 | { | ||
| 1845 | "__id__": 37 | ||
| 1846 | } | ||
| 1847 | ], | ||
| 1848 | "_prefab": null, | ||
| 1849 | "_opacity": 255, | ||
| 1850 | "_color": { | ||
| 1851 | "__type__": "cc.Color", | ||
| 1852 | "r": 255, | ||
| 1853 | "g": 255, | ||
| 1854 | "b": 255, | ||
| 1855 | "a": 255 | ||
| 1856 | }, | ||
| 1857 | "_contentSize": { | ||
| 1858 | "__type__": "cc.Size", | ||
| 1859 | "width": 0, | ||
| 1860 | "height": 22.68 | ||
| 1861 | }, | ||
| 1862 | "_anchorPoint": { | ||
| 1863 | "__type__": "cc.Vec2", | ||
| 1864 | "x": 0.5, | ||
| 1865 | "y": 0.5 | ||
| 1866 | }, | ||
| 1867 | "_position": { | ||
| 1868 | "__type__": "cc.Vec3", | ||
| 1869 | "x": 30, | ||
| 1870 | "y": 0, | ||
| 1871 | "z": 0 | ||
| 1872 | }, | ||
| 1873 | "_scale": { | ||
| 1874 | "__type__": "cc.Vec3", | ||
| 1875 | "x": 1, | ||
| 1876 | "y": 1, | ||
| 1877 | "z": 1 | ||
| 1878 | }, | ||
| 1879 | "_trs": { | ||
| 1880 | "__type__": "TypedArray", | ||
| 1881 | "ctor": "Float32Array", | ||
| 1882 | "array": [ | ||
| 1883 | 30, | ||
| 1884 | -2.3399999141693115, | ||
| 1885 | 0, | ||
| 1886 | 0, | ||
| 1887 | 0, | ||
| 1888 | 0, | ||
| 1889 | 1, | ||
| 1890 | 1, | ||
| 1891 | 1, | ||
| 1892 | 1 | ||
| 1893 | ] | ||
| 1894 | }, | ||
| 1895 | "_eulerAngles": { | ||
| 1896 | "__type__": "cc.Vec3", | ||
| 1897 | "x": 0, | ||
| 1898 | "y": 0, | ||
| 1899 | "z": 0 | ||
| 1900 | }, | ||
| 1901 | "_skewX": 0, | ||
| 1902 | "_skewY": 0, | ||
| 1903 | "_is3DNode": false, | ||
| 1904 | "_groupIndex": 0, | ||
| 1905 | "groupIndex": 0, | ||
| 1906 | "_id": "a034hnTbpAlL/FYlIDb6ru" | ||
| 1907 | }, | ||
| 1908 | { | ||
| 1909 | "__type__": "cc.RichText", | ||
| 1910 | "_name": "", | ||
| 1911 | "_objFlags": 0, | ||
| 1912 | "node": { | ||
| 1913 | "__id__": 35 | ||
| 1914 | }, | ||
| 1915 | "_enabled": true, | ||
| 1916 | "_fontFamily": "Arial", | ||
| 1917 | "_isSystemFontUsed": true, | ||
| 1918 | "_N$string": "", | ||
| 1919 | "_N$horizontalAlign": 1, | ||
| 1920 | "_N$fontSize": 18, | ||
| 1921 | "_N$font": null, | ||
| 1922 | "_N$maxWidth": 0, | ||
| 1923 | "_N$lineHeight": 18, | ||
| 1924 | "_N$imageAtlas": null, | ||
| 1925 | "_N$handleTouchEvent": true, | ||
| 1926 | "_id": "f6IFKqG7dLKaMP90JvuFL4" | ||
| 1927 | }, | ||
| 1928 | { | ||
| 1929 | "__type__": "cc.Widget", | ||
| 1930 | "_name": "", | ||
| 1931 | "_objFlags": 0, | ||
| 1932 | "node": { | ||
| 1933 | "__id__": 35 | ||
| 1934 | }, | ||
| 1935 | "_enabled": true, | ||
| 1936 | "alignMode": 0, | ||
| 1937 | "_target": null, | ||
| 1938 | "_alignFlags": 9, | ||
| 1939 | "_left": 35, | ||
| 1940 | "_right": 0, | ||
| 1941 | "_top": 38, | ||
| 1942 | "_bottom": 0, | ||
| 1943 | "_verticalCenter": 0, | ||
| 1944 | "_horizontalCenter": 0, | ||
| 1945 | "_isAbsLeft": true, | ||
| 1946 | "_isAbsRight": true, | ||
| 1947 | "_isAbsTop": true, | ||
| 1948 | "_isAbsBottom": true, | ||
| 1949 | "_isAbsHorizontalCenter": true, | ||
| 1950 | "_isAbsVerticalCenter": true, | ||
| 1951 | "_originalWidth": 0, | ||
| 1952 | "_originalHeight": 0, | ||
| 1953 | "_id": "62Mf6SVulKU5L0K6MQxi2+" | ||
| 1954 | }, | ||
| 1955 | { | ||
| 1956 | "__type__": "cc.Sprite", | ||
| 1957 | "_name": "", | ||
| 1958 | "_objFlags": 0, | ||
| 1959 | "node": { | ||
| 1960 | "__id__": 28 | ||
| 1961 | }, | ||
| 1962 | "_enabled": true, | ||
| 1963 | "_materials": [], | ||
| 1964 | "_srcBlendFactor": 770, | ||
| 1965 | "_dstBlendFactor": 771, | ||
| 1966 | "_spriteFrame": null, | ||
| 1967 | "_type": 0, | ||
| 1968 | "_sizeMode": 0, | ||
| 1969 | "_fillType": 0, | ||
| 1970 | "_fillCenter": { | ||
| 1971 | "__type__": "cc.Vec2", | ||
| 1972 | "x": 0, | ||
| 1973 | "y": 0 | ||
| 1974 | }, | ||
| 1975 | "_fillStart": 0, | ||
| 1976 | "_fillRange": 0, | ||
| 1977 | "_isTrimmedMode": true, | ||
| 1978 | "_atlas": null, | ||
| 1979 | "_id": "51/chf1KRHK7w0yDbE+Db7" | ||
| 1980 | }, | ||
| 1981 | { | ||
| 1982 | "__type__": "cc.Widget", | ||
| 1983 | "_name": "", | ||
| 1984 | "_objFlags": 0, | ||
| 1985 | "node": { | ||
| 1986 | "__id__": 28 | ||
| 1987 | }, | ||
| 1988 | "_enabled": true, | ||
| 1989 | "alignMode": 2, | ||
| 1990 | "_target": { | ||
| 1991 | "__id__": 27 | ||
| 1992 | }, | ||
| 1993 | "_alignFlags": 4, | ||
| 1994 | "_left": -4, | ||
| 1995 | "_right": 0, | ||
| 1996 | "_top": 0, | ||
| 1997 | "_bottom": 0, | ||
| 1998 | "_verticalCenter": 0, | ||
| 1999 | "_horizontalCenter": 0, | ||
| 2000 | "_isAbsLeft": true, | ||
| 2001 | "_isAbsRight": true, | ||
| 2002 | "_isAbsTop": true, | ||
| 2003 | "_isAbsBottom": true, | ||
| 2004 | "_isAbsHorizontalCenter": true, | ||
| 2005 | "_isAbsVerticalCenter": true, | ||
| 2006 | "_originalWidth": 0, | ||
| 2007 | "_originalHeight": 94, | ||
| 2008 | "_id": "95hY114h9GkICuqXmWecGJ" | ||
| 2009 | }, | ||
| 2010 | { | ||
| 2011 | "__type__": "cc.Sprite", | ||
| 2012 | "_name": "", | ||
| 2013 | "_objFlags": 0, | ||
| 2014 | "node": { | ||
| 2015 | "__id__": 27 | ||
| 2016 | }, | ||
| 2017 | "_enabled": true, | ||
| 2018 | "_materials": [], | ||
| 2019 | "_srcBlendFactor": 770, | ||
| 2020 | "_dstBlendFactor": 771, | ||
| 2021 | "_spriteFrame": null, | ||
| 2022 | "_type": 0, | ||
| 2023 | "_sizeMode": 0, | ||
| 2024 | "_fillType": 0, | ||
| 2025 | "_fillCenter": { | ||
| 2026 | "__type__": "cc.Vec2", | ||
| 2027 | "x": 0, | ||
| 2028 | "y": 0 | ||
| 2029 | }, | ||
| 2030 | "_fillStart": 0, | ||
| 2031 | "_fillRange": 0, | ||
| 2032 | "_isTrimmedMode": true, | ||
| 2033 | "_atlas": null, | ||
| 2034 | "_id": "7fCX6n9ndCVpggTH8H+G5E" | ||
| 2035 | }, | ||
| 2036 | { | ||
| 2037 | "__type__": "cc.Widget", | ||
| 2038 | "_name": "", | ||
| 2039 | "_objFlags": 0, | ||
| 2040 | "node": { | ||
| 2041 | "__id__": 27 | ||
| 2042 | }, | ||
| 2043 | "_enabled": true, | ||
| 2044 | "alignMode": 2, | ||
| 2045 | "_target": null, | ||
| 2046 | "_alignFlags": 1, | ||
| 2047 | "_left": 0, | ||
| 2048 | "_right": 0, | ||
| 2049 | "_top": 0, | ||
| 2050 | "_bottom": 0, | ||
| 2051 | "_verticalCenter": 0, | ||
| 2052 | "_horizontalCenter": 0, | ||
| 2053 | "_isAbsLeft": true, | ||
| 2054 | "_isAbsRight": true, | ||
| 2055 | "_isAbsTop": true, | ||
| 2056 | "_isAbsBottom": true, | ||
| 2057 | "_isAbsHorizontalCenter": true, | ||
| 2058 | "_isAbsVerticalCenter": true, | ||
| 2059 | "_originalWidth": 0, | ||
| 2060 | "_originalHeight": 0, | ||
| 2061 | "_id": "2bTvBQ1T9Fo6ANY1F6joJk" | ||
| 2062 | }, | ||
| 2063 | { | ||
| 2064 | "__type__": "cc.Widget", | ||
| 2065 | "_name": "", | ||
| 2066 | "_objFlags": 0, | ||
| 2067 | "node": { | ||
| 2068 | "__id__": 24 | ||
| 2069 | }, | ||
| 2070 | "_enabled": true, | ||
| 2071 | "alignMode": 0, | ||
| 2072 | "_target": null, | ||
| 2073 | "_alignFlags": 33, | ||
| 2074 | "_left": 0, | ||
| 2075 | "_right": -30, | ||
| 2076 | "_top": 17.5, | ||
| 2077 | "_bottom": 0, | ||
| 2078 | "_verticalCenter": 0, | ||
| 2079 | "_horizontalCenter": 0, | ||
| 2080 | "_isAbsLeft": true, | ||
| 2081 | "_isAbsRight": true, | ||
| 2082 | "_isAbsTop": true, | ||
| 2083 | "_isAbsBottom": true, | ||
| 2084 | "_isAbsHorizontalCenter": true, | ||
| 2085 | "_isAbsVerticalCenter": true, | ||
| 2086 | "_originalWidth": 0, | ||
| 2087 | "_originalHeight": 0, | ||
| 2088 | "_id": "c81utOPjpLkJv43f22DxQc" | ||
| 2089 | }, | ||
| 2090 | { | ||
| 2091 | "__type__": "cc.Mask", | ||
| 2092 | "_name": "", | ||
| 2093 | "_objFlags": 0, | ||
| 2094 | "node": { | ||
| 2095 | "__id__": 24 | ||
| 2096 | }, | ||
| 2097 | "_enabled": false, | ||
| 2098 | "_materials": [], | ||
| 2099 | "_spriteFrame": null, | ||
| 2100 | "_type": 0, | ||
| 2101 | "_segments": 64, | ||
| 2102 | "_N$alphaThreshold": 0, | ||
| 2103 | "_N$inverted": false, | ||
| 2104 | "_id": "53lW61dX9A7bSJMQ1pSvoL" | ||
| 2105 | }, | ||
| 2106 | { | ||
| 2107 | "__type__": "cc.Widget", | ||
| 2108 | "_name": "", | ||
| 2109 | "_objFlags": 0, | ||
| 2110 | "node": { | ||
| 2111 | "__id__": 20 | ||
| 2112 | }, | ||
| 2113 | "_enabled": true, | ||
| 2114 | "alignMode": 1, | ||
| 2115 | "_target": null, | ||
| 2116 | "_alignFlags": 12, | ||
| 2117 | "_left": 230, | ||
| 2118 | "_right": 0, | ||
| 2119 | "_top": 119, | ||
| 2120 | "_bottom": 0, | ||
| 2121 | "_verticalCenter": 0, | ||
| 2122 | "_horizontalCenter": 0, | ||
| 2123 | "_isAbsLeft": true, | ||
| 2124 | "_isAbsRight": true, | ||
| 2125 | "_isAbsTop": true, | ||
| 2126 | "_isAbsBottom": true, | ||
| 2127 | "_isAbsHorizontalCenter": true, | ||
| 2128 | "_isAbsVerticalCenter": true, | ||
| 2129 | "_originalWidth": 0, | ||
| 2130 | "_originalHeight": 0, | ||
| 2131 | "_id": "6aO6FqdHRPtoWCXY9Ka+pq" | ||
| 2132 | }, | ||
| 2133 | { | ||
| 2134 | "__type__": "cc.Node", | ||
| 2135 | "_name": "DataPosition", | ||
| 2136 | "_objFlags": 0, | ||
| 2137 | "_parent": { | ||
| 2138 | "__id__": 2 | ||
| 2139 | }, | ||
| 2140 | "_children": [], | ||
| 2141 | "_active": true, | ||
| 2142 | "_components": [ | ||
| 2143 | { | ||
| 2144 | "__id__": 46 | ||
| 2145 | }, | ||
| 2146 | { | ||
| 2147 | "__id__": 47 | ||
| 2148 | } | ||
| 2149 | ], | ||
| 2150 | "_prefab": null, | ||
| 2151 | "_opacity": 255, | ||
| 2152 | "_color": { | ||
| 2153 | "__type__": "cc.Color", | ||
| 2154 | "r": 255, | ||
| 2155 | "g": 255, | ||
| 2156 | "b": 255, | ||
| 2157 | "a": 255 | ||
| 2158 | }, | ||
| 2159 | "_contentSize": { | ||
| 2160 | "__type__": "cc.Size", | ||
| 2161 | "width": 0, | ||
| 2162 | "height": 22.68 | ||
| 2163 | }, | ||
| 2164 | "_anchorPoint": { | ||
| 2165 | "__type__": "cc.Vec2", | ||
| 2166 | "x": 0.5, | ||
| 2167 | "y": 0.5 | ||
| 2168 | }, | ||
| 2169 | "_position": { | ||
| 2170 | "__type__": "cc.Vec3", | ||
| 2171 | "x": 564.5100000000002, | ||
| 2172 | "y": -309, | ||
| 2173 | "z": 0 | ||
| 2174 | }, | ||
| 2175 | "_scale": { | ||
| 2176 | "__type__": "cc.Vec3", | ||
| 2177 | "x": 1, | ||
| 2178 | "y": 1, | ||
| 2179 | "z": 1 | ||
| 2180 | }, | ||
| 2181 | "_trs": { | ||
| 2182 | "__type__": "TypedArray", | ||
| 2183 | "ctor": "Float32Array", | ||
| 2184 | "array": [ | ||
| 2185 | 564.510009765625, | ||
| 2186 | 0, | ||
| 2187 | 0, | ||
| 2188 | 0, | ||
| 2189 | 0, | ||
| 2190 | 0, | ||
| 2191 | 1, | ||
| 2192 | 1, | ||
| 2193 | 1, | ||
| 2194 | 1 | ||
| 2195 | ] | ||
| 2196 | }, | ||
| 2197 | "_eulerAngles": { | ||
| 2198 | "__type__": "cc.Vec3", | ||
| 2199 | "x": 0, | ||
| 2200 | "y": 0, | ||
| 2201 | "z": 0 | ||
| 2202 | }, | ||
| 2203 | "_skewX": 0, | ||
| 2204 | "_skewY": 0, | ||
| 2205 | "_is3DNode": false, | ||
| 2206 | "_groupIndex": 0, | ||
| 2207 | "groupIndex": 0, | ||
| 2208 | "_id": "62WwipK9lLfJbDSp77/9u9" | ||
| 2209 | }, | ||
| 2210 | { | ||
| 2211 | "__type__": "cc.Label", | ||
| 2212 | "_name": "", | ||
| 2213 | "_objFlags": 0, | ||
| 2214 | "node": { | ||
| 2215 | "__id__": 45 | ||
| 2216 | }, | ||
| 2217 | "_enabled": true, | ||
| 2218 | "_materials": [ | ||
| 2219 | { | ||
| 2220 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 2221 | } | ||
| 2222 | ], | ||
| 2223 | "_useOriginalSize": false, | ||
| 2224 | "_string": "", | ||
| 2225 | "_N$string": "", | ||
| 2226 | "_fontSize": 18, | ||
| 2227 | "_lineHeight": 18, | ||
| 2228 | "_enableWrapText": true, | ||
| 2229 | "_N$file": null, | ||
| 2230 | "_isSystemFontUsed": true, | ||
| 2231 | "_spacingX": 0, | ||
| 2232 | "_batchAsBitmap": false, | ||
| 2233 | "_N$horizontalAlign": 1, | ||
| 2234 | "_N$verticalAlign": 1, | ||
| 2235 | "_N$fontFamily": "Arial", | ||
| 2236 | "_N$overflow": 0, | ||
| 2237 | "_N$cacheMode": 0, | ||
| 2238 | "_id": "a5ElAnezdLS45klqbiIbaY" | ||
| 2239 | }, | ||
| 2240 | { | ||
| 2241 | "__type__": "cc.Widget", | ||
| 2242 | "_name": "", | ||
| 2243 | "_objFlags": 0, | ||
| 2244 | "node": { | ||
| 2245 | "__id__": 45 | ||
| 2246 | }, | ||
| 2247 | "_enabled": true, | ||
| 2248 | "alignMode": 1, | ||
| 2249 | "_target": null, | ||
| 2250 | "_alignFlags": 8, | ||
| 2251 | "_left": 1204.5100000000002, | ||
| 2252 | "_right": 0, | ||
| 2253 | "_top": 0, | ||
| 2254 | "_bottom": 0, | ||
| 2255 | "_verticalCenter": 0, | ||
| 2256 | "_horizontalCenter": 0, | ||
| 2257 | "_isAbsLeft": true, | ||
| 2258 | "_isAbsRight": true, | ||
| 2259 | "_isAbsTop": true, | ||
| 2260 | "_isAbsBottom": true, | ||
| 2261 | "_isAbsHorizontalCenter": true, | ||
| 2262 | "_isAbsVerticalCenter": true, | ||
| 2263 | "_originalWidth": 0, | ||
| 2264 | "_originalHeight": 0, | ||
| 2265 | "_id": "91kqf2NwZDvLKeXcGwm4+R" | ||
| 2266 | }, | ||
| 2267 | { | ||
| 2268 | "__type__": "cc.Node", | ||
| 2269 | "_name": "BlankIcon", | ||
| 2270 | "_objFlags": 0, | ||
| 2271 | "_parent": { | ||
| 2272 | "__id__": 2 | ||
| 2273 | }, | ||
| 2274 | "_children": [], | ||
| 2275 | "_active": true, | ||
| 2276 | "_components": [ | ||
| 2277 | { | ||
| 2278 | "__id__": 49 | ||
| 2279 | } | ||
| 2280 | ], | ||
| 2281 | "_prefab": null, | ||
| 2282 | "_opacity": 0, | ||
| 2283 | "_color": { | ||
| 2284 | "__type__": "cc.Color", | ||
| 2285 | "r": 255, | ||
| 2286 | "g": 255, | ||
| 2287 | "b": 255, | ||
| 2288 | "a": 255 | ||
| 2289 | }, | ||
| 2290 | "_contentSize": { | ||
| 2291 | "__type__": "cc.Size", | ||
| 2292 | "width": 784, | ||
| 2293 | "height": 448 | ||
| 2294 | }, | ||
| 2295 | "_anchorPoint": { | ||
| 2296 | "__type__": "cc.Vec2", | ||
| 2297 | "x": 0.5, | ||
| 2298 | "y": 0.5 | ||
| 2299 | }, | ||
| 2300 | "_position": { | ||
| 2301 | "__type__": "cc.Vec3", | ||
| 2302 | "x": 110, | ||
| 2303 | "y": 0, | ||
| 2304 | "z": 0 | ||
| 2305 | }, | ||
| 2306 | "_scale": { | ||
| 2307 | "__type__": "cc.Vec3", | ||
| 2308 | "x": 1, | ||
| 2309 | "y": 1, | ||
| 2310 | "z": 1 | ||
| 2311 | }, | ||
| 2312 | "_trs": { | ||
| 2313 | "__type__": "TypedArray", | ||
| 2314 | "ctor": "Float32Array", | ||
| 2315 | "array": [ | ||
| 2316 | 94.94999694824219, | ||
| 2317 | -47.474998474121094, | ||
| 2318 | 0, | ||
| 2319 | 0, | ||
| 2320 | 0, | ||
| 2321 | 0, | ||
| 2322 | 1, | ||
| 2323 | 1, | ||
| 2324 | 1, | ||
| 2325 | 1 | ||
| 2326 | ] | ||
| 2327 | }, | ||
| 2328 | "_eulerAngles": { | ||
| 2329 | "__type__": "cc.Vec3", | ||
| 2330 | "x": 0, | ||
| 2331 | "y": 0, | ||
| 2332 | "z": 0 | ||
| 2333 | }, | ||
| 2334 | "_skewX": 0, | ||
| 2335 | "_skewY": 0, | ||
| 2336 | "_is3DNode": false, | ||
| 2337 | "_groupIndex": 0, | ||
| 2338 | "groupIndex": 0, | ||
| 2339 | "_id": "12nyv3O9RDW6JMe750zbWs" | ||
| 2340 | }, | ||
| 2341 | { | ||
| 2342 | "__type__": "cc.Sprite", | ||
| 2343 | "_name": "", | ||
| 2344 | "_objFlags": 0, | ||
| 2345 | "node": { | ||
| 2346 | "__id__": 48 | ||
| 2347 | }, | ||
| 2348 | "_enabled": true, | ||
| 2349 | "_materials": [ | ||
| 2350 | { | ||
| 2351 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 2352 | } | ||
| 2353 | ], | ||
| 2354 | "_srcBlendFactor": 770, | ||
| 2355 | "_dstBlendFactor": 771, | ||
| 2356 | "_spriteFrame": { | ||
| 2357 | "__uuid__": "cc7ac792-45be-42ad-8b30-e44c2e510d64" | ||
| 2358 | }, | ||
| 2359 | "_type": 0, | ||
| 2360 | "_sizeMode": 1, | ||
| 2361 | "_fillType": 0, | ||
| 2362 | "_fillCenter": { | ||
| 2363 | "__type__": "cc.Vec2", | ||
| 2364 | "x": 0, | ||
| 2365 | "y": 0 | ||
| 2366 | }, | ||
| 2367 | "_fillStart": 0, | ||
| 2368 | "_fillRange": 0, | ||
| 2369 | "_isTrimmedMode": true, | ||
| 2370 | "_atlas": null, | ||
| 2371 | "_id": "31UnPjcLFAaaqMGUOu4lte" | ||
| 2372 | }, | ||
| 2373 | { | ||
| 2374 | "__type__": "cc.Canvas", | ||
| 2375 | "_name": "", | ||
| 2376 | "_objFlags": 0, | ||
| 2377 | "node": { | ||
| 2378 | "__id__": 2 | ||
| 2379 | }, | ||
| 2380 | "_enabled": true, | ||
| 2381 | "_designResolution": { | ||
| 2382 | "__type__": "cc.Size", | ||
| 2383 | "width": 1280, | ||
| 2384 | "height": 720 | ||
| 2385 | }, | ||
| 2386 | "_fitWidth": false, | ||
| 2387 | "_fitHeight": true, | ||
| 2388 | "_id": "71oNPYgcBDorPuGjzz03qR" | ||
| 2389 | }, | ||
| 2390 | { | ||
| 2391 | "__type__": "d07d49iykZFpZuhN290g2km", | ||
| 2392 | "_name": "", | ||
| 2393 | "_objFlags": 0, | ||
| 2394 | "node": { | ||
| 2395 | "__id__": 2 | ||
| 2396 | }, | ||
| 2397 | "_enabled": true, | ||
| 2398 | "_cLog": null, | ||
| 2399 | "_cApplication": null, | ||
| 2400 | "_cFocus": null, | ||
| 2401 | "_aFocusTargets": [], | ||
| 2402 | "_fiCurrentFocus": null, | ||
| 2403 | "_iSceneStatus": 0, | ||
| 2404 | "_fFocusScaleFactor": 1.06, | ||
| 2405 | "_bIsFocusInit": false, | ||
| 2406 | "_oSceneContext": null, | ||
| 2407 | "_oNextSceneParameter": null, | ||
| 2408 | "_compPlayer": null, | ||
| 2409 | "_aTouchContext": [], | ||
| 2410 | "_defaultBackScene": null, | ||
| 2411 | "_oFocusScaleFactorInfo": null, | ||
| 2412 | "_bShowExitBox": false, | ||
| 2413 | "PFB_COMMON": { | ||
| 2414 | "__uuid__": "9e0214ed-5de0-4667-a660-d4fa85a5de1d" | ||
| 2415 | }, | ||
| 2416 | "_id": "c9KsWDV7dCDqN4r3qyoiWq" | ||
| 2417 | } | ||
| 2418 | ] | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -469,7 +469,8 @@ cc.Class({ | ... | @@ -469,7 +469,8 @@ cc.Class({ |
| 469 | 469 | ||
| 470 | doCurrentFocusTVLinkAction: function (strAction) { | 470 | doCurrentFocusTVLinkAction: function (strAction) { |
| 471 | let strTVLink = this._fiCurrentFocus.getTVLink(); | 471 | let strTVLink = this._fiCurrentFocus.getTVLink(); |
| 472 | cc.log("tvlink===============" + strTVLink); | 472 | let cellData = JSON.stringify(this._fiCurrentFocus.node.getComponent(ListCell)._cellData); |
| 473 | // cc.log("tvlink===============" + JSON.stringify(this._fiCurrentFocus.node.getComponent(ListCell)._cellData)); | ||
| 473 | try { | 474 | try { |
| 474 | let oTVLink = JSON.parse(strTVLink); | 475 | let oTVLink = JSON.parse(strTVLink); |
| 475 | let aOperationList = oTVLink.click; | 476 | let aOperationList = oTVLink.click; |
| ... | @@ -478,6 +479,7 @@ cc.Class({ | ... | @@ -478,6 +479,7 @@ cc.Class({ |
| 478 | switch (aOperationList[i].action) { | 479 | switch (aOperationList[i].action) { |
| 479 | case "changeLayout": | 480 | case "changeLayout": |
| 480 | default: | 481 | default: |
| 482 | aOperationList[i]['parameters']["cellData"] = cellData; | ||
| 481 | this.doTVLinkAction(aOperationList[i]); | 483 | this.doTVLinkAction(aOperationList[i]); |
| 482 | break; | 484 | break; |
| 483 | } | 485 | } | ... | ... |
| ... | @@ -34,6 +34,7 @@ cc.Class({ | ... | @@ -34,6 +34,7 @@ cc.Class({ |
| 34 | this._oSceneContext._packageName = ""; | 34 | this._oSceneContext._packageName = ""; |
| 35 | this._oSceneContext._className = ""; | 35 | this._oSceneContext._className = ""; |
| 36 | this._oSceneContext._downloadUrl = ""; | 36 | this._oSceneContext._downloadUrl = ""; |
| 37 | this._oSceneContext._cellData = ""; | ||
| 37 | this._oSceneContext._iCurrentLeftIndex = 1; | 38 | this._oSceneContext._iCurrentLeftIndex = 1; |
| 38 | this._oSceneContext.focusPath = "ButtonOpen"; | 39 | this._oSceneContext.focusPath = "ButtonOpen"; |
| 39 | 40 | ||
| ... | @@ -55,10 +56,12 @@ cc.Class({ | ... | @@ -55,10 +56,12 @@ cc.Class({ |
| 55 | this._oSceneContext._packageName = aSceneParameter[aSceneParameter.length - 1].packageName; | 56 | this._oSceneContext._packageName = aSceneParameter[aSceneParameter.length - 1].packageName; |
| 56 | this._oSceneContext._className = aSceneParameter[aSceneParameter.length - 1].activityName; | 57 | this._oSceneContext._className = aSceneParameter[aSceneParameter.length - 1].activityName; |
| 57 | this._oSceneContext._downloadUrl = aSceneParameter[aSceneParameter.length - 1].downloadUrl; | 58 | this._oSceneContext._downloadUrl = aSceneParameter[aSceneParameter.length - 1].downloadUrl; |
| 59 | this._oSceneContext._cellData = aSceneParameter[aSceneParameter.length - 1].cellData; | ||
| 58 | } else if (aSceneParameter) { | 60 | } else if (aSceneParameter) { |
| 59 | this._oSceneContext._packageName = aSceneParameter.packageName; | 61 | this._oSceneContext._packageName = aSceneParameter.packageName; |
| 60 | this._oSceneContext._className = aSceneParameter.activityName; | 62 | this._oSceneContext._className = aSceneParameter.activityName; |
| 61 | this._oSceneContext._downloadUrl = aSceneParameter.downloadUrl; | 63 | this._oSceneContext._downloadUrl = aSceneParameter.downloadUrl; |
| 64 | this._oSceneContext._cellData = aSceneParameter.cellData; | ||
| 62 | } | 65 | } |
| 63 | 66 | ||
| 64 | cc.log("类名:" + this._oSceneContext._packageName); | 67 | cc.log("类名:" + this._oSceneContext._packageName); |
| ... | @@ -84,6 +87,28 @@ cc.Class({ | ... | @@ -84,6 +87,28 @@ cc.Class({ |
| 84 | this.initPrefab(); //获取导航栏信息 | 87 | this.initPrefab(); //获取导航栏信息 |
| 85 | // this.getTypeList(); | 88 | // this.getTypeList(); |
| 86 | this.checkPfbReadyAndInitPage(); | 89 | this.checkPfbReadyAndInitPage(); |
| 90 | this.saveHistory(); | ||
| 91 | }, | ||
| 92 | |||
| 93 | saveHistory: function () { | ||
| 94 | var oDataCell = JSON.parse(this._oSceneContext._cellData); | ||
| 95 | var gameHistory = JSON.parse(cc.sys.localStorage.getItem("gameHistoryList")); | ||
| 96 | if (gameHistory != null) { | ||
| 97 | if (-1 == JSON.stringify(gameHistory.resultSet).indexOf(JSON.stringify(oDataCell))) { | ||
| 98 | gameHistory.resultSet.push(oDataCell); | ||
| 99 | gameHistory.count++; | ||
| 100 | cc.sys.localStorage.setItem("gameHistoryList", JSON.stringify(gameHistory)); | ||
| 101 | } | ||
| 102 | } else { | ||
| 103 | let oData = {}; | ||
| 104 | oData.businessCode = "success"; | ||
| 105 | oData.count = 1; | ||
| 106 | oData.resultSet = []; | ||
| 107 | oData.resultSet.push(oDataCell); | ||
| 108 | cc.sys.localStorage.setItem("gameHistoryList", JSON.stringify(oData)); | ||
| 109 | } | ||
| 110 | |||
| 111 | cc.log("检查存储的数据:" + cc.sys.localStorage.getItem("gameHistoryList")); | ||
| 87 | }, | 112 | }, |
| 88 | 113 | ||
| 89 | initPrefab: function () { | 114 | initPrefab: function () { | ... | ... |
assets/Script/historyAndCollect.js
0 → 100644
| 1 | var Common = require('Common'); | ||
| 2 | var Network = require('Network'); | ||
| 3 | var CCNetwork = require('CCNetwork'); | ||
| 4 | var TVFocus = require('TVFocus'); | ||
| 5 | var CCTVFocus = require('CCTVFocus'); | ||
| 6 | var FocusInfo = require('FocusInfo'); | ||
| 7 | var TVCanvas = require('TVCanvas'); | ||
| 8 | var TVScrollParameter = require('TVScrollParameter'); | ||
| 9 | // var ListView = require('ListView'); | ||
| 10 | var ListView = require('ListView_SimulateData'); | ||
| 11 | var BusinessParameter = require('BusinessParameter'); | ||
| 12 | var ListCell = require('ListCell'); | ||
| 13 | |||
| 14 | cc.Class({ | ||
| 15 | extends: TVCanvas, | ||
| 16 | |||
| 17 | properties: { | ||
| 18 | |||
| 19 | PFB_COMMON: { | ||
| 20 | default: null, | ||
| 21 | type: cc.Prefab | ||
| 22 | }, | ||
| 23 | }, | ||
| 24 | |||
| 25 | onLoad: function () { | ||
| 26 | this._super(); | ||
| 27 | this._oInit = {}; | ||
| 28 | this._lastFocus = null; | ||
| 29 | this._oSceneContext._iCurrentLeftIndex = 0; | ||
| 30 | // this._oSceneContext.focusPath = "TypeListArea/TypeListWrapper/TypeList/topNavi" + this._oSceneContext._iCurrentLeftIndex; | ||
| 31 | this._bIsDataListMoving = false; | ||
| 32 | this._bInitCategoryListSuccess = false; | ||
| 33 | |||
| 34 | let aSceneParameter = this._cApplication.getSceneParameter(); | ||
| 35 | cc.log("gameDetail->aSceneParameter..." + JSON.stringify(aSceneParameter)); | ||
| 36 | if (aSceneParameter.length) { | ||
| 37 | this._oSceneContext._iCurrentLeftIndex = aSceneParameter[aSceneParameter.length - 1].currentIndex || 0; | ||
| 38 | } else if (aSceneParameter) { | ||
| 39 | this._oSceneContext._iCurrentLeftIndex = aSceneParameter.currentIndex || 0; | ||
| 40 | } | ||
| 41 | |||
| 42 | if (this._cApplication.getBackStatus()) { //返回值放到下方,否则恢复的数据是首页带回来的数值 | ||
| 43 | //恢复上下文 包括 | ||
| 44 | //光标位置 focusPath | ||
| 45 | let oSceneContext = this._cApplication.popSceneContext(); | ||
| 46 | if (oSceneContext) { | ||
| 47 | this._oSceneContext = oSceneContext; | ||
| 48 | cc.log(this._oSceneContext); | ||
| 49 | } | ||
| 50 | this._cApplication.setBackStatus(false); | ||
| 51 | } | ||
| 52 | cc.log("back status: " + this._oSceneContext._iCurrentLeftIndex); | ||
| 53 | |||
| 54 | this._nodeTypeListWrapper = cc.find("TypeListArea/TypeListWrapper", this.node); | ||
| 55 | this._nodeTypeList = cc.find("TypeList", this._nodeTypeListWrapper); | ||
| 56 | this._nodeTypeList.addComponent(TVScrollParameter); | ||
| 57 | |||
| 58 | //滚动条按钮 | ||
| 59 | // let nodeScrollBtn = cc.find("CategoryList/ScrollBarContainer/ScrollBarShadow/ScrollBarBlock", this.node); | ||
| 60 | // var fiScrollBtn = nodeScrollBtn.addComponent(FocusInfo); | ||
| 61 | // this._aFocusTargets[0]['scroll_bar_block'] = nodeScrollBtn; | ||
| 62 | // fiScrollBtn.init(null, true); | ||
| 63 | |||
| 64 | this.getNavList(); //获取导航栏信息 | ||
| 65 | }, | ||
| 66 | |||
| 67 | getNavList: function () { | ||
| 68 | var self = this; | ||
| 69 | this._nodeTypeList.y = 0; | ||
| 70 | // var oNavParas = { | ||
| 71 | // 'view': 'json', | ||
| 72 | // "start": 0, | ||
| 73 | // "limit": 10, | ||
| 74 | // "dictionaryCode": "categoryNav", | ||
| 75 | // "sortField": "sequence", | ||
| 76 | // "sortDirection": 'asc', | ||
| 77 | // 'token': Common.TEST_API_TOKEN, | ||
| 78 | // }; | ||
| 79 | Network.ajax("GET", Common.TOPDRAW_API_SERVER + "historyAndCollect/history_collect_navi.json", null, null, | ||
| 80 | function (strResponse) { | ||
| 81 | try { | ||
| 82 | var oJSONResult = JSON.parse(strResponse); | ||
| 83 | // var oJSONResult = this.navi_json.json; | ||
| 84 | // this._cLog.screenI("gameCategory getNavList start..." + JSON.stringify(oJSONResult)); | ||
| 85 | if (oJSONResult.businessCode == 'success') { | ||
| 86 | this._oInit.aNavList = []; | ||
| 87 | this._oInit.aTopNaviImg = []; | ||
| 88 | for (let i = 0; i < oJSONResult.resultSet.length; i++) { | ||
| 89 | var oProgram = oJSONResult.resultSet[i]; | ||
| 90 | // var oTvlink = JSON.parse(oProgram.description); | ||
| 91 | let node = cc.instantiate(this.PFB_COMMON); | ||
| 92 | |||
| 93 | if (oProgram.image[0] && oProgram.image[0].fileUrl) { | ||
| 94 | this._oInit.aTopNaviImg.push(Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl); | ||
| 95 | node.width = oProgram.image[0].width; | ||
| 96 | node.height = oProgram.image[0].height; | ||
| 97 | node.getChildByName("Pic").width = oProgram.image[0].width; | ||
| 98 | node.getChildByName("Pic").height = oProgram.image[0].height; | ||
| 99 | // cc.loader.loadRes(oProgram.image[0].fileUrl, cc.Texture2D, function (err, texture) { | ||
| 100 | // node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[0].width, oProgram.image[0].height)); | ||
| 101 | // if (i == self._oSceneContext._iCurrentLeftIndex) { | ||
| 102 | // node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[0].height, oProgram.image[0].width, oProgram.image[0].height)); | ||
| 103 | // } | ||
| 104 | // }); | ||
| 105 | |||
| 106 | Network.loadImageInNativeRuntime( | ||
| 107 | Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl, null, | ||
| 108 | function (texture, iRequestId) { | ||
| 109 | node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[0].width, oProgram.image[0].height)); | ||
| 110 | if (i == self._oSceneContext._iCurrentLeftIndex) { | ||
| 111 | node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[0].height * 2, oProgram.image[0].width, oProgram.image[0].height)); | ||
| 112 | } | ||
| 113 | }, function () { }, this | ||
| 114 | ); | ||
| 115 | // Network.loadImageInNativeRuntime(Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl, i, | ||
| 116 | // function (texture, iRequestId) { | ||
| 117 | // node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[1].width, oProgram.image[1].height)); | ||
| 118 | // if (i == 1) { | ||
| 119 | // node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[1].height, oProgram.image[1].width, oProgram.image[1].height)); | ||
| 120 | // } | ||
| 121 | // }, | ||
| 122 | // function (texture, iRequestId) { | ||
| 123 | // }, | ||
| 124 | // ); | ||
| 125 | } | ||
| 126 | // node.x = node.width / 2 + i * (node.width + 29); | ||
| 127 | node.y = -node.height / 2 - i * (node.height); | ||
| 128 | this._nodeTypeList.addChild(node, 10, "topNavi" + i); | ||
| 129 | //准备焦点坐标 | ||
| 130 | let fiNodeBlock = node.addComponent(FocusInfo); | ||
| 131 | fiNodeBlock.init( | ||
| 132 | '', true, null, null, 1.1 //最后一个参数决定要不要放大显示 | ||
| 133 | ); | ||
| 134 | this._aFocusTargets[0]["topNavi" + i] = node; | ||
| 135 | } | ||
| 136 | // this._oSceneContext.focusPath = "TypeListArea/TypeListWrapper/TypeList/topNavi" + this._oSceneContext._iCurrentLeftIndex; | ||
| 137 | this.checkDataReadyAndInitFocus(); | ||
| 138 | // this.requestMediaList(1); | ||
| 139 | this.getSimulateRequest(); | ||
| 140 | } else { | ||
| 141 | cc.log("Business Error:getNavList..." + oJSONResult.description); | ||
| 142 | } | ||
| 143 | } catch (error) { | ||
| 144 | cc.log("Business Exception:getNavList..." + error); | ||
| 145 | } | ||
| 146 | }, | ||
| 147 | function (strResponse) { | ||
| 148 | cc.log("Business Error:getNavList..." + strResponse); | ||
| 149 | }, this, "uuid"); | ||
| 150 | }, | ||
| 151 | |||
| 152 | getSimulateRequest: function () { | ||
| 153 | var self = this; | ||
| 154 | try { | ||
| 155 | if (this._oSceneContext._iCurrentLeftIndex == 0 | ||
| 156 | && (this._oInit[this._oSceneContext._iCurrentLeftIndex] == null || this._oInit[this._oSceneContext._iCurrentLeftIndex].resultSet == 0)) { | ||
| 157 | this._oInit[this._oSceneContext._iCurrentLeftIndex] = cc.sys.localStorage.getItem("gameHistoryList"); | ||
| 158 | if (this._oInit[this._oSceneContext._iCurrentLeftIndex] == null) { | ||
| 159 | let oData = {}; | ||
| 160 | oData.businessCode = "success"; | ||
| 161 | oData.count = 0; | ||
| 162 | oData.resultSet = []; | ||
| 163 | this._oInit[this._oSceneContext._iCurrentLeftIndex] = JSON.stringify(oData); | ||
| 164 | } | ||
| 165 | } else if (this._oSceneContext._iCurrentLeftIndex == 1 | ||
| 166 | && this._oInit[this._oSceneContext._iCurrentLeftIndex] == null) { | ||
| 167 | this._oInit[this._oSceneContext._iCurrentLeftIndex] = cc.sys.localStorage.getItem("collectList"); | ||
| 168 | } | ||
| 169 | |||
| 170 | this.scheduleOnce(function () { | ||
| 171 | self.requestMediaList(1); | ||
| 172 | }, 0); | ||
| 173 | } catch (error) { | ||
| 174 | cc.log("Business Exception:Get getSimulateRequest..." + error); | ||
| 175 | } | ||
| 176 | }, | ||
| 177 | |||
| 178 | requestMediaList: function (cId) { | ||
| 179 | var self = this; | ||
| 180 | if (cId) { | ||
| 181 | // cc.log("//////////"+requestMediaList); | ||
| 182 | //把之前的东西删掉 | ||
| 183 | let nodeCategoryList = this.node.getChildByName('CategoryList'); | ||
| 184 | // nodeCategoryList.getChildByName('DataContainerMask').getChildByName('DataContainer').removeAllChildren(); | ||
| 185 | nodeCategoryList.getChildByName('DataContainerMask').getChildByName('DataContainer').destroyAllChildren(); | ||
| 186 | // let strAppId = this._oInit.aNavList[this._oSceneContext.iNaviIndex].appId; | ||
| 187 | // switch (strAppId) { | ||
| 188 | // case BusinessParameter.CARTOON_APPID: | ||
| 189 | this._oSceneContext.focusPath = this._oSceneContext.focusPath || "CategoryList/DataContainerMask/DataContainer/CategoryListCell0"; | ||
| 190 | this._strSongListCellComponentName = "pfbCategoryListCell"; | ||
| 191 | this._iBeginPositionX = -350; | ||
| 192 | this._iBeginPositionY = 196; | ||
| 193 | this._iShowCellRows = 3; | ||
| 194 | this._iAlphaCellRows = 0; | ||
| 195 | this._iHiddenCellRows = 3; | ||
| 196 | this._iCellCountEachRow = 4; | ||
| 197 | this._fCellMarginTop = 0; | ||
| 198 | this._fCellMarginRight = 24; | ||
| 199 | this._fCellMarginBottom = 24; | ||
| 200 | this._fCellMarginLeft = 0; | ||
| 201 | // break; | ||
| 202 | // default: | ||
| 203 | // // this._oSceneContext.focusPath = this._oSceneContext.focusPath || "SongList/DataContainerMask/DataContainer/ListCell0/ImageBlock"; | ||
| 204 | // this._strSongListCellComponentName = "CategoryOtherListCell"; | ||
| 205 | // this._iBeginPositionX = -271; | ||
| 206 | // this._iBeginPositionY = 166; | ||
| 207 | // this._iShowCellRows = 3; | ||
| 208 | // this._iAlphaCellRows = 0; | ||
| 209 | // this._iHiddenCellRows = 3; | ||
| 210 | // this._iCellCountEachRow = 3; | ||
| 211 | // this._fCellMarginTop = 3; | ||
| 212 | // break; | ||
| 213 | // } | ||
| 214 | //重新开始 | ||
| 215 | let lvCategoryList = nodeCategoryList.getComponent(ListView); | ||
| 216 | if (!lvCategoryList) { | ||
| 217 | lvCategoryList = nodeCategoryList.addComponent(ListView); | ||
| 218 | } | ||
| 219 | |||
| 220 | lvCategoryList.init(this, this._iShowCellRows, this._iAlphaCellRows, this._iHiddenCellRows, this._iCellCountEachRow, this._strSongListCellComponentName, | ||
| 221 | this._iBeginPositionX, this._iBeginPositionY,//起始位置 | ||
| 222 | this._fCellMarginTop, this._fCellMarginRight, this._fCellMarginBottom, this._fCellMarginLeft, | ||
| 223 | 1, 1, //0-横向 1-纵向 | ||
| 224 | function () { | ||
| 225 | this.renderCategoryList(cId); | ||
| 226 | } | ||
| 227 | ); | ||
| 228 | |||
| 229 | // this._strAppId = this._oInit.aNavList[this._oSceneContext.iNaviIndex].appId; | ||
| 230 | // lvCategoryList.setDataDecorator( | ||
| 231 | // function (oData, onDecorate, oScope) { | ||
| 232 | // let aData = oData.refData; | ||
| 233 | // //造一个跳转tvlink | ||
| 234 | // for (let i = 0; i < aData.length; i++) { | ||
| 235 | // //造一个跳转界面 | ||
| 236 | // let tvlink = '{"click": [{"action": "ChangeScene","parameters": {"sceneName":"sceneProgram",\ | ||
| 237 | // "appId":"' + self._strAppId + '","id":"' + aData[i].id + '"}}]}'; | ||
| 238 | // aData[i].tvlink = tvlink; | ||
| 239 | // } | ||
| 240 | |||
| 241 | // if (onDecorate) { | ||
| 242 | // if (null != oScope) { | ||
| 243 | // onDecorate.call(oScope, aData); | ||
| 244 | // } else { | ||
| 245 | // onDecorate(aData); | ||
| 246 | // } | ||
| 247 | // } | ||
| 248 | // } | ||
| 249 | // ); | ||
| 250 | |||
| 251 | // lvCategoryList.setDataPositionRender(function (iPosition, iCount) { | ||
| 252 | // //这里是ListView的this 执行时作用域 | ||
| 253 | // let nodeDataPosition = self.node.getChildByName('DataPosition'); | ||
| 254 | // if (null == iCount) { | ||
| 255 | // iCount = parseInt(nodeDataPosition.getComponent(cc.Label).string.split('/')[1]); | ||
| 256 | // // cc.log(iCount); | ||
| 257 | // } | ||
| 258 | // nodeDataPosition.getComponent(cc.Label).string = Math.ceil(Math.min((iPosition + self._iShowCellRows * self._iCellCountEachRow - 1), iCount) / self._iShowCellRows / self._iCellCountEachRow) + " / " + Math.ceil(iCount / self._iShowCellRows / self._iCellCountEachRow); | ||
| 259 | // nodeDataPosition.x = Common.SCREEN_WIDTH / 2 - 70 - nodeDataPosition.width / 2; | ||
| 260 | // // this._compSceneCanvas.checkCountAndDisplayTopBtns(iCount); | ||
| 261 | // }); | ||
| 262 | } | ||
| 263 | }, | ||
| 264 | |||
| 265 | renderCategoryList: function (cId) { | ||
| 266 | // let strAppId = this._oInit.aNavList[this._oSceneContext.iNaviIndex].appId; | ||
| 267 | let strAppId = ""; | ||
| 268 | let nodeCategoryList = this.node.getChildByName('CategoryList'); | ||
| 269 | //请求列表 | ||
| 270 | let oMediaParas = {}; | ||
| 271 | oMediaParas.categoryId = cId;// | ||
| 272 | oMediaParas.appId = strAppId; | ||
| 273 | let iStart1 = 0; | ||
| 274 | if (null != this._oSceneContext.categoryRecordIndexOfFirstCell) { | ||
| 275 | iStart1 = this._oSceneContext.categoryRecordIndexOfFirstCell; | ||
| 276 | } | ||
| 277 | |||
| 278 | let lvCategoryList = nodeCategoryList.getComponent(ListView); | ||
| 279 | //函数默认取一页数据,但是第一次显示需要加上Alpha的部分 | ||
| 280 | lvCategoryList.setDataSource( | ||
| 281 | "GET", | ||
| 282 | Common.TOPDRAW_API_SERVER + "Media/List", | ||
| 283 | oMediaParas, | ||
| 284 | iStart1, (lvCategoryList.getShowCellRows() + lvCategoryList.getAlphaCellRows()) * lvCategoryList.getCellCountEachRow(), | ||
| 285 | null, null | ||
| 286 | ); | ||
| 287 | let strResponse = this._oInit[this._oSceneContext._iCurrentLeftIndex]; | ||
| 288 | lvCategoryList.loadData( | ||
| 289 | function (strResponse) { | ||
| 290 | lvCategoryList.renderInitData(strResponse, function () { | ||
| 291 | var oJSONResult = JSON.parse(strResponse); | ||
| 292 | if (oJSONResult.resultSet.length <= 0) { //没有数据就显示占位图 | ||
| 293 | cc.find('BlankIcon', this.node).opacity = 255; | ||
| 294 | } else { | ||
| 295 | cc.find('BlankIcon', this.node).opacity = 0; | ||
| 296 | } | ||
| 297 | this._bInitCategoryListSuccess = true; | ||
| 298 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | ||
| 299 | |||
| 300 | //如果滚动列表为空,那么焦点放在导航上 | ||
| 301 | if (JSON.parse(this._oInit[this._oSceneContext._iCurrentLeftIndex]).resultSet.length == 0) { | ||
| 302 | this._oSceneContext.focusPath = "TypeListArea/TypeListWrapper/TypeList/topNavi" + this._oSceneContext._iCurrentLeftIndex; | ||
| 303 | } | ||
| 304 | this.checkDataReadyAndInitFocus(); | ||
| 305 | }); | ||
| 306 | }, null, this, strResponse | ||
| 307 | ); | ||
| 308 | }, | ||
| 309 | |||
| 310 | |||
| 311 | |||
| 312 | checkDataReadyAndInitFocus: function () { | ||
| 313 | if (!this._bIsFocusInit && this._bInitCategoryListSuccess) { | ||
| 314 | this.scheduleOnce(() => { //指定0让回调函数在下一帧立即执行 | ||
| 315 | this.initFocus(); | ||
| 316 | }, 0); | ||
| 317 | this._bIsFocusInit = true; | ||
| 318 | } | ||
| 319 | }, | ||
| 320 | |||
| 321 | //初始化焦点框 | ||
| 322 | initFocus: function () { | ||
| 323 | var nodeInitFocus = cc.find(this._oSceneContext.focusPath, this.node); | ||
| 324 | cc.log("初始化 " + nodeInitFocus.name); | ||
| 325 | var nodeFocus = new cc.Node('nodeFocus'); | ||
| 326 | this.node.addChild(nodeFocus, 10); | ||
| 327 | this._cFocus = this.node.getChildByName('nodeFocus').addComponent(CCTVFocus); | ||
| 328 | this._cFocus.init('focusContainer', this, | ||
| 329 | nodeInitFocus.getComponent(FocusInfo), | ||
| 330 | Common.SCREEN_WIDTH, Common.SCREEN_HEIGHT, 10, 6, 1.1, true); | ||
| 331 | this._lastFocus = nodeInitFocus.getComponent(FocusInfo); | ||
| 332 | if (0 == nodeInitFocus.name.indexOf("topNavi")) { | ||
| 333 | this._cFocus.hide(); | ||
| 334 | let iIndex = nodeInitFocus.name.replace("topNavi", ''); | ||
| 335 | if (this._oInit.aTopNaviImg[iIndex]) { | ||
| 336 | Network.loadImageInNativeRuntime( | ||
| 337 | this._oInit.aTopNaviImg[iIndex], null, | ||
| 338 | function (texture, iRequestId) { | ||
| 339 | nodeInitFocus.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, nodeInitFocus.height, nodeInitFocus.width, nodeInitFocus.height)); | ||
| 340 | }, function () { }, this | ||
| 341 | ); | ||
| 342 | } | ||
| 343 | } | ||
| 344 | |||
| 345 | if (0 == nodeInitFocus.getName().indexOf('CategoryListCell')) { | ||
| 346 | nodeInitFocus.getChildByName("Normal").active = false; | ||
| 347 | nodeInitFocus.getChildByName("Name").active = true; | ||
| 348 | nodeInitFocus.getComponent(ListCell).setUIWithFocus(); | ||
| 349 | } | ||
| 350 | |||
| 351 | //处理焦点位于下方问题 | ||
| 352 | if (this._oSceneContext.typeListY) { | ||
| 353 | this._nodeTypeList.y = this._oSceneContext.typeListY; | ||
| 354 | } | ||
| 355 | }, | ||
| 356 | |||
| 357 | keyDownDirection: function (Direct) { | ||
| 358 | var fiFocusTarget = null; | ||
| 359 | var fiCurrentFocus = this._fiCurrentFocus; | ||
| 360 | var oScrollParameter = null; | ||
| 361 | let aCheckResult; | ||
| 362 | fiFocusTarget = this._cFocus.findTarget(fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Direct); | ||
| 363 | if (!fiFocusTarget) { return; } | ||
| 364 | aCheckResult = this.checkFocusTarget(fiFocusTarget, null, Direct); | ||
| 365 | fiFocusTarget = aCheckResult[0]; | ||
| 366 | oScrollParameter = aCheckResult[1]; | ||
| 367 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter); | ||
| 368 | }, | ||
| 369 | |||
| 370 | checkFocusTarget: function (fiFocusTarget, oScrollParameter, Direct) { | ||
| 371 | this._cFocus.show(); | ||
| 372 | // cc.log("目标节点:" + fiFocusTarget.node.x); | ||
| 373 | if (fiFocusTarget && 0 == fiFocusTarget.node.name.indexOf("topNavi")) { | ||
| 374 | this._cFocus.hide(); | ||
| 375 | if (0 != this._fiCurrentFocus.node.name.indexOf("topNavi")) {//如果不是TypeList之间跳转,则哪里来回哪里去 | ||
| 376 | fiFocusTarget = cc.find("topNavi" + this._oSceneContext._iCurrentLeftIndex, this._nodeTypeList).getComponent(FocusInfo); | ||
| 377 | } | ||
| 378 | } | ||
| 379 | |||
| 380 | //打补丁,焦点在TypeList向下滑动,会找到category的焦点,禁掉这种 | ||
| 381 | if (0 == this._fiCurrentFocus.node.name.indexOf("topNavi") && 0 != fiFocusTarget.node.name.indexOf("topNavi") | ||
| 382 | && Direct == Common.MOVE_DIRECTION_DOWN) { | ||
| 383 | this._cFocus.hide(); | ||
| 384 | fiFocusTarget = null; | ||
| 385 | } | ||
| 386 | |||
| 387 | //打补丁:Direct != Common.MOVE_DIRECTION_LEFT,右侧categoryCell跳到左侧总会出错 | ||
| 388 | if (fiFocusTarget && 0 == fiFocusTarget.node.name.indexOf("topNavi") && Direct != Common.MOVE_DIRECTION_LEFT) { | ||
| 389 | if (-fiFocusTarget.node.y + fiFocusTarget.node.height / 2 - this._nodeTypeList.y >= this._nodeTypeListWrapper.height) { | ||
| 390 | oScrollParameter = this._nodeTypeList.getComponent(TVScrollParameter); | ||
| 391 | oScrollParameter.setHasRelation(true); | ||
| 392 | oScrollParameter.setStep(-(-fiFocusTarget.node.y + fiFocusTarget.node.height / 2 - this._nodeTypeList.y) + this._nodeTypeListWrapper.height); | ||
| 393 | oScrollParameter.setTargetPosition(this._nodeTypeList.y - oScrollParameter.getStep()); | ||
| 394 | this._oSceneContext.nodeTypeListY = this._nodeTypeList.y - oScrollParameter.getStep(); | ||
| 395 | } | ||
| 396 | if (-fiFocusTarget.node.y - this._nodeTypeList.y - 30 < 0) { //打补丁:30 | ||
| 397 | oScrollParameter = this._nodeTypeList.getComponent(TVScrollParameter); | ||
| 398 | oScrollParameter.setHasRelation(true); | ||
| 399 | oScrollParameter.setStep(-fiFocusTarget.node.y - fiFocusTarget.node.height / 2 - this._nodeTypeList.y); | ||
| 400 | oScrollParameter.setTargetPosition(this._nodeTypeList.y + oScrollParameter.getStep()) | ||
| 401 | this._oSceneContext.nodeTypeListY = this._nodeTypeList.y + oScrollParameter.getStep(); | ||
| 402 | } | ||
| 403 | } | ||
| 404 | |||
| 405 | return [fiFocusTarget, oScrollParameter]; | ||
| 406 | }, | ||
| 407 | |||
| 408 | onKeyUp: function (event) { | ||
| 409 | // cc.log(" down->抬起。。。" + this._fiCurrentFocus.node.getName().indexOf('topNavi')); | ||
| 410 | cc.log("抬起:" + event.keyCode); | ||
| 411 | if (this._lastFocus != null && 0 == this._lastFocus.node.getName().indexOf('topNavi') | ||
| 412 | && 0 == this._fiCurrentFocus.node.getName().indexOf('topNavi') | ||
| 413 | && event.keyCode != (Common.ANDROID_KEY.left || cc.macro.KEY.left)) { | ||
| 414 | this.scheduleOnce(function () { | ||
| 415 | this.getSimulateRequest(); | ||
| 416 | }, 0); | ||
| 417 | } | ||
| 418 | }, | ||
| 419 | |||
| 420 | onKeyDown: function (event) { | ||
| 421 | this._super(event); | ||
| 422 | var fiFocusTarget = null; | ||
| 423 | var fiCurrentFocus = this._fiCurrentFocus; | ||
| 424 | this._lastFocus = this._fiCurrentFocus; //存储上一个节点 | ||
| 425 | switch (event.keyCode) { | ||
| 426 | case cc.macro.KEY.up: | ||
| 427 | case Common.ANDROID_KEY.up: | ||
| 428 | // cc.log("变量值:"+this._bIsDataListMoving); | ||
| 429 | if (this._bIsDataListMoving) { | ||
| 430 | return; | ||
| 431 | } | ||
| 432 | if (0 == this._fiCurrentFocus.node.getName().indexOf('CategoryListCell')) { | ||
| 433 | var index = parseInt(this._fiCurrentFocus.node.getName().replace('CategoryListCell', '')); | ||
| 434 | // cc.log("当前时多少条目:" + index); | ||
| 435 | let lvCategoryList = this.node.getChildByName('CategoryList').getComponent(ListView); | ||
| 436 | if (lvCategoryList.scrollARowUp(index, this._oInit[this._oSceneContext._iCurrentLeftIndex])) { | ||
| 437 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | ||
| 438 | return; | ||
| 439 | } | ||
| 440 | } | ||
| 441 | this.keyDownDirection(Common.MOVE_DIRECTION_UP); | ||
| 442 | break; | ||
| 443 | case cc.macro.KEY.right: | ||
| 444 | case Common.ANDROID_KEY.right: | ||
| 445 | this.keyDownDirection(Common.MOVE_DIRECTION_RIGHT); | ||
| 446 | break; | ||
| 447 | case cc.macro.KEY.down: | ||
| 448 | case Common.ANDROID_KEY.down: | ||
| 449 | if (this._bIsDataListMoving) { | ||
| 450 | return; | ||
| 451 | } | ||
| 452 | if (0 == this._fiCurrentFocus.node.getName().indexOf('CategoryListCell')) { | ||
| 453 | var index = parseInt(this._fiCurrentFocus.node.getName().replace('CategoryListCell', '')); | ||
| 454 | let lvCategoryList = this.node.getChildByName('CategoryList').getComponent(ListView); | ||
| 455 | if (lvCategoryList.scrollARowDown(null, index, this._oInit[this._oSceneContext._iCurrentLeftIndex])) { | ||
| 456 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | ||
| 457 | return; | ||
| 458 | } | ||
| 459 | } | ||
| 460 | this.keyDownDirection(Common.MOVE_DIRECTION_DOWN); | ||
| 461 | break; | ||
| 462 | case cc.macro.KEY.left: | ||
| 463 | case Common.ANDROID_KEY.left: | ||
| 464 | this.keyDownDirection(Common.MOVE_DIRECTION_LEFT); | ||
| 465 | break; | ||
| 466 | case cc.macro.KEY.enter: | ||
| 467 | case cc.macro.KEY.space: | ||
| 468 | case Common.ANDROID_KEY.enter: | ||
| 469 | if (0 == this._fiCurrentFocus.node.name.indexOf('close') || 0 == this._fiCurrentFocus.node.name.indexOf('close_btn')) { | ||
| 470 | this._iSceneStatus = 0; | ||
| 471 | cc.find("update", this.node).active = false; //关闭更新面板 | ||
| 472 | let fiAfterNode = cc.find(this._oSceneContext.focusPath, this.node).getComponent(FocusInfo); //热更新按钮 | ||
| 473 | this._cFocus.flyFocus(this._fiCurrentFocus, fiAfterNode, Common.MOVE_DIRECTION_RIGHT, null, null); | ||
| 474 | } | ||
| 475 | else { | ||
| 476 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); | ||
| 477 | } | ||
| 478 | break; | ||
| 479 | case cc.macro.KEY.backspace: | ||
| 480 | case Common.ANDROID_KEY.back: | ||
| 481 | this.backAScene(); | ||
| 482 | break; | ||
| 483 | } | ||
| 484 | }, | ||
| 485 | |||
| 486 | doCurrentFocusTVLinkAction: function (strAction) { | ||
| 487 | let strTVLink = this._fiCurrentFocus.getTVLink(); | ||
| 488 | let cellData = JSON.stringify(this._fiCurrentFocus.node.getComponent(ListCell)._cellData); | ||
| 489 | cc.log("tvlink===============" + strTVLink); | ||
| 490 | try { | ||
| 491 | let oTVLink = JSON.parse(strTVLink); | ||
| 492 | let aOperationList = oTVLink.click; | ||
| 493 | this._oSceneContext._iPageIndex = 1; | ||
| 494 | for (let i = 0; i < aOperationList.length; i++) { | ||
| 495 | switch (aOperationList[i].action) { | ||
| 496 | case "changeLayout": | ||
| 497 | default: | ||
| 498 | aOperationList[i]['parameters']["cellData"] = cellData; | ||
| 499 | this.doTVLinkAction(aOperationList[i]); | ||
| 500 | break; | ||
| 501 | } | ||
| 502 | } | ||
| 503 | } catch (error) { | ||
| 504 | cc.log("runTVLinkAction Exception..." + error); | ||
| 505 | } | ||
| 506 | }, | ||
| 507 | |||
| 508 | onBeforeFocusChange: function (event) { | ||
| 509 | |||
| 510 | let fiFrom = event.detail.from; | ||
| 511 | let fiTo = event.detail.to; | ||
| 512 | |||
| 513 | if (0 == this._fiCurrentFocus.node.getName().indexOf('topNavi')) { | ||
| 514 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | ||
| 515 | let iIndex = fiFrom.node.name.replace("topNavi", ''); | ||
| 516 | if (this._oInit.aTopNaviImg[iIndex]) { | ||
| 517 | if (0 == fiTo.node.getName().indexOf('topNavi')) { | ||
| 518 | // cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) { | ||
| 519 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | ||
| 520 | // }); | ||
| 521 | Network.loadImageInNativeRuntime( | ||
| 522 | this._oInit.aTopNaviImg[iIndex], null, | ||
| 523 | function (texture, iRequestId) { | ||
| 524 | fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | ||
| 525 | }, function () { }, this | ||
| 526 | ); | ||
| 527 | } else { | ||
| 528 | // cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) { | ||
| 529 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height)); | ||
| 530 | // }); | ||
| 531 | Network.loadImageInNativeRuntime( | ||
| 532 | this._oInit.aTopNaviImg[iIndex], null, | ||
| 533 | function (texture, iRequestId) { | ||
| 534 | fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height)); | ||
| 535 | }, function () { }, this | ||
| 536 | ); | ||
| 537 | } | ||
| 538 | |||
| 539 | // Network.loadImageInNativeRuntime( | ||
| 540 | // this._oInit.aLeftImg[iIndex], | ||
| 541 | // function (texture) { | ||
| 542 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | ||
| 543 | // }, null, this | ||
| 544 | // ); | ||
| 545 | } | ||
| 546 | } | ||
| 547 | |||
| 548 | if (0 == fiFrom.node.getName().indexOf('CategoryListCell')) { | ||
| 549 | fiFrom.node.getChildByName("Normal").active = true; | ||
| 550 | fiFrom.node.getChildByName("Name").active = false; | ||
| 551 | fiFrom.node.getComponent(ListCell).setUIWithoutFocus(); | ||
| 552 | } | ||
| 553 | |||
| 554 | // if (0 == this._fiCurrentFocus.node.getName().indexOf('TopCell')) { | ||
| 555 | // // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | ||
| 556 | // let iIndex = fiFrom.node.name.replace("TopCell", ''); | ||
| 557 | // if (this._oInit.aTopImg[iIndex]) { | ||
| 558 | // Network.loadImageInNativeRuntime( | ||
| 559 | // this._oInit.aTopImg[iIndex], | ||
| 560 | // function (texture) { | ||
| 561 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | ||
| 562 | // }, null, this | ||
| 563 | // ); | ||
| 564 | // } | ||
| 565 | // } | ||
| 566 | }, | ||
| 567 | |||
| 568 | onAfterFocusChange: function (event) { | ||
| 569 | |||
| 570 | let fiTo = event.detail.to; | ||
| 571 | let fiFrom = event.detail.from; | ||
| 572 | |||
| 573 | if (0 == fiTo.node.getName().indexOf('topNavi')) { | ||
| 574 | let iIndex = fiTo.node.name.replace("topNavi", ''); | ||
| 575 | // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | ||
| 576 | // cc.log(iIndex + " ... " + this._oInit.aTopNaviImg[iIndex]); | ||
| 577 | if (this._oInit.aTopNaviImg[iIndex]) { | ||
| 578 | // cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) { | ||
| 579 | // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | ||
| 580 | // }); | ||
| 581 | Network.loadImageInNativeRuntime( | ||
| 582 | this._oInit.aTopNaviImg[iIndex], null, | ||
| 583 | function (texture, iRequestId) { | ||
| 584 | fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | ||
| 585 | }, function () { }, this | ||
| 586 | ); | ||
| 587 | // Network.loadImageInNativeRuntime( | ||
| 588 | // this._oInit.aTopNaviImg[iIndex], | ||
| 589 | // function (texture) { | ||
| 590 | // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | ||
| 591 | // }, null, this | ||
| 592 | // ); | ||
| 593 | } | ||
| 594 | |||
| 595 | if (0 == fiFrom.node.getName().indexOf('topNavi')) { | ||
| 596 | |||
| 597 | this._oSceneContext._iCurrentLeftIndex = iIndex; | ||
| 598 | this._oSceneContext.categoryRecordIndexOfFirstCell = 0; //将列表记录置空 | ||
| 599 | // this.scheduleOnce(function () { //这个放到onKeyUp中去,解决长按导致的焦点丢失 | ||
| 600 | // cc.log("onAfter..." + iIndex); | ||
| 601 | // // this.requestMediaList(1); //重新渲染CategoryList | ||
| 602 | // this.getSimulateRequest(); | ||
| 603 | // }, 0); | ||
| 604 | } | ||
| 605 | } | ||
| 606 | |||
| 607 | if (0 == fiTo.node.getName().indexOf('CategoryListCell')) { | ||
| 608 | fiTo.node.getChildByName("Normal").active = false; | ||
| 609 | fiTo.node.getChildByName("Name").active = true; | ||
| 610 | fiTo.node.getComponent(ListCell).setUIWithFocus(); | ||
| 611 | } | ||
| 612 | |||
| 613 | // if (0 == fiTo.node.getName().indexOf('TopCell')) { | ||
| 614 | // let iIndex = fiTo.node.name.replace("TopCell", ''); | ||
| 615 | // // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | ||
| 616 | // if (this._oInit.aTopImg[iIndex]) { | ||
| 617 | // Network.loadImageInNativeRuntime( | ||
| 618 | // this._oInit.aTopImg[iIndex], | ||
| 619 | // function (texture) { | ||
| 620 | // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | ||
| 621 | // }, null, this | ||
| 622 | // ); | ||
| 623 | // } | ||
| 624 | // } | ||
| 625 | }, | ||
| 626 | |||
| 627 | onListScrollStart: function () { | ||
| 628 | this._bIsDataListMoving = true; | ||
| 629 | // cc.log("scroll start"); | ||
| 630 | }, | ||
| 631 | onListScrollEnd: function () { | ||
| 632 | this._bIsDataListMoving = false; | ||
| 633 | // cc.log("scroll completed"); | ||
| 634 | }, | ||
| 635 | |||
| 636 | }); |
| ... | @@ -15,6 +15,7 @@ cc.Class({ | ... | @@ -15,6 +15,7 @@ cc.Class({ |
| 15 | normalName: cc.Label, | 15 | normalName: cc.Label, |
| 16 | Name: cc.Label, | 16 | Name: cc.Label, |
| 17 | textScore: cc.Label, //分数 | 17 | textScore: cc.Label, //分数 |
| 18 | _cellData: null, | ||
| 18 | }, | 19 | }, |
| 19 | 20 | ||
| 20 | statics: { | 21 | statics: { |
| ... | @@ -32,6 +33,7 @@ cc.Class({ | ... | @@ -32,6 +33,7 @@ cc.Class({ |
| 32 | }, | 33 | }, |
| 33 | 34 | ||
| 34 | render(oData, iRecordIndex) { | 35 | render(oData, iRecordIndex) { |
| 36 | this._cellData = oData; | ||
| 35 | // this.id = oData.id; | 37 | // this.id = oData.id; |
| 36 | // cc.log("categoryList-->name: "+JSON.stringify(oData)); | 38 | // cc.log("categoryList-->name: "+JSON.stringify(oData)); |
| 37 | this.activeName1.string = oData.name; | 39 | this.activeName1.string = oData.name; |
| ... | @@ -65,7 +67,7 @@ cc.Class({ | ... | @@ -65,7 +67,7 @@ cc.Class({ |
| 65 | // cc.loader.loadRes(oData.image[0].fileUrl, cc.Texture2D, function (err, texture) { | 67 | // cc.loader.loadRes(oData.image[0].fileUrl, cc.Texture2D, function (err, texture) { |
| 66 | // self.pic.spriteFrame = new cc.SpriteFrame(texture); | 68 | // self.pic.spriteFrame = new cc.SpriteFrame(texture); |
| 67 | // }); | 69 | // }); |
| 68 | cc.log("pfbCategoryListCell.."+self.pic); | 70 | cc.log("pfbCategoryListCell.." + self.pic); |
| 69 | if (self.pic) { | 71 | if (self.pic) { |
| 70 | Network.loadImageInNativeRuntime( | 72 | Network.loadImageInNativeRuntime( |
| 71 | Common.TOPDRAW_IMAGE_SERVER + oData.image[0].fileUrl, null, | 73 | Common.TOPDRAW_IMAGE_SERVER + oData.image[0].fileUrl, null, | ... | ... |
assets/Script/test.js
0 → 100644
| ... | @@ -68,28 +68,10 @@ cc.Class({ | ... | @@ -68,28 +68,10 @@ cc.Class({ |
| 68 | this._nodeEpisodeList = cc.find("EpisodeList", this._nodeEpisodeListWrapper); | 68 | this._nodeEpisodeList = cc.find("EpisodeList", this._nodeEpisodeListWrapper); |
| 69 | this._nodeEpisodeList.addComponent(TVScrollParameter); | 69 | this._nodeEpisodeList.addComponent(TVScrollParameter); |
| 70 | 70 | ||
| 71 | // this.initPrefab(); | ||
| 72 | this.checkPfbReadyAndInitPage(); | 71 | this.checkPfbReadyAndInitPage(); |
| 73 | this.checkDataReadyAndInitFocus(); | 72 | this.checkDataReadyAndInitFocus(); |
| 74 | }, | 73 | }, |
| 75 | 74 | ||
| 76 | // initPrefab: function () { | ||
| 77 | // for (let i = 0; i < 4; i++) { | ||
| 78 | // let nodeEpisodeCell = cc.instantiate(this.PFB_EPISODE); | ||
| 79 | // nodeEpisodeCell.x = nodeEpisodeCell.width / 2 + (i) * (nodeEpisodeCell.width + 20); | ||
| 80 | // this._nodeEpisodeList.addChild(nodeEpisodeCell, 10, "EpisodeListCell" + i); | ||
| 81 | // let fiEpisodeBlock = nodeEpisodeCell.addComponent(FocusInfo); | ||
| 82 | // fiEpisodeBlock.init('{"click": [{"action": "ChangeScene","parameters": {"sceneName":"sceneProgramPlayerFullScreen"}}]}' | ||
| 83 | // , true, null, null, 1.0); | ||
| 84 | // this._aFocusTargets[0]['episode_list_cell_' + i] = nodeEpisodeCell; | ||
| 85 | |||
| 86 | // // let borderX = nodeEpisodeCell.x - nodeEpisodeCell.width / 2; //搞边框 | ||
| 87 | // // let borderY = nodeEpisodeCell.y - nodeEpisodeCell.height / 2; | ||
| 88 | // // this._graphicsLine.roundRect(borderX, borderY, 278, 175, 20);//圆角矩形路径 | ||
| 89 | // // this._graphicsLine.stroke(); //绘制路径 | ||
| 90 | // } | ||
| 91 | // }, | ||
| 92 | |||
| 93 | getGatherDetailList: function () { | 75 | getGatherDetailList: function () { |
| 94 | Network.ajax("GET", Common.TOPDRAW_API_SERVER + "videoDetail/movie_detail_list_by_media.json", null, null, | 76 | Network.ajax("GET", Common.TOPDRAW_API_SERVER + "videoDetail/movie_detail_list_by_media.json", null, null, |
| 95 | function (strResponse) { | 77 | function (strResponse) { |
| ... | @@ -199,6 +181,7 @@ cc.Class({ | ... | @@ -199,6 +181,7 @@ cc.Class({ |
| 199 | 181 | ||
| 200 | // this.getTypeList(); | 182 | // this.getTypeList(); |
| 201 | 183 | ||
| 184 | this.checkCollect(); | ||
| 202 | this.getGatherDetailList(); //获取剧集列表 | 185 | this.getGatherDetailList(); //获取剧集列表 |
| 203 | this.getPlayURLAndPlay(); | 186 | this.getPlayURLAndPlay(); |
| 204 | } else { | 187 | } else { |
| ... | @@ -213,6 +196,25 @@ cc.Class({ | ... | @@ -213,6 +196,25 @@ cc.Class({ |
| 213 | }, this, "uuid"); | 196 | }, this, "uuid"); |
| 214 | }, | 197 | }, |
| 215 | 198 | ||
| 199 | checkCollect: function () { | ||
| 200 | var collectList = JSON.parse(cc.sys.localStorage.getItem("collectList")); | ||
| 201 | if (collectList != null) { | ||
| 202 | if (-1 != JSON.stringify(collectList.resultSet).indexOf(this._strResponse)) { | ||
| 203 | this._bCollected = true; | ||
| 204 | // collectList.resultSet.push(JSON.parse(strResponse)); | ||
| 205 | // collectList.count++; | ||
| 206 | // cc.sys.localStorage.setItem("collectList", JSON.stringify(collectList)); | ||
| 207 | } | ||
| 208 | } else { | ||
| 209 | let oData = {}; | ||
| 210 | oData.businessCode = "success"; | ||
| 211 | oData.count = 0; | ||
| 212 | oData.resultSet = []; | ||
| 213 | // oData.resultSet.push(JSON.parse(strResponse)); | ||
| 214 | cc.sys.localStorage.setItem("collectList", JSON.stringify(oData)); | ||
| 215 | } | ||
| 216 | }, | ||
| 217 | |||
| 216 | getPlayURLAndPlay: function () { | 218 | getPlayURLAndPlay: function () { |
| 217 | try { | 219 | try { |
| 218 | this._ComOperation.initPlayer(64, 56, 564, 317, true, true); //这里采用左右边距对应android坐标 fix jerry | 220 | this._ComOperation.initPlayer(64, 56, 564, 317, true, true); //这里采用左右边距对应android坐标 fix jerry |
| ... | @@ -358,15 +360,15 @@ cc.Class({ | ... | @@ -358,15 +360,15 @@ cc.Class({ |
| 358 | case cc.macro.KEY.enter: | 360 | case cc.macro.KEY.enter: |
| 359 | case cc.macro.KEY.space: | 361 | case cc.macro.KEY.space: |
| 360 | case Common.ANDROID_KEY.enter: | 362 | case Common.ANDROID_KEY.enter: |
| 361 | if (0 == this._fiCurrentFocus.node.name.indexOf('Collect')) { | 363 | if (0 == this._fiCurrentFocus.node.name.indexOf('ButtonCollect')) { |
| 362 | this._bCollected = !this._bCollected; | 364 | this._bCollected = !this._bCollected; |
| 363 | if (this._bCollected) { | 365 | this.collectMovie(); |
| 364 | this.commonSimpleTip("恭喜您!收藏成功!", 3); | 366 | |
| 365 | } | 367 | return; |
| 366 | let icon = this._bCollected ? "GameDetail/be_collected" : "GameDetail/not_collected"; | 368 | // let icon = this._bCollected ? "GameDetail/be_collected" : "GameDetail/not_collected"; |
| 367 | cc.loader.loadRes(icon, cc.Texture2D, function (err, texture) { | 369 | // cc.loader.loadRes(icon, cc.Texture2D, function (err, texture) { |
| 368 | self._fiCurrentFocus.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 56, self._fiCurrentFocus.node.width, 56)); | 370 | // self._fiCurrentFocus.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 56, self._fiCurrentFocus.node.width, 56)); |
| 369 | }); | 371 | // }); |
| 370 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('LabelDesc')) { | 372 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('LabelDesc')) { |
| 371 | cc.find("FullDesc", this.node).active = true; | 373 | cc.find("FullDesc", this.node).active = true; |
| 372 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('ButtonOpen') || 0 == this._fiCurrentFocus.node.name.indexOf('Pic')) { | 374 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('ButtonOpen') || 0 == this._fiCurrentFocus.node.name.indexOf('Pic')) { |
| ... | @@ -383,6 +385,29 @@ cc.Class({ | ... | @@ -383,6 +385,29 @@ cc.Class({ |
| 383 | } | 385 | } |
| 384 | }, | 386 | }, |
| 385 | 387 | ||
| 388 | collectMovie: function () { | ||
| 389 | |||
| 390 | var collectList = JSON.parse(cc.sys.localStorage.getItem("collectList")); | ||
| 391 | // cc.log("//////" + JSON.stringify(this._oInit)); | ||
| 392 | if (this._bCollected && -1 == JSON.stringify(collectList.resultSet).indexOf(JSON.stringify(this._oInit))) { | ||
| 393 | this.commonSimpleTip("恭喜您!收藏成功!", 3); | ||
| 394 | collectList.resultSet.push(this._oInit); | ||
| 395 | collectList.count++; | ||
| 396 | cc.sys.localStorage.setItem("collectList", JSON.stringify(collectList)); | ||
| 397 | } else if (-1 != (JSON.stringify(collectList.resultSet).indexOf(JSON.stringify(this._oInit)))) { | ||
| 398 | this.commonSimpleTip("取消收藏!", 3); | ||
| 399 | for (let i = 0; i < collectList.resultSet.length; i++) { | ||
| 400 | if (JSON.stringify(collectList.resultSet[i]) == JSON.stringify(this._oInit)) { | ||
| 401 | collectList.resultSet.splice(i, 1); | ||
| 402 | collectList.count <= 0 ? collectList.count = 0 : collectList.count--; | ||
| 403 | cc.sys.localStorage.setItem("collectList", JSON.stringify(collectList)); | ||
| 404 | } | ||
| 405 | } | ||
| 406 | } | ||
| 407 | |||
| 408 | cc.log("检查存储:" + cc.sys.localStorage.getItem("collectList")); | ||
| 409 | }, | ||
| 410 | |||
| 386 | doCurrentFocusTVLinkAction: function (strAction) { | 411 | doCurrentFocusTVLinkAction: function (strAction) { |
| 387 | let strTVLink = this._fiCurrentFocus.getTVLink(); | 412 | let strTVLink = this._fiCurrentFocus.getTVLink(); |
| 388 | cc.log("tvlink===============" + strTVLink); | 413 | cc.log("tvlink===============" + strTVLink); | ... | ... |
assets/Texture/Main/blank_hint.jpg
0 → 100644
38.1 KB
assets/Texture/Mask/cartoon_cell_mask.png
0 → 100644
3.67 KB
7.16 KB
10.5 KB
10.1 KB
10.4 KB
| ... | @@ -18,7 +18,17 @@ | ... | @@ -18,7 +18,17 @@ |
| 18 | "height": 168 | 18 | "height": 168 |
| 19 | } | 19 | } |
| 20 | ] | 20 | ] |
| 21 | } | 21 | }, |
| 22 | "image": [ | ||
| 23 | { | ||
| 24 | "extension": ".png", | ||
| 25 | "size": 100405, | ||
| 26 | "enable": true, | ||
| 27 | "fileUrl": "upload/image/games/o宝脑力训练270-167.jpg", | ||
| 28 | "width": 270, | ||
| 29 | "height": 167 | ||
| 30 | } | ||
| 31 | ] | ||
| 22 | } | 32 | } |
| 23 | ] | 33 | ] |
| 24 | } | 34 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | { | ||
| 2 | "//": "upload/image/category/", | ||
| 3 | "businessCode": "success", | ||
| 4 | "count": 7, | ||
| 5 | "currentTime": 1581664965116, | ||
| 6 | "description": "", | ||
| 7 | "resultSet": [ | ||
| 8 | { | ||
| 9 | "name": "游戏历史", | ||
| 10 | "image": [ | ||
| 11 | { | ||
| 12 | "extension": ".png", | ||
| 13 | "code": "image_e9fea105-0412-4600-a0f1-f606a003c63f", | ||
| 14 | "size": 74263, | ||
| 15 | "enable": true, | ||
| 16 | "name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png", | ||
| 17 | "fileUrl": "upload/image/historyAndCollect/icon_history.png", | ||
| 18 | "id": 7509, | ||
| 19 | "type": 2, | ||
| 20 | "width": 202, | ||
| 21 | "height": 94 | ||
| 22 | } | ||
| 23 | ] | ||
| 24 | }, | ||
| 25 | { | ||
| 26 | "name": "我的收藏", | ||
| 27 | "image": [ | ||
| 28 | { | ||
| 29 | "extension": ".png", | ||
| 30 | "code": "image_e9fea105-0412-4600-a0f1-f606a003c63f", | ||
| 31 | "size": 74263, | ||
| 32 | "enable": true, | ||
| 33 | "name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png", | ||
| 34 | "fileUrl": "upload/image/historyAndCollect/icon_collect.png", | ||
| 35 | "id": 7509, | ||
| 36 | "type": 2, | ||
| 37 | "width": 202, | ||
| 38 | "height": 94 | ||
| 39 | } | ||
| 40 | ] | ||
| 41 | } | ||
| 42 | ] | ||
| 43 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment