推荐列表实现虚拟+无限循环
This commit is contained in:
@@ -25,17 +25,17 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 464
|
||||
"__id__": 471
|
||||
},
|
||||
{
|
||||
"__id__": 466
|
||||
"__id__": 473
|
||||
},
|
||||
{
|
||||
"__id__": 468
|
||||
"__id__": 475
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 470
|
||||
"__id__": 477
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -88,17 +88,17 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 457
|
||||
"__id__": 464
|
||||
},
|
||||
{
|
||||
"__id__": 459
|
||||
"__id__": 466
|
||||
},
|
||||
{
|
||||
"__id__": 461
|
||||
"__id__": 468
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 463
|
||||
"__id__": 470
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -7514,23 +7514,23 @@
|
||||
"__id__": 330
|
||||
},
|
||||
{
|
||||
"__id__": 424
|
||||
"__id__": 426
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 450
|
||||
"__id__": 457
|
||||
},
|
||||
{
|
||||
"__id__": 452
|
||||
"__id__": 459
|
||||
},
|
||||
{
|
||||
"__id__": 454
|
||||
"__id__": 461
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 456
|
||||
"__id__": 463
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -7599,10 +7599,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 421
|
||||
},
|
||||
{
|
||||
"__id__": 423
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 423
|
||||
"__id__": 425
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -9739,6 +9742,30 @@
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "25w438HtBIppjIzrSNlabh"
|
||||
},
|
||||
{
|
||||
"__type__": "1c2749hWMJOWb+yk8nrIBNh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 330
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 424
|
||||
},
|
||||
"icon": null,
|
||||
"title": null,
|
||||
"selectedMode": 0,
|
||||
"selectedFlag": null,
|
||||
"selectedSpriteFrame": null,
|
||||
"adaptiveSize": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d1428WXUhDzZjJKBtXUtGw"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
@@ -9762,14 +9789,11 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 425
|
||||
"__id__": 427
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 441
|
||||
},
|
||||
{
|
||||
"__id__": 443
|
||||
},
|
||||
@@ -9778,15 +9802,21 @@
|
||||
},
|
||||
{
|
||||
"__id__": 447
|
||||
},
|
||||
{
|
||||
"__id__": 449
|
||||
},
|
||||
{
|
||||
"__id__": 451
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 449
|
||||
"__id__": 456
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"y": 603.534,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -9818,18 +9848,15 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 424
|
||||
"__id__": 426
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 426
|
||||
"__id__": 428
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 432
|
||||
},
|
||||
{
|
||||
"__id__": 434
|
||||
},
|
||||
@@ -9838,10 +9865,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 438
|
||||
},
|
||||
{
|
||||
"__id__": 440
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 440
|
||||
"__id__": 442
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -9878,20 +9908,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 425
|
||||
"__id__": 427
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 427
|
||||
"__id__": 429
|
||||
},
|
||||
{
|
||||
"__id__": 429
|
||||
"__id__": 431
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 431
|
||||
"__id__": 433
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -9928,11 +9958,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 426
|
||||
"__id__": 428
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 428
|
||||
"__id__": 430
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -9956,11 +9986,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 426
|
||||
"__id__": 428
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 430
|
||||
"__id__": 432
|
||||
},
|
||||
"_resizeMode": 1,
|
||||
"_layoutType": 2,
|
||||
@@ -10007,11 +10037,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 425
|
||||
"__id__": 427
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 433
|
||||
"__id__": 435
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -10021,7 +10051,7 @@
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
"y": 1
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -10035,11 +10065,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 425
|
||||
"__id__": 427
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 435
|
||||
"__id__": 437
|
||||
},
|
||||
"_type": 0,
|
||||
"_inverted": false,
|
||||
@@ -10057,11 +10087,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 425
|
||||
"__id__": 427
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 437
|
||||
"__id__": 439
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -10103,11 +10133,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 425
|
||||
"__id__": 427
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 439
|
||||
"__id__": 441
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -10152,11 +10182,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 424
|
||||
"__id__": 426
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 442
|
||||
"__id__": 444
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -10166,7 +10196,7 @@
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
"y": 1
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -10180,11 +10210,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 424
|
||||
"__id__": 426
|
||||
},
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 444
|
||||
"__id__": 446
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -10225,11 +10255,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 424
|
||||
"__id__": 426
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 446
|
||||
"__id__": 448
|
||||
},
|
||||
"bounceDuration": 0.23,
|
||||
"brake": 0.75,
|
||||
@@ -10240,7 +10270,7 @@
|
||||
"cancelInnerEvents": true,
|
||||
"scrollEvents": [],
|
||||
"_content": {
|
||||
"__id__": 426
|
||||
"__id__": 428
|
||||
},
|
||||
"_horizontalScrollBar": null,
|
||||
"_verticalScrollBar": null,
|
||||
@@ -10256,11 +10286,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 424
|
||||
"__id__": 426
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 448
|
||||
"__id__": 450
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -10286,6 +10316,74 @@
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "bdX7EdKXFKipBjbAh2uN6h"
|
||||
},
|
||||
{
|
||||
"__type__": "fd851tnoT1G06/c2igvxAq8",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 426
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 452
|
||||
},
|
||||
"templateType": 1,
|
||||
"tmpNode": {
|
||||
"__id__": 330
|
||||
},
|
||||
"tmpPrefab": null,
|
||||
"_slideMode": 1,
|
||||
"pageDistance": 0.3,
|
||||
"pageChangeEvent": {
|
||||
"__id__": 453
|
||||
},
|
||||
"_virtual": true,
|
||||
"cyclic": true,
|
||||
"lackCenter": false,
|
||||
"lackSlide": true,
|
||||
"_updateRate": 0,
|
||||
"frameByFrameRenderNum": 0,
|
||||
"renderEvent": {
|
||||
"__id__": 454
|
||||
},
|
||||
"selectedMode": 0,
|
||||
"selectedEvent": {
|
||||
"__id__": 455
|
||||
},
|
||||
"repeatEventSingle": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "6aPjUurOpMQaoRPAaU9dQJ"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ClickEvent",
|
||||
"target": null,
|
||||
"component": "",
|
||||
"_componentId": "",
|
||||
"handler": "",
|
||||
"customEventData": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ClickEvent",
|
||||
"target": {
|
||||
"__id__": 1
|
||||
},
|
||||
"component": "",
|
||||
"_componentId": "f7d97PE7DFJvIUqvajvp2cQ",
|
||||
"handler": "onRenderRecommendItem",
|
||||
"customEventData": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ClickEvent",
|
||||
"target": null,
|
||||
"component": "",
|
||||
"_componentId": "",
|
||||
"handler": "",
|
||||
"customEventData": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
@@ -10309,7 +10407,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 451
|
||||
"__id__": 458
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -10337,7 +10435,7 @@
|
||||
},
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 453
|
||||
"__id__": 460
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -10382,7 +10480,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 455
|
||||
"__id__": 462
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -10431,7 +10529,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 458
|
||||
"__id__": 465
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -10459,7 +10557,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 460
|
||||
"__id__": 467
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -10504,7 +10602,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 462
|
||||
"__id__": 469
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -10553,7 +10651,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 465
|
||||
"__id__": 472
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -10581,7 +10679,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 467
|
||||
"__id__": 474
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -10617,7 +10715,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 469
|
||||
"__id__": 476
|
||||
},
|
||||
"m_rootNode": null,
|
||||
"_id": ""
|
||||
|
||||
Reference in New Issue
Block a user