页面适配luffa

This commit is contained in:
2025-09-19 17:18:45 +08:00
parent 6ed9f82a6e
commit f6ac711643
33 changed files with 1968 additions and 2283 deletions
+5 -5
View File
@@ -90,7 +90,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 540,
"y": 1170,
"y": 1057.5,
"z": 0
},
"_lrot": {
@@ -175,7 +175,7 @@
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 1170,
"_orthoHeight": 1057.5,
"_near": 0,
"_far": 2000,
"_color": {
@@ -383,7 +383,7 @@
"__id__": 5
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 10
@@ -1433,7 +1433,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1498,7 +1498,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
+8 -8
View File
@@ -102,7 +102,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 540,
"y": 1170,
"y": 1057.5,
"z": 0
},
"_lrot": {
@@ -187,7 +187,7 @@
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 1170,
"_orthoHeight": 1057.5,
"_near": 0,
"_far": 2000,
"_color": {
@@ -337,8 +337,8 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 384,
"height": 672
"width": 400,
"height": 866
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -410,7 +410,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -523,7 +523,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -623,7 +623,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -764,7 +764,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
+8 -8
View File
@@ -90,7 +90,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 540,
"y": 1170,
"y": 1057.5,
"z": 0
},
"_lrot": {
@@ -175,7 +175,7 @@
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 1170,
"_orthoHeight": 1057.5,
"_near": 0,
"_far": 2000,
"_color": {
@@ -386,7 +386,7 @@
"__id__": 5
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 10
@@ -440,8 +440,8 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"height": 2532
"width": 1080,
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1015,7 +1015,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -755.781,
"y": -643.281,
"z": 0
},
"_lrot": {
@@ -1691,7 +1691,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1755,7 +1755,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -266,10 +266,14 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
// this.videoLayer.playVideo(currentVideo, { size, position });
}
onChatCountChange() {
if (NavigationManager.Instance.getCurrentActivePanel() != PanelType.CHAT)
return;
console.log("Trigger On ChatCount Change");
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
let triggerId = girlData.getTriggerGrilPhotoId(this.categoryId, this.id);
if (triggerId == 0) return;
console.log("Trigger pop up Image id:" + this.id + "--" + triggerId);
this.popUpImage.refresh(this.categoryId, this.id, triggerId);
}
+17 -17
View File
@@ -177,7 +177,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -771.3,
"y": -658.8,
"z": 0
},
"_lrot": {
@@ -352,7 +352,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -1170,
"y": -1057.5,
"z": 0
},
"_lrot": {
@@ -537,7 +537,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 996.9,
"y": 983.1,
"z": 0
},
"_lrot": {
@@ -1370,7 +1370,7 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 98.7,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -1490,7 +1490,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 487.9770000000001,
"y": -700.24,
"y": -587.74,
"z": 0
},
"_lrot": {
@@ -3754,7 +3754,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1548
"height": 1323
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -3886,7 +3886,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 83.80000000000007,
"z": 0
},
"_lrot": {
@@ -4048,7 +4048,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 1947.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4078,7 +4078,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 167.6,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -4141,7 +4141,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -812.124,
"y": -699.624,
"z": 0
},
"_lrot": {
@@ -5753,7 +5753,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5900,7 +5900,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -455.91200000000003,
"y": -312.697,
"z": 0
},
"_lrot": {
@@ -7877,8 +7877,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -1027.5320000000002,
"y": 493.18200000000013,
"x": -943.769,
"y": 493.182,
"z": 0
},
"_lrot": {
@@ -7931,8 +7931,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 253.86700000000016,
"y": -28.935000000000173,
"x": 197.46599999999998,
"y": -28.934999999999945,
"z": 0
},
"_lrot": {
@@ -8517,7 +8517,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
File diff suppressed because it is too large Load Diff
+19 -17
View File
@@ -163,7 +163,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -125,
"y": -73.70000000000005,
"z": 0
},
"_lrot": {
@@ -661,8 +661,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.82,
"y": 0.82,
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -689,8 +689,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 491,
"height": 350
"width": 392.8,
"height": 280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1403,6 +1403,8 @@
"__id__": 0
},
"fileId": "84tq+XsAhMD7Pf5ZzCDcs4",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -4200,7 +4202,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 836.9090000000001,
"z": 0
},
"_lrot": {
@@ -4241,7 +4243,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": -50
"height": -30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4279,7 +4281,7 @@
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 0,
"_spacingY": 50,
"_spacingY": 30,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
@@ -4356,7 +4358,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1834.4
"height": 1712
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4501,7 +4503,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1834.4
"height": 1712
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4654,7 +4656,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2090
"height": 1967.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4683,7 +4685,7 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 250,
"_top": 147.4,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -4818,7 +4820,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 996,
"y": 982.5,
"z": 0
},
"_lrot": {
@@ -5500,7 +5502,7 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 99,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -5513,7 +5515,7 @@
"_originalWidth": 100,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 1,
"_lockFlags": 0,
"_id": ""
},
{
@@ -5548,7 +5550,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5670,7 +5672,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -302,7 +302,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -690.788,
"y": -526.722,
"z": 0
},
"_lrot": {
@@ -866,7 +866,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 164.06600000000003,
"z": 0
},
"_lrot": {
@@ -3745,7 +3745,6 @@
"__id__": 0
},
"fileId": "a56vp8DEdDloy+JjDTTm7J",
"instance": null,
"targetOverrides": null
}
]
File diff suppressed because it is too large Load Diff
@@ -311,7 +311,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 203.29999999999995,
"z": 0
},
"_lrot": {
@@ -2068,8 +2068,8 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_top": -203.29999999999995,
"_bottom": 203.29999999999995,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -2199,7 +2199,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -690.788,
"y": -487.48800000000006,
"z": 0
},
"_lrot": {
@@ -2779,7 +2779,6 @@
"__id__": 0
},
"fileId": "72STeCq6BIVrAqirSTzbfr",
"instance": null,
"targetOverrides": null
}
]
+23 -22
View File
@@ -163,7 +163,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 996,
"y": 982.5,
"z": 0
},
"_lrot": {
@@ -725,12 +725,12 @@
"__prefab": {
"__id__": 28
},
"_alignFlags": 45,
"_alignFlags": 41,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 99,
"_bottom": 2091,
"_top": 0,
"_bottom": 1971.75,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -796,7 +796,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -127.20000000000005,
"y": -75,
"z": 0
},
"_lrot": {
@@ -913,7 +913,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 1040.483,
"y": 978.083,
"z": 0
},
"_lrot": {
@@ -979,7 +979,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 10,
"y": -390.05,
"y": -367.1,
"z": 0
},
"_lrot": {
@@ -1036,7 +1036,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -101.37,
"y": 314.0809999999999,
"y": 322.3739999999998,
"z": 0
},
"_lrot": {
@@ -1419,7 +1419,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 254.16600000000005,
"y": 314.0809999999999,
"y": 322.3739999999998,
"z": 0
},
"_lrot": {
@@ -1997,7 +1997,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 238.47900000000004,
"y": 263.4459999999999,
"z": 0
},
"_lrot": {
@@ -2377,7 +2377,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 214.394,
"y": -348.3620000000001,
"y": -299.7750000000001,
"z": 0
},
"_lrot": {
@@ -2905,7 +2905,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -206.026,
"y": -348.3620000000001,
"y": -299.7750000000001,
"z": 0
},
"_lrot": {
@@ -3411,7 +3411,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 780.1
"height": 734.2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -3469,6 +3469,8 @@
"__id__": 0
},
"fileId": "bfmQnNE+dDppKipXIAljrF",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -3508,7 +3510,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 10,
"y": -1280.1,
"y": -1214.7,
"z": 0
},
"_lrot": {
@@ -9019,7 +9021,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1000
"height": 961
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9094,7 +9096,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1780.1
"height": 1695.2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9173,7 +9175,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2085.6
"height": 1965
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9318,7 +9320,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2085.6
"height": 1965
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9420,7 +9422,7 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 254.4,
"_top": 150,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -9468,7 +9470,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9590,7 +9592,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9705,7 +9707,6 @@
"__id__": 0
},
"fileId": "69Vc962V9Na7L7FyQxaYOk",
"instance": null,
"targetOverrides": null
}
]
+1 -2
View File
@@ -46,7 +46,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 251.15699999999993,
"y": 115.62400000000002,
"z": 0
},
"_lrot": {
@@ -6207,7 +6207,6 @@
"__id__": 0
},
"fileId": "38Fm50GEVAG5PwFkR1o9QJ",
"instance": null,
"targetOverrides": null
}
]
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -46,7 +46,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 181.9000000000001,
"z": 0
},
"_lrot": {
@@ -673,7 +673,6 @@
"__id__": 0
},
"fileId": "630e3mesJKuZJC9gpYcm7p",
"instance": null,
"targetOverrides": null
}
]
+1 -18
View File
@@ -776,8 +776,6 @@
"__id__": 0
},
"fileId": "67/o4AddJIMYDC0pibo3hL",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1114,8 +1112,6 @@
"__id__": 0
},
"fileId": "f8J7SrhdhEHqWpsWttBkYa",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1848,8 +1844,6 @@
"__id__": 0
},
"fileId": "f8yhhA7YlP3o9EvKnSzBXh",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1981,8 +1975,6 @@
"__id__": 0
},
"fileId": "60IjPNkWBPTY02lkUjdFp5",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -2140,8 +2132,6 @@
"__id__": 0
},
"fileId": "d5PyVw8otHPYM+NbJGTrkx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -5068,8 +5058,6 @@
"__id__": 0
},
"fileId": "a5ftK2459Kc5kIoPPjxxMi",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -5898,8 +5886,6 @@
"__id__": 0
},
"fileId": "7fzivavZVLqrsTZzcDSMIv",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -6398,8 +6384,6 @@
"__id__": 0
},
"fileId": "6fB8Gy5QRC2qHC6x3aKXuo",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -6417,7 +6401,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2340
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -6494,7 +6478,6 @@
"__id__": 0
},
"fileId": "e6pU+M6i9MErSV0E0QWx3B",
"instance": null,
"targetOverrides": null
}
]
Binary file not shown.

After

Width:  |  Height:  |  Size: 646 KiB

@@ -47,9 +47,9 @@
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 2340,
"height": 2115,
"rawWidth": 1080,
"rawHeight": 2340,
"rawHeight": 2115,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -62,16 +62,16 @@
"vertices": {
"rawPosition": [
-540,
-1170,
-1057.5,
0,
540,
-1170,
-1057.5,
0,
-540,
1170,
1057.5,
0,
540,
1170,
1057.5,
0
],
"indexes": [
@@ -84,9 +84,9 @@
],
"uv": [
0,
2340,
2115,
1080,
2340,
2115,
0,
0,
1080,
@@ -104,12 +104,12 @@
],
"minPos": [
-540,
-1170,
-1057.5,
0
],
"maxPos": [
540,
1170,
1057.5,
0
]
},
Binary file not shown.

Before

Width:  |  Height:  |  Size: 694 KiB