Commit afbf9959 afbf9959f529dcf565663ed2248dfcd82d3f933e by 金学艇

1.首页敬请期待弹窗修改完成

1 parent 9323a571
......@@ -192,7 +192,7 @@
"array": [
0,
0,
250.28134155273438,
271.060302734375,
0,
0,
0,
......@@ -5460,7 +5460,7 @@
"_oFocusScaleFactorInfo": null,
"_bShowExitBox": false,
"test_json": {
"__uuid__": "d797e6d8-b99b-4992-be3f-35357c9dcd65"
"__uuid__": "2f979325-7c8b-45cc-99a5-30cc9c056bb1"
},
"PFB_COMMON_WIDGET": {
"__uuid__": "57787725-2430-4ac3-b324-c22c08c3f074"
......
......@@ -81,28 +81,28 @@
"__id__": 5
},
{
"__id__": 65
"__id__": 66
},
{
"__id__": 66
"__id__": 67
},
{
"__id__": 69
"__id__": 70
},
{
"__id__": 74
"__id__": 75
},
{
"__id__": 80
"__id__": 81
}
],
"_active": true,
"_components": [
{
"__id__": 83
"__id__": 84
},
{
"__id__": 84
"__id__": 85
}
],
"_prefab": null,
......@@ -192,7 +192,7 @@
"array": [
0,
0,
250.28134155273438,
271.060302734375,
0,
0,
0,
......@@ -265,7 +265,7 @@
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 65
}
],
"_prefab": null,
......@@ -328,10 +328,10 @@
"__id__": 7
},
{
"__id__": 33
"__id__": 34
},
{
"__id__": 54
"__id__": 55
}
],
"_active": true,
......@@ -396,16 +396,16 @@
"__id__": 8
},
{
"__id__": 10
"__id__": 11
},
{
"__id__": 13
"__id__": 14
}
],
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 33
}
],
"_prefab": null,
......@@ -464,10 +464,13 @@
"__id__": 7
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 10
}
],
"_prefab": null,
......@@ -482,7 +485,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 138
"height": 359
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -494,7 +497,7 @@
"ctor": "Float32Array",
"array": [
0,
0,
110.5,
0,
0,
0,
......@@ -534,10 +537,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "229285de-b7df-48a1-9c37-e38def48b708"
"__uuid__": "d6a166fc-5d87-4e1b-8e55-24310c5f8bc0"
},
"_type": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -551,6 +554,33 @@
"_id": "6aAuJKBvBPcbobfBuj9IRf"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_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": 0,
"_originalHeight": 0,
"_id": "42qe3J/A9ATZSRHExexXCN"
},
{
"__type__": "cc.Node",
"_name": "Play",
"_objFlags": 0,
......@@ -561,10 +591,10 @@
"_active": false,
"_components": [
{
"__id__": 11
"__id__": 12
},
{
"__id__": 12
"__id__": 13
}
],
"_prefab": null,
......@@ -620,7 +650,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"_materials": [
......@@ -652,7 +682,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"alignMode": 1,
......@@ -685,22 +715,22 @@
},
"_children": [
{
"__id__": 14
"__id__": 15
},
{
"__id__": 17
"__id__": 18
},
{
"__id__": 20
"__id__": 21
},
{
"__id__": 23
"__id__": 24
},
{
"__id__": 26
"__id__": 27
},
{
"__id__": 29
"__id__": 30
}
],
"_active": false,
......@@ -758,16 +788,16 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 16
},
{
"__id__": 16
"__id__": 17
}
],
"_prefab": null,
......@@ -823,7 +853,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"_materials": [
......@@ -853,7 +883,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"alignMode": 1,
......@@ -882,16 +912,16 @@
"_name": "ButtonLast",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 19
},
{
"__id__": 19
"__id__": 20
}
],
"_prefab": null,
......@@ -947,7 +977,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 18
},
"_enabled": true,
"_materials": [
......@@ -979,7 +1009,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 18
},
"_enabled": true,
"alignMode": 1,
......@@ -1008,16 +1038,16 @@
"_name": "ButtonNext",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 22
},
{
"__id__": 22
"__id__": 23
}
],
"_prefab": null,
......@@ -1073,7 +1103,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 21
},
"_enabled": true,
"_materials": [
......@@ -1105,7 +1135,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 21
},
"_enabled": true,
"alignMode": 1,
......@@ -1134,16 +1164,16 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 25
},
{
"__id__": 25
"__id__": 26
}
],
"_prefab": null,
......@@ -1199,7 +1229,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 24
},
"_enabled": true,
"_materials": [
......@@ -1229,7 +1259,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 24
},
"_enabled": true,
"alignMode": 1,
......@@ -1258,16 +1288,16 @@
"_name": "ButtonRepeat",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 27
"__id__": 28
},
{
"__id__": 28
"__id__": 29
}
],
"_prefab": null,
......@@ -1323,7 +1353,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
"__id__": 27
},
"_enabled": true,
"_materials": [
......@@ -1355,7 +1385,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
"__id__": 27
},
"_enabled": true,
"alignMode": 1,
......@@ -1384,16 +1414,16 @@
"_name": "ButtonOrder",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 31
},
{
"__id__": 31
"__id__": 32
}
],
"_prefab": null,
......@@ -1449,7 +1479,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 30
},
"_enabled": true,
"_materials": [
......@@ -1481,7 +1511,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 30
},
"_enabled": true,
"alignMode": 1,
......@@ -1540,16 +1570,16 @@
},
"_children": [
{
"__id__": 34
"__id__": 35
}
],
"_active": false,
"_components": [
{
"__id__": 52
"__id__": 53
},
{
"__id__": 53
"__id__": 54
}
],
"_prefab": null,
......@@ -1605,17 +1635,17 @@
"_name": "ProgressBase",
"_objFlags": 0,
"_parent": {
"__id__": 33
"__id__": 34
},
"_children": [
{
"__id__": 35
"__id__": 36
}
],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 52
}
],
"_prefab": null,
......@@ -1671,23 +1701,23 @@
"_name": "ProgressBtn",
"_objFlags": 0,
"_parent": {
"__id__": 34
"__id__": 35
},
"_children": [
{
"__id__": 36
"__id__": 37
},
{
"__id__": 41
"__id__": 42
}
],
"_active": true,
"_components": [
{
"__id__": 49
"__id__": 50
},
{
"__id__": 50
"__id__": 51
}
],
"_prefab": null,
......@@ -1743,17 +1773,17 @@
"_name": "Time",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 36
},
"_children": [
{
"__id__": 37
"__id__": 38
}
],
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 41
}
],
"_prefab": null,
......@@ -1809,16 +1839,16 @@
"_name": "Value",
"_objFlags": 0,
"_parent": {
"__id__": 36
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 39
},
{
"__id__": 39
"__id__": 40
}
],
"_prefab": null,
......@@ -1874,7 +1904,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
"__id__": 38
},
"_enabled": true,
"_materials": [
......@@ -1904,7 +1934,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
"__id__": 38
},
"_enabled": true,
"alignMode": 2,
......@@ -1931,7 +1961,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 37
},
"_enabled": true,
"_materials": [
......@@ -1963,20 +1993,20 @@
"_name": "Direction",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 36
},
"_children": [
{
"__id__": 42
"__id__": 43
},
{
"__id__": 45
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 48
"__id__": 49
}
],
"_prefab": null,
......@@ -2032,16 +2062,16 @@
"_name": "Forward",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
"__id__": 44
},
{
"__id__": 44
"__id__": 45
}
],
"_prefab": null,
......@@ -2097,7 +2127,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 43
},
"_enabled": true,
"_materials": [
......@@ -2129,7 +2159,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 43
},
"_enabled": true,
"alignMode": 2,
......@@ -2156,16 +2186,16 @@
"_name": "Back",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 46
"__id__": 47
},
{
"__id__": 47
"__id__": 48
}
],
"_prefab": null,
......@@ -2221,7 +2251,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
"__id__": 46
},
"_enabled": true,
"_materials": [
......@@ -2253,12 +2283,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
"__id__": 46
},
"_enabled": true,
"alignMode": 2,
"_target": {
"__id__": 41
"__id__": 42
},
"_alignFlags": 32,
"_left": 0,
......@@ -2282,7 +2312,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 42
},
"_enabled": true,
"alignMode": 2,
......@@ -2309,7 +2339,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 36
},
"_enabled": true,
"_materials": [
......@@ -2341,12 +2371,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 36
},
"_enabled": true,
"alignMode": 2,
"_target": {
"__id__": 34
"__id__": 35
},
"_alignFlags": 32,
"_left": 0,
......@@ -2370,7 +2400,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
"__id__": 35
},
"_enabled": true,
"_materials": [
......@@ -2402,7 +2432,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 34
},
"_enabled": true,
"_materials": [
......@@ -2434,7 +2464,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 34
},
"_enabled": true,
"alignMode": 2,
......@@ -2465,19 +2495,19 @@
},
"_children": [
{
"__id__": 55
"__id__": 56
},
{
"__id__": 57
"__id__": 58
},
{
"__id__": 60
"__id__": 61
}
],
"_active": false,
"_components": [
{
"__id__": 63
"__id__": 64
}
],
"_prefab": null,
......@@ -2533,13 +2563,13 @@
"_name": "Slash",
"_objFlags": 0,
"_parent": {
"__id__": 54
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 57
}
],
"_prefab": null,
......@@ -2595,7 +2625,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 56
},
"_enabled": true,
"_materials": [
......@@ -2625,16 +2655,16 @@
"_name": "CurrentTime",
"_objFlags": 0,
"_parent": {
"__id__": 54
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 59
},
{
"__id__": 59
"__id__": 60
}
],
"_prefab": null,
......@@ -2690,7 +2720,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 58
},
"_enabled": true,
"_materials": [
......@@ -2720,7 +2750,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 58
},
"_enabled": true,
"alignMode": 2,
......@@ -2747,16 +2777,16 @@
"_name": "Duration",
"_objFlags": 0,
"_parent": {
"__id__": 54
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
"__id__": 62
},
{
"__id__": 62
"__id__": 63
}
],
"_prefab": null,
......@@ -2812,7 +2842,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 61
},
"_enabled": true,
"_materials": [
......@@ -2842,7 +2872,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 61
},
"_enabled": true,
"alignMode": 2,
......@@ -2869,7 +2899,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 55
},
"_enabled": true,
"alignMode": 0,
......@@ -2987,7 +3017,7 @@
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 68
}
],
"_prefab": null,
......@@ -3043,18 +3073,18 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 67
},
"_enabled": true,
"videoPlayer1": null,
"currentTime": {
"__id__": 58
"__id__": 59
},
"totalTime": {
"__id__": 61
"__id__": 62
},
"loadingIcon": {
"__id__": 68
"__id__": 69
},
"now": 0,
"duration": 0,
......@@ -3068,16 +3098,16 @@
"_name": "LoadingPic",
"_objFlags": 0,
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 73
},
{
"__id__": 73
"__id__": 74
}
],
"_prefab": null,
......@@ -3137,16 +3167,16 @@
},
"_children": [
{
"__id__": 68
"__id__": 69
}
],
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 71
},
{
"__id__": 71
"__id__": 72
}
],
"_prefab": null,
......@@ -3202,7 +3232,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -3222,7 +3252,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 70
},
"_enabled": true,
"alignMode": 0,
......@@ -3249,7 +3279,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 69
},
"_enabled": true,
"_materials": [
......@@ -3281,7 +3311,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 69
},
"_enabled": true,
"_defaultClip": null,
......@@ -3298,16 +3328,16 @@
},
"_children": [
{
"__id__": 75
"__id__": 76
}
],
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 79
},
{
"__id__": 79
"__id__": 80
}
],
"_prefab": null,
......@@ -3363,16 +3393,16 @@
"_name": "CurrentName",
"_objFlags": 0,
"_parent": {
"__id__": 74
"__id__": 75
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 77
},
{
"__id__": 77
"__id__": 78
}
],
"_prefab": null,
......@@ -3428,7 +3458,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 76
},
"_enabled": true,
"_materials": [
......@@ -3458,7 +3488,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 76
},
"_enabled": true,
"alignMode": 1,
......@@ -3485,7 +3515,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"_layoutSize": {
......@@ -3518,7 +3548,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"alignMode": 1,
......@@ -3551,10 +3581,10 @@
"_active": false,
"_components": [
{
"__id__": 81
"__id__": 82
},
{
"__id__": 82
"__id__": 83
}
],
"_prefab": null,
......@@ -3610,7 +3640,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 81
},
"_enabled": true,
"_materials": [
......@@ -3642,7 +3672,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 81
},
"_enabled": true,
"alignMode": 1,
......@@ -3705,16 +3735,16 @@
"_oFocusScaleFactorInfo": null,
"_bShowExitBox": false,
"LastButton": {
"__id__": 17
"__id__": 18
},
"NextButton": {
"__id__": 20
"__id__": 21
},
"RepeatButton": {
"__id__": 26
"__id__": 27
},
"OrderButton": {
"__id__": 29
"__id__": 30
},
"_id": "16KKGE9jlEKrFU5mcDWoR+"
}
......
......@@ -240,10 +240,10 @@ cc.Class({
cc.log("向下滑动:" + fiFocusTarget.node.name);
this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_DOWN, 1.0, oScrollParameter);
}
// if (this._fiCurrentFocus.node.name == "Play" && this._bShowProgress) { //暂时隐藏选集框,否则点击单曲循环会出现问题
// this.showSelectGatherArea();
// return;
// }
if (this._fiCurrentFocus.node.name == "Play" && this._bShowProgress) { //暂时隐藏选集框,否则点击单曲循环会出现问题
this.showSelectGatherArea();
return;
}
}
if (event.keyCode == cc.macro.KEY.left || event.keyCode == Common.ANDROID_KEY.left) {
if (this._fiCurrentFocus.node.name == "Nothing") {
......
......@@ -403,6 +403,11 @@ cc.Topdraw.TVCanvas =
this.hideDetainBox();
return;
break;
case "onComingSoonConfirmClick":
case "onComingSoonCancelClick":
this.hideComingSoonBox();
return;
break;
case "exit":
cc.game.end();
break;
......@@ -1035,6 +1040,82 @@ cc.Topdraw.TVCanvas =
}
},
/**
* 敬请期待提示框
*/
showComingSoonBox: function (fiBackend, bHideBg) {
try {
this._bShowExitBox = true;
if (this._nodeSystemPrompt) {
try {
this._nodeSystemPrompt.opacity = 255;
if (null == this._aFocusTargets[1]) { //focus放到第二层级,避免冲突
this._aFocusTargets[1] = [];
}
this._aFocusTargets[1]['coming_soon_confirm_btn'] = cc.find("PromptBox/ComingSoonConfirm", this._nodeSystemPrompt);
this._aFocusTargets[1]['coming_soon_cancel_btn'] = cc.find("PromptBox/ComingSoonCancel", this._nodeSystemPrompt);
this._fiBeforeDetainBox = this._fiCurrentFocus;
this._fiBackend = fiBackend;
this._iSceneStatus = 1;
this._cFocus.flyFocus(this._fiCurrentFocus, this._aFocusTargets[1]['coming_soon_confirm_btn'].getComponent(FocusInfo), Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
this._bIsLoadingPfbSystemPrompt = false;
} catch (error) {
cc.log("Business Exception:Get showComingSoonBox..." + error);
}
} else {
this._bIsLoadingPfbSystemPrompt = true;
//初始弹框
Common.loadRes('Prefab/pfbComingSoonPrompt',//提示预制
function (loadedResource) {
this._nodeSystemPrompt = cc.instantiate(loadedResource);
this._nodeSystemPrompt.parent = this.node;
if (bHideBg) {
this._nodeSystemPrompt.getChildByName("Background").opacity = 0;
}
let nodeConfirm = cc.find("PromptBox/ComingSoonConfirm", this._nodeSystemPrompt);
let nodeCancel = cc.find("PromptBox/ComingSoonCancel", this._nodeSystemPrompt);
nodeConfirm.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, nodeConfirm.width, nodeConfirm.height));
nodeCancel.getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, nodeCancel.width, nodeCancel.height));
let fiConfirm = nodeConfirm.addComponent(FocusInfo);
let fiCancel = nodeCancel.addComponent(FocusInfo);
fiConfirm.init('{"click": [{"action": "onComingSoonConfirmClick"}]}', true);
fiCancel.init('{"click": [{"action": "onComingSoonCancelClick"}]}', true);
this.showComingSoonBox(fiBackend);
},
function (error) {
cc.log("Error When Loading Prefab pfbSystemPrompt ...");
}, this
);
}
} catch (error) {
if (cc.sys.isNative) {
jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "logInSceneI", "(Ljava/lang/String;)V", "showComingSoonBox Error in TVCanvas==>" + error);
}
}
},
hideComingSoonBox: function () {
try {
this._nodeSystemPrompt.opacity = 0;
delete this._aFocusTargets[1]['system_confirm_btn'];
delete this._aFocusTargets[1]['system_cancel_btn'];
this._iSceneStatus = 0;
let iX = Common.SCREEN_WIDTH / 2 + Common.getX(this._fiBeforeDetainBox.node) - this._fiBeforeDetainBox.node.width / 2;
let iY = Common.SCREEN_HEIGHT / 2 - Common.getY(this._fiBeforeDetainBox.node) + this._fiBeforeDetainBox.node.height / 2;
cc.log("记忆焦点:" + this._fiBeforeDetainBox.node.name);
if (this._fiBeforeDetainBox.getEnable() && iX >= 0 && iX <= Common.SCREEN_WIDTH && iY >= 0 && iY <= Common.SCREEN_HEIGHT + 50) {//这里是考虑给播放元素设置了虚拟位置
this._cFocus.flyFocus(this._fiCurrentFocus, this._fiBeforeDetainBox, Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
} else {
this._cFocus.flyFocus(this._fiCurrentFocus, this._fiBackend, Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
}
this._bShowExitBox = false;
} catch (error) {
if (cc.sys.isNative) {
jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "logInSceneI", "(Ljava/lang/String;)V", "hideComingSoonBox Error in TVCanvas==>" + error);
}
}
},
getImageByTag: (val, strTag, index) => {
try {
strTag = strTag || "normal";
......
......@@ -233,7 +233,7 @@ cc.Class({
compMarquee.setUIWithFocus();
},
//请求顶部个人中心和订购按钮
//请求顶部个人中心和订购按钮(这里先将图片资源缩小了0.8,否则查找资源有些问题)
getTopNaviRequest: function (strCellName) {
// Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_layout.json", null, null,
// function (strResponse) {
......@@ -261,6 +261,7 @@ cc.Class({
if (i > 0 && strCellName == "topNavi" || strCellName == "topCell") { //刨掉第一个logo图片
// cc.log("头部图片:"+aTopNaviJson[i].imageURL);
if (strCellName == "topCell") {
// nodeNav.scale = 0.5;
this._oInit.aTopCellImg.push(Common.TOPDRAW_IMAGE_SERVER + aTopNaviJson[i].imageURL);
} else {
this._oInit.aTopNaviImg.push(Common.TOPDRAW_IMAGE_SERVER + aTopNaviJson[i].imageURL);
......@@ -691,7 +692,7 @@ cc.Class({
this._iCellCountEachRow = 4;
this._fCellMarginTop = 0;
this._fCellMarginRight = 24;
this._fCellMarginBottom = 16;
this._fCellMarginBottom = 24;
this._fCellMarginLeft = 0;
// break;
// default:
......@@ -921,8 +922,8 @@ cc.Class({
// return [null, oScrollParameter];
// }
if (fiFocusTarget && 0 == fiFocusTarget.node.name.indexOf("topNavi") || 0 == fiFocusTarget.node.name.indexOf("topCell")) {
if (0 != this._fiCurrentFocus.node.name.indexOf("topNavi") && 0 != this._fiCurrentFocus.node.name.indexOf("topCell")) {//如果不是TypeList之间跳转,则哪里来回哪里去
if (fiFocusTarget && 0 == fiFocusTarget.node.name.indexOf("topNavi")) {
if (0 != this._fiCurrentFocus.node.name.indexOf("topNavi")) {//如果不是TypeList之间跳转,则哪里来回哪里去
fiFocusTarget = cc.find("topNavi" + this._oSceneContext._iCurrentLeftIndex, leftNavLayout).getComponent(FocusInfo);
}
}
......@@ -1132,7 +1133,8 @@ cc.Class({
this.backToTop();
return;
} else if (0 == fiCurrentFocus.node.getName().indexOf('topCell')) {
this.commonSimpleTip("敬请期待!", 3);
// this.commonSimpleTip("敬请期待!", 3);
this.showComingSoonBox();
return;
}
else {
......@@ -1271,6 +1273,16 @@ cc.Class({
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('ComingSoonConfirm')) {
cc.loader.loadRes("SystemExit/btn_confirm_comming_soon", 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('ComingSoonCancel')) {
cc.loader.loadRes("SystemExit/btn_cancel_comming_soon", 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));
});
}
},
onAfterFocusChange: function (event) {
......@@ -1383,7 +1395,8 @@ cc.Class({
if (0 == fiTo.node.getName().indexOf('view_pager_label') || 0 == fiTo.node.getName().indexOf('topNavi')
|| 0 == fiTo.node.getName().indexOf('topCell') || 0 == fiTo.node.getName().indexOf('backToTop')
|| 0 == fiTo.node.getName().indexOf('update_btn') || 0 == fiTo.node.getName().indexOf('close_btn')
|| 0 == fiTo.node.getName().indexOf('Confirm') || 0 == fiTo.node.getName().indexOf('Cancel')) {
|| 0 == fiTo.node.getName().indexOf('Confirm') || 0 == fiTo.node.getName().indexOf('Cancel')
|| 0 == fiTo.node.getName().indexOf('ComingSoonConfirm') || 0 == fiTo.node.getName().indexOf('ComingSoonCancel')) {
this._cFocus.hide();
} else {
if (!this._bIsScrollViewMoving)
......@@ -1411,6 +1424,17 @@ cc.Class({
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('ComingSoonConfirm')) {
cc.loader.loadRes("SystemExit/btn_confirm_comming_soon", 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('ComingSoonCancel')) {
cc.loader.loadRes("SystemExit/btn_cancel_comming_soon", 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));
});
}
},
doCurrentFocusTVLinkAction: function (strAction) {
......
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "pfbComingSoonPrompt",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 29
},
"_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
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 200,
"_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
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a66022bd-b80b-4cc3-b128-72e532329459"
},
"_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__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "9fjeYXU3xI7LixNq0WZBZy",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "PromptBox",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 6
},
{
"__id__": 10
},
{
"__id__": 14
},
{
"__id__": 18
},
{
"__id__": 22
}
],
"_active": true,
"_components": [
{
"__id__": 26
},
{
"__id__": 27
}
],
"_prefab": {
"__id__": 28
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 570,
"height": 394
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
-42,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
},
{
"__id__": 8
}
],
"_prefab": {
"__id__": 9
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 213,
"height": 149
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
197.5,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 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__": "e32750f2-421a-4a99-bac4-ad282f7d6981"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 122.5,
"_bottom": 320,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "9fbEjZwnJPbblzNy+6ktVz",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Title",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 11,
"g": 16,
"b": 38,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 56.7
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
48.650001525878906,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "敬请期待!",
"_N$string": "敬请期待!",
"_fontSize": 32,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 85,
"_right": 0,
"_top": 120,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "caRAXZayVLJbxwxw0aYl+Z",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Content",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 17
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 133,
"g": 140,
"b": 150,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 196.67,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
1.100000023841858,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_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": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 369.165,
"_right": 0,
"_top": 177,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "a4w7jaogZBVaod0zyMuSf6",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ComingSoonConfirm",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 20
}
],
"_prefab": {
"__id__": 21
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 224,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
-128,
-91,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "43ad7409-db03-4f02-aef3-1be837596fd4"
},
"_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.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 1
},
"_alignFlags": 12,
"_left": 400,
"_right": 0,
"_top": 527,
"_bottom": 177,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "0368f1AkdOL5EKDmlqvFej",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ComingSoonCancel",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 25
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 224,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
128,
-91,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1d0d082-7089-4b3f-baac-a670cd9709ed"
},
"_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.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 1
},
"_alignFlags": 36,
"_left": 659,
"_right": 400,
"_top": 527,
"_bottom": 177,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 100,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "6f+XVuoLpG3acrEOpLn3Tu",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0c758fe0-ae37-4ba6-9ab9-4afccc8f645e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 205,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "a8guWiadxOIaU0ktlXrhwa",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e5ee5c96-3e3d-444c-8640-bff9af1e7a7f"
},
"fileId": "2eud1EkclLMpkhGbtKWfZT",
"sync": false
}
]
\ No newline at end of file
......@@ -164,9 +164,9 @@
"name": "个人中心",
"left": 1150,
"top": 8,
"width": 80,
"width": 60,
"code": "eb954b1e-712e-415c-ba27-wergherg",
"height": 80,
"height": 60,
"tvlink": {
"click": [
{
......@@ -184,8 +184,8 @@
"name": "订购",
"left": 1060,
"top": 8,
"width": 80,
"height": 80,
"width": 60,
"height": 60,
"code": "eb954b1e-712e-415c-ba27-asgerg",
"tvlink": {
"click": [
......