设置页、弹窗逻辑、跳转逻辑

视频播放逻辑优化
This commit is contained in:
2025-09-11 00:03:22 +08:00
parent a6b15778a8
commit 7dedbf124c
24 changed files with 2338 additions and 1381 deletions
+41 -259
View File
@@ -23,7 +23,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 32
"__id__": 26
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -54,7 +54,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 33
"__id__": 27
},
"_id": "1a23cd3e-e487-4fd1-a415-346c2087464d"
},
@@ -74,25 +74,25 @@
"__id__": 5
},
{
"__id__": 22
"__id__": 16
},
{
"__id__": 25
"__id__": 19
}
],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 22
},
{
"__id__": 29
"__id__": 23
},
{
"__id__": 30
"__id__": 24
},
{
"__id__": 31
"__id__": 25
}
],
"_prefab": null,
@@ -227,27 +227,21 @@
"_children": [
{
"__id__": 6
},
{
"__id__": 9
},
{
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 12
},
{
"__id__": 19
"__id__": 13
},
{
"__id__": 20
"__id__": 14
},
{
"__id__": 21
"__id__": 15
}
],
"_prefab": null,
@@ -282,219 +276,7 @@
},
{
"__type__": "cc.Node",
"_name": "sceneBg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 7
},
{
"__id__": 8
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "ce9RkKevxMhIxLKDH+iL0c"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 996,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "caAAHDheNGwLaPCNNzBaCH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "a2SQxTrmBC9qNsrxvj92xM"
},
{
"__type__": "cc.Node",
"_name": "sceneRole",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 10
},
{
"__id__": 11
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -640,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "bdgqigDdFBJY09gKC16/wF"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 910,
"height": 1170
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_id": "4dDIFYm3JBNrMCoh2v53+x"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "femSQ6kBFOf6AE358oYBOy"
},
{
"__type__": "cc.Node",
"_name": "videoRole",
"_name": "videoPlayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -504,16 +286,16 @@
"_active": true,
"_components": [
{
"__id__": 13
"__id__": 7
},
{
"__id__": 14
"__id__": 8
},
{
"__id__": 15
"__id__": 9
},
{
"__id__": 17
"__id__": 11
}
],
"_prefab": null,
@@ -552,7 +334,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
"__id__": 6
},
"_enabled": true,
"__prefab": null,
@@ -574,7 +356,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
"__id__": 6
},
"_enabled": true,
"__prefab": null,
@@ -604,7 +386,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
"__id__": 6
},
"_enabled": true,
"__prefab": null,
@@ -621,7 +403,7 @@
"_keepAspectRatio": true,
"videoPlayerEvent": [
{
"__id__": 16
"__id__": 10
}
],
"_id": "4eO0OJtSRAuJxLXluDHDbn"
@@ -629,7 +411,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 12
"__id__": 6
},
"component": "",
"_componentId": "72cc36txkdCsYwmehDVnUGe",
@@ -642,7 +424,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
"__id__": 6
},
"_enabled": true,
"__prefab": null,
@@ -738,10 +520,10 @@
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 17
},
{
"__id__": 24
"__id__": 18
}
],
"_prefab": null,
@@ -780,7 +562,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
"__id__": 16
},
"_enabled": true,
"__prefab": null,
@@ -802,7 +584,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
"__id__": 16
},
"_enabled": true,
"__prefab": null,
@@ -838,10 +620,10 @@
"_active": true,
"_components": [
{
"__id__": 26
"__id__": 20
},
{
"__id__": 27
"__id__": 21
}
],
"_prefab": null,
@@ -880,7 +662,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 25
"__id__": 19
},
"_enabled": true,
"__prefab": null,
@@ -902,7 +684,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 25
"__id__": 19
},
"_enabled": true,
"__prefab": null,
@@ -1005,10 +787,10 @@
"_enabled": true,
"__prefab": null,
"UIRoot": {
"__id__": 22
"__id__": 16
},
"UILayerMod": {
"__id__": 25
"__id__": 19
},
"MainCamera": {
"__id__": 4
@@ -1026,28 +808,28 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 34
"__id__": 28
},
"shadows": {
"__id__": 35
"__id__": 29
},
"_skybox": {
"__id__": 36
"__id__": 30
},
"fog": {
"__id__": 37
"__id__": 31
},
"octree": {
"__id__": 38
"__id__": 32
},
"skin": {
"__id__": 39
"__id__": 33
},
"lightProbeInfo": {
"__id__": 40
"__id__": 34
},
"postSettings": {
"__id__": 41
"__id__": 35
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false