feat: 完善分享模式

This commit is contained in:
richarjiang
2026-05-10 21:38:10 +08:00
parent b68e32ddce
commit c53eac6b24
7 changed files with 677 additions and 70 deletions

View File

@@ -40,14 +40,14 @@
"_active": true,
"_components": [
{
"__id__": 154
"__id__": 160
},
{
"__id__": 156
"__id__": 162
}
],
"_prefab": {
"__id__": 158
"__id__": 164
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2258,20 +2258,20 @@
"__id__": 93
},
{
"__id__": 141
"__id__": 147
}
],
"_active": true,
"_components": [
{
"__id__": 149
"__id__": 155
},
{
"__id__": 151
"__id__": 157
}
],
"_prefab": {
"__id__": 153
"__id__": 159
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2318,17 +2318,17 @@
"_active": true,
"_components": [
{
"__id__": 134
"__id__": 140
},
{
"__id__": 136
"__id__": 142
},
{
"__id__": 138
"__id__": 144
}
],
"_prefab": {
"__id__": 140
"__id__": 146
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2375,11 +2375,11 @@
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 137
}
],
"_prefab": {
"__id__": 133
"__id__": 139
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2424,16 +2424,19 @@
},
{
"__id__": 108
},
{
"__id__": 128
}
],
"_active": true,
"_components": [
{
"__id__": 128
"__id__": 134
}
],
"_prefab": {
"__id__": 130
"__id__": 136
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3240,6 +3243,168 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "AnswerLabel",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
},
{
"__id__": 131
}
],
"_prefab": {
"__id__": 133
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 163.106,
"y": -13.134,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.712,
"y": 0.712,
"z": 0.712
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
},
"_enabled": true,
"__prefab": {
"__id__": 130
},
"_contentSize": {
"__type__": "cc.Size",
"width": 170,
"height": 136
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "33SRp0SWVHl4kQ1pZ7BQhx"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
},
"_enabled": true,
"__prefab": {
"__id__": 132
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "答案",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 80,
"_fontSize": 80,
"_fontFamily": "Arial",
"_lineHeight": 100,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 191,
"g": 127,
"b": 2,
"a": 255
},
"_outlineWidth": 5,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "940bZjtkVLIYX8EolxrbQ5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3aNOwLJv5EJa3QIvuuIt/d",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -3250,7 +3415,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 129
"__id__": 135
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3291,7 +3456,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 132
"__id__": 138
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3332,7 +3497,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 135
"__id__": 141
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3360,7 +3525,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 137
"__id__": 143
},
"_type": 0,
"_inverted": false,
@@ -3382,7 +3547,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 139
"__id__": 145
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3443,17 +3608,17 @@
"_active": true,
"_components": [
{
"__id__": 142
"__id__": 148
},
{
"__id__": 144
"__id__": 150
},
{
"__id__": 146
"__id__": 152
}
],
"_prefab": {
"__id__": 148
"__id__": 154
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3490,11 +3655,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 141
"__id__": 147
},
"_enabled": true,
"__prefab": {
"__id__": 143
"__id__": 149
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3518,11 +3683,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 141
"__id__": 147
},
"_enabled": true,
"__prefab": {
"__id__": 145
"__id__": 151
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3563,11 +3728,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 141
"__id__": 147
},
"_enabled": true,
"__prefab": {
"__id__": 147
"__id__": 153
},
"_alignFlags": 40,
"_target": null,
@@ -3616,7 +3781,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 150
"__id__": 156
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3644,7 +3809,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 152
"__id__": 158
},
"bounceDuration": 0.23,
"brake": 0.75,
@@ -3688,7 +3853,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 155
"__id__": 161
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3716,9 +3881,32 @@
},
"_enabled": true,
"__prefab": {
"__id__": 157
"__id__": 163
},
"settingButton": {
"__id__": 76
},
"rankLabel": {
"__id__": 47
},
"rightNumberLabel": {
"__id__": 53
},
"rankNumberLabel": {
"__id__": 59
},
"participateNumberLabel": {
"__id__": 65
},
"answerTitleLabel": {
"__id__": 89
},
"answerListContent": {
"__id__": 94
},
"answerItemTemplate": {
"__id__": 95
},
"settingButton": null,
"_id": ""
},
{