页面适配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

+1 -1
View File
@@ -3,7 +3,7 @@
"general": {
"designResolution": {
"width": 1080,
"height": 2340,
"height": 2115,
"fitHeight": false,
"fitWidth": true
}
-34
View File
@@ -1,34 +0,0 @@
//app.js
App({
onLaunch: function () {
// show localstorage
let logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
// login
wx.login({
success: res => {
// get custom login info res
}
})
// get user settings
wx.getSetting({
success: res => {
if (res.authSetting['scope.userInfo']) {
// Already authorized, you can directly call getUserInfo to get the avatar nickname without popping up
wx.getUserInfo({
success: res => {
// get custom user info res
this.globalData.userInfo = res.userInfo;
}
})
}
}
})
},
globalData: {
userInfo: null
}
})
-13
View File
@@ -1,13 +0,0 @@
{
"pages": [
"pages/index/index",
"pages/logs/logs"
],
"style": "v2",
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "TCSAS Mini Program",
"navigationBarTextStyle": "black"
}
}
-9
View File
@@ -1,9 +0,0 @@
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
-53
View File
@@ -1,53 +0,0 @@
//index.js
//get application instance
const { defaultIcon } = require('../../utils/icon');
const app = getApp()
Page({
data: {
motto: 'Hello World',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo')
},
// event handler function
bindViewTap: function () {
wx.navigateTo({
url: '../logs/logs'
})
},
onLoad: function () {
if (app.globalData.userInfo) {
this.setData({
userInfo: app.globalData.userInfo,
hasUserInfo: true
})
} else if (this.data.canIUse) {
// do someting
} else {
// There is no compatibility processing for open-type=getUserInfo version
wx.getUserInfo({
success: res => {
app.globalData.userInfo = res.userInfo
this.setData({
userInfo: res.userInfo,
hasUserInfo: true
})
}
})
}
},
getUserInfo: function (e) {
console.log('getUserInfo ----> ', e);
app.globalData.userInfo = e.detail.userInfo || "";
const userInfo = e.detail.userInfo || {
avatarUrl: defaultIcon,
nickName: 'userNickName'
}
this.setData({
userInfo: userInfo,
hasUserInfo: true
})
}
})
-3
View File
@@ -1,3 +0,0 @@
{
"usingComponents": {}
}
-1
View File
@@ -1 +0,0 @@
<web-view src="http://120.25.215.205:39002/"></web-view>
-20
View File
@@ -1,20 +0,0 @@
.userinfo {
display: flex;
flex-direction: column;
align-items: center;
}
.userinfo-avatar {
width: 128rpx;
height: 128rpx;
margin: 20rpx;
border-radius: 50%;
}
.userinfo-nickname {
color: #aaa;
}
.usermotto {
margin-top: 200px;
}
-15
View File
@@ -1,15 +0,0 @@
//logs.js
const util = require('../../utils/util.js')
Page({
data: {
logs: []
},
onLoad: function () {
this.setData({
logs: (wx.getStorageSync('logs') || []).map(log => {
return util.formatTime(new Date(log))
})
})
}
})
-4
View File
@@ -1,4 +0,0 @@
{
"navigationBarTitleText": "Logs",
"usingComponents": {}
}
-5
View File
@@ -1,5 +0,0 @@
<view class="container log-list">
<block wx:for="{{logs}}" wx:for-item="log" wx:key="*this">
<text class="log-item">{{index + 1}}. {{log}}</text>
</block>
</view>
-9
View File
@@ -1,9 +0,0 @@
.log-list {
display: flex;
flex-direction: column;
padding: 40rpx;
}
.log-item {
margin: 10rpx;
}
-47
View File
@@ -1,47 +0,0 @@
{
"projectid": "mp0ygqvghc940ppb_AIphrodite",
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true,
"autoAudits": false,
"nodeModules": true,
"uploadWithSourceMap": true,
"uglifyFileName": true,
"remoteDebugLogEnable": true,
"prefetch": false
},
"LuffaToolsLibVersion": "2.2.13",
"compileType": "miniprogram",
"createTime": 1758263984023,
"accessTime": 1758263984023,
"packOptions": {
"ignore": []
},
"debugOptions": {
"hidedInDevtools": []
},
"LuffaToolsappid": "mp0ygqvghc940ppb",
"projectname": "AIphrodite",
"scripts": {},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}
-5
View File
@@ -1,5 +0,0 @@
const defaultIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAbFBMVEUyxnH///+x5sUOwmPm9+wsxW4lxGsUwmUdw2jW8uBZzojQ8NzY8uLb8+Rg0Iw+yXih4bn0/Pf5/fvg9ejr+fCW3rHE7NOk4rtm0ZCQ3K2C2KO86c1Iy35w1JfK7td31ZtRzYN+16C258iL26mIAYOpAAAK/klEQVR4nN3d53bjKhAAYGSZEttxUdziuPv933GR3GQVmEE07fy695zdRN8OAiTBQBL3sfgZ/w3mv7vTYTsdjUbT6eF0uc0Hf+OfhYffTlz+8Oz7ujrtKedCMMZoOeT/C8E5m21/B19Ooa6E2WRzmqVcSBdRhbQKkdLD/OiK6UKYHVdnwXW2TygTfH9bu1BaF/5spnnm4LiyMj2vvmxfkF3h141wI91byenlaPWaLAonv5SzDrpnMMEuY3uXZUu42Mys8B5ITldDS1dmRzg+pJ0aZxMynf5ZuTYLwmww45Z5RVDB5hY6187CxYoJF74iGN8tAwsXt9Te3ddoTA8/AYWLm8XepS1oeujU6XQQZisPvrvx0qGtmgsHzI8vD8ZXmW/heCa8+QojvXoVLrZOxgdl8LNZl2Mk3LgbHxRB019PwuHZbwN9ByMG81W8cO6/gb4j3TkXLoMl8B6MTNwK/0ImsAiazl0KTzywLw8xQs3HMcLhzN8YrwrKMK86EMJ18Bb6inTjQrhKQ7tKwU/2hYewfWg12Bk6UQUKF/s4bsF3UAJ8poIJlySaW/AVlMP6G5BwEmQeqo0U9KoKIhzHMAo2RTqwI1zH1Il+BmTU0Av/4gXKUUM/hdMKowbKLGqJOmHETfQe2ixqhOPYgfruRi2cxNqLlkMzaCiFy7hmam2RKt9tqISLCGcyjcFVb+FUwn1PgIRSxTOxQniIbbLdHnRvIlz14ya8BzvghZGP9NUQrcNim3DYh3GiHK0daptw1pde5hWspbdpEZ7608s8g54xwmvf2mgeovnDTa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sbYTj9cdLqpK9AJsvgkVwk4Hj1NW/vcE7C3tHu1Hj7efrb7tUsct/X2e0TfsVMMGGoodBe3CbkchMnEaHMfrzYh7KQcn2vefKYRdehtSFJMSgvkpd6cqGaYQJpMIqmKCIq09MgGFnTpUj8Eb5ttAoZ9+vmuIm9KgFvrp6buFuKgJGmHyGztRtA6EQGHsxJbpNkaY3GImCv1eer0w5ixqmyhM2KWwntvQdTJgYayDBlcPExhhnEN/qhzokcLkq3uxUtuhnKrhhckSc0amh6ACWnIFKkyyafDK5qVgM3C5DrBQDozx3IyAYdBEmPz5eZrVB7CPwQuTYRQ3I2WoDdQoYZLswrdUMV3or9NcmKwDDxs0xdbpwAqTbBtymir26AVYaGGSXIN1ODRd4S/XQJgsDmHuRnE2WSRoIpR3I/HfqTLDIitmwrysh9+mStOLQTmnLsJk2bWqPsrHR+gTvToL5fOGpzf28gacrfWX40CYJMe9D6MgwOckB0LZ5bg2UkHMOhhbQplHl22V8lmn/FkRJsnkkLoZO1g6Oup/vQeh7FdXxPp0lQpxs7IB0IpQxnqbWvxWSBk/Xw3Hv2rYEsq53OZsCcn4bGVvF649oYzh5tz1BCGa88yOL2kJq0IZy8GWm37bpkyko41ZgbD2sC3MY7waob/g50dI7W9r3OM7KFwIZWTjzYGmggGcNMeJ6eroQJeHI2ERi+NgdyZctloprVKplOVHf9HzZb7G1irGhEvhPbKf43Vzu2zP5ZJis/P2tJsPjt+OEleKf+9clRDl++4DAAAAAElFTkSuQmCC'
module.exports = {
defaultIcon
}
-19
View File
@@ -1,19 +0,0 @@
const formatTime = date => {
const year = date.getFullYear()
const month = date.getMonth() + 1
const day = date.getDate()
const hour = date.getHours()
const minute = date.getMinutes()
const second = date.getSeconds()
return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
}
const formatNumber = n => {
n = n.toString()
return n[1] ? n : '0' + n
}
module.exports = {
formatTime: formatTime
}