Commit ec5f1092 ec5f109261a6bed3e663e0bbdf8c10ffa3faec88 by jinwawa

complete sceneProgram

1 parent 8ee82dd7
[
{
"__type__": "cc.SceneAsset",
"_name": "",
"_objFlags": 0,
"_native": "",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": false,
"_level": 0,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_is3DNode": true,
"groupIndex": 0,
"autoReleaseAssets": false,
"_id": "49547f78-96a5-4d83-a99c-6cbb17e57df6"
},
{
"__type__": "cc.Node",
"_name": "TopCanvas",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 9
},
{
"__id__": 14
},
{
"__id__": 19
},
{
"__id__": 33
},
{
"__id__": 41
},
{
"__id__": 46
},
{
"__id__": 66
}
],
"_active": true,
"_level": 1,
"_components": [
{
"__id__": 70
},
{
"__id__": 71
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 640,
"y": 360,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "dcYR0hHMZD6KJY9KI3/Ugx"
},
{
"__type__": "cc.Node",
"_name": "Main Camera",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_level": 1,
"_components": [
{
"__id__": 4
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "c9Dv8vqUxPkLAjO2gMM8Rm"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_cullingMask": 4294967295,
"_clearFlags": 7,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": -1,
"_zoomRatio": 1,
"_targetTexture": null,
"_fov": 60,
"_orthoSize": 10,
"_nearClip": 0.1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_renderStages": 1,
"_id": "642tV6wuhLmaaWM0zNO01g"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 6
}
],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 8
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 478,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -259,
"y": 113,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_id": "6cRi6Ob49JQK8dV2z9l+J3"
},
{
"__type__": "cc.Node",
"_name": "Bg",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 7
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 261,
"y": -113,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "d6I4ktquZP7oOYJT4uIaAe"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "acz96oZplC+rcK2WEtLN3X"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": true,
"_id": "50rq4MuP1FApTwhHxzgm6g"
},
{
"__type__": "cc.Node",
"_name": "HomeIcon",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 10
}
],
"_active": true,
"_level": 0,
"_components": [
{
"__id__": 13
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 97,
"height": 34
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -600,
"y": 318,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "53AgzOmihAvIcpKNa9DDpj"
},
{
"__type__": "cc.Node",
"_name": "Text",
"_objFlags": 0,
"_parent": {
"__id__": 9
},
"_children": [],
"_active": true,
"_level": 1,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 800,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 410,
"y": -2,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "13O5Spx7NMpL+AknklMGST"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 26,
"_lineHeight": 50,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "a05C1T5AVPybObnH0tOH+V"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 2
},
"_alignFlags": 9,
"_left": 50,
"_right": 0,
"_top": 19,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c1uvO3cepE3byxd1wnLV/j"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ae+XAHFKxDO41T8kaHTKmf"
},
{
"__type__": "cc.Node",
"_name": "PlayBg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 15
}
],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 18
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 526,
"height": 363
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -259,
"y": 128.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_id": "52LrUB09JM4I1No5E9kKmX"
},
{
"__type__": "cc.Node",
"_name": "VideoView",
"_objFlags": 0,
"_parent": {
"__id__": 14
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 16
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 478,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -2,
"y": -15.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_id": "0edjmCsNhKS51SQjV4i3Xj"
},
{
"__type__": "cc.VideoPlayer",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"_resourceType": 0,
"_remoteURL": "",
"_clip": null,
"_volume": 0.5,
"_mute": false,
"videoPlayerEvent": [
{
"__id__": 17
}
],
"_N$keepAspectRatio": false,
"_N$isFullscreen": false,
"_id": "dfNM33EOlEZo3VWKcFDOcs"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "a3e2dwYRLZI3IBxZ4GCJKbY",
"handler": "onVideoPlayerEvent",
"customEventData": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ad/VKjJFNMdLPef5dr3Knw"
},
{
"__type__": "cc.Node",
"_name": "IntroductionArea",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 20
},
{
"__id__": 23
},
{
"__id__": 26
},
{
"__id__": 28
},
{
"__id__": 30
}
],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"height": 232
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 255,
"y": 150,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "93ZmoZJjdMYpIoz5YidqmT"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 21
},
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -190,
"y": 90.80000000000001,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "63vAg6/JxGipcOlYoyl6Ue"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "简介",
"_N$string": "简介",
"_fontSize": 30,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "80p7hA/BRMNrUepSOg3Zta"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 10,
"_right": 0,
"_top": 6.300000000000001,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "d8H2Gc94BBvLEErf4jeJCg"
},
{
"__type__": "cc.Node",
"_name": "Text",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 24
},
{
"__id__": 25
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"height": 232
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 20,
"y": -81,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "bai+ZITCVJNZMIYdqAxHa3"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 20,
"_lineHeight": 26,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 0,
"_id": "d6KYMXi+JJNo/umFIWKiLL"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 20,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "79EwFvS4lEDbnUuOd9Z176"
},
{
"__type__": "cc.Node",
"_name": "Score",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": false,
"_level": 3,
"_components": [
{
"__id__": 27
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 127,
"y": -97,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "04k3NsG2RLdooYkKM6DkHF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 20,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "37UoI7z+lDYpcboTqarn32"
},
{
"__type__": "cc.Node",
"_name": "BtnPicScore",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 29
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 114,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 68,
"y": -153,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "bf43QZVIdCrZpbhpLknT6j"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "28dfa7c1-fa82-4c00-b123-bb6521b8f85a"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c7Pcw8hgZIy6Z0kvYdVMPk"
},
{
"__type__": "cc.Node",
"_name": "BtnPicCollect",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 31
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 114,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -91,
"y": -153,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "6e9+3L+8FEvZaJ6/zP0m3+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "37ab05ce-08f6-49ed-adc9-8798f1c00724"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "96l6vf7vFDm4pXJ2dja7/4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d2qHvu67VJ+6NBXFZbk/ur"
},
{
"__type__": "cc.Node",
"_name": "NaviArea",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 34
},
{
"__id__": 37
},
{
"__id__": 39
}
],
"_active": true,
"_level": 2,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1048,
"height": 54
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -527,
"y": -87,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "59lCvixapDVL/REt3r8QMv"
},
{
"__type__": "cc.Node",
"_name": "NaviListWrapper",
"_objFlags": 0,
"_parent": {
"__id__": 33
},
"_children": [
{
"__id__": 35
}
],
"_active": true,
"_level": 0,
"_components": [
{
"__id__": 36
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1048,
"height": 54
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "daXcvVukdBD75EAmXihSoX"
},
{
"__type__": "cc.Node",
"_name": "NaviList",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_level": 0,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1048,
"height": 54
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "13CU3VG2xJQbuRLOPFjfxh"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 1,
"_N$inverted": false,
"_id": "3eIIYJm8JF/7C3YLsba2UB"
},
{
"__type__": "cc.Node",
"_name": "LeftIcon",
"_objFlags": 0,
"_parent": {
"__id__": 33
},
"_children": [],
"_active": true,
"_level": 0,
"_components": [
{
"__id__": 38
}
],
"_prefab": null,
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 17,
"height": 23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -14.5,
"y": -0.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "e9Pyjg3BpDDLY3Gpe2TTNd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0193c4b3-c920-4bf9-855e-8273bd134b07"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "90ylF8cTxJEpPUkwxsAfZL"
},
{
"__type__": "cc.Node",
"_name": "RightIcon",
"_objFlags": 0,
"_parent": {
"__id__": 33
},
"_children": [],
"_active": true,
"_level": 0,
"_components": [
{
"__id__": 40
}
],
"_prefab": null,
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 17,
"height": 23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 1070.5,
"y": -0.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "78e3OIui5F1K30ee/SSjO4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6592c705-36fb-4abb-aaa4-993bc50c78b8"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "88Q0hXnZ5AGL6ZrTNQiIOp"
},
{
"__type__": "cc.Node",
"_name": "EpisodeArea",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 42
},
{
"__id__": 44
}
],
"_active": true,
"_level": 2,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1199,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -578,
"y": -213,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "cc9tX+QThDl7Lndvc0bFh0"
},
{
"__type__": "cc.Node",
"_name": "GraphicsLine",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 43
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_id": "55HS4DtGlCZ6bqjGm2d2wH"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_materials": [
{
"__uuid__": "6f801092-0c37-4f30-89ef-c8d960825b36"
}
],
"_lineWidth": 10,
"_strokeColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 0,
"_fillColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_miterLimit": 10,
"_id": "21yN/30whLyKNjuRsBtoju"
},
{
"__type__": "cc.Node",
"_name": "EpisodeListWrapper",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [
{
"__id__": 45
}
],
"_active": true,
"_level": 0,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 800,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "50gubzGHpBHYcYIyt55pl2"
},
{
"__type__": "cc.Node",
"_name": "EpisodeList",
"_objFlags": 0,
"_parent": {
"__id__": 44
},
"_children": [],
"_active": true,
"_level": 0,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "36UnHp10tN/5y6tzr7vPUB"
},
{
"__type__": "cc.Node",
"_name": "GradeMask",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 47
},
{
"__id__": 49
}
],
"_active": false,
"_level": 2,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "c6j7rFubhA7bd3fgZi6EKu"
},
{
"__type__": "cc.Node",
"_name": "Bg",
"_objFlags": 0,
"_parent": {
"__id__": 46
},
"_children": [],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 48
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "ebkyAOfrtMg6+TC7t2Sgfs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1c/bdo4dBCD4xuaJ04Z+Xr"
},
{
"__type__": "cc.Node",
"_name": "Pic",
"_objFlags": 0,
"_parent": {
"__id__": 46
},
"_children": [
{
"__id__": 50
},
{
"__id__": 53
},
{
"__id__": 56
},
{
"__id__": 59
},
{
"__id__": 62
}
],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 65
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 526,
"height": 589
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "472pOG+zlI3rm9KVCqMmXH"
},
{
"__type__": "cc.Node",
"_name": "Score10",
"_objFlags": 0,
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 51
},
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 380,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -3,
"y": 1.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "b9wCiIGSRBdZ+Shr3zaWz2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e5ZfYEj51CFKD6y4H6SIyc"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 70,
"_right": 0,
"_top": 268,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "8c5fylQ7FJQo73/yy2d4Du"
},
{
"__type__": "cc.Node",
"_name": "Score8",
"_objFlags": 0,
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 54
},
{
"__id__": 55
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 380,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -3,
"y": -52.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "112Sy9rzdAjZ1DXc/EHQZi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fc8Bhky8JKFpfj4ZjNUBH7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 70,
"_right": 0,
"_top": 322,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "55fxw6G1xAMbgjVL/KYz01"
},
{
"__type__": "cc.Node",
"_name": "Score6",
"_objFlags": 0,
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 57
},
{
"__id__": 58
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 380,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -3,
"y": -107.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "cc6F0wLPdPXo62OTPQAx9B"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9ciFvk+fBP6qqdNdHdnrle"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 70,
"_right": 0,
"_top": 377,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "9eblDwqUZHVp0bvqIwfyhX"
},
{
"__type__": "cc.Node",
"_name": "Score4",
"_objFlags": 0,
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 60
},
{
"__id__": 61
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 380,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -3,
"y": -161.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "aam3+yW2JKYq6W1IZnahD7"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cfP/0dfANOt7UXnAccgSTL"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 70,
"_right": 0,
"_top": 431,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "270m4FwfpAxq1KNRax/PhI"
},
{
"__type__": "cc.Node",
"_name": "Score2",
"_objFlags": 0,
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 63
},
{
"__id__": 64
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 380,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": -3,
"y": -216.5,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "f46QwIXrNDtq0kNRDcUv7f"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c427XAA1xEipWtFiWI4nfY"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 70,
"_right": 0,
"_top": 486,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "2fLNDs+I1OJIlAtuWJI1kP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "22A177EqtPDIaMH+J/RHLM"
},
{
"__type__": "cc.Node",
"_name": "HomeBtn",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 67
}
],
"_active": true,
"_level": 2,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 137,
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 532.996,
"y": 287.175,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "30talm8KZO848kcw1S8iY+"
},
{
"__type__": "cc.Node",
"_name": "Bg",
"_objFlags": 0,
"_parent": {
"__id__": 66
},
"_children": [],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 68
},
{
"__id__": 69
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 137,
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": "daGT/YybRCHZDdjxkqi5rs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4d637a1b-2b7c-495b-8230-a211305f8e36"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3awJiKZbhGuZtuYm/FOCKe"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "4enAFlcr9ODqF8y1mK4Fa7"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitWidth": false,
"_fitHeight": true,
"_id": "05zsCbx29H44l5CMEKQyBO"
},
{
"__type__": "efb5f66/epM1a0NFe240po5",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_cLog": null,
"_cApplication": null,
"_cFocus": null,
"_aFocusTargets": [],
"_fiCurrentFocus": null,
"_iSceneStatus": 0,
"_fFocusScaleFactor": 1.06,
"_bIsFocusInit": false,
"_oSceneContext": null,
"_oNextSceneParameter": null,
"_compPlayer": null,
"_aTouchContext": [],
"_defaultBackScene": null,
"_oFocusScaleFactorInfo": null,
"holdClick": false,
"_bShowExitBox": false,
"_iCurrentNaviNumLoc": 1,
"_iNaviNumTotal": 0,
"_iMediaId": 0,
"_iBookMarkEpisodeId": 0,
"_iFavId": 0,
"_bCollected": false,
"_bScore": false,
"_bIsNaviDataInit": false,
"_oEpisode": null,
"_iEpisodeNum": 1,
"_strMediaName": "",
"_strMediaCode": "",
"_strPlayUrl": "",
"videoPlay": {
"__id__": 16
},
"spriteScore": {
"__id__": 29
},
"spriteCollect": {
"__id__": 31
},
"homeBtnSprite": {
"__id__": 68
},
"PFB_NAVI": {
"__uuid__": "1cb3acd3-8d3d-4b03-8d31-4ad0dc890896"
},
"PFB_EPISODE": {
"__uuid__": "6ee0ee49-2ae9-48b4-9413-6a14758788ad"
},
"_id": "06qU3uaDhADpqFb1ibjzJf"
}
]
\ No newline at end of file
{
"ver": "1.2.0",
"uuid": "49547f78-96a5-4d83-a99c-6cbb17e57df6",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}
\ No newline at end of file
//分类详情
var Common = require('Common');
var Network = require('Network');
var TVFocus = require('TVFocus');
var FocusInfo = require('FocusInfo');
var TVCanvas = require('TVCanvas');
var TVScrollParameter = require('TVScrollParameter');
var BusinessParameter = require('BusinessParameter');
var Utils = require('Utils');
cc.Class({
extends: TVCanvas,
properties: {
_iCurrentNaviNumLoc: 1,
_iNaviNumTotal: 0,
_iMediaId: 0,
_iBookMarkEpisodeId: 0,
_iFavId: 0, //校验收藏id
_bCollected: false, //是否收藏
_bScore: false,//是否评分
_bIsNaviDataInit: false, //是否初始化Navi
_oEpisode: null,
_iEpisodeNum: 1, //恢复记录中的集数
_strMediaName: '', //记录中的集数名称
_strMediaCode: '', //记录的code值
_strPlayUrl: '',
videoPlay: cc.VideoPlayer,
spriteScore: cc.Sprite,
spriteCollect: cc.Sprite,
homeBtnSprite:cc.Sprite,
PFB_NAVI: {
default: null,
type: cc.Prefab,
},
PFB_EPISODE: {
default: null,
type: cc.Prefab,
},
},
onLoad: function () {
this._super();
this._oImg = {};
this.spriteCollect.spriteFrame.setRect(cc.rect(0, 0, this.spriteCollect.node.width, this.spriteCollect.node.height));
this.spriteScore.spriteFrame.setRect(cc.rect(0, 0, this.spriteScore.node.width, this.spriteScore.node.height));
this.homeBtnSprite.spriteFrame.setRect(cc.rect(0, 0, this.homeBtnSprite.node.width, this.homeBtnSprite.node.height));
//-----------上下文及参数相关处理------------
let oSceneParameter = this._cApplication.getTopSceneParameter();
if (oSceneParameter) {
this._strAppId = oSceneParameter.appId;//应用id
this._iMediaId = oSceneParameter.id;
}
//恢复上下文
if (this._cApplication.getBackStatus()) {
this._oSceneContext = this._cApplication.popSceneContext();
this._cApplication.setBackStatus(false);
} else {
this._oSceneContext = {};
this._oSceneContext.currentPage = 1;
this._oSceneContext.requestedStart = 0;
this._oSceneContext._nodeGatherNumListX = 0;
// this._oSceneContext.elderTypeId = oSceneParameter.typeId || 37; //从上级拿过来的二级父Id
}
this._strAppId = this._strAppId || "tda7e47f868313d9f5"; //测试
this._iMediaId = this._iMediaId || 3050;
//---------上下文及参数相关处理结束-----------
this._graphicsLine = cc.find('EpisodeArea/GraphicsLine', this.node).getComponent(cc.Graphics);
//剧集分类
this._nodeNaviListWrapper = cc.find("NaviArea/NaviListWrapper", this.node);
this._nodeNaviList = cc.find('NaviList', this._nodeNaviListWrapper);
this._nodeNaviList.addComponent(TVScrollParameter);
//剧集分类
this._nodeEpisodeListWrapper = cc.find("EpisodeArea/EpisodeListWrapper", this.node);
this._nodeEpisodeList = cc.find("EpisodeList", this._nodeEpisodeListWrapper);
this.initPrefab();
this.getPageBgTest(this, 'background');
this.addHomeIcon(this);
// this.getLastPlayRecord(); //获取播放记录
this.checkPfbReadyAndInitPage(); //获取节目详情
this.getAndCheckCollect();
//VideoPlayer
// this.videoPlayer = cc.find("PlayBg/VideoView", this.node).getComponent(cc.VideoPlayer);
// cc.log("this.videoPlayer-------------------->" + this.videoPlay);
// this.videoPlay.remoteURL = "http://vjs.zencdn.net/v/oceans.mp4"; //测试播放器
// this.videoPlay.node.on('ready-to-play', function (event) {
// cc.log("ready-to-play--init-------->");
// this.videoPlay.play();
// }, this);
},
getPageBgTest: function (context, kind, spriteBg) {
let oRankingRequestParameters = {
"view": "json",
"token": Common.TEST_API_TOKEN,
};
Network.ajax('GET', Common.TOPDRAW_API_SERVER2 + 'ArrangeHut/GetWallPaperFrame', null, oRankingRequestParameters,
function (strResponse) {
// cc.log("Success When Get Ranking..."+strResponse);
try {
var oJSONResult = JSON.parse(strResponse);
if (oJSONResult.businessCode == 'success') {
if (oJSONResult.resultSet.length > 0) {
let nodeLeftRecommendPic = cc.find('Mask/Bg', context.node);
let normal = oJSONResult.resultSet[0].images.map.normal[0];
let background = oJSONResult.resultSet[0].images.map.background[0];
var strUrl = "";
if (kind == 'background') {
strUrl = Common.TOPDRAW_IMAGE_SERVER + oJSONResult.resultSet[0].images.list[background].fileUrl;
} else if (kind == 'normal') {
strUrl = Common.TOPDRAW_IMAGE_SERVER + oJSONResult.resultSet[0].images.list[normal].fileUrl;
}
if (spriteBg) { //新增骚操作
cc.loader.load(strUrl, function (err, texture) {
spriteBg.spriteFrame = new cc.SpriteFrame(texture);
});
return;
}
if (strUrl) {
cc.loader.load(strUrl, function (err, texture) {
nodeLeftRecommendPic.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
});
}
} else {
cc.log("Nothing...");
}
} else {
cc.log("Error When Get WallPaper..." + oJSONResult.description);
}
} catch (error) {
cc.log("Exception When Get WallPaper..." + error);
}
},
function (strResponse) {
cc.log("Error When Get WallPaper..." + strResponse);
}, this, "uuid");
},
onVideoPlayerEvent(sender, event) {
// this.statusLabel.string = 'Status: ' + getStatus(event);
if (event === cc.VideoPlayer.EventType.CLICKED) {
if (this.videoPlayer.isPlaying()) {
this.videoPlayer.pause();
} else {
this.videoPlayer.play();
}
}
else if (event === cc.VideoPlayer.EventType.COMPLETED) { //相同视频源可能造成重复播放失败
cc.log("play-complete---------->" + this._strPlayUrl);
// this.videoPlay.remoteURL = "http://139.196.37.202:8080/sparrow.lab/80sTest_hd.mp4"; //测试播放器
// this.videoPlay.remoteURL = this._strPlayUrl;
// this.videoPlay.play();
}
},
initPrefab: function () {
for (let i = 0; i < 4; i++) {
let nodeEpisodeCell = cc.instantiate(this.PFB_EPISODE);
nodeEpisodeCell.x = nodeEpisodeCell.width / 2 + (i) * (nodeEpisodeCell.width + 20);
this._nodeEpisodeList.addChild(nodeEpisodeCell, 10, "EpisodeListCell" + i);
let fiEpisodeBlock = nodeEpisodeCell.addComponent(FocusInfo);
fiEpisodeBlock.init('{"click": [{"action": "ChangeScene","parameters": {"sceneName":"sceneProgramPlayerFullScreen"}}]}'
, true, null, null, 1.0);
this._aFocusTargets[0]['episode_list_cell_' + i] = nodeEpisodeCell;
// let borderX = nodeEpisodeCell.x - nodeEpisodeCell.width / 2; //搞边框
// let borderY = nodeEpisodeCell.y - nodeEpisodeCell.height / 2;
// this._graphicsLine.roundRect(borderX, borderY, 278, 175, 20);//圆角矩形路径
// this._graphicsLine.stroke(); //绘制路径
}
},
//校验收藏
getAndCheckCollect: function () {
var oCheckParams = {
'view': 'json',
'token': Common.TEST_API_TOKEN_EDU,
// 'appId': this._strAppId
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER_EDU + "User/GetDefaultCollection", null, oCheckParams,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
if (oJSONResult.businessCode == 'success') {
this._iFavId = oJSONResult.resultSet[0].id;
this.checkFav();
cc.log("Business Success:Get CheckCollect...");
} else {
cc.log("Business Error:Get CheckCollect..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:Get CheckCollect..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get CheckCollect..." + strResponse);
}, this, "uuid");
},
//校验收藏
checkFav: function () {
var oCheckParams = {
'view': 'json',
'token': Common.TEST_API_TOKEN,
'appId': this._strAppId,
'collectionId': this._iFavId,
'mediaIds': this._iMediaId,
'start': 0,
'limit': 1,
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "User/ListMediaByCollection", null, oCheckParams,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
var self = this;
if (oJSONResult.businessCode == 'success') {
if (1 == oJSONResult.resultSet.length) { //已收藏
this._bCollected = true;
cc.loader.loadRes('button/be_collected', cc.Texture2D, function (err, texture) {
self.spriteCollect.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, 114, 106));
});
} else { //未收藏
this._bCollected = false;
cc.loader.loadRes('button/not_collected', cc.Texture2D, function (err, texture) {
self.spriteCollect.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, 114, 106));
});
}
cc.log("Business Success:Get CheckCollect...");
} else {
cc.log("Business Error:Get CheckCollect..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:Get CheckCollect..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get CheckCollect..." + strResponse);
}, this, "uuid");
},
//获取播放历史
getLastPlayRecord: function () {
var oBookMarkParams = {
'view': 'json',
'start': 0,
'limit': 150,
'token': Common.TEST_API_TOKEN,
'appId': this._strAppId
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "User/ListBookmark", null, oBookMarkParams,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
if (oJSONResult.businessCode == 'success') {
let bIsBookMark = false;
for (let i = 0; i < oJSONResult.resultSet.length; i++) {
if (this._iMediaId == oJSONResult.resultSet[i].media_id && oJSONResult.resultSet[i].episode_id) {
this._iBookMarkEpisodeId = oJSONResult.resultSet[i].episode_id;
bIsBookMark = true;
this.getOneEpisode();
}
}
if (!bIsBookMark) { //以前没播放过,默认播放第一集
if (this._oEpisode.resultSet[0].id) {
this._iBookMarkEpisodeId = this._oEpisode.resultSet[0].id;
this.getOneEpisode();
}
}
cc.log("Business Success:Get Play Record...");
} else {
cc.log("Business Error:Get Play Record..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:Get Play Record..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get Play Record..." + strResponse);
}, this, "uuid");
},
//播放记录
getOneEpisode: function () {
cc.log("getOneEpisode-------------------------------->");
if (Utils.isMobile()) {
cc.log("getOneEpisode isMobile-------------------------------->");
jsb.reflection.callStaticMethod("org/cocos2dx/javascript/ReflectActivity", "getPlayURL", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", this._iMediaId, this._iBookMarkEpisodeId, this._strAppId, "getPlayUrlForProgram");//获取播放器地址
cc.log("getOneEpisode getStrPlayUrl-------------------------------->" + strPlayUrl);
}
// var oBookMarkParams = {
// 'view': 'json',
// 'mediaId': this._iMediaId,
// "episodeId": this._iBookMarkEpisodeId,
// 'token': Common.TEST_API_TOKEN,
// 'appId': this._strAppId
// };
// Network.ajax("GET", Common.TOPDRAW_API_SERVER + "Platform/Play", null, oBookMarkParams,
// function (strResponse) {
// try {
// var oJSONResult = JSON.parse(strResponse);
// if (oJSONResult.businessCode == 'success') {
// var strPlayURL = oJSONResult.resultSet[0].playurl;
// if (strPlayURL) {
// //strPlayURL = "http://vjs.zencdn.net/v/oceans.mp4"; //测试使用
// cc.log("getOneEpisode paly url---------------------------->"+strPlayURL);
// this._strPlayUrl = strPlayURL;
// this.videoPlay.remoteURL = strPlayURL; //
// this.videoPlay.node.on('ready-to-play', function (event) {
// cc.log("ready-to-play---------------------------->test");
// this.videoPlay.play();
// }, this);
// }
// cc.log("Business Success:Get Play Record...");
// } else {
// cc.log("Business Error:Get Play Record..." + oJSONResult.description);
// }
// } catch (error) {
// cc.log("Business Exception:Get Play Record..." + error);
// }
// },
// function (strResponse) {
// cc.log("Business Error:Get Play Record..." + strResponse);
// }, this, "uuid");
},
//由Android原生回调回来
getPlayUrlForProgram: function (playUrl) {
cc.log("getPlayUrlForProgram------------------------>" + playUrl);
this._strPlayUrl = playUrl;
this.videoPlay.remoteURL = playUrl; //
this.videoPlay.node.on('ready-to-play', function (event) {
cc.log("ready-to-play---------------------------->test");
this.videoPlay.play();
}, this);
},
//获取节目详情
checkPfbReadyAndInitPage: function () {
//根据Id获取详情
let oGatherDetailRequestParameter = {
"view": "json",
"ids": this._iMediaId,
"start": 0,
"limit": 1,
// "appId": this._strAppId,
"token": Common.TEST_API_TOKEN_EDU
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER_EDU + "Media/List", null, oGatherDetailRequestParameter,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
if (oJSONResult.businessCode == 'success') {
cc.find("HomeIcon/Text", this.node).getComponent(cc.Label).string = oJSONResult.resultSet[0].name;//标题
//这里给描述做拦截,防止字数多超出栏目
var description = oJSONResult.resultSet[0].description;
if (description.length > 83) {
description = description.substring(0, 83) + "...";
}
cc.find("IntroductionArea/Text", this.node).getComponent(cc.Label).string = description;
if (oJSONResult.resultSet[0].score) {
cc.find("IntroductionArea/Score", this.node).getComponent(cc.Label).string = parseInt(oJSONResult.resultSet[0].score * 10) / 10 + "分";
}
if (oJSONResult.resultSet[0].images && oJSONResult.resultSet[0].images.list.length > 0) {
var map;
if (this._strAppId == BusinessParameter.CARTOON_APPID) {
map = oJSONResult.resultSet[0].images.map.background ? oJSONResult.resultSet[0].images.map.background[0] : 0;
} else {
map = oJSONResult.resultSet[0].images.map.normal ? oJSONResult.resultSet[0].images.map.normal[0] : 0;
}
}
this._strEpisodeImg = oJSONResult.resultSet[0].images.list[map].fileUrl;
// this.getDefaultPromotion(); //获取默认明星推荐
this.getGatherDetailList(); //获取剧集列表
} else {
cc.log("Business Error:Get MediaDetail..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:Get MediaDetail..." + error);
}
},
function (error) {
cc.log("Business Exception:Get MediaDetail..." + error);
}, this, "uuid");
},
// //获取默认明星推荐
// getDefaultPromotion: function () {
// let oStarPromotionPara = {
// "view": "json",
// "name": "defaultStar",
// "start": 0,
// "limit": 4,
// "token": Common.TEST_API_TOKEN
// };
// Network.ajax("GET", Common.TOPDRAW_API_SERVER + "Promotion/ListItemByName", null, oStarPromotionPara,
// function (strResponse) {
// try {
// var oJSONResult = JSON.parse(strResponse);
// if (oJSONResult.businessCode == 'success') {
// let nodeDefaultStar = new cc.Node("DefaultStar");
// nodeDefaultStar.width = oJSONResult.resultSet[0].width;
// nodeDefaultStar.height = oJSONResult.resultSet[0].height;
// let spriteDefaultStar = nodeDefaultStar.addComponent(cc.Sprite);
// var widgetDefaultStar = nodeDefaultStar.addComponent(cc.Widget);
// widgetDefaultStar.isAlignTop = true;
// widgetDefaultStar.isAlignLeft = true;
// if (oJSONResult.resultSet[0].image[0].fileUrl) {
// this._oImg.defaultStarImg = Common.TOPDRAW_IMAGE_SERVER + oJSONResult.resultSet[0].image[0].fileUrl;
// Network.loadImageInNativeRuntime(
// Common.TOPDRAW_IMAGE_SERVER + oJSONResult.resultSet[0].image[0].fileUrl,
// function (texture) {
// spriteDefaultStar.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oJSONResult.resultSet[0].width, oJSONResult.resultSet[0].height));
// }, null, this
// );
// }
// widgetDefaultStar.top = oJSONResult.resultSet[0].top;
// widgetDefaultStar.left = oJSONResult.resultSet[0].left;
// nodeDefaultStar.parent = this.node;
// //准备焦点坐标
// let fiDefaultStar = nodeDefaultStar.addComponent(FocusInfo);
// fiDefaultStar.init(
// oJSONResult.resultSet[0].tvlink,
// true, null, null, 1.15 //最后一个参数决定要不要放大显示
// );
// this._aFocusTargets[0]['DefaultStar'] = nodeDefaultStar;
// } else {
// cc.log("Business Error:Get DefaultPromotion..." + oJSONResult.description);
// }
// } catch (error) {
// cc.log("Business Exception:Get DefaultPromotion..." + error);
// }
// },
// function (error) {
// cc.log("Business Exception:Get DefaultPromotion..." + error);
// }, this, "uuid");
// },
getGatherDetailList: function () {
let oGatherNumRequestParameter = {
"view": "json",
"start": this._oSceneContext.requestedStart,
"limit": 20,
"mediaId": this._iMediaId,
"sortField": "index",
"sortDirection": "asc",
// "appId": this._strAppId,
"token": Common.TEST_API_TOKEN_EDU
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER_EDU + "Episode/ListByMedia", null, oGatherNumRequestParameter,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
this._oEpisode = oJSONResult;
if (oJSONResult.businessCode == 'success') {
for (let i = 0; i < 4; i++) {
let nodeEpisodeListCell = this._nodeEpisodeList.getChildByName("EpisodeListCell" + i);
if (i >= oJSONResult.resultSet.length) {//数据较少时隐藏其他多余预制体
nodeEpisodeListCell.active = false; //
continue;
}
nodeEpisodeListCell.active = true; //恢复预制可见及可点击
cc.find("EpisodeNum/Text", nodeEpisodeListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
if (this._strEpisodeImg) {
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER_EDU_RIGHT + this._strEpisodeImg,
function (texture) {
nodeEpisodeListCell.getChildByName("Bg").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
}, null, this
);
}
// cc.find("TopArea/Name/NormalName/MidName", nodeGatherDetailListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText1", nodeGatherDetailListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText2", nodeGatherDetailListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText1", nodeGatherDetailListCell).getComponent(cc.Label)._updateRenderData(true);
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText2", nodeGatherDetailListCell).getComponent(cc.Label)._updateRenderData(true);
let fiBlock = nodeEpisodeListCell.getComponent(FocusInfo);
fiBlock.setTVLink(
'{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneProgramPlayerFullScreen",\
"appId":"' + this._strAppId + '","id":"' + this._iMediaId + '","episodeNum":"' + oJSONResult.resultSet[i].index + '",\
"mediaCode":"'+ oJSONResult.resultSet[i].code + '","name":"' + oJSONResult.resultSet[i].name + '"}}]}'
);
}
if (!this._bIsNaviDataInit) {
this.initNaviList(); //初始化Navi
}
}
this.getLastPlayRecord(); //获取播放记录
this.checkDataReadyAndInitFocus();
} catch (error) {
cc.log("Exception When Get GatherNum List..." + error);
}
},
function (strResponse) {
cc.log("Error When Get GatherNum List..." + strResponse);
}, this, "uuid");
},
initNaviList: function () {
//剧集分类
let sum = this._oEpisode.count / 20;
this._iNaviNumTotal = Math.ceil(sum);
this._oSceneContext.requestedLimit = 20;
for (let i = 1; i <= Math.ceil(sum); i++) {
let nodeNaviListCell = cc.find("NaviListCell" + i, this._nodeNaviList);
if (nodeNaviListCell) {
continue;
}
nodeNaviListCell = cc.instantiate(this.PFB_NAVI);
nodeNaviListCell.x = nodeNaviListCell.width / 2 + (i - 1) * (nodeNaviListCell.width + 23);
i == Math.ceil(sum) ? nodeNaviListCell.getChildByName('Text').getComponent(cc.Label).string = (20 * i - 19) + "-" + this._oEpisode.count
: nodeNaviListCell.getChildByName('Text').getComponent(cc.Label).string = (20 * i - 19) + "-" + 20 * i;//TODO:最后显示应该是41-52而不是41-60
this._nodeNaviList.addChild(nodeNaviListCell, 10, "NaviListCell" + i);
cc.loader.loadRes('button/navi_bg', cc.Texture2D, function (err, texture) {
let spriteFrame = new cc.SpriteFrame();
if (i == 1) {
cc.find('Text', nodeNaviListCell).color = new cc.Color(112, 69, 61);
spriteFrame.setTexture(texture, cc.rect(0, 42, 110, 42));
} else {
spriteFrame.setTexture(texture, cc.rect(0, 0, 110, 42));
}
nodeNaviListCell.getChildByName('Bg').getComponent(cc.Sprite).spriteFrame = spriteFrame;
spriteFrame._calculateUV();
});
//准备焦点坐标
let fiNaviBlock = nodeNaviListCell.addComponent(FocusInfo);
fiNaviBlock.init('', true, null, null, 1.0);
this._aFocusTargets[0]['navi_list_cell_' + i] = nodeNaviListCell;
this._bIsNaviDataInit = true;
}
},
//添加收藏
addMedia2Collection: function () {
var oAddMedia = {
'view': 'json',
'collectionId': this._iFavId,
'mediaId': this._iMediaId,
'token': Common.TEST_API_TOKEN_EDU,
// 'appId': this._strAppId
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER_EDU + "User/AddMedia2Collection", null, oAddMedia,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
if (oJSONResult.businessCode == 'success') {
var self = this;
this._bCollected = true;
cc.loader.loadRes('button/be_collected', cc.Texture2D, function (err, texture) {
cc.find('IntroductionArea/BtnPicCollect', self.node).getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 106, 114, 106));
});
cc.log("Business Success:Get AddMedia...");
} else {
cc.log("Business Error:Get AddMedia..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:Get AddMedia..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get AddMedia..." + strResponse);
}, this, "uuid");
},
//移除收藏
removeMediaFromCollection: function () {
var oAddMedia = {
'view': 'json',
'collectionId': this._iFavId,
'mediaId': this._iMediaId,
'token': Common.TEST_API_TOKEN_EDU,
// 'appId': this._strAppId
};
Network.ajax("GET", Common.TOPDRAW_API_SERVER_EDU + "User/RemoveMediaFromCollection", null, oAddMedia,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
if (oJSONResult.businessCode == 'success') {
var self = this;
this._bCollected = false;
cc.loader.loadRes('button/not_collected', cc.Texture2D, function (err, texture) {
cc.find('IntroductionArea/BtnPicCollect', self.node).getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0,106, 114, 106));
});
cc.log("Business Success:Get AddMedia...");
} else {
cc.log("Business Error:Get AddMedia..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:Get AddMedia..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get AddMedia..." + strResponse);
}, this, "uuid");
},
// //提交评分
// submitScore: function () {
// var score = this._fiCurrentFocus.node.name.substring(5, this._fiCurrentFocus.node.name.length);
// var oSubmitScore = {
// 'view': 'json',
// 'mediaId': this._iMediaId,
// 'score': score,
// 'token': Common.TEST_API_TOKEN,
// 'appId': this._strAppId
// };
// Network.ajax("GET", Common.TOPDRAW_API_SERVER + "User/AddScore", null, oSubmitScore,
// function (strResponse) {
// try {
// var oJSONResult = JSON.parse(strResponse);
// if (oJSONResult.businessCode == 'success') {
// cc.find('GradeMask', this.node).active = false;
// this._bScore = false;
// this._iSceneStatus = 0; //改焦点层级
// let fiFocusTarget = cc.find('IntroductionArea/BtnPicScore', this.node).addComponent(FocusInfo); //处理焦点
// this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_RIGHT, null, null);
// cc.log("Business Success:提交评分成功...");
// } else {
// cc.log("Business Error:Get oSubmitScore..." + oJSONResult.description);
// }
// } catch (error) {
// cc.log("Business Exception:Get oSubmitScore..." + error);
// }
// },
// function (strResponse) {
// cc.log("Business Error:Get oSubmitScore..." + strResponse);
// }, this, "uuid");
// },
checkDataReadyAndInitFocus: function () {
if (!this._bIsFocusInit) {
this.initFocus();
this._bIsFocusInit = true;
}
},
initFocus: function () {
this._aFocusTargets[1] = [];
let fiScore10 = cc.find('GradeMask/Pic/Score10', this.node).addComponent(FocusInfo); //各个评分条目
fiScore10.init('', false, null, null, 1.15);
this._aFocusTargets[1]['Score10'] = cc.find('GradeMask/Pic/Score10', this.node);
let fiScore8 = cc.find('GradeMask/Pic/Score8', this.node).addComponent(FocusInfo); //各个评分条目
fiScore8.init('', false, null, null, 1.15);
this._aFocusTargets[1]['Score8'] = cc.find('GradeMask/Pic/Score8', this.node);
let fiScore6 = cc.find('GradeMask/Pic/Score6', this.node).addComponent(FocusInfo); //各个评分条目
fiScore6.init('', false, null, null, 1.15);
this._aFocusTargets[1]['Score6'] = cc.find('GradeMask/Pic/Score6', this.node);
let fiScore4 = cc.find('GradeMask/Pic/Score4', this.node).addComponent(FocusInfo); //各个评分条目
fiScore4.init('', false, null, null, 1.15);
this._aFocusTargets[1]['Score4'] = cc.find('GradeMask/Pic/Score4', this.node);
let fiScore2 = cc.find('GradeMask/Pic/Score2', this.node).addComponent(FocusInfo); //各个评分条目
fiScore2.init('', false, null, null, 1.15);
this._aFocusTargets[1]['Score2'] = cc.find('GradeMask/Pic/Score2', this.node);
let fiVideoView = cc.find('PlayBg/VideoView', this.node).addComponent(FocusInfo); //
fiVideoView.init('', true, null, null, 1.0);
this._aFocusTargets[0]['video_view'] = cc.find('PlayBg/VideoView', this.node);
let fiScore = cc.find('IntroductionArea/BtnPicScore', this.node).addComponent(FocusInfo); //
fiScore.init('', true, null, null, 1.0);
this._aFocusTargets[0]['btn_score'] = cc.find('IntroductionArea/BtnPicScore', this.node);
let fiCollect = cc.find('IntroductionArea/BtnPicCollect', this.node).addComponent(FocusInfo); //
fiCollect.init('', true, null, null, 1.0);
this._aFocusTargets[0]['btn_collect'] = cc.find('IntroductionArea/BtnPicCollect', this.node);
let fiHomeBtn = cc.find('HomeBtn', this.node).addComponent(FocusInfo); //
fiHomeBtn.init('', true, null, null, 1.0);
this._aFocusTargets[0]['btn_home'] = cc.find('HomeBtn', this.node);
var nodeInitFocus = cc.find('PlayBg/VideoView', this.node);
var nodeFocus = new cc.Node('nodeFocus');
this.node.addChild(nodeFocus, 10);
this._cFocus = this.node.getChildByName('nodeFocus').addComponent(TVFocus);
this._cFocus.init('focusContainer', this,
nodeInitFocus.getComponent(FocusInfo),
Common.SCREEN_WIDTH, Common.SCREEN_HEIGHT, 2, 6, null);
},
keyDownDirection: function (Direct) {
var fiFocusTarget = null;
var fiCurrentFocus = this._fiCurrentFocus;
var oScrollParameter = null;
let aCheckResult;
fiFocusTarget = this._cFocus.findTarget(fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Direct);
//搜索到的目标节点有误,禁止它跳转
if (Direct == Common.MOVE_DIRECTION_RIGHT && 0 == this._fiCurrentFocus.node.name.indexOf("EpisodeListCell3")) {
return;
}
if (Direct == Common.MOVE_DIRECTION_LEFT && 0 == this._fiCurrentFocus.node.name.indexOf("EpisodeListCell0")) {
return;
}
if (!fiFocusTarget) { return; }
aCheckResult = this.checkFocusTarget(fiFocusTarget);
fiFocusTarget = aCheckResult[0];
oScrollParameter = aCheckResult[1];
this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter);
},
checkFocusTarget: function (fiFocusTarget, oScrollParameter) {
// if (this._bScore && 0 != fiFocusTarget.node.name.indexOf("Score")) { //评分状态下屏蔽其他焦点
// return [null, oScrollParameter];
// }
if (fiFocusTarget && 0 == fiFocusTarget.node.name.indexOf("NaviListCell")) {
if (0 != this._fiCurrentFocus.node.name.indexOf("NaviListCell")) {
fiFocusTarget = cc.find("NaviListCell" + this._iCurrentNaviNumLoc, this._nodeNaviList).getComponent(FocusInfo);
}
let iIndex = fiFocusTarget.node.name.replace("NaviListCell", '');
if (fiFocusTarget.node.x - fiFocusTarget.node.width / 2 + this._nodeNaviList.x >= this._nodeNaviListWrapper.width) {
oScrollParameter = this._nodeNaviList.getComponent(TVScrollParameter);
oScrollParameter.setHasRelation(true);
oScrollParameter.setStep((fiFocusTarget.node.x + fiFocusTarget.node.width / 2 + this._nodeNaviList.x) - this._nodeNaviListWrapper.width);
oScrollParameter.setTargetPosition(this._nodeNaviList.x - oScrollParameter.getStep());
this._oSceneContext._nodeNaviListX = this._nodeNaviList.x - oScrollParameter.getStep();
}
if (fiFocusTarget.node.x + this._nodeNaviList.x < 0) {
oScrollParameter = this._nodeNaviList.getComponent(TVScrollParameter);
oScrollParameter.setHasRelation(true);
oScrollParameter.setStep(-fiFocusTarget.node.x + fiFocusTarget.node.width / 2 - this._nodeNaviList.x);
oScrollParameter.setTargetPosition(this._nodeNaviList.x + oScrollParameter.getStep())
this._oSceneContext._nodeNaviListX = this._nodeNaviList.x + oScrollParameter.getStep();
}
}
return [fiFocusTarget, oScrollParameter];
},
onKeyDown: function (event) {
this._super(event);
switch (event.keyCode) {
case cc.macro.KEY.up:
case Common.ANDROID_KEY.up:
this.keyDownDirection(Common.MOVE_DIRECTION_UP);
break;
case cc.macro.KEY.right:
case Common.ANDROID_KEY.right:
let index = this._fiCurrentFocus.node.name.replace('EpisodeListCell', '');
if (0 == this._fiCurrentFocus.node.name.indexOf('EpisodeListCell') && index == 3 && this._oSceneContext.currentPage * 4 < this._oEpisode.resultSet.length) {
this._oSceneContext.currentPage++;
this.moveEpisode();
}
this.keyDownDirection(Common.MOVE_DIRECTION_RIGHT);
break;
case cc.macro.KEY.down:
case Common.ANDROID_KEY.down:
this.keyDownDirection(Common.MOVE_DIRECTION_DOWN);
break;
case cc.macro.KEY.left:
case Common.ANDROID_KEY.left:
let index2 = this._fiCurrentFocus.node.name.replace('EpisodeListCell', '');
if (0 == this._fiCurrentFocus.node.name.indexOf('EpisodeListCell') && index2 == 0 && this._oSceneContext.currentPage > 1) {
this._oSceneContext.currentPage--;
this.moveEpisode();
}
this.keyDownDirection(Common.MOVE_DIRECTION_LEFT);
break;
case cc.macro.KEY.enter:
case cc.macro.KEY.space:
case Common.ANDROID_KEY.enter:
if (0 == this._fiCurrentFocus.node.name.indexOf('BtnPicCollect')) {
if (this._bCollected) { //已收藏
this.removeMediaFromCollection();
} else {
this.addMedia2Collection();
}
return;
} else if (0 == this._fiCurrentFocus.node.name.indexOf('BtnPicScore')) {//已经是加入课堂了
//敬请期待
this.commonTip("敬请期待",1);
// if (!this._bScore) {
// this._bScore = !this._bScore;
// this._iSceneStatus = 1;
// cc.find('GradeMask', this.node).active = true;
// let fiFocusTarget = cc.find('GradeMask/Pic/Score10', this.node).addComponent(FocusInfo);
// this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_RIGHT, null, null);
// }
// return;
} else if (this._bScore && 0 == this._fiCurrentFocus.node.name.indexOf('Score')) { //已经是加入课堂了
// this.submitScore();
return;
}else if(0 == this._fiCurrentFocus.node.name.indexOf('HomeBtn')){
cc.log("返回首页");
return;
}
this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK);
break;
case cc.macro.KEY.backspace:
case Common.ANDROID_KEY.back:
this.backAScene();
break;
}
},
//移动剧集
moveEpisode: function () {
let index = (this._oSceneContext.currentPage - 1) * 4;
for (let i = index; i < index + 4; i++) {
let nodeEpisodeListCell = this._nodeEpisodeList.getChildByName("EpisodeListCell" + i % 4);
// if (i >= this._oEpisode.resultSet.length) {//数据较少时隐藏其他多余预制体
// nodeEpisodeListCell.active = false; //
// continue;
// }
nodeEpisodeListCell.active = true; //恢复预制可见及可点击
if (this._oEpisode.resultSet[i]) {
cc.find("EpisodeNum/Text", nodeEpisodeListCell).getComponent(cc.Label).string = this._oEpisode.resultSet[i].name;
if (this._strEpisodeImg) {
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER_EDU_RIGHT + this._strEpisodeImg,
function (texture) {
nodeEpisodeListCell.getChildByName("Bg").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
}, null, this
);
}
} else {
nodeEpisodeListCell.active = false;
}
this._cFocus.hide();
this.scheduleOnce(() => { //指定0让回调函数在下一帧立即执行
this._cFocus.flyFocus(this._fiCurrentFocus, this._nodeEpisodeList.getChildByName("EpisodeListCell0").getComponent(FocusInfo), Common.MOVE_DIRECTION_LEFT, 1.0, null);
}, 0);
setTimeout(function () { //在隐藏1.2秒焦点,
this._cFocus.show();
}.bind(this), 400);
// cc.find("TopArea/Name/NormalName/MidName", nodeGatherDetailListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText1", nodeGatherDetailListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText2", nodeGatherDetailListCell).getComponent(cc.Label).string = oJSONResult.resultSet[i].name;
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText1", nodeGatherDetailListCell).getComponent(cc.Label)._updateRenderData(true);
// cc.find("TopArea/Name/ActiveName/NameContainer/NameText/NameText2", nodeGatherDetailListCell).getComponent(cc.Label)._updateRenderData(true);
// let fiBlock = nodeEpisodeListCell.getComponent(FocusInfo);
// fiBlock.setTVLink(
// '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"scenePlayerFullScreen",\
// "appId":"' + this._strAppId + '","id":"' + this._iMediaId + '","episodeNum":"'+oJSONResult.resultSet[i].index+'",\
// "mediaCode":"'+oJSONResult.resultSet[i].code+'","name":"'+oJSONResult.resultSet[i].name+'"}}]}'
// );
}
},
onBeforeFocusChange: function (event) {
this._super(event);
let fiFrom = event.detail.from;
let fiTo = event.detail.to;
// if (0 == fiFrom.node.getName().indexOf('DefaultStar') || 0 == fiFrom.node.getName().indexOf('navi_list_cell_')) { //TODO:
// fiFrom.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
// }
// if (0 == fiFrom.node.getName().indexOf('BtnPicScore')) { //TODO:
// fiFrom.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
// }
if (0 == fiFrom.node.getName().indexOf('DefaultStar')) { //TODO:
// fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
if (this._oImg.defaultStarImg) {
Network.loadImageInNativeRuntime(
this._oImg.defaultStarImg,
function (texture) {
fiFrom.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
}, null, this
);
}
}
if (0 == fiFrom.node.getName().indexOf('BtnPicScore')) { //TODO:
// fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
cc.loader.loadRes('button/add_class', cc.Texture2D, function (err, texture) {
fiFrom.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
}
if (0 == fiFrom.node.getName().indexOf('HomeBtn')) { //TODO:
// fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
cc.loader.loadRes('button/home_button', cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Bg").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
}
if (0 == fiFrom.node.getName().indexOf('BtnPicCollect')) { //收藏
if (this._bCollected) {
cc.loader.loadRes('button/be_collected', cc.Texture2D, function (err, texture) {
fiFrom.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
} else {
cc.loader.loadRes('button/not_collected', cc.Texture2D, function (err, texture) {
fiFrom.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
}
}
if (0 == fiFrom.node.getName().indexOf('Score')) { //分数
let picName = fiFrom.node.name.substring(0, 7).toLowerCase();
cc.loader.loadRes('button/' + picName + "_1", cc.Texture2D, function (err, texture) {
fiFrom.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, 380, 50));
});
}
if (0 == fiFrom.node.getName().indexOf('NaviListCell') && 0 == fiTo.node.getName().indexOf('NaviListCell')) { //剧集分类1-20.21-40...
cc.find('Text', fiFrom.node).color = new cc.Color(255, 255, 255);
// fiFrom.node.getChildByName('Bg').getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.getChildByName('Bg').width, fiFrom.node.getChildByName('Bg').height));
cc.loader.loadRes('button/navi_bg', cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName('Bg').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.getChildByName('Bg').width, fiFrom.node.getChildByName('Bg').height));
});
}
},
onAfterFocusChange: function (event) {
this._super(event);
let fiFrom = event.detail.from;
let fiTo = event.detail.to;
if (0 == fiTo.node.getName().indexOf('DefaultStar')) { //TODO:
// fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
if (this._oImg.defaultStarImg) {
Network.loadImageInNativeRuntime(
this._oImg.defaultStarImg,
function (texture) {
fiTo.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
}, null, this
);
}
}
// if (0 == fiTo.node.getName().indexOf('navi_list_cell_')) { //TODO:
// // fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// cc.loader.loadRes('texture/button/navi_bg', cc.Texture2D, function (err, texture) {
// fiTo.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 42, 110, 42));
// });
// }
if (0 == fiTo.node.getName().indexOf('BtnPicScore')) { //TODO:
// fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
cc.loader.loadRes('button/add_class', cc.Texture2D, function (err, texture) {
fiTo.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
}
if (0 == fiTo.node.getName().indexOf('HomeBtn')) { //TODO:
// fiTo.node.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
cc.loader.loadRes('button/home_button', cc.Texture2D, function (err, texture) {
fiTo.node.getChildByName("Bg").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
}
if (0 == fiTo.node.getName().indexOf('BtnPicCollect')) { //收藏
if (this._bCollected) {
cc.loader.loadRes('button/be_collected', cc.Texture2D, function (err, texture) {
fiTo.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
} else {
cc.loader.loadRes('button/not_collected', cc.Texture2D, function (err, texture) {
fiTo.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
}
}
if (0 == fiTo.node.getName().indexOf('Score')) { //分数
let picName = fiTo.node.name.substring(0, 7).toLowerCase();
cc.loader.loadRes('button/' + picName + "_2", cc.Texture2D, function (err, texture) {
fiTo.node.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, 380, 50));
});
}
if (0 == fiTo.node.getName().indexOf('NaviListCell')) { //剧集分类1-20.21-40...
this._oSceneContext.currentPage = 1; //页面恢复
cc.find('Text', fiTo.node).color = new cc.Color(112, 69, 61);
// fiTo.node.getChildByName('Bg').getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.getChildByName('Bg').height, fiTo.node.getChildByName('Bg').width, fiTo.node.getChildByName('Bg').height));
cc.loader.loadRes('button/navi_bg', cc.Texture2D, function (err, texture) {
fiTo.node.getChildByName('Bg').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.getChildByName('Bg').height, fiTo.node.getChildByName('Bg').width, fiTo.node.getChildByName('Bg').height));
});
let index = fiTo.node.name.replace('NaviListCell', '');
this._iCurrentNaviNumLoc = index;
this._oSceneContext.requestedStart = index * 20 - 20;
this.getGatherDetailList();
if (index > 1) {
cc.find('NaviArea/LeftIcon', this.node).opacity = 255;
}
if (index == 1) {
cc.find('NaviArea/LeftIcon', this.node).opacity = 0;
}
if (index > 1 && index < parseInt(this._iNaviNumTotal)) {
cc.find('NaviArea/RightIcon', this.node).opacity = 255;
}
if (index == parseInt(this._iNaviNumTotal)) {
cc.find('NaviArea/RightIcon', this.node).opacity = 0;
}
}
},
doCurrentFocusTVLinkAction: function (strAction) {
let strTVLink = this._fiCurrentFocus.getTVLink();
var joTVLink = null;
try {
joTVLink = JSON.parse(strTVLink);
let jaOperationList = joTVLink.click;
for (let i = 0; i < jaOperationList.length; i++) {
switch (jaOperationList[i].action) {
default:
this.doTVLinkAction(jaOperationList[i]);
break;
}
}
} catch (error) {
cc.log("runTVLinkAction Exception..." + error);
}
},
onDestroy: function () {
cc.director.emit('stop_render'); //分发事件
},
});
{
"ver": "1.0.5",
"uuid": "efb5feba-fdea-4cd5-ad0d-15edb8d29a39",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "9537cf62-8ee9-47ad-a400-6a63c6f23be6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"crown_left_detail": {
"ver": "1.0.4",
"uuid": "0193c4b3-c920-4bf9-855e-8273bd134b07",
"rawTextureUuid": "9537cf62-8ee9-47ad-a400-6a63c6f23be6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 17,
"height": 23,
"rawWidth": 17,
"rawHeight": 23,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "87cc52ff-a4bb-4398-b919-cea7cbbaa549",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"crown_right_detail": {
"ver": "1.0.4",
"uuid": "6592c705-36fb-4abb-aaa4-993bc50c78b8",
"rawTextureUuid": "87cc52ff-a4bb-4398-b919-cea7cbbaa549",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 17,
"height": 23,
"rawWidth": 17,
"rawHeight": 23,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "3f3b9fe8-09a3-4eb9-ae96-7d994c27ecd9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"bg_720": {
"ver": "1.0.4",
"uuid": "36943afe-4365-48c3-ba16-507cf2021098",
"rawTextureUuid": "3f3b9fe8-09a3-4eb9-ae96-7d994c27ecd9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"height": 720,
"rawWidth": 1280,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "f00b37c8-77ba-4887-b8f8-6edd8e3ab5d6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"cartoon": {
"ver": "1.0.4",
"uuid": "41cc8357-59a5-4c66-86f3-9514943a04d0",
"rawTextureUuid": "f00b37c8-77ba-4887-b8f8-6edd8e3ab5d6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -22.5,
"offsetY": -1,
"trimX": 14,
"trimY": 4,
"width": 97,
"height": 34,
"rawWidth": 170,
"rawHeight": 40,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "e2bfa0ab-69af-4659-9f71-965edc01a4fc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"director_bg": {
"ver": "1.0.4",
"uuid": "c7b6cac7-e4d1-485d-be0c-c7bd3af6fca8",
"rawTextureUuid": "e2bfa0ab-69af-4659-9f71-965edc01a4fc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 360,
"height": 232,
"rawWidth": 360,
"rawHeight": 232,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "5d504707-dc6f-41ed-96ac-8ca130941305",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"play_bg": {
"ver": "1.0.4",
"uuid": "79bb93a7-d577-4a6a-8d39-2d574551dde2",
"rawTextureUuid": "5d504707-dc6f-41ed-96ac-8ca130941305",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 526,
"height": 363,
"rawWidth": 526,
"rawHeight": 363,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "3b86c7b6-d7b9-4b24-8830-0f488c047da0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"add_class": {
"ver": "1.0.4",
"uuid": "28dfa7c1-fa82-4c00-b123-bb6521b8f85a",
"rawTextureUuid": "3b86c7b6-d7b9-4b24-8830-0f488c047da0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 114,
"height": 212,
"rawWidth": 114,
"rawHeight": 212,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "c84b465a-5174-435f-8bf5-aec63d77c97c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"be_collected": {
"ver": "1.0.4",
"uuid": "9896bc02-47f2-4b99-af4a-de8bf919e4a7",
"rawTextureUuid": "c84b465a-5174-435f-8bf5-aec63d77c97c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 114,
"height": 212,
"rawWidth": 114,
"rawHeight": 212,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "3ff2505a-54c0-462f-9b39-ad61ed7ced95",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"home_button": {
"ver": "1.0.4",
"uuid": "4d637a1b-2b7c-495b-8230-a211305f8e36",
"rawTextureUuid": "3ff2505a-54c0-462f-9b39-ad61ed7ced95",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 0,
"trimY": 4,
"width": 137,
"height": 126,
"rawWidth": 137,
"rawHeight": 130,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "9e8c33a4-3bee-42b3-bc9d-f8139027890b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"navi_bg": {
"ver": "1.0.4",
"uuid": "540623a3-58a0-4d83-8b13-11046496f1a7",
"rawTextureUuid": "9e8c33a4-3bee-42b3-bc9d-f8139027890b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 1,
"width": 110,
"height": 82,
"rawWidth": 110,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "c5e13a7e-1eb3-4c22-a194-970c7458e249",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"not_collected": {
"ver": "1.0.4",
"uuid": "37ab05ce-08f6-49ed-adc9-8798f1c00724",
"rawTextureUuid": "c5e13a7e-1eb3-4c22-a194-970c7458e249",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 114,
"height": 212,
"rawWidth": 114,
"rawHeight": 212,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.1",
"uuid": "7937c107-ff43-4564-81fc-78b7171c9636",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"platformSettings": {},
"subMetas": {
"score": {
"ver": "1.0.4",
"uuid": "4d03b905-d745-437e-947e-603ef676a445",
"rawTextureUuid": "7937c107-ff43-4564-81fc-78b7171c9636",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 142,
"height": 104,
"rawWidth": 142,
"rawHeight": 104,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "pfbCartoonDetailEpisodeCell",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
}
],
"_active": true,
"_level": 1,
"_components": [
{
"__id__": 13
}
],
"_prefab": {
"__id__": 14
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 175
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Bg",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 175
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "6ee0ee49-2ae9-48b4-9413-6a14758788ad"
},
"fileId": "50cZSiLZFHJKM3NFbekCWR",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "EpisodeNum",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 6
},
{
"__id__": 9
}
],
"_active": true,
"_level": 2,
"_components": [],
"_prefab": {
"__id__": 12
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 49
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": -63,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Bg",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 49
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "6ee0ee49-2ae9-48b4-9413-6a14758788ad"
},
"fileId": "b2tz5etIhC47T7R0sRcHAZ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Text",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_level": 3,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 49
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 24,
"_lineHeight": 49,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "6ee0ee49-2ae9-48b4-9413-6a14758788ad"
},
"fileId": "7aVXWJZTNOiIBm+iubUplA",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "6ee0ee49-2ae9-48b4-9413-6a14758788ad"
},
"fileId": "cfLaJVGVNIoYZDtoDIFlwz",
"sync": false
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_materials": [
null
],
"_spriteFrame": null,
"_type": 2,
"_segments": 64,
"_N$alphaThreshold": 0.9,
"_N$inverted": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "6ee0ee49-2ae9-48b4-9413-6a14758788ad"
},
"fileId": "7a0Pz/KNRLXrJA+uJ5skQo",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.0",
"uuid": "6ee0ee49-2ae9-48b4-9413-6a14758788ad",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "pfbCartoonDetailNaviList",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
}
],
"_active": true,
"_level": 1,
"_components": [],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Bg",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "1cb3acd3-8d3d-4b03-8d31-4ad0dc890896"
},
"fileId": "83vSN2W0FJGppDZW5DV4dH",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Text",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_level": 0,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48.04,
"height": 30.24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"groupIndex": 0,
"_rotationX": 0,
"_rotationY": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "1-20",
"_N$string": "1-20",
"_fontSize": 24,
"_lineHeight": 24,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "1cb3acd3-8d3d-4b03-8d31-4ad0dc890896"
},
"fileId": "a8eJGo/95DHZo+KiwpT3xR",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "1cb3acd3-8d3d-4b03-8d31-4ad0dc890896"
},
"fileId": "57vxuAFOFCgpuupa1TzpzK",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.0",
"uuid": "1cb3acd3-8d3d-4b03-8d31-4ad0dc890896",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file