Commit 6f16e9d0 authored by 陈子煜's avatar 陈子煜

1

parent f6a7549d
...@@ -22,32 +22,32 @@ ...@@ -22,32 +22,32 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 40 "__id__": 28
},
{
"__id__": 42
}, },
{ {
"__id__": 50 "__id__": 66
}, },
{ {
"__id__": 60 "__id__": 76
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 86
}, },
{ {
"__id__": 76 "__id__": 88
},
{
"__id__": 78
}, },
{ {
"__id__": 80 "__id__": 90
} }
], ],
"_prefab": { "_prefab": {
"__id__": 82 "__id__": 92
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "svga",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
...@@ -94,19 +94,19 @@ ...@@ -94,19 +94,19 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 35 "__id__": 23
}, },
{ {
"__id__": 37 "__id__": 25
} }
], ],
"_prefab": { "_prefab": {
"__id__": 39 "__id__": 27
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -16.06400000000002, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "getPrizeBg", "_name": "aniNode",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
...@@ -143,27 +143,23 @@ ...@@ -143,27 +143,23 @@
"_children": [ "_children": [
{ {
"__id__": 4 "__id__": 4
}
],
"_active": true,
"_components": [
{
"__id__": 28
}, },
{ {
"__id__": 30 "__id__": 10
}, },
{ {
"__id__": 32 "__id__": 16
} }
], ],
"_active": true,
"_components": [],
"_prefab": { "_prefab": {
"__id__": 34 "__id__": 22
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -812,
"y": 42.00300000000004, "y": 375,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -176,7 +172,7 @@ ...@@ -176,7 +172,7 @@
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 1,
"y": 1, "y": -1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
...@@ -191,49 +187,42 @@ ...@@ -191,49 +187,42 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ScrollView", "_name": "img_14329",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 3 "__id__": 3
}, },
"_children": [ "_children": [],
{
"__id__": 5
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 21 "__id__": 5
},
{
"__id__": 23
}, },
{ {
"__id__": 25 "__id__": 7
} }
], ],
"_prefab": { "_prefab": {
"__id__": 27 "__id__": 9
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -1503,
"y": -31.966999999999985, "y": 126,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
"__type__": "cc.Quat", "__type__": "cc.Quat",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0, "z": 1,
"w": 1 "w": 0
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": -2,
"y": 1, "y": 2,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
...@@ -246,33 +235,109 @@ ...@@ -246,33 +235,109 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 249
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "04I8movZRGh6it4HdZK1pz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "54zfr8gEFFqIGzHDHuOZOv"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c2wbIoZDpPQ6wEtGhKXe/Y",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "view", "_name": "img_14329",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 4 "__id__": 3
}, },
"_children": [ "_children": [],
{
"__id__": 6
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 14 "__id__": 11
},
{
"__id__": 16
}, },
{ {
"__id__": 18 "__id__": 13
} }
], ],
"_prefab": { "_prefab": {
"__id__": 20 "__id__": 15
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
...@@ -303,29 +368,109 @@ ...@@ -303,29 +368,109 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 249
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bb5sfZQpBOFrc3nMQn14Qk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 0
},
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9aG3DRxaRJ/4eox648dQMw"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c479oPyi5HzZRBRrOmLcir",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "content", "_name": "psd_362",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 5 "__id__": 3
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 7 "__id__": 17
},
{
"__id__": 9
}, },
{ {
"__id__": 11 "__id__": 19
} }
], ],
"_prefab": { "_prefab": {
"__id__": 13 "__id__": 21
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
...@@ -362,101 +507,82 @@ ...@@ -362,101 +507,82 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 6 "__id__": 16
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 8 "__id__": 18
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": -30, "width": 1624,
"height": 120 "height": 400
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0,
"y": 0.5 "y": 1
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "96NtpGOmhNUYek+fvo0Uhp" "fileId": "4ejjbbgQdLL7jUIuY06yOL"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 6 "__id__": 16
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 10 "__id__": 20
}, },
"_alignFlags": 21, "_customMaterial": null,
"_target": null, "_srcBlendFactor": 2,
"_left": 16.015625, "_dstBlendFactor": 4,
"_right": 515, "_color": {
"_top": 90, "__type__": "cc.Color",
"_bottom": 90, "r": 255,
"_horizontalCenter": 0, "g": 255,
"_verticalCenter": 0, "b": 255,
"_isAbsLeft": true, "a": 0
"_isAbsRight": true, },
"_isAbsTop": true, "_spriteFrame": null,
"_isAbsBottom": true, "_type": 0,
"_isAbsHorizontalCenter": true, "_fillType": 0,
"_isAbsVerticalCenter": true, "_sizeMode": 1,
"_originalWidth": 800, "_fillCenter": {
"_originalHeight": 400, "__type__": "cc.Vec2",
"_alignMode": 2, "x": 0,
"_lockFlags": 0, "y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d64Wyg7QVAjq/m3hx1pTlZ" "fileId": "a5coQFfaVI1pWBSmPWokHj"
}, },
{ {
"__type__": "cc.Layout", "__type__": "cc.PrefabInfo",
"_name": "", "root": {
"_objFlags": 0, "__id__": 1
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": {
"__id__": 12
}, },
"_resizeMode": 1, "asset": {
"_layoutType": 1, "__id__": 0
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
}, },
"_startAxis": 0, "fileId": "e5NKXwjkdCXoIxPe8qkE5x",
"_paddingLeft": 0, "instance": null,
"_paddingRight": 0, "targetOverrides": null,
"_paddingTop": 0, "nestedPrefabInstanceRoots": null
"_paddingBottom": 0,
"_spacingX": 30,
"_spacingY": 30,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "69jVUK9C1CNKPX7eAHwk2D"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -466,7 +592,7 @@ ...@@ -466,7 +592,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "ecey1hU/JDg6aDjG7EHPsg", "fileId": "23zb/MgLhN95e+ctY/L9Tn",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
...@@ -477,16 +603,16 @@ ...@@ -477,16 +603,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 5 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 15 "__id__": 24
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 900, "width": 1624,
"height": 300 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -497,75 +623,32 @@ ...@@ -497,75 +623,32 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "57v+327elESo60MHwGZX/o" "fileId": "f8drSFx51IcLJkeVb++Pv1"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_type": 0,
"_inverted": false,
"_segments": 64,
"_alphaThreshold": 0.1,
"_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
"fileId": "33HqT+f+RPW6pqNKXdeyc/"
},
{
"__type__": "cc.Graphics",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 5 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 19 "__id__": 26
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
}, },
"_lineJoin": 2, "_svga": {
"_lineCap": 0, "__uuid__": "cdfd993d-77ef-42a9-a643-e959ebe14f9b",
"_fillColor": { "__expectedType__": "cc.Asset"
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 0
}, },
"_miterLimit": 10, "autoPlay": true,
"_loop": false,
"_fps": 0,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d9DkD3TRpP+aG4laqwFpU7" "fileId": "49VO/0B81NUZUK9RayCFdi"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -575,124 +658,117 @@ ...@@ -575,124 +658,117 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "ccbfsJeqFGHrHU36j8Nsph", "fileId": "bbyEmzBP5DroAthmMbZWh9",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.Node",
"_name": "", "_name": "bg",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "_parent": {
"__id__": 4 "__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_contentSize": {
"__type__": "cc.Size",
"width": 900,
"height": 300
}, },
"_anchorPoint": { "_children": [
"__type__": "cc.Vec2", {
"x": 0.5, "__id__": 29
"y": 0.5 }
],
"_active": true,
"_components": [
{
"__id__": 37
},
{
"__id__": 39
}
],
"_prefab": {
"__id__": 41
}, },
"_id": "" "_lpos": {
}, "__type__": "cc.Vec3",
{ "x": 0,
"__type__": "cc.CompPrefabInfo", "y": -16.06400000000002,
"fileId": "4eaOao0HpPlLyAXxew1tk6" "z": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
}, },
"_enabled": true, "_lrot": {
"__prefab": { "__type__": "cc.Quat",
"__id__": 24 "x": 0,
"y": 0,
"z": 0,
"w": 1
}, },
"_customMaterial": null, "_lscale": {
"_srcBlendFactor": 2, "__type__": "cc.Vec3",
"_dstBlendFactor": 4, "x": 1,
"_color": { "y": 1,
"__type__": "cc.Color", "z": 1
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_spriteFrame": null, "_mobility": 0,
"_type": 1, "_layer": 33554432,
"_fillType": 0, "_euler": {
"_sizeMode": 0, "__type__": "cc.Vec3",
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0, "x": 0,
"y": 0 "y": 0,
"z": 0
}, },
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.Node",
"fileId": "1eCT2uk2dINa3bykNrbuEW" "_name": "getPrizeBg",
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "_parent": {
"__id__": 4 "__id__": 28
}, },
"_enabled": true, "_children": [],
"__prefab": { "_active": true,
"__id__": 26 "_components": [
{
"__id__": 30
},
{
"__id__": 32
},
{
"__id__": 34
}
],
"_prefab": {
"__id__": 36
}, },
"bounceDuration": 0.23, "_lpos": {
"brake": 0.75, "__type__": "cc.Vec3",
"elastic": true, "x": 0,
"inertia": true, "y": 42.00300000000004,
"horizontal": true, "z": 0
"vertical": false,
"cancelInnerEvents": true,
"scrollEvents": [],
"_content": {
"__id__": 6
}, },
"_horizontalScrollBar": null, "_lrot": {
"_verticalScrollBar": null, "__type__": "cc.Quat",
"_id": "" "x": 0,
}, "y": 0,
{ "z": 0,
"__type__": "cc.CompPrefabInfo", "w": 1
"fileId": "59nfFPxHlKLZARUWkEbnZU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
}, },
"asset": { "_lscale": {
"__id__": 0 "__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
}, },
"fileId": "f3QVge9LZCAJaRXpOJqCqy", "_mobility": 0,
"instance": null, "_layer": 33554432,
"targetOverrides": null, "_euler": {
"nestedPrefabInstanceRoots": null "__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -700,11 +776,11 @@ ...@@ -700,11 +776,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 3 "__id__": 29
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 29 "__id__": 31
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -728,11 +804,11 @@ ...@@ -728,11 +804,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 3 "__id__": 29
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 33
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
...@@ -773,11 +849,11 @@ ...@@ -773,11 +849,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 3 "__id__": 29
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 33 "__id__": 35
}, },
"_alignFlags": 40, "_alignFlags": 40,
"_target": null, "_target": null,
...@@ -822,11 +898,11 @@ ...@@ -822,11 +898,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 2 "__id__": 28
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 38
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -850,11 +926,11 @@ ...@@ -850,11 +926,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 2 "__id__": 28
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 38 "__id__": 40
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
...@@ -895,35 +971,146 @@ ...@@ -895,35 +971,146 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "happyBtn", "_name": "ScrollView",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 43
}
],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 61
},
{
"__id__": 63
}
],
"_prefab": {
"__id__": 65
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -6.027999999999963,
"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": ""
},
{
"__type__": "cc.Node",
"_name": "view",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 42
},
"_children": [
{
"__id__": 44
}
],
"_active": true,
"_components": [
{
"__id__": 52
},
{
"__id__": 54
},
{
"__id__": 56
}
],
"_prefab": {
"__id__": 58
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "content",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 1 "__id__": 43
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 41
},
{
"__id__": 43
},
{ {
"__id__": 45 "__id__": 45
}, },
{ {
"__id__": 47 "__id__": 47
},
{
"__id__": 49
} }
], ],
"_prefab": { "_prefab": {
"__id__": 49 "__id__": 51
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -146, "x": 0,
"y": -267.66499999999996, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -955,16 +1142,16 @@ ...@@ -955,16 +1142,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 40 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 42 "__id__": 46
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 240, "width": -30,
"height": 88 "height": 120
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -975,52 +1162,7 @@ ...@@ -975,52 +1162,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "416IhhQ5FLobbvwPbSDGlr" "fileId": "96NtpGOmhNUYek+fvo0Uhp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "d19dc2a0-a131-4895-bdde-a45660291bf3@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c7jRdwVk5BQJgd+Ssdqo1L"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
...@@ -1028,18 +1170,18 @@ ...@@ -1028,18 +1170,18 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 40 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 46 "__id__": 48
}, },
"_alignFlags": 12, "_alignFlags": 21,
"_target": null, "_target": null,
"_left": 546, "_left": 16.015625,
"_right": 0, "_right": 515,
"_top": 0, "_top": 90,
"_bottom": 63.33499999999998, "_bottom": 90,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -1048,73 +1190,53 @@ ...@@ -1048,73 +1190,53 @@
"_isAbsBottom": true, "_isAbsBottom": true,
"_isAbsHorizontalCenter": true, "_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 0, "_originalWidth": 800,
"_originalHeight": 0, "_originalHeight": 400,
"_alignMode": 2, "_alignMode": 2,
"_lockFlags": 0, "_lockFlags": 0,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f4LhMcGI1KDbSjVek1zIvD" "fileId": "d64Wyg7QVAjq/m3hx1pTlZ"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Layout",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 40 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 48 "__id__": 50
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
}, },
"_normalSprite": null, "_resizeMode": 1,
"_hoverSprite": null, "_layoutType": 1,
"_pressedSprite": null, "_cellSize": {
"_disabledSprite": null, "__type__": "cc.Size",
"_duration": 0.05, "width": 40,
"_zoomScale": 0.9, "height": 40
"_target": {
"__id__": 40
}, },
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 30,
"_spacingY": 30,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "78BfyAzJhPXLq5Km9ekR4Y" "fileId": "69jVUK9C1CNKPX7eAHwk2D"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -1124,83 +1246,136 @@ ...@@ -1124,83 +1246,136 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "10pm2nUc1P6bCBC1Sh6gY0", "fileId": "ecey1hU/JDg6aDjG7EHPsg",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.UITransform",
"_name": "shareBtn", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "node": {
"__id__": 1 "__id__": 43
}, },
"_children": [], "_enabled": true,
"_active": true, "__prefab": {
"_components": [ "__id__": 53
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
},
{
"__id__": 57
}
],
"_prefab": {
"__id__": 59
}, },
"_lpos": { "_contentSize": {
"__type__": "cc.Vec3", "__type__": "cc.Size",
"x": 154, "width": 900,
"y": -267.66499999999996, "height": 300
"z": 0
}, },
"_lrot": { "_anchorPoint": {
"__type__": "cc.Quat", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 0, "y": 0.5
"z": 0,
"w": 1
}, },
"_lscale": { "_id": ""
"__type__": "cc.Vec3", },
"x": 1, {
"y": 1, "__type__": "cc.CompPrefabInfo",
"z": 1 "fileId": "57v+327elESo60MHwGZX/o"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
},
"_enabled": true,
"__prefab": {
"__id__": 55
},
"_type": 0,
"_inverted": false,
"_segments": 64,
"_alphaThreshold": 0.1,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "33HqT+f+RPW6pqNKXdeyc/"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
},
"_enabled": true,
"__prefab": {
"__id__": 57
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
}, },
"_mobility": 0, "_lineJoin": 2,
"_layer": 33554432, "_lineCap": 0,
"_euler": { "_fillColor": {
"__type__": "cc.Vec3", "__type__": "cc.Color",
"x": 0, "r": 255,
"y": 0, "g": 255,
"z": 0 "b": 255,
"a": 0
}, },
"_miterLimit": 10,
"_id": "" "_id": ""
}, },
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d9DkD3TRpP+aG4laqwFpU7"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ccbfsJeqFGHrHU36j8Nsph",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 50 "__id__": 42
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 52 "__id__": 60
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 240, "width": 900,
"height": 88 "height": 300
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1211,7 +1386,7 @@ ...@@ -1211,7 +1386,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "17eAlgcO1DyL1Ec0USMxcN" "fileId": "4eaOao0HpPlLyAXxew1tk6"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1219,11 +1394,11 @@ ...@@ -1219,11 +1394,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 50 "__id__": 42
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 54 "__id__": 62
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
...@@ -1235,13 +1410,10 @@ ...@@ -1235,13 +1410,10 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": null,
"__uuid__": "809ef008-42a0-4d93-9583-a1b878a53d8f@f9941", "_type": 1,
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
...@@ -1256,101 +1428,38 @@ ...@@ -1256,101 +1428,38 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "bepf9HFvZK34u+fERvwaxi" "fileId": "1eCT2uk2dINa3bykNrbuEW"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
},
"_enabled": true,
"__prefab": {
"__id__": 56
},
"_alignFlags": 36,
"_target": null,
"_left": 692,
"_right": 538,
"_top": 0,
"_bottom": 63.33499999999998,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fbH1HU4uxI0JKnn6Tg4I5C"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.ScrollView",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 50 "__id__": 42
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 58 "__id__": 64
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
}, },
"_pressedColor": { "bounceDuration": 0.23,
"__type__": "cc.Color", "brake": 0.75,
"r": 255, "elastic": true,
"g": 255, "inertia": true,
"b": 255, "horizontal": true,
"a": 255 "vertical": false,
}, "cancelInnerEvents": true,
"_disabledColor": { "scrollEvents": [],
"__type__": "cc.Color", "_content": {
"r": 124, "__id__": 44
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": {
"__id__": 50
}, },
"_horizontalScrollBar": null,
"_verticalScrollBar": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "4dB1ZOQ9RBJZUjTwxBBiPy" "fileId": "59nfFPxHlKLZARUWkEbnZU"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -1360,36 +1469,42 @@ ...@@ -1360,36 +1469,42 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "98g0ef/K1BXrQ6wvP86wq2", "fileId": "f3QVge9LZCAJaRXpOJqCqy",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "aniNode", "_name": "happyBtn",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 61 "__id__": 67
}, },
{ {
"__id__": 67 "__id__": 69
},
{
"__id__": 71
},
{
"__id__": 73
} }
], ],
"_active": true,
"_components": [],
"_prefab": { "_prefab": {
"__id__": 73 "__id__": 75
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -812, "x": -146,
"y": 375, "y": -267.66499999999996,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -1402,7 +1517,7 @@ ...@@ -1402,7 +1517,7 @@
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 1,
"y": -1, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
...@@ -1416,124 +1531,171 @@ ...@@ -1416,124 +1531,171 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.UITransform",
"_name": "img_14329", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "node": {
"__id__": 60 "__id__": 66
}, },
"_children": [], "_enabled": true,
"_active": true, "__prefab": {
"_components": [ "__id__": 68
{ },
"__id__": 62 "_contentSize": {
}, "__type__": "cc.Size",
{ "width": 240,
"__id__": 64 "height": 88
} },
], "_anchorPoint": {
"_prefab": { "__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "416IhhQ5FLobbvwPbSDGlr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 66 "__id__": 66
}, },
"_lpos": { "_enabled": true,
"__type__": "cc.Vec3", "__prefab": {
"x": -1300.3997802734375, "__id__": 70
"y": 126,
"z": 0
}, },
"_lrot": { "_customMaterial": null,
"__type__": "cc.Quat", "_srcBlendFactor": 2,
"x": 0, "_dstBlendFactor": 4,
"y": 0, "_color": {
"z": 1, "__type__": "cc.Color",
"w": 0 "r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_lscale": { "_spriteFrame": {
"__type__": "cc.Vec3", "__uuid__": "d19dc2a0-a131-4895-bdde-a45660291bf3@f9941",
"x": -2, "__expectedType__": "cc.SpriteFrame"
"y": 2,
"z": 1
}, },
"_mobility": 0, "_type": 0,
"_layer": 33554432, "_fillType": 0,
"_euler": { "_sizeMode": 1,
"__type__": "cc.Vec3", "_fillCenter": {
"x": 180, "__type__": "cc.Vec2",
"y": 180, "x": 0,
"z": 0 "y": 0
}, },
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.CompPrefabInfo",
"fileId": "c7jRdwVk5BQJgd+Ssdqo1L"
},
{
"__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 63 "__id__": 72
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 249
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
}, },
"_alignFlags": 12,
"_target": null,
"_left": 546,
"_right": 0,
"_top": 0,
"_bottom": 63.33499999999998,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "e0xSK0eBBHi7jSAm+vO9SA" "fileId": "f4LhMcGI1KDbSjVek1zIvD"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Button",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 65 "__id__": 74
}, },
"_customMaterial": null, "clickEvents": [],
"_srcBlendFactor": 2, "_interactable": true,
"_dstBlendFactor": 4, "_transition": 3,
"_color": { "_normalColor": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_spriteFrame": null, "_hoverColor": {
"_type": 0, "__type__": "cc.Color",
"_fillType": 0, "r": 211,
"_sizeMode": 1, "g": 211,
"_fillCenter": { "b": 211,
"__type__": "cc.Vec2", "a": 255
"x": 0, },
"y": 0 "_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": {
"__id__": 66
}, },
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "629aKeSnpBhJKsJzccQ2Ul" "fileId": "78BfyAzJhPXLq5Km9ekR4Y"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -1543,57 +1705,63 @@ ...@@ -1543,57 +1705,63 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "dfN6bqe2tMMJKWq0FTC5KS", "fileId": "10pm2nUc1P6bCBC1Sh6gY0",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "img_14329", "_name": "shareBtn",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 60 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 68 "__id__": 77
},
{
"__id__": 79
},
{
"__id__": 81
}, },
{ {
"__id__": 70 "__id__": 83
} }
], ],
"_prefab": { "_prefab": {
"__id__": 72 "__id__": 85
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1536, "x": 154,
"y": 126, "y": -267.66499999999996,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
"__type__": "cc.Quat", "__type__": "cc.Quat",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 1, "z": 0,
"w": 0 "w": 1
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -2, "x": 1,
"y": 2, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
"_layer": 33554432, "_layer": 33554432,
"_euler": { "_euler": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 180, "x": 0,
"y": 180, "y": 0,
"z": 0 "z": 0
}, },
"_id": "" "_id": ""
...@@ -1604,27 +1772,27 @@ ...@@ -1604,27 +1772,27 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 67 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 69 "__id__": 78
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 750, "width": 240,
"height": 249 "height": 88
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 1 "y": 0.5
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "67+bumw0tLOaxsCzidlVUb" "fileId": "17eAlgcO1DyL1Ec0USMxcN"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1632,11 +1800,11 @@ ...@@ -1632,11 +1800,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 67 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 71 "__id__": 80
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
...@@ -1646,9 +1814,12 @@ ...@@ -1646,9 +1814,12 @@
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 0 "a": 255
},
"_spriteFrame": {
"__uuid__": "809ef008-42a0-4d93-9583-a1b878a53d8f@f9941",
"__expectedType__": "cc.SpriteFrame"
}, },
"_spriteFrame": null,
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1666,20 +1837,101 @@ ...@@ -1666,20 +1837,101 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7ecxndk91Ccox4U9UbPhfN" "fileId": "bepf9HFvZK34u+fERvwaxi"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.Widget",
"root": { "_name": "",
"__id__": 1 "_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
}, },
"asset": { "_enabled": true,
"__id__": 0 "__prefab": {
"__id__": 82
}, },
"fileId": "ddGQri72VKP6ZxLXmMFlwy", "_alignFlags": 36,
"instance": null, "_target": null,
"targetOverrides": null, "_left": 692,
"nestedPrefabInstanceRoots": null "_right": 538,
"_top": 0,
"_bottom": 63.33499999999998,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fbH1HU4uxI0JKnn6Tg4I5C"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 84
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": {
"__id__": 76
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4dB1ZOQ9RBJZUjTwxBBiPy"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -1689,7 +1941,7 @@ ...@@ -1689,7 +1941,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "cdzoHNGB1Ewq6xrdFgqHpy", "fileId": "98g0ef/K1BXrQ6wvP86wq2",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
...@@ -1704,7 +1956,7 @@ ...@@ -1704,7 +1956,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 75 "__id__": 87
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -1732,7 +1984,7 @@ ...@@ -1732,7 +1984,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 77 "__id__": 89
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
...@@ -1768,48 +2020,32 @@ ...@@ -1768,48 +2020,32 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 79 "__id__": 91
}, },
"share": { "share": {
"__id__": 50 "__id__": 76
}, },
"happy": { "happy": {
"__id__": 40 "__id__": 66
}, },
"prizePrefab": { "prizePrefab": {
"__uuid__": "eb3f43be-dd96-4477-93f0-6c998ce40cfb", "__uuid__": "eb3f43be-dd96-4477-93f0-6c998ce40cfb",
"__expectedType__": "cc.Prefab" "__expectedType__": "cc.Prefab"
}, },
"content": { "content": {
"__id__": 6 "__id__": 44
}, },
"_id": "" "svga": {
}, "__id__": 2
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4eu9cu9cBBMrivH/BB5IzG"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
}, },
"_enabled": true, "bg": {
"__prefab": { "__id__": 28
"__id__": 81
}, },
"_svga": null,
"autoPlay": true,
"_loop": false,
"_fps": 30,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "bdgO3gPWVG2otJeF68dLd8" "fileId": "4eu9cu9cBBMrivH/BB5IzG"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
......
...@@ -26,6 +26,9 @@ export default class GetPrize extends Panel { ...@@ -26,6 +26,9 @@ export default class GetPrize extends Panel {
@property(Node) content: Node = null; @property(Node) content: Node = null;
@property(Node) svga: Node = null;
@property(Node) bg: Node = null;
onLoad() { onLoad() {
this.happy.on(Button.EventType.CLICK, this.clickHappy, this); this.happy.on(Button.EventType.CLICK, this.clickHappy, this);
this.share.on(Button.EventType.CLICK, this.clickShare, this); this.share.on(Button.EventType.CLICK, this.clickShare, this);
...@@ -34,8 +37,8 @@ export default class GetPrize extends Panel { ...@@ -34,8 +37,8 @@ export default class GetPrize extends Panel {
async start() { async start() {
const {data = this.data} = this.data const {data = this.data} = this.data
console.log(data,112233) console.log(data, 112233)
console.log(data.prizeName,22222) console.log(data.prizeName, 22222)
data.map((item, index) => { data.map((item, index) => {
const prize = instantiate(this.prizePrefab) const prize = instantiate(this.prizePrefab)
...@@ -49,12 +52,25 @@ export default class GetPrize extends Panel { ...@@ -49,12 +52,25 @@ export default class GetPrize extends Panel {
const numBg = prize.getChildByName("numBg") const numBg = prize.getChildByName("numBg")
const num = numBg.getChildByName("num") const num = numBg.getChildByName("num")
num.getComponent(Label).string = `X${item.sendCount}` num.getComponent(Label).string = `X${item.sendCount}`
})
this.bg.active = false;
this.svga.active = true
setTimeout(()=>{
this.bg.active = true
this.svga.active = false
},1000)
})
} }
change(){
this.bg.active = true
this.svga.active = false
}
clickShare() { clickShare() {
showPanel(SharePop, { showPanel(SharePop, {
prizeName: this.data[0].prizeName, prizeName: this.data[0].prizeName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment