Commit 66300151 by 张树文

删除传送门功能

1 parent 544fe28c
Showing with 717 additions and 4074 deletions
...@@ -45,29 +45,23 @@ ...@@ -45,29 +45,23 @@
"__id__": 70 "__id__": 70
}, },
{ {
"__id__": 82 "__id__": 95
},
{
"__id__": 107
},
{
"__id__": 123
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 128 "__id__": 100
}, },
{ {
"__id__": 129 "__id__": 101
}, },
{ {
"__id__": 130 "__id__": 102
} }
], ],
"_prefab": { "_prefab": {
"__id__": 131 "__id__": 103
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2465,7 +2459,7 @@ ...@@ -2465,7 +2459,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ButtonsLayout", "_name": "AutoPlayNode",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
...@@ -2473,19 +2467,25 @@ ...@@ -2473,19 +2467,25 @@
"_children": [ "_children": [
{ {
"__id__": 71 "__id__": 71
},
{
"__id__": 78
},
{
"__id__": 85
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 79 "__id__": 92
}, },
{ {
"__id__": 80 "__id__": 93
} }
], ],
"_prefab": { "_prefab": {
"__id__": 81 "__id__": 94
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2497,20 +2497,20 @@ ...@@ -2497,20 +2497,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 300,
"height": 99 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 1,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
317, 340,
197, -570,
0, 0,
0, 0,
0, 0,
...@@ -2536,7 +2536,7 @@ ...@@ -2536,7 +2536,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "RollBackBtn", "_name": "ReviewButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 70
...@@ -2549,11 +2549,11 @@ ...@@ -2549,11 +2549,11 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 76 "__id__": 75
} }
], ],
"_prefab": { "_prefab": {
"__id__": 78 "__id__": 77
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2565,8 +2565,8 @@ ...@@ -2565,8 +2565,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 100,
"height": 99 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2577,7 +2577,7 @@ ...@@ -2577,7 +2577,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -250,
0, 0,
0, 0,
0, 0,
...@@ -2586,7 +2586,7 @@ ...@@ -2586,7 +2586,7 @@
1, 1,
1, 1,
1, 1,
1 0
] ]
}, },
"_eulerAngles": { "_eulerAngles": {
...@@ -2604,8 +2604,8 @@ ...@@ -2604,8 +2604,8 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Background", "_name": "ReviewIconSprite",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 71 "__id__": 71
}, },
...@@ -2614,13 +2614,10 @@ ...@@ -2614,13 +2614,10 @@
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 73
},
{
"__id__": 74
} }
], ],
"_prefab": { "_prefab": {
"__id__": 75 "__id__": 74
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2632,8 +2629,8 @@ ...@@ -2632,8 +2629,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 62,
"height": 99 "height": 93
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2653,7 +2650,7 @@ ...@@ -2653,7 +2650,7 @@
1, 1,
1, 1,
1, 1,
0 1
] ]
}, },
"_eulerAngles": { "_eulerAngles": {
...@@ -2685,9 +2682,9 @@ ...@@ -2685,9 +2682,9 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "e46fb0ce-9d6a-4b98-98cc-3983e39c7bc7" "__uuid__": "b6657c26-a60a-41b3-8a72-8e497af6eaa3"
}, },
"_type": 1, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
...@@ -2702,33 +2699,6 @@ ...@@ -2702,33 +2699,6 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": ""
},
{
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 1 "__id__": 1
...@@ -2736,7 +2706,7 @@ ...@@ -2736,7 +2706,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "d6/5G9rO1JQZJKHAE3Ksm1", "fileId": "63ilEVBz1KH5X4ScVPJIVm",
"sync": false "sync": false
}, },
{ {
...@@ -2753,7 +2723,7 @@ ...@@ -2753,7 +2723,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 77 "__id__": 76
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -2802,9 +2772,7 @@ ...@@ -2802,9 +2772,7 @@
"b": 120, "b": 120,
"a": 200 "a": 200
}, },
"_N$normalSprite": { "_N$normalSprite": null,
"__uuid__": "152b9a5c-c309-46cf-a227-d71ef3682577"
},
"_N$pressedSprite": { "_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
}, },
...@@ -2820,9 +2788,7 @@ ...@@ -2820,9 +2788,7 @@
"_N$disabledSprite": { "_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": null,
"__id__": 72
},
"_id": "" "_id": ""
}, },
{ {
...@@ -2832,7 +2798,7 @@ ...@@ -2832,7 +2798,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onRollBackBtnClick", "handler": "onReviewButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -2843,176 +2809,29 @@ ...@@ -2843,176 +2809,29 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "51UFqm+6FLD6xDzyx6NRl9", "fileId": "1dGlLMTZZKpKZRpTw30d69",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 76,
"height": 99
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 30,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 5,
"_top": 393.5,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "absBg2e51NW78RLxxPz1nJ",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "AutoPlayNode", "_name": "SkipButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 1 "__id__": 70
}, },
"_children": [ "_children": [
{ {
"__id__": 83 "__id__": 79
},
{
"__id__": 90
},
{
"__id__": 97
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104
},
{
"__id__": 105
}
],
"_prefab": {
"__id__": 106
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
340,
-570,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ReviewButton",
"_objFlags": 0,
"_parent": {
"__id__": 82 "__id__": 82
},
"_children": [
{
"__id__": 84
}
],
"_active": true,
"_components": [
{
"__id__": 87
} }
], ],
"_prefab": { "_prefab": {
"__id__": 89 "__id__": 84
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3036,7 +2855,7 @@ ...@@ -3036,7 +2855,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-250, -150,
0, 0,
0, 0,
0, 0,
...@@ -3063,20 +2882,20 @@ ...@@ -3063,20 +2882,20 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ReviewIconSprite", "_name": "SkipIconSprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 78
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 80
} }
], ],
"_prefab": { "_prefab": {
"__id__": 86 "__id__": 81
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3089,7 +2908,7 @@ ...@@ -3089,7 +2908,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 62, "width": 62,
"height": 93 "height": 94
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3130,7 +2949,7 @@ ...@@ -3130,7 +2949,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3141,7 +2960,7 @@ ...@@ -3141,7 +2960,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "b6657c26-a60a-41b3-8a72-8e497af6eaa3" "__uuid__": "3851572b-705e-4224-ad3d-823bd9158197"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3165,7 +2984,7 @@ ...@@ -3165,7 +2984,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "63ilEVBz1KH5X4ScVPJIVm", "fileId": "0buDqaaZ5IyLPmeOXWLtb0",
"sync": false "sync": false
}, },
{ {
...@@ -3173,7 +2992,7 @@ ...@@ -3173,7 +2992,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3182,7 +3001,7 @@ ...@@ -3182,7 +3001,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 88 "__id__": 83
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -3257,7 +3076,7 @@ ...@@ -3257,7 +3076,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onReviewButtonClick", "handler": "onSkipButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -3268,29 +3087,29 @@ ...@@ -3268,29 +3087,29 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "1dGlLMTZZKpKZRpTw30d69", "fileId": "81xcvD51VH4ZSd5t5iyWAf",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "SkipButton", "_name": "AutoPlayButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 82 "__id__": 70
}, },
"_children": [ "_children": [
{ {
"__id__": 91 "__id__": 86
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 89
} }
], ],
"_prefab": { "_prefab": {
"__id__": 96 "__id__": 91
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3314,7 +3133,7 @@ ...@@ -3314,7 +3133,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-150, -50,
0, 0,
0, 0,
0, 0,
...@@ -3341,20 +3160,20 @@ ...@@ -3341,20 +3160,20 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "SkipIconSprite", "_name": "AutoIconSprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 85
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 92 "__id__": 87
} }
], ],
"_prefab": { "_prefab": {
"__id__": 93 "__id__": 88
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3366,8 +3185,8 @@ ...@@ -3366,8 +3185,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 62, "width": 59,
"height": 94 "height": 95
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3408,7 +3227,7 @@ ...@@ -3408,7 +3227,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3419,7 +3238,7 @@ ...@@ -3419,7 +3238,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "3851572b-705e-4224-ad3d-823bd9158197" "__uuid__": "30836006-6c67-4b01-a094-eaae32dc71e6"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3443,7 +3262,7 @@ ...@@ -3443,7 +3262,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "0buDqaaZ5IyLPmeOXWLtb0", "fileId": "39HasPy/pHOqwaLk+kth6N",
"sync": false "sync": false
}, },
{ {
...@@ -3451,7 +3270,7 @@ ...@@ -3451,7 +3270,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3460,7 +3279,7 @@ ...@@ -3460,7 +3279,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 95 "__id__": 90
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -3535,7 +3354,7 @@ ...@@ -3535,7 +3354,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onSkipButtonClick", "handler": "onAutoPlayButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -3546,93 +3365,101 @@ ...@@ -3546,93 +3365,101 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "81xcvD51VH4ZSd5t5iyWAf", "fileId": "2bd7Y6E2pCP6GGuihubFLG",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Layout",
"_name": "AutoPlayButton", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 82 "__id__": 70
},
"_children": [
{
"__id__": 98
}
],
"_active": true,
"_components": [
{
"__id__": 101
}
],
"_prefab": {
"__id__": 103
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_contentSize": { "_enabled": true,
"_layoutSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 300,
"height": 100 "height": 100
}, },
"_anchorPoint": { "_resize": 1,
"__type__": "cc.Vec2", "_N$layoutType": 1,
"x": 0.5, "_N$cellSize": {
"y": 0.5 "__type__": "cc.Size",
"width": 40,
"height": 40
}, },
"_trs": { "_N$startAxis": 0,
"__type__": "TypedArray", "_N$paddingLeft": 0,
"ctor": "Float64Array", "_N$paddingRight": 0,
"array": [ "_N$paddingTop": 0,
-50, "_N$paddingBottom": 0,
0, "_N$spacingX": 0,
0, "_N$spacingY": 0,
0, "_N$verticalDirection": 1,
0, "_N$horizontalDirection": 0,
0, "_N$affectedByScale": false,
1, "_id": ""
1,
1,
0
]
}, },
"_eulerAngles": { {
"__type__": "cc.Vec3", "__type__": "cc.Widget",
"x": 0, "_name": "",
"y": 0, "_objFlags": 0,
"z": 0 "node": {
"__id__": 70
}, },
"_skewX": 0, "_enabled": true,
"_skewY": 0, "alignMode": 1,
"_is3DNode": false, "_target": null,
"_groupIndex": 0, "_alignFlags": 36,
"groupIndex": 0, "_left": 0,
"_right": 20,
"_top": 0,
"_bottom": 20,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "0cxc9yCZxCU4mrNUmn5uhj",
"sync": false
},
{
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "AutoIconSprite", "_name": "EffectBackground",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 97 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 96
},
{
"__id__": 97
},
{
"__id__": 98
} }
], ],
"_prefab": { "_prefab": {
"__id__": 100 "__id__": 99
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3644,8 +3471,8 @@ ...@@ -3644,8 +3471,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 59, "width": 720,
"height": 95 "height": 1280
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3686,7 +3513,7 @@ ...@@ -3686,7 +3513,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 98 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3697,10 +3524,10 @@ ...@@ -3697,10 +3524,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "30836006-6c67-4b01-a094-eaae32dc71e6" "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3714,6 +3541,43 @@ ...@@ -3714,6 +3541,43 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 40,
"_originalHeight": 36,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 1 "__id__": 1
...@@ -3721,909 +3585,36 @@ ...@@ -3721,909 +3585,36 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "39HasPy/pHOqwaLk+kth6N", "fileId": "12v3EeXh9DgI6njztQPnr0",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 1
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "alignMode": 1,
"_grayMaterial": null, "_target": null,
"duration": 0.1, "_alignFlags": 45,
"zoomScale": 1.2, "_left": 0,
"clickEvents": [ "_right": 0,
{ "_top": 0,
"__id__": 102 "_bottom": 0,
} "_verticalCenter": 0,
], "_horizontalCenter": 0,
"_N$interactable": true, "_isAbsLeft": true,
"_N$enableAutoGrayEffect": false, "_isAbsRight": true,
"_N$transition": 3, "_isAbsTop": true,
"transition": 3, "_isAbsBottom": true,
"_N$normalColor": { "_isAbsHorizontalCenter": true,
"__type__": "cc.Color", "_isAbsVerticalCenter": true,
"r": 230, "_originalWidth": 0,
"g": 230, "_originalHeight": 0,
"b": 230, "_id": ""
"a": 255 },
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": null,
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onAutoPlayButtonClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "2bd7Y6E2pCP6GGuihubFLG",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 300,
"height": 100
},
"_resize": 1,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 20,
"_top": 0,
"_bottom": 20,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "0cxc9yCZxCU4mrNUmn5uhj",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ScrollViewRoot",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 108
}
],
"_active": false,
"_components": [
{
"__id__": 118
},
{
"__id__": 119
},
{
"__id__": 120
}
],
"_prefab": {
"__id__": 122
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ScrollView",
"_objFlags": 0,
"_parent": {
"__id__": 107
},
"_children": [
{
"__id__": 109
}
],
"_active": true,
"_components": [
{
"__id__": 115
},
{
"__id__": 116
}
],
"_prefab": {
"__id__": 117
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 613
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
75,
280,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "view",
"_objFlags": 512,
"_parent": {
"__id__": 108
},
"_children": [
{
"__id__": 110
}
],
"_active": true,
"_components": [
{
"__id__": 113
}
],
"_prefab": {
"__id__": 114
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-75,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "content",
"_objFlags": 512,
"_parent": {
"__id__": 109
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
}
],
"_prefab": {
"__id__": 112
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.2,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-75,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 280,
"height": 500
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 20,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "31+YS9mlZDFKdyT20C7l2w",
"sync": false
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "431NDOwFRLyKzjTDC2a9Dt",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a28ef11-f91d-4b1f-978d-136b44068f85"
},
"_type": 1,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"horizontal": false,
"vertical": true,
"inertia": true,
"brake": 0.75,
"elastic": false,
"bounceDuration": 0.23,
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 110
},
"content": {
"__id__": 110
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "5aV6dR/iVLeaO/Y3sRmcTq",
"sync": false
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 121
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onRollBackBtnClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "f5VKXNAa9KHr7WzY5HQBaR",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "EffectBackground",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 124
},
{
"__id__": 125
},
{
"__id__": 126
}
],
"_prefab": {
"__id__": 127
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 40,
"_originalHeight": 36,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "12v3EeXh9DgI6njztQPnr0",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{ {
"__type__": "cde0eYIOglPmryVmu4xFcNP", "__type__": "cde0eYIOglPmryVmu4xFcNP",
"_name": "", "_name": "",
...@@ -4636,7 +3627,7 @@ ...@@ -4636,7 +3627,7 @@
"__id__": 3 "__id__": 3
}, },
"effectBackgroundSprite": { "effectBackgroundSprite": {
"__id__": 124 "__id__": 96
}, },
"portraitSprite": { "portraitSprite": {
"__id__": 6 "__id__": 6
...@@ -4669,25 +3660,16 @@ ...@@ -4669,25 +3660,16 @@
"__id__": 18 "__id__": 18
}, },
"typewriter": { "typewriter": {
"__id__": 130 "__id__": 102
},
"rollBackBtn": {
"__id__": 71
}, },
"chapterBtn": { "chapterBtn": {
"__uuid__": "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a" "__uuid__": "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a"
}, },
"scrollViewRootNode": {
"__id__": 107
},
"contentNode": {
"__id__": 110
},
"skipButtonNode": { "skipButtonNode": {
"__id__": 90 "__id__": 78
}, },
"autoPlayButtonNode": { "autoPlayButtonNode": {
"__id__": 97 "__id__": 85
}, },
"autoPlaySpriteFrame": [ "autoPlaySpriteFrame": [
{ {
......
...@@ -55,7 +55,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -55,7 +55,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
this._isDotTutorial = false; this._isDotTutorial = false;
this._reviewPlot = ""; this._reviewPlot = "";
this.view.completePlotCallback = this.completePlot; this.view.completePlotCallback = this.completePlot;
this.view.onRollBackBtnCallback = this.onRollBackBtnCallback;
this.view.onReviewButtonClickCallback = this.onReviewButtonClickCallback; this.view.onReviewButtonClickCallback = this.onReviewButtonClickCallback;
this._model = param; this._model = param;
if (this._model.status === DatingEventStatus.New) { if (this._model.status === DatingEventStatus.New) {
...@@ -68,10 +67,8 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -68,10 +67,8 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
// this.view.setRunCloseAction((isSpecialScene && this._model.status !== DatingEventStatus.Completed)); // this.view.setRunCloseAction((isSpecialScene && this._model.status !== DatingEventStatus.Completed));
if (this._model.isExtra) { if (this._model.isExtra) {
GameModelManager.setIsMainPlotSceneType(false); GameModelManager.setIsMainPlotSceneType(false);
this.view.showRollBackBtn(false);
} else { } else {
GameModelManager.setIsMainPlotSceneType(true); GameModelManager.setIsMainPlotSceneType(true);
this.view.showRollBackBtn(true);
} }
delay(0.1).then(async () => { delay(0.1).then(async () => {
if (param.status === DatingEventStatus.Completed) { if (param.status === DatingEventStatus.Completed) {
...@@ -124,7 +121,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -124,7 +121,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
})); }));
this._disposable.add(GameModelManager.RollBackToPlot.on(this.onClickRollBackBtn)); this._disposable.add(GameModelManager.RollBackToPlot.on(this.onClickRollBackBtn));
this._showScrollView = false; this._showScrollView = false;
this.view.getScrollViewRootNode().active = this._showScrollView;
this._disposable.add(GameModelManager.DeadEvent.on(this.onDeadEvent)); this._disposable.add(GameModelManager.DeadEvent.on(this.onDeadEvent));
this._disposable.add(GameModelManager.SpecialToast.on(this.onSpecialToast)); this._disposable.add(GameModelManager.SpecialToast.on(this.onSpecialToast));
} }
...@@ -158,11 +154,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -158,11 +154,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
if (content) { // TODO 图片设置 if (content) { // TODO 图片设置
if (content.type === SentenceType.TEXT) { if (content.type === SentenceType.TEXT) {
this.view.showBackBtn(this._showBackBtn); this.view.showBackBtn(this._showBackBtn);
if (this._model.isExtra) {
this.view.showRollBackBtn(false);
} else {
this.view.showRollBackBtn(true);
}
await this.view.setContent(sentence.roleId === GameConstData.GAME_CONST_PLAYER_ROLE_VALUE, await this.view.setContent(sentence.roleId === GameConstData.GAME_CONST_PLAYER_ROLE_VALUE,
richNodesToCocosString(content.value), richNodesToCocosString(content.value),
sentence.roleId === 1 ? "" : roleData.getNameIcon(), sentence.roleId === 1 ? "" : roleData.getNameIcon(),
...@@ -178,7 +169,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -178,7 +169,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
} }
} else if (content.type === SentenceType.SELECT) { } else if (content.type === SentenceType.SELECT) {
this.view.showBackBtn(false); this.view.showBackBtn(false);
this.view.showRollBackBtn(false);
let setSelection = async () => { let setSelection = async () => {
let value = content.value[this._currSelect!]; let value = content.value[this._currSelect!];
let str = value.summary; let str = value.summary;
...@@ -242,11 +232,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -242,11 +232,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
this._finished = true; this._finished = true;
this.view.setIsRunningAction(false); this.view.setIsRunningAction(false);
this.view.showBackBtn(this._showBackBtn); this.view.showBackBtn(this._showBackBtn);
if (this._model.isExtra) {
this.view.showRollBackBtn(false);
} else {
this.view.showRollBackBtn(true);
}
let Plot = PlotManager.getCurrentPlots()[0]; let Plot = PlotManager.getCurrentPlots()[0];
let isToBeContinued = Plot.id == SpecialPlotId.ToBeContinued; let isToBeContinued = Plot.id == SpecialPlotId.ToBeContinued;
let isEnd = Plot.id == SpecialPlotId.End; let isEnd = Plot.id == SpecialPlotId.End;
...@@ -357,37 +342,15 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -357,37 +342,15 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
return portrait; return portrait;
} }
onRollBackBtnCallback = () => {
this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
if (this._showScrollView) {
let scrollView = this.view.getScrollViewRootNode().getChildByName("ScrollView");
scrollView.scaleY = 0;
cc.tween(scrollView)
.to(0.3, { scaleY: 1 })
.start();
this.CreateOrUpdateChapterBtns();
} else {
this.view.getScrollViewContentNode().removeAllChildren();
}
}
CreateOrUpdateChapterBtns() { CreateOrUpdateChapterBtns() {
this.view.getScrollViewContentNode().removeAllChildren();
let ret: { chapterId: number, chapterName: number, chapterStartPlotId: number }[] = []; let ret: { chapterId: number, chapterName: number, chapterStartPlotId: number }[] = [];
let models = GameModelManager.getMainDatingEventScenesModel(); let models = GameModelManager.getMainDatingEventScenesModel();
for (let i = 0; i < models.length; i++) { for (let i = 0; i < models.length; i++) {
ret.push({ chapterId: i + 1, chapterName: models[i].config.name, chapterStartPlotId: models[i].config.start_plot_id }); ret.push({ chapterId: i + 1, chapterName: models[i].config.name, chapterStartPlotId: models[i].config.start_plot_id });
} }
// for (let i = 0; i < ret.length; ++i) {
// let btn = cc.instantiate(this.view.getChapterBtn());
// btn.getComponent(ChapterBtn).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId);
// btn.parent = this.view.getScrollViewContentNode();
// }
for (let i = ret.length - 1; i >= 0; i--) { for (let i = ret.length - 1; i >= 0; i--) {
let btn = cc.instantiate(this.view.getChapterBtn()); let btn = cc.instantiate(this.view.getChapterBtn());
btn.getComponent(ChapterBtn).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId); btn.getComponent(ChapterBtn).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId);
btn.parent = this.view.getScrollViewContentNode();
} }
} }
...@@ -409,10 +372,7 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -409,10 +372,7 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
await PlotManager.rollbackToPlot(pid, false, retainVar); await PlotManager.rollbackToPlot(pid, false, retainVar);
this.rollBackDateAdArray(pid); this.rollBackDateAdArray(pid);
GameRecord.saveRecord(); GameRecord.saveRecord();
// this.rollBackPlotInfo(pid);
this.view.getScrollViewContentNode().removeAllChildren();
this._showScrollView = !this._showScrollView; this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
this.view.closeView(); this.view.closeView();
await GameModelManager.init((value: number) => { await GameModelManager.init((value: number) => {
}); });
...@@ -500,10 +460,7 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -500,10 +460,7 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
await PlotManager.rollbackToPlot(pid, false, retainVar); await PlotManager.rollbackToPlot(pid, false, retainVar);
this.rollBackDateAdArray(pid); this.rollBackDateAdArray(pid);
GameRecord.saveRecord(); GameRecord.saveRecord();
// this.rollBackPlotInfo(pid);
this.view.getScrollViewContentNode().removeAllChildren();
this._showScrollView = !this._showScrollView; this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
this.view.closeView(); this.view.closeView();
await GameModelManager.init((value: number) => { await GameModelManager.init((value: number) => {
}); });
...@@ -578,18 +535,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin ...@@ -578,18 +535,6 @@ export class DatingScenePresenter extends Presenter<DatingEventSceneModel, Datin
nextKey = plotIds[i + 1]; nextKey = plotIds[i + 1];
} }
} }
// let cfg = ConfigManager.getAllConfig(dateSceneConfig);
// let ids: string[] = [];
// for (const id in cfg) {
// if (cfg[id].DateType == DateType.Date_Normal) {
// ids.push(id);
// }
// }
// for (let i = 0; i < ids.length; i++) {
// if (ids[i] == currEventId.toString()) {
// nextKey = ids[i + 1];
// }
// }
console.log("getNextDatingEventModel", nextKey); console.log("getNextDatingEventModel", nextKey);
return nextKey; return nextKey;
} }
......
...@@ -47,9 +47,6 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView { ...@@ -47,9 +47,6 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView {
@property(cc.Node) @property(cc.Node)
private endTipNode = DummyNode; private endTipNode = DummyNode;
// @property(cc.Node)
// private closeActNode = DummyNode;
@property(cc.Node) @property(cc.Node)
private arrowguideNode = DummyNode; private arrowguideNode = DummyNode;
...@@ -59,15 +56,9 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView { ...@@ -59,15 +56,9 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView {
@property(Typewriter) @property(Typewriter)
private typewriter: Typewriter = undefined as unknown as Typewriter; private typewriter: Typewriter = undefined as unknown as Typewriter;
@property(cc.Node)
private rollBackBtn = DummyNode;
@property(cc.Prefab) @property(cc.Prefab)
private chapterBtn = DummyPrefab; private chapterBtn = DummyPrefab;
@property(cc.Node) @property(cc.Node)
private scrollViewRootNode = DummyNode;
@property(cc.Node)
private contentNode;
@property(cc.Node)
private skipButtonNode = DummyNode; private skipButtonNode = DummyNode;
@property(cc.Node) @property(cc.Node)
private autoPlayButtonNode = DummyNode; private autoPlayButtonNode = DummyNode;
...@@ -141,7 +132,6 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView { ...@@ -141,7 +132,6 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView {
//#endregion //#endregion
completePlotCallback: () => Promise<void>; completePlotCallback: () => Promise<void>;
onRollBackBtnCallback: () => void;
onReviewButtonClickCallback: () => void; onReviewButtonClickCallback: () => void;
onEnable() { onEnable() {
...@@ -447,50 +437,12 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView { ...@@ -447,50 +437,12 @@ export class DatingSceneViewImpl extends CCView implements DatingSceneView {
runCloseAction() { runCloseAction() {
this.closeView(); this.closeView();
// this.setIsRunningAction(true);
// this.closeActNode.stopAllActions();
// this.closeActNode.scale = 1;
// this.closeActNode.opacity = 0;
// this.closeActNode.active = true;
// this.backBtnNode.active = false;
// let actTime: number = 1;
// let tempX: number = 0;
// let tempY: number = 0;
// let tempR: number = 0;
// let tempS: number = this.node.width / this.closeActNode.width;
// let easeS: cc.Easing = cc.easeSineOut();
// let moveAct = cc.moveTo(actTime, cc.v2(tempX, tempY)).easing(easeS);
// let fadeInAct = cc.fadeIn(actTime).easing(easeS);
// let scaleAct = cc.scaleTo(actTime / 2, tempS).easing(easeS);
// let rotationAct = cc.rotateTo(actTime / 2, tempR).easing(easeS);
// let call = cc.callFunc(() => {
// this.closeView();
// });
// let spawnMF = cc.spawn(moveAct, fadeInAct);
// let spawnSR = cc.spawn(scaleAct, rotationAct);
// let seq = cc.sequence(spawnMF, spawnSR, call);
// this.closeActNode.runAction(seq);
}
getScrollViewRootNode = (): cc.Node => {
return this.scrollViewRootNode;
}
getScrollViewContentNode = (): cc.Node => {
return this.contentNode;
} }
getChapterBtn = (): cc.Prefab => { getChapterBtn = (): cc.Prefab => {
return this.chapterBtn; return this.chapterBtn;
} }
onRollBackBtnClick() {
this.resetAutoPlayButtonState();
this.onRollBackBtnCallback();
}
showRollBackBtn = (isShow: boolean) => {
this.rollBackBtn.active = isShow;
}
onRefreshAllStatus() { onRefreshAllStatus() {
this.closeAction(); this.closeAction();
......
...@@ -15,14 +15,10 @@ export interface DatingSceneView extends View { ...@@ -15,14 +15,10 @@ export interface DatingSceneView extends View {
showBackBtn: (show: boolean) => void; showBackBtn: (show: boolean) => void;
setRunCloseAction: (run: boolean) => void; setRunCloseAction: (run: boolean) => void;
getScrollViewRootNode: () => cc.Node;
getScrollViewContentNode: () => cc.Node;
getChapterBtn: () => cc.Prefab; getChapterBtn: () => cc.Prefab;
/**关闭ui */ /**关闭ui */
closeView: () => void; closeView: () => void;
showRollBackBtn: (isShow: boolean) => void;
onRollBackBtnCallback: () => void;
onReviewButtonClickCallback: () => void; onReviewButtonClickCallback: () => void;
} }
......
{"version":3,"sources":["assets/script/game/ui/view/type/DatingSceneView.ts"],"names":[],"mappings":";;;;;;;AA4Ba,QAAA,mBAAmB,GAAG,iBAAiB,CAAC","file":"","sourceRoot":"/","sourcesContent":["import { View } from \"../../../../common/classbase/ViewBase\";\n\nexport interface DatingSceneView extends View {\n /**\n * 完成当前剧情回调函数\n */\n completePlotCallback: () => Promise<void>;\n setContent(isSelf: boolean, text: string, nameSpr: string, name?: string, portraitImg?: string, otherPortraitImg?: string, showRouge?: boolean): Promise<void>;\n setBackground(path: string): Promise<void>;\n setBackgroundEffect(path: string): Promise<void>;\n setIsRunningAction: (isRunning: boolean) => void;\n /**引导返回 */\n guideBack(): void;\n /**是否显示返回按钮*/\n showBackBtn: (show: boolean) => void;\n setRunCloseAction: (run: boolean) => void;\n\n getScrollViewRootNode: () => cc.Node;\n getScrollViewContentNode: () => cc.Node;\n getChapterBtn: () => cc.Prefab;\n\n /**关闭ui */\n closeView: () => void;\n showRollBackBtn: (isShow: boolean) => void;\n onRollBackBtnCallback: () => void;\n onReviewButtonClickCallback: () => void;\n}\n\nexport const DatingSceneViewType = \"DatingSceneView\";"]} {"version":3,"sources":["assets/script/game/ui/view/type/DatingSceneView.ts"],"names":[],"mappings":";;;;;;;AAwBa,QAAA,mBAAmB,GAAG,iBAAiB,CAAC","file":"","sourceRoot":"/","sourcesContent":["import { View } from \"../../../../common/classbase/ViewBase\";\n\nexport interface DatingSceneView extends View {\n /**\n * 完成当前剧情回调函数\n */\n completePlotCallback: () => Promise<void>;\n setContent(isSelf: boolean, text: string, nameSpr: string, name?: string, portraitImg?: string, otherPortraitImg?: string, showRouge?: boolean): Promise<void>;\n setBackground(path: string): Promise<void>;\n setBackgroundEffect(path: string): Promise<void>;\n setIsRunningAction: (isRunning: boolean) => void;\n /**引导返回 */\n guideBack(): void;\n /**是否显示返回按钮*/\n showBackBtn: (show: boolean) => void;\n setRunCloseAction: (run: boolean) => void;\n\n getChapterBtn: () => cc.Prefab;\n\n /**关闭ui */\n closeView: () => void;\n onReviewButtonClickCallback: () => void;\n}\n\nexport const DatingSceneViewType = \"DatingSceneView\";"]}
\ No newline at end of file \ No newline at end of file
...@@ -82,21 +82,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -82,21 +82,6 @@ let DatingScenePresenter = /** @class */ (() => {
this._completingPlot = false; this._completingPlot = false;
this.execPlot(); this.execPlot();
}; };
this.onRollBackBtnCallback = () => {
this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
if (this._showScrollView) {
let scrollView = this.view.getScrollViewRootNode().getChildByName("ScrollView");
scrollView.scaleY = 0;
cc.tween(scrollView)
.to(0.3, { scaleY: 1 })
.start();
this.CreateOrUpdateChapterBtns();
}
else {
this.view.getScrollViewContentNode().removeAllChildren();
}
};
this.onClickRollBackBtn = (pid) => { this.onClickRollBackBtn = (pid) => {
CDKeyEventManager_1.default.getInstance().shiftCDKeyRemovePlotAD(); CDKeyEventManager_1.default.getInstance().shiftCDKeyRemovePlotAD();
let removeAdCardNum = CDKeyEventManager_1.default.getInstance().checkCDKeyRemovePlotAD(); let removeAdCardNum = CDKeyEventManager_1.default.getInstance().checkCDKeyRemovePlotAD();
...@@ -114,10 +99,7 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -114,10 +99,7 @@ let DatingScenePresenter = /** @class */ (() => {
await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar); await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar);
this.rollBackDateAdArray(pid); this.rollBackDateAdArray(pid);
AVG_1.GameRecord.saveRecord(); AVG_1.GameRecord.saveRecord();
// this.rollBackPlotInfo(pid);
this.view.getScrollViewContentNode().removeAllChildren();
this._showScrollView = !this._showScrollView; this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
this.view.closeView(); this.view.closeView();
await GameModelManager_1.GameModelManager.init((value) => { await GameModelManager_1.GameModelManager.init((value) => {
}); });
...@@ -165,10 +147,7 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -165,10 +147,7 @@ let DatingScenePresenter = /** @class */ (() => {
await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar); await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar);
this.rollBackDateAdArray(pid); this.rollBackDateAdArray(pid);
AVG_1.GameRecord.saveRecord(); AVG_1.GameRecord.saveRecord();
// this.rollBackPlotInfo(pid);
this.view.getScrollViewContentNode().removeAllChildren();
this._showScrollView = !this._showScrollView; this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
this.view.closeView(); this.view.closeView();
await GameModelManager_1.GameModelManager.init((value) => { await GameModelManager_1.GameModelManager.init((value) => {
}); });
...@@ -214,7 +193,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -214,7 +193,6 @@ let DatingScenePresenter = /** @class */ (() => {
this._isDotTutorial = false; this._isDotTutorial = false;
this._reviewPlot = ""; this._reviewPlot = "";
this.view.completePlotCallback = this.completePlot; this.view.completePlotCallback = this.completePlot;
this.view.onRollBackBtnCallback = this.onRollBackBtnCallback;
this.view.onReviewButtonClickCallback = this.onReviewButtonClickCallback; this.view.onReviewButtonClickCallback = this.onReviewButtonClickCallback;
this._model = param; this._model = param;
if (this._model.status === DatingEventSceneModel_1.DatingEventStatus.New) { if (this._model.status === DatingEventSceneModel_1.DatingEventStatus.New) {
...@@ -227,11 +205,9 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -227,11 +205,9 @@ let DatingScenePresenter = /** @class */ (() => {
// this.view.setRunCloseAction((isSpecialScene && this._model.status !== DatingEventStatus.Completed)); // this.view.setRunCloseAction((isSpecialScene && this._model.status !== DatingEventStatus.Completed));
if (this._model.isExtra) { if (this._model.isExtra) {
GameModelManager_1.GameModelManager.setIsMainPlotSceneType(false); GameModelManager_1.GameModelManager.setIsMainPlotSceneType(false);
this.view.showRollBackBtn(false);
} }
else { else {
GameModelManager_1.GameModelManager.setIsMainPlotSceneType(true); GameModelManager_1.GameModelManager.setIsMainPlotSceneType(true);
this.view.showRollBackBtn(true);
} }
simba_utils_1.delay(0.1).then(async () => { simba_utils_1.delay(0.1).then(async () => {
if (param.status === DatingEventSceneModel_1.DatingEventStatus.Completed) { if (param.status === DatingEventSceneModel_1.DatingEventStatus.Completed) {
...@@ -284,7 +260,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -284,7 +260,6 @@ let DatingScenePresenter = /** @class */ (() => {
})); }));
this._disposable.add(GameModelManager_1.GameModelManager.RollBackToPlot.on(this.onClickRollBackBtn)); this._disposable.add(GameModelManager_1.GameModelManager.RollBackToPlot.on(this.onClickRollBackBtn));
this._showScrollView = false; this._showScrollView = false;
this.view.getScrollViewRootNode().active = this._showScrollView;
this._disposable.add(GameModelManager_1.GameModelManager.DeadEvent.on(this.onDeadEvent)); this._disposable.add(GameModelManager_1.GameModelManager.DeadEvent.on(this.onDeadEvent));
this._disposable.add(GameModelManager_1.GameModelManager.SpecialToast.on(this.onSpecialToast)); this._disposable.add(GameModelManager_1.GameModelManager.SpecialToast.on(this.onSpecialToast));
} }
...@@ -316,12 +291,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -316,12 +291,6 @@ let DatingScenePresenter = /** @class */ (() => {
if (content) { // TODO 图片设置 if (content) { // TODO 图片设置
if (content.type === AVG_1.SentenceType.TEXT) { if (content.type === AVG_1.SentenceType.TEXT) {
this.view.showBackBtn(this._showBackBtn); this.view.showBackBtn(this._showBackBtn);
if (this._model.isExtra) {
this.view.showRollBackBtn(false);
}
else {
this.view.showRollBackBtn(true);
}
await this.view.setContent(sentence.roleId === GameConstData_1.GameConstData.GAME_CONST_PLAYER_ROLE_VALUE, AVG_1.richNodesToCocosString(content.value), sentence.roleId === 1 ? "" : roleData.getNameIcon(), sentence.roleId === 1 ? undefined : roleData.getConfig().name, await this.view.setContent(sentence.roleId === GameConstData_1.GameConstData.GAME_CONST_PLAYER_ROLE_VALUE, AVG_1.richNodesToCocosString(content.value), sentence.roleId === 1 ? "" : roleData.getNameIcon(), sentence.roleId === 1 ? undefined : roleData.getConfig().name,
// sentence.roleId === 1 ? otherPortrait : roleData.getPortrait(this._currPlot.face,), // sentence.roleId === 1 ? otherPortrait : roleData.getPortrait(this._currPlot.face,),
sentence.roleId === 1 ? otherPortrait : this.getPortraitByRole(roleData, this._currPlot.face), otherPortrait, isShowRouge); sentence.roleId === 1 ? otherPortrait : this.getPortraitByRole(roleData, this._currPlot.face), otherPortrait, isShowRouge);
...@@ -334,7 +303,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -334,7 +303,6 @@ let DatingScenePresenter = /** @class */ (() => {
} }
else if (content.type === AVG_1.SentenceType.SELECT) { else if (content.type === AVG_1.SentenceType.SELECT) {
this.view.showBackBtn(false); this.view.showBackBtn(false);
this.view.showRollBackBtn(false);
let setSelection = async () => { let setSelection = async () => {
let value = content.value[this._currSelect]; let value = content.value[this._currSelect];
let str = value.summary; let str = value.summary;
...@@ -402,12 +370,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -402,12 +370,6 @@ let DatingScenePresenter = /** @class */ (() => {
this._finished = true; this._finished = true;
this.view.setIsRunningAction(false); this.view.setIsRunningAction(false);
this.view.showBackBtn(this._showBackBtn); this.view.showBackBtn(this._showBackBtn);
if (this._model.isExtra) {
this.view.showRollBackBtn(false);
}
else {
this.view.showRollBackBtn(true);
}
let Plot = AVG_1.PlotManager.getCurrentPlots()[0]; let Plot = AVG_1.PlotManager.getCurrentPlots()[0];
let isToBeContinued = Plot.id == AVG_1.SpecialPlotId.ToBeContinued; let isToBeContinued = Plot.id == AVG_1.SpecialPlotId.ToBeContinued;
let isEnd = Plot.id == AVG_1.SpecialPlotId.End; let isEnd = Plot.id == AVG_1.SpecialPlotId.End;
...@@ -494,21 +456,14 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -494,21 +456,14 @@ let DatingScenePresenter = /** @class */ (() => {
return portrait; return portrait;
} }
CreateOrUpdateChapterBtns() { CreateOrUpdateChapterBtns() {
this.view.getScrollViewContentNode().removeAllChildren();
let ret = []; let ret = [];
let models = GameModelManager_1.GameModelManager.getMainDatingEventScenesModel(); let models = GameModelManager_1.GameModelManager.getMainDatingEventScenesModel();
for (let i = 0; i < models.length; i++) { for (let i = 0; i < models.length; i++) {
ret.push({ chapterId: i + 1, chapterName: models[i].config.name, chapterStartPlotId: models[i].config.start_plot_id }); ret.push({ chapterId: i + 1, chapterName: models[i].config.name, chapterStartPlotId: models[i].config.start_plot_id });
} }
// for (let i = 0; i < ret.length; ++i) {
// let btn = cc.instantiate(this.view.getChapterBtn());
// btn.getComponent(ChapterBtn).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId);
// btn.parent = this.view.getScrollViewContentNode();
// }
for (let i = ret.length - 1; i >= 0; i--) { for (let i = ret.length - 1; i >= 0; i--) {
let btn = cc.instantiate(this.view.getChapterBtn()); let btn = cc.instantiate(this.view.getChapterBtn());
btn.getComponent(ChapterBtn_1.default).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId); btn.getComponent(ChapterBtn_1.default).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId);
btn.parent = this.view.getScrollViewContentNode();
} }
} }
getRetainVarKeyArr() { getRetainVarKeyArr() {
...@@ -595,18 +550,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -595,18 +550,6 @@ let DatingScenePresenter = /** @class */ (() => {
nextKey = plotIds[i + 1]; nextKey = plotIds[i + 1];
} }
} }
// let cfg = ConfigManager.getAllConfig(dateSceneConfig);
// let ids: string[] = [];
// for (const id in cfg) {
// if (cfg[id].DateType == DateType.Date_Normal) {
// ids.push(id);
// }
// }
// for (let i = 0; i < ids.length; i++) {
// if (ids[i] == currEventId.toString()) {
// nextKey = ids[i + 1];
// }
// }
console.log("getNextDatingEventModel", nextKey); console.log("getNextDatingEventModel", nextKey);
return nextKey; return nextKey;
} }
......
...@@ -45,29 +45,23 @@ ...@@ -45,29 +45,23 @@
"__id__": 70 "__id__": 70
}, },
{ {
"__id__": 82 "__id__": 95
},
{
"__id__": 107
},
{
"__id__": 123
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 128 "__id__": 100
}, },
{ {
"__id__": 129 "__id__": 101
}, },
{ {
"__id__": 130 "__id__": 102
} }
], ],
"_prefab": { "_prefab": {
"__id__": 131 "__id__": 103
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2465,7 +2459,7 @@ ...@@ -2465,7 +2459,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ButtonsLayout", "_name": "AutoPlayNode",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
...@@ -2473,19 +2467,25 @@ ...@@ -2473,19 +2467,25 @@
"_children": [ "_children": [
{ {
"__id__": 71 "__id__": 71
},
{
"__id__": 78
},
{
"__id__": 85
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 79 "__id__": 92
}, },
{ {
"__id__": 80 "__id__": 93
} }
], ],
"_prefab": { "_prefab": {
"__id__": 81 "__id__": 94
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2497,20 +2497,20 @@ ...@@ -2497,20 +2497,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 300,
"height": 99 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 1,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
317, 340,
197, -570,
0, 0,
0, 0,
0, 0,
...@@ -2536,7 +2536,7 @@ ...@@ -2536,7 +2536,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "RollBackBtn", "_name": "ReviewButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 70
...@@ -2549,11 +2549,11 @@ ...@@ -2549,11 +2549,11 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 76 "__id__": 75
} }
], ],
"_prefab": { "_prefab": {
"__id__": 78 "__id__": 77
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2565,8 +2565,8 @@ ...@@ -2565,8 +2565,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 100,
"height": 99 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2577,7 +2577,7 @@ ...@@ -2577,7 +2577,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -250,
0, 0,
0, 0,
0, 0,
...@@ -2586,7 +2586,7 @@ ...@@ -2586,7 +2586,7 @@
1, 1,
1, 1,
1, 1,
1 0
] ]
}, },
"_eulerAngles": { "_eulerAngles": {
...@@ -2604,8 +2604,8 @@ ...@@ -2604,8 +2604,8 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Background", "_name": "ReviewIconSprite",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 71 "__id__": 71
}, },
...@@ -2614,13 +2614,10 @@ ...@@ -2614,13 +2614,10 @@
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 73
},
{
"__id__": 74
} }
], ],
"_prefab": { "_prefab": {
"__id__": 75 "__id__": 74
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2632,8 +2629,8 @@ ...@@ -2632,8 +2629,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 62,
"height": 99 "height": 93
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2653,7 +2650,7 @@ ...@@ -2653,7 +2650,7 @@
1, 1,
1, 1,
1, 1,
0 1
] ]
}, },
"_eulerAngles": { "_eulerAngles": {
...@@ -2685,9 +2682,9 @@ ...@@ -2685,9 +2682,9 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "e46fb0ce-9d6a-4b98-98cc-3983e39c7bc7" "__uuid__": "b6657c26-a60a-41b3-8a72-8e497af6eaa3"
}, },
"_type": 1, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
...@@ -2702,33 +2699,6 @@ ...@@ -2702,33 +2699,6 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": ""
},
{
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 1 "__id__": 1
...@@ -2736,7 +2706,7 @@ ...@@ -2736,7 +2706,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "d6/5G9rO1JQZJKHAE3Ksm1", "fileId": "63ilEVBz1KH5X4ScVPJIVm",
"sync": false "sync": false
}, },
{ {
...@@ -2753,7 +2723,7 @@ ...@@ -2753,7 +2723,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 77 "__id__": 76
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -2802,9 +2772,7 @@ ...@@ -2802,9 +2772,7 @@
"b": 120, "b": 120,
"a": 200 "a": 200
}, },
"_N$normalSprite": { "_N$normalSprite": null,
"__uuid__": "152b9a5c-c309-46cf-a227-d71ef3682577"
},
"_N$pressedSprite": { "_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
}, },
...@@ -2820,9 +2788,7 @@ ...@@ -2820,9 +2788,7 @@
"_N$disabledSprite": { "_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": null,
"__id__": 72
},
"_id": "" "_id": ""
}, },
{ {
...@@ -2832,7 +2798,7 @@ ...@@ -2832,7 +2798,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onRollBackBtnClick", "handler": "onReviewButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -2843,176 +2809,29 @@ ...@@ -2843,176 +2809,29 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "51UFqm+6FLD6xDzyx6NRl9", "fileId": "1dGlLMTZZKpKZRpTw30d69",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 76,
"height": 99
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 30,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 5,
"_top": 393.5,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "absBg2e51NW78RLxxPz1nJ",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "AutoPlayNode", "_name": "SkipButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 1 "__id__": 70
}, },
"_children": [ "_children": [
{ {
"__id__": 83 "__id__": 79
},
{
"__id__": 90
},
{
"__id__": 97
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104
},
{
"__id__": 105
}
],
"_prefab": {
"__id__": 106
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
340,
-570,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ReviewButton",
"_objFlags": 0,
"_parent": {
"__id__": 82 "__id__": 82
},
"_children": [
{
"__id__": 84
}
],
"_active": true,
"_components": [
{
"__id__": 87
} }
], ],
"_prefab": { "_prefab": {
"__id__": 89 "__id__": 84
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3036,7 +2855,7 @@ ...@@ -3036,7 +2855,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-250, -150,
0, 0,
0, 0,
0, 0,
...@@ -3063,20 +2882,20 @@ ...@@ -3063,20 +2882,20 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ReviewIconSprite", "_name": "SkipIconSprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 78
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 80
} }
], ],
"_prefab": { "_prefab": {
"__id__": 86 "__id__": 81
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3089,7 +2908,7 @@ ...@@ -3089,7 +2908,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 62, "width": 62,
"height": 93 "height": 94
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3130,7 +2949,7 @@ ...@@ -3130,7 +2949,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3141,7 +2960,7 @@ ...@@ -3141,7 +2960,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "b6657c26-a60a-41b3-8a72-8e497af6eaa3" "__uuid__": "3851572b-705e-4224-ad3d-823bd9158197"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3165,7 +2984,7 @@ ...@@ -3165,7 +2984,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "63ilEVBz1KH5X4ScVPJIVm", "fileId": "0buDqaaZ5IyLPmeOXWLtb0",
"sync": false "sync": false
}, },
{ {
...@@ -3173,7 +2992,7 @@ ...@@ -3173,7 +2992,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3182,7 +3001,7 @@ ...@@ -3182,7 +3001,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 88 "__id__": 83
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -3257,7 +3076,7 @@ ...@@ -3257,7 +3076,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onReviewButtonClick", "handler": "onSkipButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -3268,29 +3087,29 @@ ...@@ -3268,29 +3087,29 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "1dGlLMTZZKpKZRpTw30d69", "fileId": "81xcvD51VH4ZSd5t5iyWAf",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "SkipButton", "_name": "AutoPlayButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 82 "__id__": 70
}, },
"_children": [ "_children": [
{ {
"__id__": 91 "__id__": 86
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 89
} }
], ],
"_prefab": { "_prefab": {
"__id__": 96 "__id__": 91
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3314,7 +3133,7 @@ ...@@ -3314,7 +3133,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-150, -50,
0, 0,
0, 0,
0, 0,
...@@ -3341,20 +3160,20 @@ ...@@ -3341,20 +3160,20 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "SkipIconSprite", "_name": "AutoIconSprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 85
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 92 "__id__": 87
} }
], ],
"_prefab": { "_prefab": {
"__id__": 93 "__id__": 88
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3366,8 +3185,8 @@ ...@@ -3366,8 +3185,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 62, "width": 59,
"height": 94 "height": 95
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3408,7 +3227,7 @@ ...@@ -3408,7 +3227,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3419,7 +3238,7 @@ ...@@ -3419,7 +3238,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "3851572b-705e-4224-ad3d-823bd9158197" "__uuid__": "30836006-6c67-4b01-a094-eaae32dc71e6"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3443,7 +3262,7 @@ ...@@ -3443,7 +3262,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "0buDqaaZ5IyLPmeOXWLtb0", "fileId": "39HasPy/pHOqwaLk+kth6N",
"sync": false "sync": false
}, },
{ {
...@@ -3451,7 +3270,7 @@ ...@@ -3451,7 +3270,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3460,7 +3279,7 @@ ...@@ -3460,7 +3279,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 95 "__id__": 90
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -3535,7 +3354,7 @@ ...@@ -3535,7 +3354,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onSkipButtonClick", "handler": "onAutoPlayButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -3546,93 +3365,101 @@ ...@@ -3546,93 +3365,101 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "81xcvD51VH4ZSd5t5iyWAf", "fileId": "2bd7Y6E2pCP6GGuihubFLG",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Layout",
"_name": "AutoPlayButton", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 82 "__id__": 70
},
"_children": [
{
"__id__": 98
}
],
"_active": true,
"_components": [
{
"__id__": 101
}
],
"_prefab": {
"__id__": 103
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_contentSize": { "_enabled": true,
"_layoutSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 300,
"height": 100 "height": 100
}, },
"_anchorPoint": { "_resize": 1,
"__type__": "cc.Vec2", "_N$layoutType": 1,
"x": 0.5, "_N$cellSize": {
"y": 0.5 "__type__": "cc.Size",
"width": 40,
"height": 40
}, },
"_trs": { "_N$startAxis": 0,
"__type__": "TypedArray", "_N$paddingLeft": 0,
"ctor": "Float64Array", "_N$paddingRight": 0,
"array": [ "_N$paddingTop": 0,
-50, "_N$paddingBottom": 0,
0, "_N$spacingX": 0,
0, "_N$spacingY": 0,
0, "_N$verticalDirection": 1,
0, "_N$horizontalDirection": 0,
0, "_N$affectedByScale": false,
1, "_id": ""
1,
1,
0
]
}, },
"_eulerAngles": { {
"__type__": "cc.Vec3", "__type__": "cc.Widget",
"x": 0, "_name": "",
"y": 0, "_objFlags": 0,
"z": 0 "node": {
"__id__": 70
}, },
"_skewX": 0, "_enabled": true,
"_skewY": 0, "alignMode": 1,
"_is3DNode": false, "_target": null,
"_groupIndex": 0, "_alignFlags": 36,
"groupIndex": 0, "_left": 0,
"_right": 20,
"_top": 0,
"_bottom": 20,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "0cxc9yCZxCU4mrNUmn5uhj",
"sync": false
},
{
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "AutoIconSprite", "_name": "EffectBackground",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 97 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 96
},
{
"__id__": 97
},
{
"__id__": 98
} }
], ],
"_prefab": { "_prefab": {
"__id__": 100 "__id__": 99
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3644,8 +3471,8 @@ ...@@ -3644,8 +3471,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 59, "width": 720,
"height": 95 "height": 1280
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3686,7 +3513,7 @@ ...@@ -3686,7 +3513,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 98 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3697,10 +3524,10 @@ ...@@ -3697,10 +3524,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "30836006-6c67-4b01-a094-eaae32dc71e6" "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3714,6 +3541,43 @@ ...@@ -3714,6 +3541,43 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 40,
"_originalHeight": 36,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 1 "__id__": 1
...@@ -3721,909 +3585,36 @@ ...@@ -3721,909 +3585,36 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "39HasPy/pHOqwaLk+kth6N", "fileId": "12v3EeXh9DgI6njztQPnr0",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 1
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "alignMode": 1,
"_grayMaterial": null, "_target": null,
"duration": 0.1, "_alignFlags": 45,
"zoomScale": 1.2, "_left": 0,
"clickEvents": [ "_right": 0,
{ "_top": 0,
"__id__": 102 "_bottom": 0,
} "_verticalCenter": 0,
], "_horizontalCenter": 0,
"_N$interactable": true, "_isAbsLeft": true,
"_N$enableAutoGrayEffect": false, "_isAbsRight": true,
"_N$transition": 3, "_isAbsTop": true,
"transition": 3, "_isAbsBottom": true,
"_N$normalColor": { "_isAbsHorizontalCenter": true,
"__type__": "cc.Color", "_isAbsVerticalCenter": true,
"r": 230, "_originalWidth": 0,
"g": 230, "_originalHeight": 0,
"b": 230, "_id": ""
"a": 255 },
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": null,
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onAutoPlayButtonClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "2bd7Y6E2pCP6GGuihubFLG",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 300,
"height": 100
},
"_resize": 1,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 20,
"_top": 0,
"_bottom": 20,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "0cxc9yCZxCU4mrNUmn5uhj",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ScrollViewRoot",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 108
}
],
"_active": false,
"_components": [
{
"__id__": 118
},
{
"__id__": 119
},
{
"__id__": 120
}
],
"_prefab": {
"__id__": 122
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ScrollView",
"_objFlags": 0,
"_parent": {
"__id__": 107
},
"_children": [
{
"__id__": 109
}
],
"_active": true,
"_components": [
{
"__id__": 115
},
{
"__id__": 116
}
],
"_prefab": {
"__id__": 117
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 613
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
75,
280,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "view",
"_objFlags": 512,
"_parent": {
"__id__": 108
},
"_children": [
{
"__id__": 110
}
],
"_active": true,
"_components": [
{
"__id__": 113
}
],
"_prefab": {
"__id__": 114
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-75,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "content",
"_objFlags": 512,
"_parent": {
"__id__": 109
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
}
],
"_prefab": {
"__id__": 112
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.2,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-75,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 280,
"height": 500
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 20,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "31+YS9mlZDFKdyT20C7l2w",
"sync": false
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "431NDOwFRLyKzjTDC2a9Dt",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a28ef11-f91d-4b1f-978d-136b44068f85"
},
"_type": 1,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"horizontal": false,
"vertical": true,
"inertia": true,
"brake": 0.75,
"elastic": false,
"bounceDuration": 0.23,
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 110
},
"content": {
"__id__": 110
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "5aV6dR/iVLeaO/Y3sRmcTq",
"sync": false
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 121
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onRollBackBtnClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "f5VKXNAa9KHr7WzY5HQBaR",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "EffectBackground",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 124
},
{
"__id__": 125
},
{
"__id__": 126
}
],
"_prefab": {
"__id__": 127
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 40,
"_originalHeight": 36,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "12v3EeXh9DgI6njztQPnr0",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{ {
"__type__": "cde0eYIOglPmryVmu4xFcNP", "__type__": "cde0eYIOglPmryVmu4xFcNP",
"_name": "", "_name": "",
...@@ -4636,7 +3627,7 @@ ...@@ -4636,7 +3627,7 @@
"__id__": 3 "__id__": 3
}, },
"effectBackgroundSprite": { "effectBackgroundSprite": {
"__id__": 124 "__id__": 96
}, },
"portraitSprite": { "portraitSprite": {
"__id__": 6 "__id__": 6
...@@ -4669,25 +3660,16 @@ ...@@ -4669,25 +3660,16 @@
"__id__": 18 "__id__": 18
}, },
"typewriter": { "typewriter": {
"__id__": 130 "__id__": 102
},
"rollBackBtn": {
"__id__": 71
}, },
"chapterBtn": { "chapterBtn": {
"__uuid__": "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a" "__uuid__": "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a"
}, },
"scrollViewRootNode": {
"__id__": 107
},
"contentNode": {
"__id__": 110
},
"skipButtonNode": { "skipButtonNode": {
"__id__": 90 "__id__": 78
}, },
"autoPlayButtonNode": { "autoPlayButtonNode": {
"__id__": 97 "__id__": 85
}, },
"autoPlaySpriteFrame": [ "autoPlaySpriteFrame": [
{ {
......
...@@ -46,14 +46,10 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -46,14 +46,10 @@ let DatingSceneViewImpl = /** @class */ (() => {
this.backRedDot = CCDummyObjects_1.DummyNode; this.backRedDot = CCDummyObjects_1.DummyNode;
this.backBtnNode = CCDummyObjects_1.DummyNode; this.backBtnNode = CCDummyObjects_1.DummyNode;
this.endTipNode = CCDummyObjects_1.DummyNode; this.endTipNode = CCDummyObjects_1.DummyNode;
// @property(cc.Node)
// private closeActNode = DummyNode;
this.arrowguideNode = CCDummyObjects_1.DummyNode; this.arrowguideNode = CCDummyObjects_1.DummyNode;
this.otherNameSpr = CCDummyObjects_1.DummySprite; this.otherNameSpr = CCDummyObjects_1.DummySprite;
this.typewriter = undefined; this.typewriter = undefined;
this.rollBackBtn = CCDummyObjects_1.DummyNode;
this.chapterBtn = CCDummyObjects_1.DummyPrefab; this.chapterBtn = CCDummyObjects_1.DummyPrefab;
this.scrollViewRootNode = CCDummyObjects_1.DummyNode;
this.skipButtonNode = CCDummyObjects_1.DummyNode; this.skipButtonNode = CCDummyObjects_1.DummyNode;
this.autoPlayButtonNode = CCDummyObjects_1.DummyNode; this.autoPlayButtonNode = CCDummyObjects_1.DummyNode;
this.autoPlaySpriteFrame = []; this.autoPlaySpriteFrame = [];
...@@ -85,18 +81,9 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -85,18 +81,9 @@ let DatingSceneViewImpl = /** @class */ (() => {
} }
} }
}; };
this.getScrollViewRootNode = () => {
return this.scrollViewRootNode;
};
this.getScrollViewContentNode = () => {
return this.contentNode;
};
this.getChapterBtn = () => { this.getChapterBtn = () => {
return this.chapterBtn; return this.chapterBtn;
}; };
this.showRollBackBtn = (isShow) => {
this.rollBackBtn.active = isShow;
};
} }
/** /**
* 是否显示返回按钮 * 是否显示返回按钮
...@@ -417,33 +404,6 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -417,33 +404,6 @@ let DatingSceneViewImpl = /** @class */ (() => {
} }
runCloseAction() { runCloseAction() {
this.closeView(); this.closeView();
// this.setIsRunningAction(true);
// this.closeActNode.stopAllActions();
// this.closeActNode.scale = 1;
// this.closeActNode.opacity = 0;
// this.closeActNode.active = true;
// this.backBtnNode.active = false;
// let actTime: number = 1;
// let tempX: number = 0;
// let tempY: number = 0;
// let tempR: number = 0;
// let tempS: number = this.node.width / this.closeActNode.width;
// let easeS: cc.Easing = cc.easeSineOut();
// let moveAct = cc.moveTo(actTime, cc.v2(tempX, tempY)).easing(easeS);
// let fadeInAct = cc.fadeIn(actTime).easing(easeS);
// let scaleAct = cc.scaleTo(actTime / 2, tempS).easing(easeS);
// let rotationAct = cc.rotateTo(actTime / 2, tempR).easing(easeS);
// let call = cc.callFunc(() => {
// this.closeView();
// });
// let spawnMF = cc.spawn(moveAct, fadeInAct);
// let spawnSR = cc.spawn(scaleAct, rotationAct);
// let seq = cc.sequence(spawnMF, spawnSR, call);
// this.closeActNode.runAction(seq);
}
onRollBackBtnClick() {
this.resetAutoPlayButtonState();
this.onRollBackBtnCallback();
} }
onRefreshAllStatus() { onRefreshAllStatus() {
this.closeAction(); this.closeAction();
...@@ -524,19 +484,10 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -524,19 +484,10 @@ let DatingSceneViewImpl = /** @class */ (() => {
property(Typewriter_1.default) property(Typewriter_1.default)
], DatingSceneViewImpl.prototype, "typewriter", void 0); ], DatingSceneViewImpl.prototype, "typewriter", void 0);
__decorate([ __decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "rollBackBtn", void 0);
__decorate([
property(cc.Prefab) property(cc.Prefab)
], DatingSceneViewImpl.prototype, "chapterBtn", void 0); ], DatingSceneViewImpl.prototype, "chapterBtn", void 0);
__decorate([ __decorate([
property(cc.Node) property(cc.Node)
], DatingSceneViewImpl.prototype, "scrollViewRootNode", void 0);
__decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "contentNode", void 0);
__decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "skipButtonNode", void 0); ], DatingSceneViewImpl.prototype, "skipButtonNode", void 0);
__decorate([ __decorate([
property(cc.Node) property(cc.Node)
......
{"version":3,"sources":["assets/script/game/ui/view/impl/dating/DatingSceneViewImpl.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2EAAoE;AACpE,gEAAkF;AAClF,4EAA0D;AAC1D,yEAA2F;AAC3F,yDAA6C;AAC7C,4EAAqE;AACrE,gGAAyF;AACzF,0DAAuD;AACvD,yEAAsE;AAEtE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAE5C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,mDAAS,CAAA;IACT,yDAAQ,CAAA;AACZ,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,+CAAQ,CAAA;IACR,qDAAO,CAAA;AACX,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAID;IAAA,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,mBAAM;QAA/C;;YACI,yBAAyB;YAEjB,qBAAgB,GAAG,4BAAW,CAAC;YAE/B,2BAAsB,GAAG,4BAAW,CAAC;YAErC,mBAAc,GAAG,4BAAW,CAAC;YAE7B,sBAAiB,GAAG,4BAAW,CAAC;YAEhC,oBAAe,GAAG,0BAAS,CAAC;YAE5B,mBAAc,G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AC,EAAE,CAAC,IAAI,CAAC;+DACiB;IAEnC;QADC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC;mEACqB;IAEvC;QADC,QAAQ,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;oEACM;IAlDxB,mBAAmB;QAF/B,OAAO;QACP,gCAAO,CAAC,qCAAmB,EAAE,2BAA2B,CAAC;OAC7C,mBAAmB,CA6f/B;IAAD,0BAAC;KAAA;AA7fY,kDAAmB","file":"","sourceRoot":"/","sourcesContent":["import { CCView } from \"../../../../../common/classbase/CCViewBase\";\nimport { DatingSceneView, DatingSceneViewType } from \"../../type/DatingSceneView\";\nimport { RegView } from \"../../../PresenterCCViewFactory\";\nimport { DummySprite, DummyNode, DummyPrefab } from \"../../../../../common/CCDummyObjects\";\nimport { ResUtils } from \"simba-cc-resutils\";\nimport Typewriter from \"../../../../../common/components/Typewriter\";\nimport PortraitFixComponent from \"../../../../../common/components/PortraitFixComponent\";\nimport { GameConfig } from \"../../../../../GameConfig\";\nimport { GameModelManager } from \"../../../../model/GameModelManager\";\n\nconst { ccclass, property } = cc._decorator;\n\nexport enum AutoPlayState {\n Close = 0,\n AutoPlay\n}\n\nexport enum AutoPlayType {\n Skip = 0,\n Speedx1\n}\n\n@ccclass\n@RegView(DatingSceneViewType, \"prefab/ui/DatingSceneView\")\nexport class DatingSceneViewImpl extends CCView implements DatingSceneView {\n //#region editor bindings\n @property(cc.Sprite)\n private backgroundSprite = DummySprite;\n @property(cc.Sprite)\n private effectBackgroundSprite = DummySprite;\n @property(cc.Sprite)\n private portraitSprite = DummySprite;\n @property(cc.Sprite)\n private selfSmallPortrait = DummySprite;\n @property(cc.Node)\n private otherDialogNode = DummyNode;\n @property(cc.Node)\n private selfDialogNode = DummyNode;\n @property(cc.Node)\n private narratorDialogNode = DummyNode;\n @property(cc.Node)\n private backRedDot = DummyNode;\n\n @property(cc.Node)\n private backBtnNode = DummyNode;\n\n @property(cc.Node)\n private endTipNode = DummyNode;\n\n // @property(cc.Node)\n // private closeActNode = DummyNode;\n\n @property(cc.Node)\n private arrowguideNode = DummyNode;\n\n @property(cc.Sprite)\n private otherNameSpr = DummySprite;\n\n @property(Typewriter)\n private typewriter: Typewriter = undefined as unknown as Typewriter;\n\n @property(cc.Node)\n private rollBackBtn = DummyNode;\n @property(cc.Prefab)\n private chapterBtn = DummyPrefab;\n @property(cc.Node)\n private scrollViewRootNode = DummyNode;\n @property(cc.Node)\n private contentNode;\n @property(cc.Node)\n private skipButtonNode = DummyNode;\n @property(cc.Node)\n private autoPlayButtonNode = DummyNode;\n @property([cc.SpriteFrame])\n private autoPlaySpriteFrame = [];\n\n\n private _originPos: cc.Vec3 = cc.v3(-265, 68, 0);\n\n private _isRunCloseAction: boolean = false;\n\n private _isRunningAction: boolean = false;\n\n private _contentText: string = \"\";\n private _autoPlayTimer: number = -1;\n private _skipButtonState: number = 0;\n private _autoPlayButtonState: number = 0;\n private _autoPlayState: number = -1;\n private _autoPlaySpeed: number = 1;\n private _textTyperIsOver: boolean = true;\n private _isSpecialEffect: boolean = false;\n\n /**\n * 是否显示返回按钮\n * @param show bool\n */\n showBackBtn(show: boolean) {\n this.backBtnNode!.active = show;\n if (show) {\n this.backBtnNode.getComponent(cc.Widget).updateAlignment();\n }\n }\n\n closeAction() {\n GameModelManager.setIsMainPlotSceneType(false);\n GameConfig.isVerb = false;\n //清除自动播放计时器\n clearTimeout(this._autoPlayTimer);\n if (this._isRunCloseAction) {\n this.runCloseAction();\n } else if (!this._isRunningAction) {\n this.closeView();\n }\n }\n\n setIsRunningAction = (isRunning: boolean) => {\n this._isRunningAction = isRunning;\n }\n\n closeView() {\n this.backgroundSprite.spriteFrame = undefined as any;\n this.portraitSprite.spriteFrame = undefined as any;\n this.selfSmallPortrait.spriteFrame = undefined as any;\n this.otherDialogNode.active = false;\n this.selfDialogNode.active = false;\n this.narratorDialogNode.active = false;\n this.backRedDot.active = false;\n this.backBtnNode.active = true;\n\n this.endTipNode.stopAllActions();\n this.endTipNode.active = false;\n this.endTipNode.position = this._originPos;\n this.endTipNode.opacity = 255;\n\n this._isRunCloseAction = false;\n // this.closeActNode.active = false;\n this._isRunningAction = false;\n this.arrowguideNode.active = false;\n this.close();\n }\n //#endregion\n\n completePlotCallback: () => Promise<void>;\n onRollBackBtnCallback: () => void;\n onReviewButtonClickCallback: () => void;\n\n onEnable() {\n this.resetAutoPlayButtonState();\n this.node.on(cc.Node.EventType.TOUCH_END, this.touchEndHandler, this);\n }\n\n onDisable() {\n this.node.off(cc.Node.EventType.TOUCH_END, this.touchEndHandler, this);\n }\n\n /**\n * 背景监听回调\n */\n touchEndHandler = async () => {\n if (this._autoPlayState == AutoPlayState.Close) {\n if (this.typewriter.getShowingString() == \"\") {\n if (this.completePlotCallback) await this.completePlotCallback();\n } else {\n this.typewriter.stopTyperShowString()\n }\n }\n }\n\n /**引导返回 */\n guideBack() {\n this.runEndTipAction();\n }\n\n /**\n * 设置约会场景内容\n * @param isSelf 是否是自身\n * @param text 文本内容\n * @param nameSpr \n * @param name 别人名字\n * @param portraitImg 立绘图名字\n * @param otherPortraitImg 其他立绘图名字\n * @param showRouge 是否显示口红\n */\n async setContent(isSelf: boolean, text: string, nameSpr: string, name?: string, portraitImg?: string, otherPortraitImg?: string, showRouge?: boolean): Promise<void> {\n let promises: Promise<any>[] = [];\n if (!((isSelf && otherPortraitImg) || portraitImg)) { // 防止切换过程中闪\n this.portraitSprite.spriteFrame = undefined as any;\n }\n if (portraitImg) {\n if (isSelf) {\n let portraitPath = portraitImg.substring(0, portraitImg.lastIndexOf(\"/\") + 1);\n let faceId = portraitImg.substring(portraitImg.lastIndexOf(\"/\") + 1, portraitImg.length);\n portraitImg = portraitPath + \"1/\" + faceId;\n }\n promises.push(ResUtils.loadRes(portraitImg, cc.SpriteFrame).then((sf) => {\n if (this.node.active) {\n if (isSelf) {\n this.selfSmallPortrait.spriteFrame = sf;\n } else {\n this.portraitSprite.spriteFrame = sf;\n this.fixScreenSize();\n }\n }\n }));\n }\n if (isSelf && otherPortraitImg) {\n promises.push(ResUtils.loadRes(otherPortraitImg, cc.SpriteFrame).then((sf) => {\n this.portraitSprite.spriteFrame = sf;\n this.fixScreenSize();\n }));\n }\n if (nameSpr && !isSelf && \"\" !== nameSpr.trim()) {\n promises.push(ResUtils.loadRes(nameSpr, cc.SpriteFrame).then((sf) => {\n this.otherNameSpr.spriteFrame = sf;\n }));\n }\n this.otherDialogNode.active = false;\n this.selfDialogNode.active = false;\n this.narratorDialogNode.active = false;\n // let rougeNode = this.selfDialogNode.getChildByName(\"rouge\");\n // let perTime = 0.05;\n if (text) {\n // let time = perTime * text.length;\n this._contentText = text;\n this._textTyperIsOver = false;\n if (isSelf) { // 自己\n this.selfDialogNode.active = true;\n // this.selfDialogNode.children[0].getComponent(cc.Label).string = name!;\n // this.selfDialogNode.children[1].getComponent(cc.RichText).string = text;\n this.typewriter.showRichTextTyper(this.selfDialogNode.children[0].getComponent(cc.RichText), text,\n () => {\n this._textTyperIsOver = true;\n }, () => { }, this._autoPlaySpeed\n );\n // promises.push(AnimationUtils.ActionTypeWriter(this.selfDialogNode.children[1].getComponent(cc.RichText), text, time));\n // if (rougeNode) {\n // rougeNode.active = showRouge ? true : false;\n // }\n } else if (name) { // 别人\n this.otherDialogNode.active = true;\n // this.otherDialogNode.children[0].getComponent(cc.Label).string = name!;\n // this.otherDialogNode.children[1].getComponent(cc.RichText).string = text;\n this.typewriter.showRichTextTyper(this.otherDialogNode.children[0].getComponent(cc.RichText), text,\n () => {\n this._textTyperIsOver = true;\n }, () => { }, this._autoPlaySpeed\n );\n // promises.push(AnimationUtils.ActionTypeWriter(this.otherDialogNode.children[1].getComponent(cc.RichText), text, time));\n } else { // 旁白\n this.narratorDialogNode.active = true;\n // this.narratorDialogNode.children[0].getComponent(cc.RichText).string = text;\n this.typewriter.showRichTextTyper(this.narratorDialogNode.children[0].getComponent(cc.RichText), text,\n () => {\n this._textTyperIsOver = true;\n }, () => { }, this._autoPlaySpeed\n );\n // promises.push(AnimationUtils.ActionTypeWriter(this.narratorDialogNode.children[0].getComponent(cc.RichText), text, time));\n }\n }\n try {\n await Promise.all(promises);\n } catch (e) {\n console.error(e);\n }\n }\n\n resetAutoPlayButtonState() {\n this._autoPlaySpeed = 1;\n this._autoPlayState = AutoPlayState.Close;\n this._skipButtonState = AutoPlayState.Close;\n this._autoPlayButtonState = AutoPlayState.Close;\n this.changeSkipButtonState(this._autoPlayState);\n this.changeAutoPlayButtonState(this._autoPlayState);\n }\n\n changeSkipButtonState(state: AutoPlayState) {\n let skipLabel = this.skipButtonNode.getComponentInChildren(cc.Sprite);\n if (state == AutoPlayState.Close) {\n skipLabel.spriteFrame = this.autoPlaySpriteFrame[2];\n } else {\n skipLabel.spriteFrame = this.autoPlaySpriteFrame[3];\n }\n }\n\n changeAutoPlayButtonState(state: AutoPlayState) {\n let autoPlaySprite = this.autoPlayButtonNode.getComponentInChildren(cc.Sprite);\n if (state == AutoPlayState.Close) {\n autoPlaySprite.spriteFrame = this.autoPlaySpriteFrame[0];\n } else {\n autoPlaySprite.spriteFrame = this.autoPlaySpriteFrame[1];\n }\n }\n\n /**\n * 开始自动播放计时器\n * @param startNow 是否不进行延时,立即执行下一步,适用于玩家点击自动播放按钮之后,无需等待\n */\n startAutoPlayTimer(startNow: boolean = false) {\n let interval: number = 0;\n if (!startNow) {\n //时间间隔的计算方法,如果startNow为true的话,不进行延时,时间为0,否则:\n //(文本长度 * 50ms / this._autoPlaySpeed)表示文本走完打字机效果所需要的时间\n //(文本长度 * 60ms / this._autoPlaySpeed)表示文本完全展示之后展示停留的时间\n interval = ((this._contentText.length * 50) / this._autoPlaySpeed) + ((this._contentText.length * 60) / this._autoPlaySpeed);\n }\n this._autoPlayTimer = window.setTimeout(async () => {\n if (this._autoPlayState == AutoPlayState.AutoPlay) {\n if (this._textTyperIsOver && !this._isSpecialEffect) {\n if (this.completePlotCallback) await this.completePlotCallback();\n }\n this.startAutoPlayTimer();\n } else {\n clearTimeout(this._autoPlayTimer);\n }\n }, interval);\n }\n\n fixScreenSize() {\n let comp = this.portraitSprite.node.getComponent(PortraitFixComponent);\n if (comp) {\n comp.fixScreenSize(true);\n }\n }\n\n /**\n * 设置背景\n * @param bgImage 背景路径\n */\n async setBackground(bgImage: string) {\n if (!bgImage) {\n this.backgroundSprite.spriteFrame = undefined as any;\n } else {\n try {\n this.backgroundSprite.node.opacity = 255;\n let sf = await ResUtils.loadRes(bgImage, cc.SpriteFrame);\n this.backgroundSprite.spriteFrame = sf;\n this.backgroundSprite.node.height = this.node.height;\n this.backgroundSprite.node.width = sf.getOriginalSize().width / sf.getOriginalSize().height * this.node.height;\n } catch (e) {\n console.error(e);\n }\n }\n }\n\n /**\n * 设置背景(特殊效果)\n * @param bgImage 背景路径\n */\n async setBackgroundEffect(bgImage: string) {\n this._isSpecialEffect = true;\n let dialogNodesActive: boolean[] = [this.otherDialogNode.active, this.selfDialogNode.active, this.narratorDialogNode.active];\n this.otherDialogNode.active = false;\n this.selfDialogNode.active = false;\n this.narratorDialogNode.active = false;\n if (!bgImage) {\n this.backgroundSprite.node.opacity = 255;\n cc.tween(this.backgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(() => {\n this.backgroundSprite.spriteFrame = undefined as any;\n this.otherDialogNode.active = dialogNodesActive[0];\n this.selfDialogNode.active = dialogNodesActive[1];\n this.narratorDialogNode.active = dialogNodesActive[2];\n }).start();\n if (this.backgroundSprite.spriteFrame) {\n this.effectBackgroundSprite.node.active = true;\n this.effectBackgroundSprite.node.opacity = 255;\n cc.tween(this.effectBackgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(() => {\n this.effectBackgroundSprite.node.active = false;\n this._isSpecialEffect = false;\n }).start();\n }\n } else {\n try {\n this.effectBackgroundSprite.node.active = true;\n this.effectBackgroundSprite.node.opacity = 0;\n cc.tween(this.effectBackgroundSprite.node)\n .to(1, { opacity: 255 })\n .call(() => {\n cc.tween(this.effectBackgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(() => {\n this.effectBackgroundSprite.node.active = false;\n }).start();\n }).start();\n cc.tween(this.backgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(async () => {\n let sf = await ResUtils.loadRes(bgImage, cc.SpriteFrame);\n this.backgroundSprite.spriteFrame = sf;\n this.backgroundSprite.node.height = this.node.height;\n this.backgroundSprite.node.width = sf.getOriginalSize().width / sf.getOriginalSize().height * this.node.height;\n cc.tween(this.backgroundSprite.node)\n .to(1, { opacity: 255 })\n .call(() => {\n this.otherDialogNode.active = dialogNodesActive[0];\n this.selfDialogNode.active = dialogNodesActive[1];\n this.narratorDialogNode.active = dialogNodesActive[2];\n this._isSpecialEffect = false;\n }).start();\n }).start();\n } catch (e) {\n console.error(e);\n }\n }\n }\n\n runEndTipAction() {\n this.setIsRunningAction(true);\n let offsetY: number = 300;\n let actTime: number = 1.5;\n this.endTipNode.stopAllActions();\n this.endTipNode.active = true;\n this.endTipNode.scale = 1;\n this.endTipNode.opacity = 255;\n this.endTipNode.position = cc.v3(-265, this._originPos.y - offsetY, 0);\n this.endTipNode.opacity = 0;\n\n let ease = cc.easeSineInOut();\n let moveAct = cc.moveTo(actTime, cc.v2(-265, this._originPos.y)).easing(ease);\n let fadeInAct = cc.fadeIn(actTime).easing(ease);\n let spawn = cc.spawn(moveAct, fadeInAct);\n\n let call = cc.callFunc(() => {\n this.backRedDot.active = true;\n\n // if (!this._isRunCloseAction) {\n // SDK.showInterstitialAd();\n // }\n this.setIsRunningAction(false);\n });\n\n let showArrowGuideCall = cc.callFunc(() => {\n this.arrowguideNode.active = true;\n });\n let actTime2: number = 2;\n let seq = cc.sequence(spawn, call, cc.spawn(cc.moveTo(1, cc.v2(this.backBtnNode.position.x, this.backBtnNode.position.y)), cc.scaleTo(actTime2, 0)), showArrowGuideCall);\n\n this.endTipNode.runAction(seq);\n }\n\n setRunCloseAction(run: boolean) {\n this._isRunCloseAction = run;\n }\n\n runCloseAction() {\n this.closeView();\n // this.setIsRunningAction(true);\n // this.closeActNode.stopAllActions();\n // this.closeActNode.scale = 1;\n // this.closeActNode.opacity = 0;\n // this.closeActNode.active = true;\n // this.backBtnNode.active = false;\n // let actTime: number = 1;\n // let tempX: number = 0;\n // let tempY: number = 0;\n // let tempR: number = 0;\n // let tempS: number = this.node.width / this.closeActNode.width;\n // let easeS: cc.Easing = cc.easeSineOut();\n // let moveAct = cc.moveTo(actTime, cc.v2(tempX, tempY)).easing(easeS);\n // let fadeInAct = cc.fadeIn(actTime).easing(easeS);\n // let scaleAct = cc.scaleTo(actTime / 2, tempS).easing(easeS);\n // let rotationAct = cc.rotateTo(actTime / 2, tempR).easing(easeS);\n // let call = cc.callFunc(() => {\n // this.closeView();\n // });\n // let spawnMF = cc.spawn(moveAct, fadeInAct);\n // let spawnSR = cc.spawn(scaleAct, rotationAct);\n // let seq = cc.sequence(spawnMF, spawnSR, call);\n // this.closeActNode.runAction(seq);\n }\n\n getScrollViewRootNode = (): cc.Node => {\n return this.scrollViewRootNode;\n }\n\n getScrollViewContentNode = (): cc.Node => {\n return this.contentNode;\n }\n\n getChapterBtn = (): cc.Prefab => {\n return this.chapterBtn;\n }\n onRollBackBtnClick() {\n this.resetAutoPlayButtonState();\n this.onRollBackBtnCallback();\n }\n\n showRollBackBtn = (isShow: boolean) => {\n this.rollBackBtn.active = isShow;\n }\n\n onRefreshAllStatus() {\n this.closeAction();\n }\n\n onReviewButtonClick() {\n this.resetAutoPlayButtonState();\n clearTimeout(this._autoPlayTimer);\n this.onReviewButtonClickCallback();\n }\n\n onSkipButtonClick() {\n this._skipButtonState = this._skipButtonState == AutoPlayState.Close ? AutoPlayState.AutoPlay : AutoPlayState.Close;\n this._autoPlayState = this._skipButtonState;\n if (this._autoPlayState == AutoPlayState.AutoPlay) {\n this._autoPlaySpeed = 20;\n this.startAutoPlayTimer(true);\n this.changeSkipButtonState(this._autoPlayState);\n this.changeAutoPlayButtonState(AutoPlayState.Close);\n this._autoPlayButtonState = AutoPlayState.Close;\n } else {\n this.resetAutoPlayButtonState();\n clearTimeout(this._autoPlayTimer);\n }\n }\n\n onAutoPlayButtonClick() {\n this._autoPlayButtonState = this._autoPlayButtonState == AutoPlayState.Close ? AutoPlayState.AutoPlay : AutoPlayState.Close;\n this._autoPlayState = this._autoPlayButtonState;\n if (this._autoPlayState == AutoPlayState.AutoPlay) {\n this._autoPlaySpeed = 1;\n this.startAutoPlayTimer(true);\n this.changeSkipButtonState(AutoPlayState.Close);\n this.changeAutoPlayButtonState(this._autoPlayState);\n this._skipButtonState = AutoPlayState.Close;\n } else {\n this.resetAutoPlayButtonState();\n clearTimeout(this._autoPlayTimer);\n }\n }\n}\n"]} {"version":3,"sources":["assets/script/game/ui/view/impl/dating/DatingSceneViewImpl.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2EAAoE;AACpE,gEAAkF;AAClF,4EAA0D;AAC1D,yEAA2F;AAC3F,yDAA6C;AAC7C,4EAAqE;AACrE,gGAAyF;AACzF,0DAAuD;AACvD,yEAAsE;AAEtE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAE5C,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,mDAAS,CAAA;IACT,yDAAQ,CAAA;AACZ,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,+CAAQ,CAAA;IACR,qDAAO,CAAA;AACX,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAID;IAAA,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,mBAAM;QAA/C;;YACI,yBAAyB;YAEjB,qBAAgB,GAAG,4BAAW,CAAC;YAE/B,2BAAsB,GAAG,4BAAW,CAAC;YAErC,mBAAc,GAAG,4BAAW,CAAC;YAE7B,sBAAiB,GAAG,4BAAW,CAAC;YAEhC,oBAAe,GAAG,0BAAS,CAAC;YAE5B,mBAAc,GAAG,0BAAS,CAAC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Q,CAAC,EAAE,CAAC,IAAI,CAAC;+DACiB;IAGnC;QADC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC;6DACe;IAGnC;QADC,QAAQ,CAAC,oBAAU,CAAC;2DAC+C;IAGpE;QADC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC;2DACa;IAEjC;QADC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC;+DACiB;IAEnC;QADC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC;mEACqB;IAEvC;QADC,QAAQ,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;oEACM;IAzCxB,mBAAmB;QAF/B,OAAO;QACP,gCAAO,CAAC,qCAAmB,EAAE,2BAA2B,CAAC;OAC7C,mBAAmB,CA6c/B;IAAD,0BAAC;KAAA;AA7cY,kDAAmB","file":"","sourceRoot":"/","sourcesContent":["import { CCView } from \"../../../../../common/classbase/CCViewBase\";\nimport { DatingSceneView, DatingSceneViewType } from \"../../type/DatingSceneView\";\nimport { RegView } from \"../../../PresenterCCViewFactory\";\nimport { DummySprite, DummyNode, DummyPrefab } from \"../../../../../common/CCDummyObjects\";\nimport { ResUtils } from \"simba-cc-resutils\";\nimport Typewriter from \"../../../../../common/components/Typewriter\";\nimport PortraitFixComponent from \"../../../../../common/components/PortraitFixComponent\";\nimport { GameConfig } from \"../../../../../GameConfig\";\nimport { GameModelManager } from \"../../../../model/GameModelManager\";\n\nconst { ccclass, property } = cc._decorator;\n\nexport enum AutoPlayState {\n Close = 0,\n AutoPlay\n}\n\nexport enum AutoPlayType {\n Skip = 0,\n Speedx1\n}\n\n@ccclass\n@RegView(DatingSceneViewType, \"prefab/ui/DatingSceneView\")\nexport class DatingSceneViewImpl extends CCView implements DatingSceneView {\n //#region editor bindings\n @property(cc.Sprite)\n private backgroundSprite = DummySprite;\n @property(cc.Sprite)\n private effectBackgroundSprite = DummySprite;\n @property(cc.Sprite)\n private portraitSprite = DummySprite;\n @property(cc.Sprite)\n private selfSmallPortrait = DummySprite;\n @property(cc.Node)\n private otherDialogNode = DummyNode;\n @property(cc.Node)\n private selfDialogNode = DummyNode;\n @property(cc.Node)\n private narratorDialogNode = DummyNode;\n @property(cc.Node)\n private backRedDot = DummyNode;\n\n @property(cc.Node)\n private backBtnNode = DummyNode;\n\n @property(cc.Node)\n private endTipNode = DummyNode;\n\n @property(cc.Node)\n private arrowguideNode = DummyNode;\n\n @property(cc.Sprite)\n private otherNameSpr = DummySprite;\n\n @property(Typewriter)\n private typewriter: Typewriter = undefined as unknown as Typewriter;\n\n @property(cc.Prefab)\n private chapterBtn = DummyPrefab;\n @property(cc.Node)\n private skipButtonNode = DummyNode;\n @property(cc.Node)\n private autoPlayButtonNode = DummyNode;\n @property([cc.SpriteFrame])\n private autoPlaySpriteFrame = [];\n\n\n private _originPos: cc.Vec3 = cc.v3(-265, 68, 0);\n\n private _isRunCloseAction: boolean = false;\n\n private _isRunningAction: boolean = false;\n\n private _contentText: string = \"\";\n private _autoPlayTimer: number = -1;\n private _skipButtonState: number = 0;\n private _autoPlayButtonState: number = 0;\n private _autoPlayState: number = -1;\n private _autoPlaySpeed: number = 1;\n private _textTyperIsOver: boolean = true;\n private _isSpecialEffect: boolean = false;\n\n /**\n * 是否显示返回按钮\n * @param show bool\n */\n showBackBtn(show: boolean) {\n this.backBtnNode!.active = show;\n if (show) {\n this.backBtnNode.getComponent(cc.Widget).updateAlignment();\n }\n }\n\n closeAction() {\n GameModelManager.setIsMainPlotSceneType(false);\n GameConfig.isVerb = false;\n //清除自动播放计时器\n clearTimeout(this._autoPlayTimer);\n if (this._isRunCloseAction) {\n this.runCloseAction();\n } else if (!this._isRunningAction) {\n this.closeView();\n }\n }\n\n setIsRunningAction = (isRunning: boolean) => {\n this._isRunningAction = isRunning;\n }\n\n closeView() {\n this.backgroundSprite.spriteFrame = undefined as any;\n this.portraitSprite.spriteFrame = undefined as any;\n this.selfSmallPortrait.spriteFrame = undefined as any;\n this.otherDialogNode.active = false;\n this.selfDialogNode.active = false;\n this.narratorDialogNode.active = false;\n this.backRedDot.active = false;\n this.backBtnNode.active = true;\n\n this.endTipNode.stopAllActions();\n this.endTipNode.active = false;\n this.endTipNode.position = this._originPos;\n this.endTipNode.opacity = 255;\n\n this._isRunCloseAction = false;\n // this.closeActNode.active = false;\n this._isRunningAction = false;\n this.arrowguideNode.active = false;\n this.close();\n }\n //#endregion\n\n completePlotCallback: () => Promise<void>;\n onReviewButtonClickCallback: () => void;\n\n onEnable() {\n this.resetAutoPlayButtonState();\n this.node.on(cc.Node.EventType.TOUCH_END, this.touchEndHandler, this);\n }\n\n onDisable() {\n this.node.off(cc.Node.EventType.TOUCH_END, this.touchEndHandler, this);\n }\n\n /**\n * 背景监听回调\n */\n touchEndHandler = async () => {\n if (this._autoPlayState == AutoPlayState.Close) {\n if (this.typewriter.getShowingString() == \"\") {\n if (this.completePlotCallback) await this.completePlotCallback();\n } else {\n this.typewriter.stopTyperShowString()\n }\n }\n }\n\n /**引导返回 */\n guideBack() {\n this.runEndTipAction();\n }\n\n /**\n * 设置约会场景内容\n * @param isSelf 是否是自身\n * @param text 文本内容\n * @param nameSpr \n * @param name 别人名字\n * @param portraitImg 立绘图名字\n * @param otherPortraitImg 其他立绘图名字\n * @param showRouge 是否显示口红\n */\n async setContent(isSelf: boolean, text: string, nameSpr: string, name?: string, portraitImg?: string, otherPortraitImg?: string, showRouge?: boolean): Promise<void> {\n let promises: Promise<any>[] = [];\n if (!((isSelf && otherPortraitImg) || portraitImg)) { // 防止切换过程中闪\n this.portraitSprite.spriteFrame = undefined as any;\n }\n if (portraitImg) {\n if (isSelf) {\n let portraitPath = portraitImg.substring(0, portraitImg.lastIndexOf(\"/\") + 1);\n let faceId = portraitImg.substring(portraitImg.lastIndexOf(\"/\") + 1, portraitImg.length);\n portraitImg = portraitPath + \"1/\" + faceId;\n }\n promises.push(ResUtils.loadRes(portraitImg, cc.SpriteFrame).then((sf) => {\n if (this.node.active) {\n if (isSelf) {\n this.selfSmallPortrait.spriteFrame = sf;\n } else {\n this.portraitSprite.spriteFrame = sf;\n this.fixScreenSize();\n }\n }\n }));\n }\n if (isSelf && otherPortraitImg) {\n promises.push(ResUtils.loadRes(otherPortraitImg, cc.SpriteFrame).then((sf) => {\n this.portraitSprite.spriteFrame = sf;\n this.fixScreenSize();\n }));\n }\n if (nameSpr && !isSelf && \"\" !== nameSpr.trim()) {\n promises.push(ResUtils.loadRes(nameSpr, cc.SpriteFrame).then((sf) => {\n this.otherNameSpr.spriteFrame = sf;\n }));\n }\n this.otherDialogNode.active = false;\n this.selfDialogNode.active = false;\n this.narratorDialogNode.active = false;\n // let rougeNode = this.selfDialogNode.getChildByName(\"rouge\");\n // let perTime = 0.05;\n if (text) {\n // let time = perTime * text.length;\n this._contentText = text;\n this._textTyperIsOver = false;\n if (isSelf) { // 自己\n this.selfDialogNode.active = true;\n // this.selfDialogNode.children[0].getComponent(cc.Label).string = name!;\n // this.selfDialogNode.children[1].getComponent(cc.RichText).string = text;\n this.typewriter.showRichTextTyper(this.selfDialogNode.children[0].getComponent(cc.RichText), text,\n () => {\n this._textTyperIsOver = true;\n }, () => { }, this._autoPlaySpeed\n );\n // promises.push(AnimationUtils.ActionTypeWriter(this.selfDialogNode.children[1].getComponent(cc.RichText), text, time));\n // if (rougeNode) {\n // rougeNode.active = showRouge ? true : false;\n // }\n } else if (name) { // 别人\n this.otherDialogNode.active = true;\n // this.otherDialogNode.children[0].getComponent(cc.Label).string = name!;\n // this.otherDialogNode.children[1].getComponent(cc.RichText).string = text;\n this.typewriter.showRichTextTyper(this.otherDialogNode.children[0].getComponent(cc.RichText), text,\n () => {\n this._textTyperIsOver = true;\n }, () => { }, this._autoPlaySpeed\n );\n // promises.push(AnimationUtils.ActionTypeWriter(this.otherDialogNode.children[1].getComponent(cc.RichText), text, time));\n } else { // 旁白\n this.narratorDialogNode.active = true;\n // this.narratorDialogNode.children[0].getComponent(cc.RichText).string = text;\n this.typewriter.showRichTextTyper(this.narratorDialogNode.children[0].getComponent(cc.RichText), text,\n () => {\n this._textTyperIsOver = true;\n }, () => { }, this._autoPlaySpeed\n );\n // promises.push(AnimationUtils.ActionTypeWriter(this.narratorDialogNode.children[0].getComponent(cc.RichText), text, time));\n }\n }\n try {\n await Promise.all(promises);\n } catch (e) {\n console.error(e);\n }\n }\n\n resetAutoPlayButtonState() {\n this._autoPlaySpeed = 1;\n this._autoPlayState = AutoPlayState.Close;\n this._skipButtonState = AutoPlayState.Close;\n this._autoPlayButtonState = AutoPlayState.Close;\n this.changeSkipButtonState(this._autoPlayState);\n this.changeAutoPlayButtonState(this._autoPlayState);\n }\n\n changeSkipButtonState(state: AutoPlayState) {\n let skipLabel = this.skipButtonNode.getComponentInChildren(cc.Sprite);\n if (state == AutoPlayState.Close) {\n skipLabel.spriteFrame = this.autoPlaySpriteFrame[2];\n } else {\n skipLabel.spriteFrame = this.autoPlaySpriteFrame[3];\n }\n }\n\n changeAutoPlayButtonState(state: AutoPlayState) {\n let autoPlaySprite = this.autoPlayButtonNode.getComponentInChildren(cc.Sprite);\n if (state == AutoPlayState.Close) {\n autoPlaySprite.spriteFrame = this.autoPlaySpriteFrame[0];\n } else {\n autoPlaySprite.spriteFrame = this.autoPlaySpriteFrame[1];\n }\n }\n\n /**\n * 开始自动播放计时器\n * @param startNow 是否不进行延时,立即执行下一步,适用于玩家点击自动播放按钮之后,无需等待\n */\n startAutoPlayTimer(startNow: boolean = false) {\n let interval: number = 0;\n if (!startNow) {\n //时间间隔的计算方法,如果startNow为true的话,不进行延时,时间为0,否则:\n //(文本长度 * 50ms / this._autoPlaySpeed)表示文本走完打字机效果所需要的时间\n //(文本长度 * 60ms / this._autoPlaySpeed)表示文本完全展示之后展示停留的时间\n interval = ((this._contentText.length * 50) / this._autoPlaySpeed) + ((this._contentText.length * 60) / this._autoPlaySpeed);\n }\n this._autoPlayTimer = window.setTimeout(async () => {\n if (this._autoPlayState == AutoPlayState.AutoPlay) {\n if (this._textTyperIsOver && !this._isSpecialEffect) {\n if (this.completePlotCallback) await this.completePlotCallback();\n }\n this.startAutoPlayTimer();\n } else {\n clearTimeout(this._autoPlayTimer);\n }\n }, interval);\n }\n\n fixScreenSize() {\n let comp = this.portraitSprite.node.getComponent(PortraitFixComponent);\n if (comp) {\n comp.fixScreenSize(true);\n }\n }\n\n /**\n * 设置背景\n * @param bgImage 背景路径\n */\n async setBackground(bgImage: string) {\n if (!bgImage) {\n this.backgroundSprite.spriteFrame = undefined as any;\n } else {\n try {\n this.backgroundSprite.node.opacity = 255;\n let sf = await ResUtils.loadRes(bgImage, cc.SpriteFrame);\n this.backgroundSprite.spriteFrame = sf;\n this.backgroundSprite.node.height = this.node.height;\n this.backgroundSprite.node.width = sf.getOriginalSize().width / sf.getOriginalSize().height * this.node.height;\n } catch (e) {\n console.error(e);\n }\n }\n }\n\n /**\n * 设置背景(特殊效果)\n * @param bgImage 背景路径\n */\n async setBackgroundEffect(bgImage: string) {\n this._isSpecialEffect = true;\n let dialogNodesActive: boolean[] = [this.otherDialogNode.active, this.selfDialogNode.active, this.narratorDialogNode.active];\n this.otherDialogNode.active = false;\n this.selfDialogNode.active = false;\n this.narratorDialogNode.active = false;\n if (!bgImage) {\n this.backgroundSprite.node.opacity = 255;\n cc.tween(this.backgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(() => {\n this.backgroundSprite.spriteFrame = undefined as any;\n this.otherDialogNode.active = dialogNodesActive[0];\n this.selfDialogNode.active = dialogNodesActive[1];\n this.narratorDialogNode.active = dialogNodesActive[2];\n }).start();\n if (this.backgroundSprite.spriteFrame) {\n this.effectBackgroundSprite.node.active = true;\n this.effectBackgroundSprite.node.opacity = 255;\n cc.tween(this.effectBackgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(() => {\n this.effectBackgroundSprite.node.active = false;\n this._isSpecialEffect = false;\n }).start();\n }\n } else {\n try {\n this.effectBackgroundSprite.node.active = true;\n this.effectBackgroundSprite.node.opacity = 0;\n cc.tween(this.effectBackgroundSprite.node)\n .to(1, { opacity: 255 })\n .call(() => {\n cc.tween(this.effectBackgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(() => {\n this.effectBackgroundSprite.node.active = false;\n }).start();\n }).start();\n cc.tween(this.backgroundSprite.node)\n .to(1, { opacity: 0 })\n .call(async () => {\n let sf = await ResUtils.loadRes(bgImage, cc.SpriteFrame);\n this.backgroundSprite.spriteFrame = sf;\n this.backgroundSprite.node.height = this.node.height;\n this.backgroundSprite.node.width = sf.getOriginalSize().width / sf.getOriginalSize().height * this.node.height;\n cc.tween(this.backgroundSprite.node)\n .to(1, { opacity: 255 })\n .call(() => {\n this.otherDialogNode.active = dialogNodesActive[0];\n this.selfDialogNode.active = dialogNodesActive[1];\n this.narratorDialogNode.active = dialogNodesActive[2];\n this._isSpecialEffect = false;\n }).start();\n }).start();\n } catch (e) {\n console.error(e);\n }\n }\n }\n\n runEndTipAction() {\n this.setIsRunningAction(true);\n let offsetY: number = 300;\n let actTime: number = 1.5;\n this.endTipNode.stopAllActions();\n this.endTipNode.active = true;\n this.endTipNode.scale = 1;\n this.endTipNode.opacity = 255;\n this.endTipNode.position = cc.v3(-265, this._originPos.y - offsetY, 0);\n this.endTipNode.opacity = 0;\n\n let ease = cc.easeSineInOut();\n let moveAct = cc.moveTo(actTime, cc.v2(-265, this._originPos.y)).easing(ease);\n let fadeInAct = cc.fadeIn(actTime).easing(ease);\n let spawn = cc.spawn(moveAct, fadeInAct);\n\n let call = cc.callFunc(() => {\n this.backRedDot.active = true;\n\n // if (!this._isRunCloseAction) {\n // SDK.showInterstitialAd();\n // }\n this.setIsRunningAction(false);\n });\n\n let showArrowGuideCall = cc.callFunc(() => {\n this.arrowguideNode.active = true;\n });\n let actTime2: number = 2;\n let seq = cc.sequence(spawn, call, cc.spawn(cc.moveTo(1, cc.v2(this.backBtnNode.position.x, this.backBtnNode.position.y)), cc.scaleTo(actTime2, 0)), showArrowGuideCall);\n\n this.endTipNode.runAction(seq);\n }\n\n setRunCloseAction(run: boolean) {\n this._isRunCloseAction = run;\n }\n\n runCloseAction() {\n this.closeView();\n }\n\n\n getChapterBtn = (): cc.Prefab => {\n return this.chapterBtn;\n }\n\n onRefreshAllStatus() {\n this.closeAction();\n }\n\n onReviewButtonClick() {\n this.resetAutoPlayButtonState();\n clearTimeout(this._autoPlayTimer);\n this.onReviewButtonClickCallback();\n }\n\n onSkipButtonClick() {\n this._skipButtonState = this._skipButtonState == AutoPlayState.Close ? AutoPlayState.AutoPlay : AutoPlayState.Close;\n this._autoPlayState = this._skipButtonState;\n if (this._autoPlayState == AutoPlayState.AutoPlay) {\n this._autoPlaySpeed = 20;\n this.startAutoPlayTimer(true);\n this.changeSkipButtonState(this._autoPlayState);\n this.changeAutoPlayButtonState(AutoPlayState.Close);\n this._autoPlayButtonState = AutoPlayState.Close;\n } else {\n this.resetAutoPlayButtonState();\n clearTimeout(this._autoPlayTimer);\n }\n }\n\n onAutoPlayButtonClick() {\n this._autoPlayButtonState = this._autoPlayButtonState == AutoPlayState.Close ? AutoPlayState.AutoPlay : AutoPlayState.Close;\n this._autoPlayState = this._autoPlayButtonState;\n if (this._autoPlayState == AutoPlayState.AutoPlay) {\n this._autoPlaySpeed = 1;\n this.startAutoPlayTimer(true);\n this.changeSkipButtonState(AutoPlayState.Close);\n this.changeAutoPlayButtonState(this._autoPlayState);\n this._skipButtonState = AutoPlayState.Close;\n } else {\n this.resetAutoPlayButtonState();\n clearTimeout(this._autoPlayTimer);\n }\n }\n}\n"]}
\ No newline at end of file \ No newline at end of file
...@@ -5195,8 +5195,8 @@ ...@@ -5195,8 +5195,8 @@
"relativePath": "resources/prefab/ui/DatingEventView.prefab" "relativePath": "resources/prefab/ui/DatingEventView.prefab"
}, },
"9d521361-150a-4693-a6c3-867dd716037f": { "9d521361-150a-4693-a6c3-867dd716037f": {
"asset": 1643263526923, "asset": 1643273277723,
"meta": 1643263526926, "meta": 1643273277725,
"relativePath": "resources/prefab/ui/DatingSceneView.prefab" "relativePath": "resources/prefab/ui/DatingSceneView.prefab"
}, },
"9274f284-8ad8-4099-b4a7-d65ff8ddea51": { "9274f284-8ad8-4099-b4a7-d65ff8ddea51": {
...@@ -6214,16 +6214,6 @@ ...@@ -6214,16 +6214,6 @@
"meta": 1643262626270, "meta": 1643262626270,
"relativePath": "script/game/ui/view/type/MainView.ts" "relativePath": "script/game/ui/view/type/MainView.ts"
}, },
"cde0e608-3a09-4f9a-bc95-9aee3115c34f": {
"asset": 1643263124712,
"meta": 1643263368850,
"relativePath": "script/game/ui/view/impl/dating/DatingSceneViewImpl.ts"
},
"35fa82eb-ae95-477e-a258-54c3ccf00a47": {
"asset": 1643263247206,
"meta": 1643263368862,
"relativePath": "script/game/ui/view/type/DatingSceneView.ts"
},
"b020f340-f6ad-428d-8769-c332b5e22752": { "b020f340-f6ad-428d-8769-c332b5e22752": {
"asset": 1643263859456, "asset": 1643263859456,
"meta": 1643263876993, "meta": 1643263876993,
...@@ -6299,11 +6289,6 @@ ...@@ -6299,11 +6289,6 @@
"meta": 1643271532510, "meta": 1643271532510,
"relativePath": "script/game/ui/presenter/DatingEventViewPresenter.ts" "relativePath": "script/game/ui/presenter/DatingEventViewPresenter.ts"
}, },
"52f06191-b63c-4fbb-9df6-1c1bbda46344": {
"asset": 1643270664587,
"meta": 1643271532645,
"relativePath": "script/game/ui/presenter/DatingScenePresenter.ts"
},
"f6da47ee-6dae-4b75-8329-44a46c55944b": { "f6da47ee-6dae-4b75-8329-44a46c55944b": {
"asset": 1643271512252, "asset": 1643271512252,
"meta": 1643271532660, "meta": 1643271532660,
...@@ -6383,5 +6368,20 @@ ...@@ -6383,5 +6368,20 @@
"asset": 1643271633244, "asset": 1643271633244,
"meta": 1643272641875, "meta": 1643272641875,
"relativePath": "script/game/ui/view/impl/message/GiftListItemImpl.ts" "relativePath": "script/game/ui/view/impl/message/GiftListItemImpl.ts"
},
"52f06191-b63c-4fbb-9df6-1c1bbda46344": {
"asset": 1643273267711,
"meta": 1643273270550,
"relativePath": "script/game/ui/presenter/DatingScenePresenter.ts"
},
"cde0e608-3a09-4f9a-bc95-9aee3115c34f": {
"asset": 1643273191829,
"meta": 1643273270640,
"relativePath": "script/game/ui/view/impl/dating/DatingSceneViewImpl.ts"
},
"35fa82eb-ae95-477e-a258-54c3ccf00a47": {
"asset": 1643273207364,
"meta": 1643273270649,
"relativePath": "script/game/ui/view/type/DatingSceneView.ts"
} }
} }
\ No newline at end of file
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
"b779c231-722a-4460-ac43-333651f1de42", "b779c231-722a-4460-ac43-333651f1de42",
"0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a", "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a",
"fa82047f-ca46-4900-b016-1cbc6fb8dc8a", "fa82047f-ca46-4900-b016-1cbc6fb8dc8a",
"9d521361-150a-4693-a6c3-867dd716037f",
"e2cefdd5-1c31-4fc8-85ac-dbd2ea35a494", "e2cefdd5-1c31-4fc8-85ac-dbd2ea35a494",
"c408c1b6-ca44-4401-a59c-7feb174a3ef2", "c408c1b6-ca44-4401-a59c-7feb174a3ef2",
"d370020c-eb3c-48b9-b561-b423f8f8c767", "d370020c-eb3c-48b9-b561-b423f8f8c767",
...@@ -84,6 +83,7 @@ ...@@ -84,6 +83,7 @@
"caaa16e1-77dc-46c0-bfa4-151e51e9919f", "caaa16e1-77dc-46c0-bfa4-151e51e9919f",
"2529f882-df6b-4cac-a25a-1ca4900ba066", "2529f882-df6b-4cac-a25a-1ca4900ba066",
"02e8108f-1cea-48c1-bf08-4de4d0954e51", "02e8108f-1cea-48c1-bf08-4de4d0954e51",
"bd537cf0-df73-4b2a-bb36-40e91d4875e3" "bd537cf0-df73-4b2a-bb36-40e91d4875e3",
"9d521361-150a-4693-a6c3-867dd716037f"
] ]
} }
...@@ -45,29 +45,29 @@ ...@@ -45,29 +45,29 @@
"__id__": 70 "__id__": 70
}, },
{ {
"__id__": 106 "__id__": 82
}, },
{ {
"__id__": 131 "__id__": 107
}, },
{ {
"__id__": 147 "__id__": 123
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 152 "__id__": 128
}, },
{ {
"__id__": 153 "__id__": 129
}, },
{ {
"__id__": 154 "__id__": 130
} }
], ],
"_prefab": { "_prefab": {
"__id__": 155 "__id__": 131
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2222,7 +2222,7 @@ ...@@ -2222,7 +2222,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "2e+faolohDGK7AYO/VV5Bd", "fileId": "1bWqXHI4hA2YvIt2Wkxw3G",
"sync": false "sync": false
}, },
{ {
...@@ -2473,28 +2473,19 @@ ...@@ -2473,28 +2473,19 @@
"_children": [ "_children": [
{ {
"__id__": 71 "__id__": 71
},
{
"__id__": 79
},
{
"__id__": 87
},
{
"__id__": 95
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 103 "__id__": 79
}, },
{ {
"__id__": 104 "__id__": 80
} }
], ],
"_prefab": { "_prefab": {
"__id__": 105 "__id__": 81
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2507,7 +2498,7 @@ ...@@ -2507,7 +2498,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 76,
"height": 486 "height": 99
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2545,7 +2536,7 @@ ...@@ -2545,7 +2536,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "UrgentNoticeBtn", "_name": "RollBackBtn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 70
...@@ -2587,7 +2578,7 @@ ...@@ -2587,7 +2578,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
193.5, 0,
0, 0,
0, 0,
0, 0,
...@@ -2641,8 +2632,8 @@ ...@@ -2641,8 +2632,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 54, "width": 76,
"height": 82 "height": 99
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2694,7 +2685,7 @@ ...@@ -2694,7 +2685,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "a062439e-e67b-415f-85d8-1cab2b5e26c0" "__uuid__": "e46fb0ce-9d6a-4b98-98cc-3983e39c7bc7"
}, },
"_type": 1, "_type": 1,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2721,10 +2712,10 @@ ...@@ -2721,10 +2712,10 @@
"alignMode": 0, "alignMode": 0,
"_target": null, "_target": null,
"_alignFlags": 45, "_alignFlags": 45,
"_left": 11, "_left": 0,
"_right": 11, "_right": 0,
"_top": 8.5, "_top": 0,
"_bottom": 8.5, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -2745,7 +2736,7 @@ ...@@ -2745,7 +2736,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "9aFHz/zJFMTKVwkpSVHuvA", "fileId": "d6/5G9rO1JQZJKHAE3Ksm1",
"sync": false "sync": false
}, },
{ {
...@@ -2841,7 +2832,7 @@ ...@@ -2841,7 +2832,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onUrgentBtnClick", "handler": "onRollBackBtnClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -2852,29 +2843,176 @@ ...@@ -2852,29 +2843,176 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "cf/dtdPRxAIp2Qt4l34h1c", "fileId": "51UFqm+6FLD6xDzyx6NRl9",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 76,
"height": 99
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 30,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 5,
"_top": 393.5,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "absBg2e51NW78RLxxPz1nJ",
"sync": false "sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "GoToShopBtn", "_name": "AutoPlayNode",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 1
}, },
"_children": [ "_children": [
{ {
"__id__": 80 "__id__": 83
},
{
"__id__": 90
},
{
"__id__": 97
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104
},
{
"__id__": 105
}
],
"_prefab": {
"__id__": 106
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
340,
-570,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ReviewButton",
"_objFlags": 0,
"_parent": {
"__id__": 82
},
"_children": [
{
"__id__": 84 "__id__": 84
} }
], ],
"_active": true,
"_components": [
{
"__id__": 87
}
],
"_prefab": { "_prefab": {
"__id__": 86 "__id__": 89
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2886,8 +3024,8 @@ ...@@ -2886,8 +3024,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 76, "width": 100,
"height": 99 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2898,8 +3036,8 @@ ...@@ -2898,8 +3036,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-250,
0, 0,
64.5,
0, 0,
0, 0,
0, 0,
...@@ -2907,7 +3045,7 @@ ...@@ -2907,7 +3045,7 @@
1, 1,
1, 1,
1, 1,
1 0
] ]
}, },
"_eulerAngles": { "_eulerAngles": {
...@@ -2925,23 +3063,20 @@ ...@@ -2925,23 +3063,20 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Background", "_name": "ReviewIconSprite",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 79 "__id__": 83
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 85
},
{
"__id__": 82
} }
], ],
"_prefab": { "_prefab": {
"__id__": 83 "__id__": 86
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2953,8 +3088,8 @@ ...@@ -2953,8 +3088,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 91, "width": 62,
"height": 107 "height": 93
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2974,7 +3109,7 @@ ...@@ -2974,7 +3109,7 @@
1, 1,
1, 1,
1, 1,
0 1
] ]
}, },
"_eulerAngles": { "_eulerAngles": {
...@@ -2995,7 +3130,7 @@ ...@@ -2995,7 +3130,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 80 "__id__": 84
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3006,9 +3141,9 @@ ...@@ -3006,9 +3141,9 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "5f06f6f4-e0bc-4a3c-8bb2-4bc10cebe48f" "__uuid__": "b6657c26-a60a-41b3-8a72-8e497af6eaa3"
}, },
"_type": 1, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
...@@ -3023,33 +3158,6 @@ ...@@ -3023,33 +3158,6 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": -7.5,
"_right": -7.5,
"_top": -4,
"_bottom": -4,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": ""
},
{
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 1 "__id__": 1
...@@ -3057,7 +3165,7 @@ ...@@ -3057,7 +3165,7 @@
"asset": { "asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f" "__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
}, },
"fileId": "32Vejnb4lAW7m42HSfFR6/", "fileId": "63ilEVBz1KH5X4ScVPJIVm",
"sync": false "sync": false
}, },
{ {
...@@ -3065,7 +3173,7 @@ ...@@ -3065,7 +3173,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 79 "__id__": 83
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3074,7 +3182,7 @@ ...@@ -3074,7 +3182,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 85 "__id__": 88
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -3123,9 +3231,7 @@ ...@@ -3123,9 +3231,7 @@
"b": 120, "b": 120,
"a": 200 "a": 200
}, },
"_N$normalSprite": { "_N$normalSprite": null,
"__uuid__": "152b9a5c-c309-46cf-a227-d71ef3682577"
},
"_N$pressedSprite": { "_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
}, },
...@@ -3141,9 +3247,7 @@ ...@@ -3141,9 +3247,7 @@
"_N$disabledSprite": { "_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": null,
"__id__": 80
},
"_id": "" "_id": ""
}, },
{ {
...@@ -3153,1056 +3257,7 @@ ...@@ -3153,1056 +3257,7 @@
}, },
"component": "", "component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP", "_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onGoToShopClick", "handler": "onReviewButtonClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "a4pTwsuadL3ryxvpmmVNAl",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "RollBackBtn",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [
{
"__id__": 88
}
],
"_active": true,
"_components": [
{
"__id__": 92
}
],
"_prefab": {
"__id__": 94
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 76,
"height": 99
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-64.5,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
},
{
"__id__": 90
}
],
"_prefab": {
"__id__": 91
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 76,
"height": 99
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e46fb0ce-9d6a-4b98-98cc-3983e39c7bc7"
},
"_type": 1,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "d6/5G9rO1JQZJKHAE3Ksm1",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 93
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "152b9a5c-c309-46cf-a227-d71ef3682577"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 88
},
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onRollBackBtnClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "51UFqm+6FLD6xDzyx6NRl9",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "CommonProlbemBtn",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [
{
"__id__": 96
}
],
"_active": true,
"_components": [
{
"__id__": 100
}
],
"_prefab": {
"__id__": 102
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 76,
"height": 99
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-193.5,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 97
},
{
"__id__": 98
}
],
"_prefab": {
"__id__": 99
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 75,
"height": 109
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ff822cf6-25f2-4d5e-9dbf-6e0f4dc4cdb9"
},
"_type": 1,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0.5,
"_right": 0.5,
"_top": -5,
"_bottom": -5,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "a5lSJdhmdHBZSS36x5Ktw6",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 101
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "152b9a5c-c309-46cf-a227-d71ef3682577"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 96
},
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onCommonProblemBtnClick",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "204wioyqpBUqhzCvIL6OiE",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 76,
"height": 486
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 30,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 5,
"_top": 200,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "absBg2e51NW78RLxxPz1nJ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "AutoPlayNode",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 107
},
{
"__id__": 114
},
{
"__id__": 121
}
],
"_active": true,
"_components": [
{
"__id__": 128
},
{
"__id__": 129
}
],
"_prefab": {
"__id__": 130
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
340,
-570,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ReviewButton",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [
{
"__id__": 108
}
],
"_active": true,
"_components": [
{
"__id__": 111
}
],
"_prefab": {
"__id__": 113
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-250,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ReviewIconSprite",
"_objFlags": 0,
"_parent": {
"__id__": 107
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 109
}
],
"_prefab": {
"__id__": 110
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 93
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b6657c26-a60a-41b3-8a72-8e497af6eaa3"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9d521361-150a-4693-a6c3-867dd716037f"
},
"fileId": "63ilEVBz1KH5X4ScVPJIVm",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 112
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": null,
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "cde0eYIOglPmryVmu4xFcNP",
"handler": "onReviewButtonClick",
"customEventData": "" "customEventData": ""
}, },
{ {
...@@ -4221,21 +3276,21 @@ ...@@ -4221,21 +3276,21 @@
"_name": "SkipButton", "_name": "SkipButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 106 "__id__": 82
}, },
"_children": [ "_children": [
{ {
"__id__": 115 "__id__": 91
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 118 "__id__": 94
} }
], ],
"_prefab": { "_prefab": {
"__id__": 120 "__id__": 96
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4289,17 +3344,17 @@ ...@@ -4289,17 +3344,17 @@
"_name": "SkipIconSprite", "_name": "SkipIconSprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 114 "__id__": 90
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 92
} }
], ],
"_prefab": { "_prefab": {
"__id__": 117 "__id__": 93
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4353,7 +3408,7 @@ ...@@ -4353,7 +3408,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 91
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4396,7 +3451,7 @@ ...@@ -4396,7 +3451,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 114 "__id__": 90
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4405,7 +3460,7 @@ ...@@ -4405,7 +3460,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 119 "__id__": 95
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4499,21 +3554,21 @@ ...@@ -4499,21 +3554,21 @@
"_name": "AutoPlayButton", "_name": "AutoPlayButton",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 106 "__id__": 82
}, },
"_children": [ "_children": [
{ {
"__id__": 122 "__id__": 98
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 125 "__id__": 101
} }
], ],
"_prefab": { "_prefab": {
"__id__": 127 "__id__": 103
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4567,17 +3622,17 @@ ...@@ -4567,17 +3622,17 @@
"_name": "AutoIconSprite", "_name": "AutoIconSprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 97
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 123 "__id__": 99
} }
], ],
"_prefab": { "_prefab": {
"__id__": 124 "__id__": 100
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4631,7 +3686,7 @@ ...@@ -4631,7 +3686,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 122 "__id__": 98
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4674,7 +3729,7 @@ ...@@ -4674,7 +3729,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 97
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4683,7 +3738,7 @@ ...@@ -4683,7 +3738,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 126 "__id__": 102
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4777,7 +3832,7 @@ ...@@ -4777,7 +3832,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 106 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -4809,7 +3864,7 @@ ...@@ -4809,7 +3864,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 106 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4851,23 +3906,23 @@ ...@@ -4851,23 +3906,23 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 132 "__id__": 108
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 118
}, },
{ {
"__id__": 143 "__id__": 119
}, },
{ {
"__id__": 144 "__id__": 120
} }
], ],
"_prefab": { "_prefab": {
"__id__": 146 "__id__": 122
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4921,24 +3976,24 @@ ...@@ -4921,24 +3976,24 @@
"_name": "ScrollView", "_name": "ScrollView",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 131 "__id__": 107
}, },
"_children": [ "_children": [
{ {
"__id__": 133 "__id__": 109
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 139 "__id__": 115
}, },
{ {
"__id__": 140 "__id__": 116
} }
], ],
"_prefab": { "_prefab": {
"__id__": 141 "__id__": 117
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4992,21 +4047,21 @@ ...@@ -4992,21 +4047,21 @@
"_name": "view", "_name": "view",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 132 "__id__": 108
}, },
"_children": [ "_children": [
{ {
"__id__": 134 "__id__": 110
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 137 "__id__": 113
} }
], ],
"_prefab": { "_prefab": {
"__id__": 138 "__id__": 114
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5060,17 +4115,17 @@ ...@@ -5060,17 +4115,17 @@
"_name": "content", "_name": "content",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 133 "__id__": 109
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 135 "__id__": 111
} }
], ],
"_prefab": { "_prefab": {
"__id__": 136 "__id__": 112
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5124,7 +4179,7 @@ ...@@ -5124,7 +4179,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 134 "__id__": 110
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -5167,7 +4222,7 @@ ...@@ -5167,7 +4222,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 133 "__id__": 109
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5198,7 +4253,7 @@ ...@@ -5198,7 +4253,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 132 "__id__": 108
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5230,7 +4285,7 @@ ...@@ -5230,7 +4285,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 132 "__id__": 108
}, },
"_enabled": true, "_enabled": true,
"horizontal": false, "horizontal": false,
...@@ -5242,10 +4297,10 @@ ...@@ -5242,10 +4297,10 @@
"scrollEvents": [], "scrollEvents": [],
"cancelInnerEvents": true, "cancelInnerEvents": true,
"_N$content": { "_N$content": {
"__id__": 134 "__id__": 110
}, },
"content": { "content": {
"__id__": 134 "__id__": 110
}, },
"_N$horizontalScrollBar": null, "_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null, "_N$verticalScrollBar": null,
...@@ -5267,7 +4322,7 @@ ...@@ -5267,7 +4322,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 107
}, },
"_enabled": true, "_enabled": true,
"_id": "" "_id": ""
...@@ -5277,7 +4332,7 @@ ...@@ -5277,7 +4332,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 107
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5304,7 +4359,7 @@ ...@@ -5304,7 +4359,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 107
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -5313,7 +4368,7 @@ ...@@ -5313,7 +4368,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 145 "__id__": 121
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -5403,17 +4458,17 @@ ...@@ -5403,17 +4458,17 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 148 "__id__": 124
}, },
{ {
"__id__": 149 "__id__": 125
}, },
{ {
"__id__": 150 "__id__": 126
} }
], ],
"_prefab": { "_prefab": {
"__id__": 151 "__id__": 127
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5467,7 +4522,7 @@ ...@@ -5467,7 +4522,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 147 "__id__": 123
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5499,7 +4554,7 @@ ...@@ -5499,7 +4554,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 147 "__id__": 123
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5526,7 +4581,7 @@ ...@@ -5526,7 +4581,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 147 "__id__": 123
}, },
"_enabled": true, "_enabled": true,
"_id": "" "_id": ""
...@@ -5581,7 +4636,7 @@ ...@@ -5581,7 +4636,7 @@
"__id__": 3 "__id__": 3
}, },
"effectBackgroundSprite": { "effectBackgroundSprite": {
"__id__": 148 "__id__": 124
}, },
"portraitSprite": { "portraitSprite": {
"__id__": 6 "__id__": 6
...@@ -5614,34 +4669,25 @@ ...@@ -5614,34 +4669,25 @@
"__id__": 18 "__id__": 18
}, },
"typewriter": { "typewriter": {
"__id__": 154 "__id__": 130
}, },
"rollBackBtn": { "rollBackBtn": {
"__id__": 87
},
"urgentBtnNode": {
"__id__": 71 "__id__": 71
}, },
"goToShopBtn": {
"__id__": 79
},
"commonProblemBtn": {
"__id__": 95
},
"chapterBtn": { "chapterBtn": {
"__uuid__": "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a" "__uuid__": "0c5e5b6a-e3cd-49c8-b1f6-dd38039c121a"
}, },
"scrollViewRootNode": { "scrollViewRootNode": {
"__id__": 131 "__id__": 107
}, },
"contentNode": { "contentNode": {
"__id__": 134 "__id__": 110
}, },
"skipButtonNode": { "skipButtonNode": {
"__id__": 114 "__id__": 90
}, },
"autoPlayButtonNode": { "autoPlayButtonNode": {
"__id__": 121 "__id__": 97
}, },
"autoPlaySpriteFrame": [ "autoPlaySpriteFrame": [
{ {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -57,14 +57,10 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -57,14 +57,10 @@ let DatingSceneViewImpl = /** @class */ (() => {
this.backRedDot = CCDummyObjects_1.DummyNode; this.backRedDot = CCDummyObjects_1.DummyNode;
this.backBtnNode = CCDummyObjects_1.DummyNode; this.backBtnNode = CCDummyObjects_1.DummyNode;
this.endTipNode = CCDummyObjects_1.DummyNode; this.endTipNode = CCDummyObjects_1.DummyNode;
// @property(cc.Node)
// private closeActNode = DummyNode;
this.arrowguideNode = CCDummyObjects_1.DummyNode; this.arrowguideNode = CCDummyObjects_1.DummyNode;
this.otherNameSpr = CCDummyObjects_1.DummySprite; this.otherNameSpr = CCDummyObjects_1.DummySprite;
this.typewriter = undefined; this.typewriter = undefined;
this.rollBackBtn = CCDummyObjects_1.DummyNode;
this.chapterBtn = CCDummyObjects_1.DummyPrefab; this.chapterBtn = CCDummyObjects_1.DummyPrefab;
this.scrollViewRootNode = CCDummyObjects_1.DummyNode;
this.skipButtonNode = CCDummyObjects_1.DummyNode; this.skipButtonNode = CCDummyObjects_1.DummyNode;
this.autoPlayButtonNode = CCDummyObjects_1.DummyNode; this.autoPlayButtonNode = CCDummyObjects_1.DummyNode;
this.autoPlaySpriteFrame = []; this.autoPlaySpriteFrame = [];
...@@ -96,18 +92,9 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -96,18 +92,9 @@ let DatingSceneViewImpl = /** @class */ (() => {
} }
} }
}; };
this.getScrollViewRootNode = () => {
return this.scrollViewRootNode;
};
this.getScrollViewContentNode = () => {
return this.contentNode;
};
this.getChapterBtn = () => { this.getChapterBtn = () => {
return this.chapterBtn; return this.chapterBtn;
}; };
this.showRollBackBtn = (isShow) => {
this.rollBackBtn.active = isShow;
};
} }
/** /**
* 是否显示返回按钮 * 是否显示返回按钮
...@@ -428,33 +415,6 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -428,33 +415,6 @@ let DatingSceneViewImpl = /** @class */ (() => {
} }
runCloseAction() { runCloseAction() {
this.closeView(); this.closeView();
// this.setIsRunningAction(true);
// this.closeActNode.stopAllActions();
// this.closeActNode.scale = 1;
// this.closeActNode.opacity = 0;
// this.closeActNode.active = true;
// this.backBtnNode.active = false;
// let actTime: number = 1;
// let tempX: number = 0;
// let tempY: number = 0;
// let tempR: number = 0;
// let tempS: number = this.node.width / this.closeActNode.width;
// let easeS: cc.Easing = cc.easeSineOut();
// let moveAct = cc.moveTo(actTime, cc.v2(tempX, tempY)).easing(easeS);
// let fadeInAct = cc.fadeIn(actTime).easing(easeS);
// let scaleAct = cc.scaleTo(actTime / 2, tempS).easing(easeS);
// let rotationAct = cc.rotateTo(actTime / 2, tempR).easing(easeS);
// let call = cc.callFunc(() => {
// this.closeView();
// });
// let spawnMF = cc.spawn(moveAct, fadeInAct);
// let spawnSR = cc.spawn(scaleAct, rotationAct);
// let seq = cc.sequence(spawnMF, spawnSR, call);
// this.closeActNode.runAction(seq);
}
onRollBackBtnClick() {
this.resetAutoPlayButtonState();
this.onRollBackBtnCallback();
} }
onRefreshAllStatus() { onRefreshAllStatus() {
this.closeAction(); this.closeAction();
...@@ -535,19 +495,10 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -535,19 +495,10 @@ let DatingSceneViewImpl = /** @class */ (() => {
property(Typewriter_1.default) property(Typewriter_1.default)
], DatingSceneViewImpl.prototype, "typewriter", void 0); ], DatingSceneViewImpl.prototype, "typewriter", void 0);
__decorate([ __decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "rollBackBtn", void 0);
__decorate([
property(cc.Prefab) property(cc.Prefab)
], DatingSceneViewImpl.prototype, "chapterBtn", void 0); ], DatingSceneViewImpl.prototype, "chapterBtn", void 0);
__decorate([ __decorate([
property(cc.Node) property(cc.Node)
], DatingSceneViewImpl.prototype, "scrollViewRootNode", void 0);
__decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "contentNode", void 0);
__decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "skipButtonNode", void 0); ], DatingSceneViewImpl.prototype, "skipButtonNode", void 0);
__decorate([ __decorate([
property(cc.Node) property(cc.Node)
...@@ -574,4 +525,4 @@ cc._RF.pop(); ...@@ -574,4 +525,4 @@ cc._RF.pop();
}); });
} }
})(); })();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0cy9zY3JpcHQvZ2FtZS91aS92aWV3L2ltcGwvZGF0aW5nL0RhdGluZ1NjZW5lVmlld0ltcGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsMkVBQW9FO0FBQ3BFLGdFQUFrRjtBQUNsRiw0RUFBMEQ7QUFDMUQseUVBQTJGO0FBQzNGLHlEQUE2QztBQUM3Qyw0RUFBcUU7QUFDckUsZ0dBQXlGO0FBQ3pGLDBEQUF1RDtBQUN2RCx5RUFBc0U7QUFFdEUsTUFBTSxFQUFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsR0FBRyxFQUFFLENBQUMsVUFBVSxDQUFDO0FBRTVDLElBQVksYUFHWDtBQUhELFdBQVksYUFBYTtJQUNyQixtREFBUyx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T86IHN0cmluZywgcG9ydHJhaXRJbWc/OiBzdHJpbmcsIG90aGVyUG9ydHJhaXRJbWc/OiBzdHJpbmcsIHNob3dSb3VnZT86IGJvb2xlYW4pOiBQcm9taXNlPHZvaWQ+IHtcbiAgICAgICAgbGV0IHByb21pc2VzOiBQcm9taXNlPGFueT5bXSA9IFtdO1xuICAgICAgICBpZiAoISgoaXNTZWxmICYmIG90aGVyUG9ydHJhaXRJbWcpIHx8IHBvcnRyYWl0SW1nKSkgeyAvLyDpmLLmraLliIfmjaLov4fnqIvkuK3pl6pcbiAgICAgICAgICAgIHRoaXMucG9ydHJhaXRTcHJpdGUuc3ByaXRlRnJhbWUgPSB1bmRlZmluZWQgYXMgYW55O1xuICAgICAgICB9XG4gICAgICAgIGlmIChwb3J0cmFpdEltZykge1xuICAgICAgICAgICAgaWYgKGlzU2VsZikge1xuICAgICAgICAgICAgICAgIGxldCBwb3J0cmFpdFBhdGggPSBwb3J0cmFpdEltZy5zdWJzdHJpbmcoMCwgcG9ydHJhaXRJbWcubGFzdEluZGV4T2YoXCIvXCIpICsgMSk7XG4gICAgICAgICAgICAgICAgbGV0IGZhY2VJZCA9IHBvcnRyYWl0SW1nLnN1YnN0cmluZyhwb3J0cmFpdEltZy5sYXN0SW5kZXhPZihcIi9cIikgKyAxLCBwb3J0cmFpdEltZy5sZW5ndGgpO1xuICAgICAgICAgICAgICAgIHBvcnRyYWl0SW1nID0gcG9ydHJhaXRQYXRoICsgXCIxL1wiICsgZmFjZUlkO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcHJvbWlzZXMucHVzaChSZXNVdGlscy5sb2FkUmVzKHBvcnRyYWl0SW1nLCBjYy5TcHJpdGVGcmFtZSkudGhlbigoc2YpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5ub2RlLmFjdGl2ZSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoaXNTZWxmKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNlbGZTbWFsbFBvcnRyYWl0LnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnBvcnRyYWl0U3ByaXRlLnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmZpeFNjcmVlblNpemUoKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoaXNTZWxmICYmIG90aGVyUG9ydHJhaXRJbWcpIHtcbiAgICAgICAgICAgIHByb21pc2VzLnB1c2goUmVzVXRpbHMubG9hZFJlcyhvdGhlclBvcnRyYWl0SW1nLCBjYy5TcHJpdGVGcmFtZSkudGhlbigoc2YpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnBvcnRyYWl0U3ByaXRlLnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgdGhpcy5maXhTY3JlZW5TaXplKCk7XG4gICAgICAgICAgICB9KSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKG5hbWVTcHIgJiYgIWlzU2VsZiAmJiBcIlwiICE9PSBuYW1lU3ByLnRyaW0oKSkge1xuICAgICAgICAgICAgcHJvbWlzZXMucHVzaChSZXNVdGlscy5sb2FkUmVzKG5hbWVTcHIsIGNjLlNwcml0ZUZyYW1lKS50aGVuKChzZikgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMub3RoZXJOYW1lU3ByLnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICB9KSk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5vdGhlckRpYWxvZ05vZGUuYWN0aXZlID0gZmFsc2U7XG4gICAgICAgIHRoaXMuc2VsZkRpYWxvZ05vZGUuYWN0aXZlID0gZmFsc2U7XG4gICAgICAgIHRoaXMubmFycmF0b3JEaWFsb2dOb2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dXNoKEFuaW1hdGlvblV0aWxzLkFjdGlvblR5cGVXcml0ZXIodGhpcy5vdGhlckRpYWxvZ05vZGUuY2hpbGRyZW5bMV0uZ2V0Q29tcG9uZW50KGNjLlJpY2hUZXh0KSwgdGV4dCwgdGltZSkpO1xuICAgICAgICAgICAgfSBlbHNlIHsgLy8g5peB55m9XG4gICAgICAgICAgICAgICAgdGhpcy5uYXJyYXRvckRpYWxvZ05vZGUuYWN0aXZlID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAvLyB0aGlzLm5hcnJhdG9yRGlhbG9nTm9kZS5jaGlsZHJlblswXS5nZXRDb21wb25lbnQoY2MuUmljaFRleHQpLnN0cmluZyA9IHRleHQ7XG4gICAgICAgICAgICAgICAgdGhpcy50eXBld3JpdGVyLnNob3dSaWNoVGV4dFR5cGVyKHRoaXMubmFycmF0b3JEaWFsb2dOb2RlLmNoaWxkcmVuWzBdLmdldENvbXBvbmVudChjYy5SaWNoVGV4dCksIHRleHQsXG4gICAgICAgICAgICAgICAgICAgICgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3RleHRUeXBlcklzT3ZlciA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIH0sICgpID0+IHsgfSwgdGhpcy5fYXV0b1BsYXlTcGVlZFxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgLy8gcHJvbWlzZXMucHVzaChBbmltYXRpb25VdGlscy5BY3Rpb25UeXBlV3JpdGVyKHRoaXMubmFycmF0b3JEaWFsb2dOb2RlLmNoaWxkcmVuWzBdLmdldENvbXBvbmVudChjYy5SaWNoVGV4dCksIHRleHQsIHRpbWUpKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0cnkge1xuICAgICAgICAgICAgYXdhaXQgUHJvbWlzZS5hbGwocHJvbWlzZXMpO1xuICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICBjb25zb2xlLmVycm9yKGUpO1xuICA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ogNjBtcyAvIHRoaXMuX2F1dG9QbGF5U3BlZWTvvInooajnpLrmlofmnKzlrozlhajlsZXnpLrkuYvlkI7lsZXnpLrlgZznlZnnmoTml7bpl7RcbiAgICAgICAgICAgIGludGVydmFsID0gKCh0aGlzLl9jb250ZW50VGV4dC5sZW5ndGggKiA1MCkgLyB0aGlzLl9hdXRvUGxheVNwZWVkKSArICgodGhpcy5fY29udGVudFRleHQubGVuZ3RoICogNjApIC8gdGhpcy5fYXV0b1BsYXlTcGVlZCk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fYXV0b1BsYXlUaW1lciA9IHdpbmRvdy5zZXRUaW1lb3V0KGFzeW5jICgpID0+IHtcbiAgICAgICAgICAgIGlmICh0aGlzLl9hdXRvUGxheVN0YXRlID09IEF1dG9QbGF5U3RhdGUuQXV0b1BsYXkpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fdGV4dFR5cGVySXNPdmVyICYmICF0aGlzLl9pc1NwZWNpYWxFZmZlY3QpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMuY29tcGxldGVQbG90Q2FsbGJhY2spIGF3YWl0IHRoaXMuY29tcGxldGVQbG90Q2FsbGJhY2soKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgdGhpcy5zdGFydEF1dG9QbGF5VGltZXIoKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHRoaXMuX2F1dG9QbGF5VGltZXIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9LCBpbnRlcnZhbCk7XG4gICAgfVxuXG4gICAgZml4U2NyZWVuU2l6ZSgpIHtcbiAgICAgICAgbGV0IGNvbXAgPSB0aGlzLnBvcnRyYWl0U3ByaXRlLm5vZGUuZ2V0Q29tcG9uZW50KFBvcnRyYWl0Rml4Q29tcG9uZW50KTtcbiAgICAgICAgaWYgKGNvbXApIHtcbiAgICAgICAgICAgIGNvbX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gIC50bygxLCB7IG9wYWNpdHk6IDI1NSB9KVxuICAgICAgICAgICAgICAgICAgICAuY2FsbCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjYy50d2Vlbih0aGlzLmVmZmVjdEJhY2tncm91bmRTcHJpdGUubm9kZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAudG8oMSwgeyBvcGFjaXR5OiAwIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNhbGwoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmVmZmVjdEJhY2tncm91bmRTcHJpdGUubm9kZS5hY3RpdmUgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KS5zdGFydCgpO1xuICAgICAgICAgICAgICAgICAgICB9KS5zdGFydCgpO1xuICAgICAgICAgICAgICAgIGNjLnR3ZWVuKHRoaXMuYmFja2dyb3VuZFNwcml0ZS5ub2RlKVxuICAgICAgICAgICAgICAgICAgICAudG8oMSwgeyBvcGFjaXR5OiAwIH0pXG4gICAgICAgICAgICAgICAgICAgIC5jYWxsKGFzeW5jICgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzZiA9IGF3YWl0IFJlc1V0aWxzLmxvYWRSZXMoYmdJbWFnZSwgY2MuU3ByaXRlRnJhbWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iYWNrZ3JvdW5kU3ByaXRlLnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJhY2tncm91bmRTcHJpdGUubm9kZS5oZWlnaHQgPSB0aGlzLm5vZGUuaGVpZ2h0O1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iYWNrZ3JvdW5kU3ByaXRlLm5vZGUud2lkdGggPSBzZi5nZXRPcmlnaW5hbFNpemUoKS53aWR0aCAvIHNmLmdldE9yaWdpbmFsU2l6ZSgpLmhlaWdodCAqIHRoaXMubm9kZS5oZWlnaHQ7XG4gICAgICAgICAgICAgICAgICAgICAgICBjYy50d2Vlbih0aGlzLmJhY2tncm91bmRTcHJpdGUubm9kZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAudG8oMSwgeyBvcGFjaXR5OiAyNTUgfSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2FsbCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub3RoZXJEaWFsb2dOb2RlLmFjdGl2ZSA9IGRpYWxvZ05vZGVzQWN0aXZlWzBdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNlbGZEaWFsb2dOb2RlLmFjdGl2ZSA9IGRpYWxvZ05vZGVzQWN0aXZlWzFdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5hcnJhdG9yRGlhbG9nTm9kZS5hY3RpdmUgPSBkaWFsb2dOb2Rlc0FjdGl2ZVsyXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5faXNTcGVjaWFsRWZmZWN0ID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSkuc3RhcnQoKTtcbiAgICAgICAgICAgICAgICAgICAgfSkuc3RhcnQoKTtcbiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgcnVuRW5kVGlwQWN0aW9uKCkge1xuICAgICAgICB0aGlzLnNldElzUnVubmluZ0FjdGlvbih0cnVlKTtcbiAgICAgICAgbGV0IG9mZnNldFk6IG51bWJlciA9IDMwMDtcbiAgICAgICAgbGV0IGFjdFRpbWU6IG51bWJlciA9IDEuNTtcbiAgICAgICAgdGhpcy5lbmRUaXBOb2RlLnN0b3BBbGxBY3Rpb25zKCk7XG4gICAgICAgIHRoaX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FBhdGggPSBwb3J0cmFpdEltZy5zdWJzdHJpbmcoMCwgcG9ydHJhaXRJbWcubGFzdEluZGV4T2YoXCIvXCIpICsgMSk7XG4gICAgICAgICAgICAgICAgbGV0IGZhY2VJZCA9IHBvcnRyYWl0SW1nLnN1YnN0cmluZyhwb3J0cmFpdEltZy5sYXN0SW5kZXhPZihcIi9cIikgKyAxLCBwb3J0cmFpdEltZy5sZW5ndGgpO1xuICAgICAgICAgICAgICAgIHBvcnRyYWl0SW1nID0gcG9ydHJhaXRQYXRoICsgXCIxL1wiICsgZmFjZUlkO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcHJvbWlzZXMucHVzaChSZXNVdGlscy5sb2FkUmVzKHBvcnRyYWl0SW1nLCBjYy5TcHJpdGVGcmFtZSkudGhlbigoc2YpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5ub2RlLmFjdGl2ZSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoaXNTZWxmKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNlbGZTbWFsbFBvcnRyYWl0LnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnBvcnRyYWl0U3ByaXRlLnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmZpeFNjcmVlblNpemUoKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoaXNTZWxmICYmIG90aGVyUG9ydHJhaXRJbWcpIHtcbiAgICAgICAgICAgIHByb21pc2VzLnB1c2goUmVzVXRpbHMubG9hZFJlcyhvdGhlclBvcnRyYWl0SW1nLCBjYy5TcHJpdGVGcmFtZSkudGhlbigoc2YpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnBv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bXBvbmVudChjYy5SaWNoVGV4dCksIHRleHQsXG4gICAgICAgICAgICAgICAgICAgICgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3RleHRUeXBlcklzT3ZlciA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIH0sICgpID0+IHsgfSwgdGhpcy5fYXV0b1BsYXlTcGVlZFxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgLy8gcHJvbWlzZXMucHVzaChBbmltYXRpb25VdGlscy5BY3Rpb25UeXBlV3JpdGVyKHRoaXMubmFycmF0b3JEaWFsb2dOb2RlLmNoaWxkcmVuWzBdLmdldENvbXBvbmVudChjYy5SaWNoVGV4dCksIHRleHQsIHRpbWUpKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0cnkge1xuICAgICAgICAgICAgYXdhaXQgUHJvbWlzZS5hbGwocHJvbWlzZXMpO1xuICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICBjb25zb2xlLmVycm9yKGUpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcmVzZXRBdXRvUGxheUJ1dHRvblN0YXRlKCkge1xuICAgICAgICB0aGlzLl9hdXRvUGxheVNwZWVkID0gMTtcbiAgICAgICAgdGhpcy5fYXV0b1BsYXlTdGF0ZSA9IEF1dG9QbGF5U3RhdGUuQ2xvc2U7XG4gICAgICAgIHRoaXMuX3NraXBCdXR0b25TdGF0ZSA9IEF1dG9QbGF5U3RhdGUuQ2xvc2U7XG4gICAgICAgIHRoaXMuX2F1dG9QbGF5QnV0dG9uU3RhdGUgPSBBdXRvUGxheVN0YXRlLkNsb3NlO1xuICAgICAgICB0aGlzLmNoYW5nZVNraXBCdXR0b25TdGF0ZSh0aGlzLl9hdXRvUGxheVN0YXRlKTtcbiAgICAgICAgdGhpcy5jaGFuZ2VBdXRvUGxheUJ1dHRvblN0YXRlKHRoaXMuX2F1dG9QbGF5U3RhdGUpO1xuICAgIH1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L5LiA5q2l77yM6YCC55So5LqO546p5a6254K55Ye76Ieq5Yqo5pKt5pS+5oyJ6ZKu5LmL5ZCO77yM5peg6ZyA562J5b6FXG4gICAgICovXG4gICAgc3RhcnRBdXRvUGxheVRpbWVyKHN0YXJ0Tm93OiBib29sZWFuID0gZmFsc2UpIHtcbiAgICAgICAgbGV0IGludGVydmFsOiBudW1iZXIgPSAwO1xuICAgICAgICBpZiAoIXN0YXJ0Tm93KSB7XG4gICAgICAgICAgICAvL+aXtumXtOmXtOmalOeahOiuoeeul+aWueazle+8jOWmguaenHN0YXJ0Tm935Li6dHJ1ZeeahOivne+8jOS4jei/m+ihjOW7tuaXtu+8jOaXtumXtOS4ujDvvIzlkKbliJnvvJpcbiAgICAgICAgICAgIC8v77yI5paH5pys6ZW/5bqmICogNTBtcyAvIHRoaXMuX2F1dG9QbGF5U3BlZWTvvInooajnpLrmlofmnKzotbDlrozmiZPlrZfmnLrmlYjmnpzmiYDpnIDopoHnmoTml7bpl7RcbiAgICAgICAgICAgIC8v77yI5paH5pys6ZW/5bqmICogNjBtcyAvIHRoaXMuX2F1dG9QbGF5U3BlZWTvvInooajnpLrmlofmnKzlrozlhajlsZXnpLrkuYvlkI7lsZXnpLrlgZznlZnnmoTml7bpl7RcbiAgICAgICAgICAgIGludGVydmFsID0gKCh0aGlzLl9jb250ZW50VGV4dC5sZW5ndGggKiA1MCkgLyB0aGlzLl9hdXRvUGxheVNwZWVkKSArICgodGhpcy5fY29udGVudFRleHQubGVuZ3RoICogNjApIC8gdGhpcy5fYXV0b1BsYXlTcGVlZCk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fYXV0b1BsYXlUaW1lciA9IHdpbmRvdy5zZXRUaW1lb3V0KGFzeW5jICgpID0+IHtcbiAgICAgICAgICAgIGlmICh0aGlzLl9hdXRvUGxheVN0YXRlID09IEF1dG9QbGF5U3RhdGUuQXV0b1BsYXkpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fdGV4dFR5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G4gICAgICAgICAgICAgICAgICAgIC5jYWxsKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuZWZmZWN0QmFja2dyb3VuZFNwcml0ZS5ub2RlLmFjdGl2ZSA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5faXNTcGVjaWFsRWZmZWN0ID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIH0pLnN0YXJ0KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIHRoaXMuZWZmZWN0QmFja2dyb3VuZFNwcml0ZS5ub2RlLmFjdGl2ZSA9IHRydWU7XG4gICAgICAgICAgICAgICAgdGhpcy5lZmZlY3RCYWNrZ3JvdW5kU3ByaXRlLm5vZGUub3BhY2l0eSA9IDA7XG4gICAgICAgICAgICAgICAgY2MudHdlZW4odGhpcy5lZmZlY3RCYWNrZ3JvdW5kU3ByaXRlLm5vZGUpXG4gICAgICAgICAgICAgICAgICAgIC50bygxLCB7IG9wYWNpdHk6IDI1NSB9KVxuICAgICAgICAgICAgICAgICAgICAuY2FsbCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjYy50d2Vlbih0aGlzLmVmZmVjdEJhY2tncm91bmRTcHJpdGUubm9kZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAudG8oMSwgeyBvcGFjaXR5OiAwIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNhbGwoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmVmZmVjdEJhY2tncm91bmRTcHJpdGUubm9kZS5hY3RpdmUgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KS5zdGFydCgpO1xuICAgICAgICAgICAgICAgICAgICB9KS5zdGFydCgpO1xuICAgICAgICAgICAgICAgIGNjLnR3ZWVuKHRoaXMuYmFja2dyb3VuZFNwcml0ZS5ub2RlKVxuICAgICAgICAgICAgICAgICAgICAudG8oMSwgeyBvcGFjaXR5OiAwIH0pXG4gICAgICAgICAgICAgICAgICAgIC5jYWxsKGFzeW5jICgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzZiA9IGF3YWl0IFJlc1V0aWxzLmxvYWRSZXMoYmdJbWFnZSwgY2MuU3ByaXRlRnJhbWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iYWNrZ3JvdW5kU3ByaXRlLnNwcml0ZUZyYW1lID0gc2Y7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJhY2tncm91bmRTcHJpdGUubm9kZS5oZWlnaHQgPSB0aGlzLm5vZGUuaGVpZ2h0O1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iYWNrZ3JvdW5kU3ByaXRlLm5vZGUud2lkdGggPSBzZi5nZXRPcmlnaW5hbFNpemUoKS53aWR0aCAvIHNmLmdldE9yaWdpbmFsU2l6ZSgpLmhlaWdodCAqIHRoaXMubm9kZS5oZWlnaHQ7XG4gICAgICAgICAgICAgICAgICAgICAgICBjYy50d2Vlbih0aGlzLmJhY2tncm91bmRTcHJpdGUubm9kZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAudG8oMSwgeyBvcGFjaXR5OiAyNTUgfSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2FsbCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub3RoZXJEaWFsb2dOb2RlLmFjdGl2ZSA9IGRpYWxvZ05vZGVzQWN0aXZlWzBdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNlbGZEaWFsb2dOb2RlLmFjdGl2ZSA9IGRpYWxvZ05vZGVzQWN0aXZlWzFdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5hcnJhdG9yRGlhbG9nTm9kZS5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RBdXRvUGxheUJ1dHRvblN0YXRlKCk7XG4gICAgICAgICAgICBjbGVhclRpbWVvdXQodGhpcy5fYXV0b1BsYXlUaW1lcik7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -29,4 +29,4 @@ cc._RF.pop(); ...@@ -29,4 +29,4 @@ cc._RF.pop();
}); });
} }
})(); })();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0cy9zY3JpcHQvZ2FtZS91aS92aWV3L3R5cGUvRGF0aW5nU2NlbmVWaWV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQTRCYSxRQUFBLG1CQUFtQixHQUFHLGlCQUFpQixDQUFDIiwiZmlsZSI6IiIsInNvdXJjZVJvb3QiOiIvIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVmlldyB9IGZyb20gXCIuLi8uLi8uLi8uLi9jb21tb24vY2xhc3NiYXNlL1ZpZXdCYXNlXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgRGF0aW5nU2NlbmVWaWV3IGV4dGVuZHMgVmlldyB7XG4gICAgLyoqXG4gICAgICog5a6M5oiQ5b2T5YmN5Ymn5oOF5Zue6LCD5Ye95pWwXG4gICAgICovXG4gICAgY29tcGxldGVQbG90Q2FsbGJhY2s6ICgpID0+IFByb21pc2U8dm9pZD47XG4gICAgc2V0Q29udGVudChpc1NlbGY6IGJvb2xlYW4sIHRleHQ6IHN0cmluZywgbmFtZVNwcjogc3RyaW5nLCBuYW1lPzogc3RyaW5nLCBwb3J0cmFpdEltZz86IHN0cmluZywgb3RoZXJQb3J0cmFpdEltZz86IHN0cmluZywgc2hvd1JvdWdlPzogYm9vbGVhbik6IFByb21pc2U8dm9pZD47XG4gICAgc2V0QmFja2dyb3VuZChwYXRoOiBzdHJpbmcpOiBQcm9taXN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GVyQnRuOiAoKSA9PiBjYy5QcmVmYWI7XG5cbiAgICAvKirlhbPpl611aSAqL1xuICAgIGNsb3NlVmlldzogKCkgPT4gdm9pZDtcbiAgICBvblJldmlld0J1dHRvbkNsaWNrQ2FsbGJhY2s6ICgpID0+IHZvaWQ7XG59XG5cbmV4cG9ydCBjb25zdCBEYXRpbmdTY2VuZVZpZXdUeXBlID0gXCJEYXRpbmdTY2VuZVZpZXdcIjsiXX0=
\ No newline at end of file \ No newline at end of file
...@@ -82,21 +82,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -82,21 +82,6 @@ let DatingScenePresenter = /** @class */ (() => {
this._completingPlot = false; this._completingPlot = false;
this.execPlot(); this.execPlot();
}; };
this.onRollBackBtnCallback = () => {
this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
if (this._showScrollView) {
let scrollView = this.view.getScrollViewRootNode().getChildByName("ScrollView");
scrollView.scaleY = 0;
cc.tween(scrollView)
.to(0.3, { scaleY: 1 })
.start();
this.CreateOrUpdateChapterBtns();
}
else {
this.view.getScrollViewContentNode().removeAllChildren();
}
};
this.onClickRollBackBtn = (pid) => { this.onClickRollBackBtn = (pid) => {
CDKeyEventManager_1.default.getInstance().shiftCDKeyRemovePlotAD(); CDKeyEventManager_1.default.getInstance().shiftCDKeyRemovePlotAD();
let removeAdCardNum = CDKeyEventManager_1.default.getInstance().checkCDKeyRemovePlotAD(); let removeAdCardNum = CDKeyEventManager_1.default.getInstance().checkCDKeyRemovePlotAD();
...@@ -114,10 +99,7 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -114,10 +99,7 @@ let DatingScenePresenter = /** @class */ (() => {
await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar); await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar);
this.rollBackDateAdArray(pid); this.rollBackDateAdArray(pid);
AVG_1.GameRecord.saveRecord(); AVG_1.GameRecord.saveRecord();
// this.rollBackPlotInfo(pid);
this.view.getScrollViewContentNode().removeAllChildren();
this._showScrollView = !this._showScrollView; this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
this.view.closeView(); this.view.closeView();
await GameModelManager_1.GameModelManager.init((value) => { await GameModelManager_1.GameModelManager.init((value) => {
}); });
...@@ -165,10 +147,7 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -165,10 +147,7 @@ let DatingScenePresenter = /** @class */ (() => {
await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar); await AVG_1.PlotManager.rollbackToPlot(pid, false, retainVar);
this.rollBackDateAdArray(pid); this.rollBackDateAdArray(pid);
AVG_1.GameRecord.saveRecord(); AVG_1.GameRecord.saveRecord();
// this.rollBackPlotInfo(pid);
this.view.getScrollViewContentNode().removeAllChildren();
this._showScrollView = !this._showScrollView; this._showScrollView = !this._showScrollView;
this.view.getScrollViewRootNode().active = this._showScrollView;
this.view.closeView(); this.view.closeView();
await GameModelManager_1.GameModelManager.init((value) => { await GameModelManager_1.GameModelManager.init((value) => {
}); });
...@@ -214,7 +193,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -214,7 +193,6 @@ let DatingScenePresenter = /** @class */ (() => {
this._isDotTutorial = false; this._isDotTutorial = false;
this._reviewPlot = ""; this._reviewPlot = "";
this.view.completePlotCallback = this.completePlot; this.view.completePlotCallback = this.completePlot;
this.view.onRollBackBtnCallback = this.onRollBackBtnCallback;
this.view.onReviewButtonClickCallback = this.onReviewButtonClickCallback; this.view.onReviewButtonClickCallback = this.onReviewButtonClickCallback;
this._model = param; this._model = param;
if (this._model.status === DatingEventSceneModel_1.DatingEventStatus.New) { if (this._model.status === DatingEventSceneModel_1.DatingEventStatus.New) {
...@@ -227,11 +205,9 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -227,11 +205,9 @@ let DatingScenePresenter = /** @class */ (() => {
// this.view.setRunCloseAction((isSpecialScene && this._model.status !== DatingEventStatus.Completed)); // this.view.setRunCloseAction((isSpecialScene && this._model.status !== DatingEventStatus.Completed));
if (this._model.isExtra) { if (this._model.isExtra) {
GameModelManager_1.GameModelManager.setIsMainPlotSceneType(false); GameModelManager_1.GameModelManager.setIsMainPlotSceneType(false);
this.view.showRollBackBtn(false);
} }
else { else {
GameModelManager_1.GameModelManager.setIsMainPlotSceneType(true); GameModelManager_1.GameModelManager.setIsMainPlotSceneType(true);
this.view.showRollBackBtn(true);
} }
simba_utils_1.delay(0.1).then(async () => { simba_utils_1.delay(0.1).then(async () => {
if (param.status === DatingEventSceneModel_1.DatingEventStatus.Completed) { if (param.status === DatingEventSceneModel_1.DatingEventStatus.Completed) {
...@@ -284,7 +260,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -284,7 +260,6 @@ let DatingScenePresenter = /** @class */ (() => {
})); }));
this._disposable.add(GameModelManager_1.GameModelManager.RollBackToPlot.on(this.onClickRollBackBtn)); this._disposable.add(GameModelManager_1.GameModelManager.RollBackToPlot.on(this.onClickRollBackBtn));
this._showScrollView = false; this._showScrollView = false;
this.view.getScrollViewRootNode().active = this._showScrollView;
this._disposable.add(GameModelManager_1.GameModelManager.DeadEvent.on(this.onDeadEvent)); this._disposable.add(GameModelManager_1.GameModelManager.DeadEvent.on(this.onDeadEvent));
this._disposable.add(GameModelManager_1.GameModelManager.SpecialToast.on(this.onSpecialToast)); this._disposable.add(GameModelManager_1.GameModelManager.SpecialToast.on(this.onSpecialToast));
} }
...@@ -316,12 +291,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -316,12 +291,6 @@ let DatingScenePresenter = /** @class */ (() => {
if (content) { // TODO 图片设置 if (content) { // TODO 图片设置
if (content.type === AVG_1.SentenceType.TEXT) { if (content.type === AVG_1.SentenceType.TEXT) {
this.view.showBackBtn(this._showBackBtn); this.view.showBackBtn(this._showBackBtn);
if (this._model.isExtra) {
this.view.showRollBackBtn(false);
}
else {
this.view.showRollBackBtn(true);
}
await this.view.setContent(sentence.roleId === GameConstData_1.GameConstData.GAME_CONST_PLAYER_ROLE_VALUE, AVG_1.richNodesToCocosString(content.value), sentence.roleId === 1 ? "" : roleData.getNameIcon(), sentence.roleId === 1 ? undefined : roleData.getConfig().name, await this.view.setContent(sentence.roleId === GameConstData_1.GameConstData.GAME_CONST_PLAYER_ROLE_VALUE, AVG_1.richNodesToCocosString(content.value), sentence.roleId === 1 ? "" : roleData.getNameIcon(), sentence.roleId === 1 ? undefined : roleData.getConfig().name,
// sentence.roleId === 1 ? otherPortrait : roleData.getPortrait(this._currPlot.face,), // sentence.roleId === 1 ? otherPortrait : roleData.getPortrait(this._currPlot.face,),
sentence.roleId === 1 ? otherPortrait : this.getPortraitByRole(roleData, this._currPlot.face), otherPortrait, isShowRouge); sentence.roleId === 1 ? otherPortrait : this.getPortraitByRole(roleData, this._currPlot.face), otherPortrait, isShowRouge);
...@@ -334,7 +303,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -334,7 +303,6 @@ let DatingScenePresenter = /** @class */ (() => {
} }
else if (content.type === AVG_1.SentenceType.SELECT) { else if (content.type === AVG_1.SentenceType.SELECT) {
this.view.showBackBtn(false); this.view.showBackBtn(false);
this.view.showRollBackBtn(false);
let setSelection = async () => { let setSelection = async () => {
let value = content.value[this._currSelect]; let value = content.value[this._currSelect];
let str = value.summary; let str = value.summary;
...@@ -402,12 +370,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -402,12 +370,6 @@ let DatingScenePresenter = /** @class */ (() => {
this._finished = true; this._finished = true;
this.view.setIsRunningAction(false); this.view.setIsRunningAction(false);
this.view.showBackBtn(this._showBackBtn); this.view.showBackBtn(this._showBackBtn);
if (this._model.isExtra) {
this.view.showRollBackBtn(false);
}
else {
this.view.showRollBackBtn(true);
}
let Plot = AVG_1.PlotManager.getCurrentPlots()[0]; let Plot = AVG_1.PlotManager.getCurrentPlots()[0];
let isToBeContinued = Plot.id == AVG_1.SpecialPlotId.ToBeContinued; let isToBeContinued = Plot.id == AVG_1.SpecialPlotId.ToBeContinued;
let isEnd = Plot.id == AVG_1.SpecialPlotId.End; let isEnd = Plot.id == AVG_1.SpecialPlotId.End;
...@@ -494,21 +456,14 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -494,21 +456,14 @@ let DatingScenePresenter = /** @class */ (() => {
return portrait; return portrait;
} }
CreateOrUpdateChapterBtns() { CreateOrUpdateChapterBtns() {
this.view.getScrollViewContentNode().removeAllChildren();
let ret = []; let ret = [];
let models = GameModelManager_1.GameModelManager.getMainDatingEventScenesModel(); let models = GameModelManager_1.GameModelManager.getMainDatingEventScenesModel();
for (let i = 0; i < models.length; i++) { for (let i = 0; i < models.length; i++) {
ret.push({ chapterId: i + 1, chapterName: models[i].config.name, chapterStartPlotId: models[i].config.start_plot_id }); ret.push({ chapterId: i + 1, chapterName: models[i].config.name, chapterStartPlotId: models[i].config.start_plot_id });
} }
// for (let i = 0; i < ret.length; ++i) {
// let btn = cc.instantiate(this.view.getChapterBtn());
// btn.getComponent(ChapterBtn).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId);
// btn.parent = this.view.getScrollViewContentNode();
// }
for (let i = ret.length - 1; i >= 0; i--) { for (let i = ret.length - 1; i >= 0; i--) {
let btn = cc.instantiate(this.view.getChapterBtn()); let btn = cc.instantiate(this.view.getChapterBtn());
btn.getComponent(ChapterBtn_1.default).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId); btn.getComponent(ChapterBtn_1.default).setData(ret[i].chapterId, ret[i].chapterName, ret[i].chapterStartPlotId);
btn.parent = this.view.getScrollViewContentNode();
} }
} }
getRetainVarKeyArr() { getRetainVarKeyArr() {
...@@ -595,18 +550,6 @@ let DatingScenePresenter = /** @class */ (() => { ...@@ -595,18 +550,6 @@ let DatingScenePresenter = /** @class */ (() => {
nextKey = plotIds[i + 1]; nextKey = plotIds[i + 1];
} }
} }
// let cfg = ConfigManager.getAllConfig(dateSceneConfig);
// let ids: string[] = [];
// for (const id in cfg) {
// if (cfg[id].DateType == DateType.Date_Normal) {
// ids.push(id);
// }
// }
// for (let i = 0; i < ids.length; i++) {
// if (ids[i] == currEventId.toString()) {
// nextKey = ids[i + 1];
// }
// }
console.log("getNextDatingEventModel", nextKey); console.log("getNextDatingEventModel", nextKey);
return nextKey; return nextKey;
} }
......
...@@ -46,14 +46,10 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -46,14 +46,10 @@ let DatingSceneViewImpl = /** @class */ (() => {
this.backRedDot = CCDummyObjects_1.DummyNode; this.backRedDot = CCDummyObjects_1.DummyNode;
this.backBtnNode = CCDummyObjects_1.DummyNode; this.backBtnNode = CCDummyObjects_1.DummyNode;
this.endTipNode = CCDummyObjects_1.DummyNode; this.endTipNode = CCDummyObjects_1.DummyNode;
// @property(cc.Node)
// private closeActNode = DummyNode;
this.arrowguideNode = CCDummyObjects_1.DummyNode; this.arrowguideNode = CCDummyObjects_1.DummyNode;
this.otherNameSpr = CCDummyObjects_1.DummySprite; this.otherNameSpr = CCDummyObjects_1.DummySprite;
this.typewriter = undefined; this.typewriter = undefined;
this.rollBackBtn = CCDummyObjects_1.DummyNode;
this.chapterBtn = CCDummyObjects_1.DummyPrefab; this.chapterBtn = CCDummyObjects_1.DummyPrefab;
this.scrollViewRootNode = CCDummyObjects_1.DummyNode;
this.skipButtonNode = CCDummyObjects_1.DummyNode; this.skipButtonNode = CCDummyObjects_1.DummyNode;
this.autoPlayButtonNode = CCDummyObjects_1.DummyNode; this.autoPlayButtonNode = CCDummyObjects_1.DummyNode;
this.autoPlaySpriteFrame = []; this.autoPlaySpriteFrame = [];
...@@ -85,18 +81,9 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -85,18 +81,9 @@ let DatingSceneViewImpl = /** @class */ (() => {
} }
} }
}; };
this.getScrollViewRootNode = () => {
return this.scrollViewRootNode;
};
this.getScrollViewContentNode = () => {
return this.contentNode;
};
this.getChapterBtn = () => { this.getChapterBtn = () => {
return this.chapterBtn; return this.chapterBtn;
}; };
this.showRollBackBtn = (isShow) => {
this.rollBackBtn.active = isShow;
};
} }
/** /**
* 是否显示返回按钮 * 是否显示返回按钮
...@@ -417,33 +404,6 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -417,33 +404,6 @@ let DatingSceneViewImpl = /** @class */ (() => {
} }
runCloseAction() { runCloseAction() {
this.closeView(); this.closeView();
// this.setIsRunningAction(true);
// this.closeActNode.stopAllActions();
// this.closeActNode.scale = 1;
// this.closeActNode.opacity = 0;
// this.closeActNode.active = true;
// this.backBtnNode.active = false;
// let actTime: number = 1;
// let tempX: number = 0;
// let tempY: number = 0;
// let tempR: number = 0;
// let tempS: number = this.node.width / this.closeActNode.width;
// let easeS: cc.Easing = cc.easeSineOut();
// let moveAct = cc.moveTo(actTime, cc.v2(tempX, tempY)).easing(easeS);
// let fadeInAct = cc.fadeIn(actTime).easing(easeS);
// let scaleAct = cc.scaleTo(actTime / 2, tempS).easing(easeS);
// let rotationAct = cc.rotateTo(actTime / 2, tempR).easing(easeS);
// let call = cc.callFunc(() => {
// this.closeView();
// });
// let spawnMF = cc.spawn(moveAct, fadeInAct);
// let spawnSR = cc.spawn(scaleAct, rotationAct);
// let seq = cc.sequence(spawnMF, spawnSR, call);
// this.closeActNode.runAction(seq);
}
onRollBackBtnClick() {
this.resetAutoPlayButtonState();
this.onRollBackBtnCallback();
} }
onRefreshAllStatus() { onRefreshAllStatus() {
this.closeAction(); this.closeAction();
...@@ -524,19 +484,10 @@ let DatingSceneViewImpl = /** @class */ (() => { ...@@ -524,19 +484,10 @@ let DatingSceneViewImpl = /** @class */ (() => {
property(Typewriter_1.default) property(Typewriter_1.default)
], DatingSceneViewImpl.prototype, "typewriter", void 0); ], DatingSceneViewImpl.prototype, "typewriter", void 0);
__decorate([ __decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "rollBackBtn", void 0);
__decorate([
property(cc.Prefab) property(cc.Prefab)
], DatingSceneViewImpl.prototype, "chapterBtn", void 0); ], DatingSceneViewImpl.prototype, "chapterBtn", void 0);
__decorate([ __decorate([
property(cc.Node) property(cc.Node)
], DatingSceneViewImpl.prototype, "scrollViewRootNode", void 0);
__decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "contentNode", void 0);
__decorate([
property(cc.Node)
], DatingSceneViewImpl.prototype, "skipButtonNode", void 0); ], DatingSceneViewImpl.prototype, "skipButtonNode", void 0);
__decorate([ __decorate([
property(cc.Node) property(cc.Node)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!