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

视频播放逻辑优化
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
+161 -209
View File
@@ -31,23 +31,23 @@
"__id__": 103
},
{
"__id__": 292
"__id__": 288
}
],
"_active": true,
"_components": [
{
"__id__": 318
},
{
"__id__": 320
},
{
"__id__": 322
},
{
"__id__": 324
},
{
"__id__": 326
}
],
"_prefab": {
"__id__": 328
"__id__": 324
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2985,7 +2985,7 @@
"__id__": 127
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 129
@@ -4818,11 +4818,17 @@
"__id__": 219
},
{
"__id__": 250
"__id__": 248
}
],
"_active": true,
"_components": [
{
"__id__": 277
},
{
"__id__": 279
},
{
"__id__": 281
},
@@ -4831,16 +4837,10 @@
},
{
"__id__": 285
},
{
"__id__": 287
},
{
"__id__": 289
}
],
"_prefab": {
"__id__": 291
"__id__": 287
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5067,14 +5067,17 @@
"__id__": 220
},
{
"__id__": 228
"__id__": 226
},
{
"__id__": 234
"__id__": 232
}
],
"_active": true,
"_components": [
{
"__id__": 238
},
{
"__id__": 240
},
@@ -5082,14 +5085,11 @@
"__id__": 242
},
{
"__id__": 244
},
{
"__id__": 247
"__id__": 245
}
],
"_prefab": {
"__id__": 249
"__id__": 247
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5136,13 +5136,10 @@
},
{
"__id__": 223
},
{
"__id__": 225
}
],
"_prefab": {
"__id__": 227
"__id__": 225
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5187,7 +5184,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66.7265625,
"width": 145,
"height": 68.04
},
"_anchorPoint": {
@@ -5229,8 +5226,8 @@
"_actualFontSize": 48,
"_fontSize": 48,
"_fontFamily": "NotoSans-Regular",
"_lineHeight": 54,
"_overflow": 0,
"_lineHeight": 38.5,
"_overflow": 2,
"_enableWrapText": false,
"_font": {
"__uuid__": "52af39e6-df78-413a-88bb-72dfdca7ec84",
@@ -5272,27 +5269,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "d0uaKlRZJFBaqGg9HAS8Kr"
},
{
"__type__": "d7e4fOii5xNLqH2PF6de4pP",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 220
},
"_enabled": true,
"__prefab": {
"__id__": 226
},
"languageKey": "girldetailpanel.chatbtn",
"defaultText": "",
"autoUpdate": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5cJiT+aq5Oba0pXvMhBbKb"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -5318,14 +5294,14 @@
"_active": true,
"_components": [
{
"__id__": 229
"__id__": 227
},
{
"__id__": 231
"__id__": 229
}
],
"_prefab": {
"__id__": 233
"__id__": 231
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5362,11 +5338,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 228
"__id__": 226
},
"_enabled": true,
"__prefab": {
"__id__": 230
"__id__": 228
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5390,11 +5366,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 228
"__id__": 226
},
"_enabled": true,
"__prefab": {
"__id__": 232
"__id__": 230
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5454,14 +5430,14 @@
"_active": true,
"_components": [
{
"__id__": 235
"__id__": 233
},
{
"__id__": 237
"__id__": 235
}
],
"_prefab": {
"__id__": 239
"__id__": 237
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5498,11 +5474,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 234
"__id__": 232
},
"_enabled": true,
"__prefab": {
"__id__": 236
"__id__": 234
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5526,11 +5502,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 234
"__id__": 232
},
"_enabled": true,
"__prefab": {
"__id__": 238
"__id__": 236
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5614,7 +5590,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 241
"__id__": 239
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5642,7 +5618,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 243
"__id__": 241
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5687,11 +5663,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 245
"__id__": 243
},
"clickEvents": [
{
"__id__": 246
"__id__": 244
}
],
"_interactable": true,
@@ -5759,7 +5735,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 248
"__id__": 246
},
"_alignFlags": 16,
"_target": null,
@@ -5808,32 +5784,32 @@
},
"_children": [
{
"__id__": 251
"__id__": 249
},
{
"__id__": 259
"__id__": 255
},
{
"__id__": 265
"__id__": 261
}
],
"_active": true,
"_components": [
{
"__id__": 267
},
{
"__id__": 269
},
{
"__id__": 271
},
{
"__id__": 273
},
{
"__id__": 275
},
{
"__id__": 278
"__id__": 274
}
],
"_prefab": {
"__id__": 280
"__id__": 276
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5870,23 +5846,20 @@
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 250
"__id__": 248
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 250
},
{
"__id__": 252
},
{
"__id__": 254
},
{
"__id__": 256
}
],
"_prefab": {
"__id__": 258
"__id__": 254
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5923,16 +5896,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 251
"__id__": 249
},
"_enabled": true,
"__prefab": {
"__id__": 253
"__id__": 251
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66.7265625,
"height": 125.49599999999998
"width": 145.626563,
"height": 65.096
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5951,11 +5924,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 251
"__id__": 249
},
"_enabled": true,
"__prefab": {
"__id__": 255
"__id__": 253
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5973,8 +5946,8 @@
"_actualFontSize": 48,
"_fontSize": 48,
"_fontFamily": "NotoSans-Regular",
"_lineHeight": 99.6,
"_overflow": 0,
"_lineHeight": 37,
"_overflow": 2,
"_enableWrapText": false,
"_font": {
"__uuid__": "52af39e6-df78-413a-88bb-72dfdca7ec84",
@@ -6016,27 +5989,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "d6L1tZXCpGI5qPucj6Lkx2"
},
{
"__type__": "d7e4fOii5xNLqH2PF6de4pP",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 251
},
"_enabled": true,
"__prefab": {
"__id__": 257
},
"languageKey": "girldetailpanel.chatbtn",
"defaultText": "",
"autoUpdate": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bevrWNKgpB84FWIZckM8ww"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -6056,20 +6008,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 250
"__id__": 248
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 260
"__id__": 256
},
{
"__id__": 262
"__id__": 258
}
],
"_prefab": {
"__id__": 264
"__id__": 260
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6106,11 +6058,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 259
"__id__": 255
},
"_enabled": true,
"__prefab": {
"__id__": 261
"__id__": 257
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6134,11 +6086,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 259
"__id__": 255
},
"_enabled": true,
"__prefab": {
"__id__": 263
"__id__": 259
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6218,20 +6170,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 250
"__id__": 248
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 266
"__id__": 262
},
{
"__id__": 268
"__id__": 264
}
],
"_prefab": {
"__id__": 270
"__id__": 266
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6268,11 +6220,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 265
"__id__": 261
},
"_enabled": true,
"__prefab": {
"__id__": 267
"__id__": 263
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6296,11 +6248,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 265
"__id__": 261
},
"_enabled": true,
"__prefab": {
"__id__": 269
"__id__": 265
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6354,11 +6306,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 250
"__id__": 248
},
"_enabled": true,
"__prefab": {
"__id__": 272
"__id__": 268
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6382,11 +6334,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 250
"__id__": 248
},
"_enabled": true,
"__prefab": {
"__id__": 274
"__id__": 270
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6427,15 +6379,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 250
"__id__": 248
},
"_enabled": true,
"__prefab": {
"__id__": 276
"__id__": 272
},
"clickEvents": [
{
"__id__": 277
"__id__": 273
}
],
"_interactable": true,
@@ -6475,7 +6427,7 @@
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": {
"__id__": 250
"__id__": 248
},
"_id": ""
},
@@ -6499,11 +6451,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 250
"__id__": 248
},
"_enabled": true,
"__prefab": {
"__id__": 279
"__id__": 275
},
"_alignFlags": 16,
"_target": null,
@@ -6552,7 +6504,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 282
"__id__": 278
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6580,7 +6532,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 284
"__id__": 280
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6625,7 +6577,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 286
"__id__": 282
},
"_alignFlags": 40,
"_target": null,
@@ -6661,19 +6613,19 @@
},
"_enabled": true,
"__prefab": {
"__id__": 288
"__id__": 284
},
"timeLabel": {
"__id__": 223
},
"timeBtnLabel": {
"__id__": 237
"__id__": 235
},
"vipLabel": {
"__id__": 254
"__id__": 252
},
"vipBtnLabel": {
"__id__": 262
"__id__": 258
},
"_id": ""
},
@@ -6691,7 +6643,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 290
"__id__": 286
},
"_opacity": 255,
"_id": ""
@@ -6723,20 +6675,20 @@
},
"_children": [
{
"__id__": 293
"__id__": 289
}
],
"_active": true,
"_components": [
{
"__id__": 317
"__id__": 313
},
{
"__id__": 319
"__id__": 315
}
],
"_prefab": {
"__id__": 321
"__id__": 317
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6773,24 +6725,24 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 292
"__id__": 288
},
"_children": [
{
"__id__": 294
"__id__": 290
}
],
"_active": true,
"_components": [
{
"__id__": 312
"__id__": 308
},
{
"__id__": 314
"__id__": 310
}
],
"_prefab": {
"__id__": 316
"__id__": 312
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6827,27 +6779,27 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 293
"__id__": 289
},
"_children": [
{
"__id__": 295
"__id__": 291
}
],
"_active": true,
"_components": [
{
"__id__": 301
},
{
"__id__": 303
},
{
"__id__": 305
},
{
"__id__": 307
},
{
"__id__": 309
}
],
"_prefab": {
"__id__": 311
"__id__": 307
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6884,26 +6836,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 294
"__id__": 290
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 292
},
{
"__id__": 294
},
{
"__id__": 296
},
{
"__id__": 298
},
{
"__id__": 300
},
{
"__id__": 302
}
],
"_prefab": {
"__id__": 304
"__id__": 300
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6940,11 +6892,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 295
"__id__": 291
},
"_enabled": true,
"__prefab": {
"__id__": 297
"__id__": 293
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6968,11 +6920,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 295
"__id__": 291
},
"_enabled": true,
"__prefab": {
"__id__": 299
"__id__": 295
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -7010,11 +6962,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 295
"__id__": 291
},
"_enabled": true,
"__prefab": {
"__id__": 301
"__id__": 297
},
"_alignFlags": 12,
"_target": null,
@@ -7046,11 +6998,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 295
"__id__": 291
},
"_enabled": true,
"__prefab": {
"__id__": 303
"__id__": 299
},
"clickEvents": [],
"_interactable": true,
@@ -7115,11 +7067,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 294
"__id__": 290
},
"_enabled": true,
"__prefab": {
"__id__": 306
"__id__": 302
},
"_contentSize": {
"__type__": "cc.Size",
@@ -7143,11 +7095,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 294
"__id__": 290
},
"_enabled": true,
"__prefab": {
"__id__": 308
"__id__": 304
},
"_type": 3,
"_inverted": false,
@@ -7165,11 +7117,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 294
"__id__": 290
},
"_enabled": true,
"__prefab": {
"__id__": 310
"__id__": 306
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -7223,11 +7175,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 293
"__id__": 289
},
"_enabled": true,
"__prefab": {
"__id__": 313
"__id__": 309
},
"_contentSize": {
"__type__": "cc.Size",
@@ -7251,11 +7203,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 293
"__id__": 289
},
"_enabled": true,
"__prefab": {
"__id__": 315
"__id__": 311
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -7309,11 +7261,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 292
"__id__": 288
},
"_enabled": true,
"__prefab": {
"__id__": 318
"__id__": 314
},
"_contentSize": {
"__type__": "cc.Size",
@@ -7337,14 +7289,14 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 292
"__id__": 288
},
"_enabled": true,
"__prefab": {
"__id__": 320
"__id__": 316
},
"image": {
"__id__": 298
"__id__": 294
},
"_id": ""
},
@@ -7375,7 +7327,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 323
"__id__": 319
},
"_contentSize": {
"__type__": "cc.Size",
@@ -7403,7 +7355,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 325
"__id__": 321
},
"_alignFlags": 45,
"_target": null,
@@ -7439,11 +7391,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 327
"__id__": 323
},
"m_rootNode": null,
"payToTalkPanel": {
"__id__": 287
"__id__": 283
},
"editBox": {
"__id__": 175
@@ -7451,14 +7403,14 @@
"girlName": {
"__id__": 32
},
"girlVideo": {
"__id__": 131
"videoArea": {
"__id__": 134
},
"layout": {
"__id__": 76
},
"popUpImage": {
"__id__": 319
"__id__": 315
},
"_id": ""
},