1.替换视频播放的加载动画
2.解决全屏播放器播放时loading图标不能隐藏的问题
Showing
11 changed files
with
231 additions
and
270 deletions
... | @@ -210,7 +210,7 @@ | ... | @@ -210,7 +210,7 @@ |
210 | "array": [ | 210 | "array": [ |
211 | 0, | 211 | 0, |
212 | 0, | 212 | 0, |
213 | 250.28134155273438, | 213 | 265.0037841796875, |
214 | 0, | 214 | 0, |
215 | 0, | 215 | 0, |
216 | 0, | 216 | 0, |
... | @@ -4164,7 +4164,7 @@ | ... | @@ -4164,7 +4164,7 @@ |
4164 | "__id__": 93 | 4164 | "__id__": 93 |
4165 | } | 4165 | } |
4166 | ], | 4166 | ], |
4167 | "_active": true, | 4167 | "_active": false, |
4168 | "_components": [ | 4168 | "_components": [ |
4169 | { | 4169 | { |
4170 | "__id__": 96 | 4170 | "__id__": 96 |
... | @@ -4181,20 +4181,20 @@ | ... | @@ -4181,20 +4181,20 @@ |
4181 | }, | 4181 | }, |
4182 | "_contentSize": { | 4182 | "_contentSize": { |
4183 | "__type__": "cc.Size", | 4183 | "__type__": "cc.Size", |
4184 | "width": 100, | 4184 | "width": 70, |
4185 | "height": 20 | 4185 | "height": 70 |
4186 | }, | 4186 | }, |
4187 | "_anchorPoint": { | 4187 | "_anchorPoint": { |
4188 | "__type__": "cc.Vec2", | 4188 | "__type__": "cc.Vec2", |
4189 | "x": 0, | 4189 | "x": 0.5, |
4190 | "y": 0.5 | 4190 | "y": 0.5 |
4191 | }, | 4191 | }, |
4192 | "_trs": { | 4192 | "_trs": { |
4193 | "__type__": "TypedArray", | 4193 | "__type__": "TypedArray", |
4194 | "ctor": "Float32Array", | 4194 | "ctor": "Float32Array", |
4195 | "array": [ | 4195 | "array": [ |
4196 | 438.4960021972656, | 4196 | -294, |
4197 | 313.9849853515625, | 4197 | 153, |
4198 | 0, | 4198 | 0, |
4199 | 0, | 4199 | 0, |
4200 | 0, | 4200 | 0, |
... | @@ -4246,12 +4246,12 @@ | ... | @@ -4246,12 +4246,12 @@ |
4246 | }, | 4246 | }, |
4247 | "_contentSize": { | 4247 | "_contentSize": { |
4248 | "__type__": "cc.Size", | 4248 | "__type__": "cc.Size", |
4249 | "width": 800, | 4249 | "width": 70, |
4250 | "height": 11 | 4250 | "height": 70 |
4251 | }, | 4251 | }, |
4252 | "_anchorPoint": { | 4252 | "_anchorPoint": { |
4253 | "__type__": "cc.Vec2", | 4253 | "__type__": "cc.Vec2", |
4254 | "x": 0, | 4254 | "x": 0.5, |
4255 | "y": 0.5 | 4255 | "y": 0.5 |
4256 | }, | 4256 | }, |
4257 | "_trs": { | 4257 | "_trs": { |
... | @@ -4299,10 +4299,10 @@ | ... | @@ -4299,10 +4299,10 @@ |
4299 | "_srcBlendFactor": 770, | 4299 | "_srcBlendFactor": 770, |
4300 | "_dstBlendFactor": 771, | 4300 | "_dstBlendFactor": 771, |
4301 | "_spriteFrame": { | 4301 | "_spriteFrame": { |
4302 | "__uuid__": "64171ff9-7f96-480f-b46e-c0cdfea7ff66" | 4302 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" |
4303 | }, | 4303 | }, |
4304 | "_type": 0, | 4304 | "_type": 0, |
4305 | "_sizeMode": 1, | 4305 | "_sizeMode": 0, |
4306 | "_fillType": 0, | 4306 | "_fillType": 0, |
4307 | "_fillCenter": { | 4307 | "_fillCenter": { |
4308 | "__type__": "cc.Vec2", | 4308 | "__type__": "cc.Vec2", |
... | @@ -4324,35 +4324,42 @@ | ... | @@ -4324,35 +4324,42 @@ |
4324 | }, | 4324 | }, |
4325 | "_enabled": true, | 4325 | "_enabled": true, |
4326 | "_defaultClip": { | 4326 | "_defaultClip": { |
4327 | "__uuid__": "c9542971-b8d5-43d8-baa3-227f1c2ed90a" | 4327 | "__uuid__": "859687c1-69f7-491b-b0c1-2d5121cf763a" |
4328 | }, | 4328 | }, |
4329 | "_clips": [ | 4329 | "_clips": [ |
4330 | { | 4330 | { |
4331 | "__uuid__": "c9542971-b8d5-43d8-baa3-227f1c2ed90a" | 4331 | "__uuid__": "859687c1-69f7-491b-b0c1-2d5121cf763a" |
4332 | } | 4332 | } |
4333 | ], | 4333 | ], |
4334 | "playOnLoad": false, | 4334 | "playOnLoad": false, |
4335 | "_id": "38NoyllHdEMZnxufG8PExS" | 4335 | "_id": "96owu+EcVI7LMZ1kFjXGi7" |
4336 | }, | 4336 | }, |
4337 | { | 4337 | { |
4338 | "__type__": "cc.Mask", | 4338 | "__type__": "cc.Widget", |
4339 | "_name": "", | 4339 | "_name": "", |
4340 | "_objFlags": 0, | 4340 | "_objFlags": 0, |
4341 | "node": { | 4341 | "node": { |
4342 | "__id__": 92 | 4342 | "__id__": 92 |
4343 | }, | 4343 | }, |
4344 | "_enabled": true, | 4344 | "_enabled": true, |
4345 | "_materials": [ | 4345 | "alignMode": 1, |
4346 | { | 4346 | "_target": null, |
4347 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | 4347 | "_alignFlags": 9, |
4348 | } | 4348 | "_left": 311, |
4349 | ], | 4349 | "_right": 0, |
4350 | "_spriteFrame": null, | 4350 | "_top": 172, |
4351 | "_type": 0, | 4351 | "_bottom": 0, |
4352 | "_segments": 64, | 4352 | "_verticalCenter": 0, |
4353 | "_N$alphaThreshold": 0, | 4353 | "_horizontalCenter": 0, |
4354 | "_N$inverted": false, | 4354 | "_isAbsLeft": true, |
4355 | "_id": "aepOpjGMdGWZmUHg8iQyvK" | 4355 | "_isAbsRight": true, |
4356 | "_isAbsTop": true, | ||
4357 | "_isAbsBottom": true, | ||
4358 | "_isAbsHorizontalCenter": true, | ||
4359 | "_isAbsVerticalCenter": true, | ||
4360 | "_originalWidth": 0, | ||
4361 | "_originalHeight": 0, | ||
4362 | "_id": "bbvcyyV8lJI7N41Y3wPPcI" | ||
4356 | }, | 4363 | }, |
4357 | { | 4364 | { |
4358 | "__type__": "cc.Canvas", | 4365 | "__type__": "cc.Canvas", | ... | ... |
assets/Scene/sceneProgram.fire
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
... | @@ -102,22 +102,22 @@ | ... | @@ -102,22 +102,22 @@ |
102 | "__id__": 54 | 102 | "__id__": 54 |
103 | }, | 103 | }, |
104 | { | 104 | { |
105 | "__id__": 57 | 105 | "__id__": 62 |
106 | }, | 106 | }, |
107 | { | 107 | { |
108 | "__id__": 63 | 108 | "__id__": 68 |
109 | }, | 109 | }, |
110 | { | 110 | { |
111 | "__id__": 69 | 111 | "__id__": 57 |
112 | } | 112 | } |
113 | ], | 113 | ], |
114 | "_active": true, | 114 | "_active": true, |
115 | "_components": [ | 115 | "_components": [ |
116 | { | 116 | { |
117 | "__id__": 78 | 117 | "__id__": 77 |
118 | }, | 118 | }, |
119 | { | 119 | { |
120 | "__id__": 79 | 120 | "__id__": 78 |
121 | } | 121 | } |
122 | ], | 122 | ], |
123 | "_prefab": null, | 123 | "_prefab": null, |
... | @@ -207,7 +207,7 @@ | ... | @@ -207,7 +207,7 @@ |
207 | "array": [ | 207 | "array": [ |
208 | 0, | 208 | 0, |
209 | 0, | 209 | 0, |
210 | 271.0659484863281, | 210 | 265.0037841796875, |
211 | 0, | 211 | 0, |
212 | 0, | 212 | 0, |
213 | 0, | 213 | 0, |
... | @@ -2415,7 +2415,7 @@ | ... | @@ -2415,7 +2415,7 @@ |
2415 | "__id__": 55 | 2415 | "__id__": 55 |
2416 | }, | 2416 | }, |
2417 | { | 2417 | { |
2418 | "__id__": 62 | 2418 | "__id__": 61 |
2419 | } | 2419 | } |
2420 | ], | 2420 | ], |
2421 | "_prefab": null, | 2421 | "_prefab": null, |
... | @@ -2489,7 +2489,7 @@ | ... | @@ -2489,7 +2489,7 @@ |
2489 | }, | 2489 | }, |
2490 | { | 2490 | { |
2491 | "__type__": "cc.Node", | 2491 | "__type__": "cc.Node", |
2492 | "_name": "LoadingPic", | 2492 | "_name": "LoadingIcon", |
2493 | "_objFlags": 0, | 2493 | "_objFlags": 0, |
2494 | "_parent": { | 2494 | "_parent": { |
2495 | "__id__": 57 | 2495 | "__id__": 57 |
... | @@ -2498,10 +2498,10 @@ | ... | @@ -2498,10 +2498,10 @@ |
2498 | "_active": true, | 2498 | "_active": true, |
2499 | "_components": [ | 2499 | "_components": [ |
2500 | { | 2500 | { |
2501 | "__id__": 60 | 2501 | "__id__": 59 |
2502 | }, | 2502 | }, |
2503 | { | 2503 | { |
2504 | "__id__": 61 | 2504 | "__id__": 60 |
2505 | } | 2505 | } |
2506 | ], | 2506 | ], |
2507 | "_prefab": null, | 2507 | "_prefab": null, |
... | @@ -2515,12 +2515,12 @@ | ... | @@ -2515,12 +2515,12 @@ |
2515 | }, | 2515 | }, |
2516 | "_contentSize": { | 2516 | "_contentSize": { |
2517 | "__type__": "cc.Size", | 2517 | "__type__": "cc.Size", |
2518 | "width": 800, | 2518 | "width": 70, |
2519 | "height": 11 | 2519 | "height": 70 |
2520 | }, | 2520 | }, |
2521 | "_anchorPoint": { | 2521 | "_anchorPoint": { |
2522 | "__type__": "cc.Vec2", | 2522 | "__type__": "cc.Vec2", |
2523 | "x": 0, | 2523 | "x": 0.5, |
2524 | "y": 0.5 | 2524 | "y": 0.5 |
2525 | }, | 2525 | }, |
2526 | "_trs": { | 2526 | "_trs": { |
... | @@ -2550,7 +2550,7 @@ | ... | @@ -2550,7 +2550,7 @@ |
2550 | "_is3DNode": false, | 2550 | "_is3DNode": false, |
2551 | "_groupIndex": 0, | 2551 | "_groupIndex": 0, |
2552 | "groupIndex": 0, | 2552 | "groupIndex": 0, |
2553 | "_id": "1fCpRj4ltGPp0WBxqlgvga" | 2553 | "_id": "f440WlzTlIYqEvK8a3LbI8" |
2554 | }, | 2554 | }, |
2555 | { | 2555 | { |
2556 | "__type__": "cc.Node", | 2556 | "__type__": "cc.Node", |
... | @@ -2568,9 +2568,6 @@ | ... | @@ -2568,9 +2568,6 @@ |
2568 | "_components": [ | 2568 | "_components": [ |
2569 | { | 2569 | { |
2570 | "__id__": 58 | 2570 | "__id__": 58 |
2571 | }, | ||
2572 | { | ||
2573 | "__id__": 59 | ||
2574 | } | 2571 | } |
2575 | ], | 2572 | ], |
2576 | "_prefab": null, | 2573 | "_prefab": null, |
... | @@ -2584,20 +2581,20 @@ | ... | @@ -2584,20 +2581,20 @@ |
2584 | }, | 2581 | }, |
2585 | "_contentSize": { | 2582 | "_contentSize": { |
2586 | "__type__": "cc.Size", | 2583 | "__type__": "cc.Size", |
2587 | "width": 100, | 2584 | "width": 70, |
2588 | "height": 20 | 2585 | "height": 70 |
2589 | }, | 2586 | }, |
2590 | "_anchorPoint": { | 2587 | "_anchorPoint": { |
2591 | "__type__": "cc.Vec2", | 2588 | "__type__": "cc.Vec2", |
2592 | "x": 0, | 2589 | "x": 0.5, |
2593 | "y": 0.5 | 2590 | "y": 0.5 |
2594 | }, | 2591 | }, |
2595 | "_trs": { | 2592 | "_trs": { |
2596 | "__type__": "TypedArray", | 2593 | "__type__": "TypedArray", |
2597 | "ctor": "Float32Array", | 2594 | "ctor": "Float32Array", |
2598 | "array": [ | 2595 | "array": [ |
2599 | -50, | 2596 | -294, |
2600 | 0, | 2597 | 153, |
2601 | 0, | 2598 | 0, |
2602 | 0, | 2599 | 0, |
2603 | 0, | 2600 | 0, |
... | @@ -2619,27 +2616,7 @@ | ... | @@ -2619,27 +2616,7 @@ |
2619 | "_is3DNode": false, | 2616 | "_is3DNode": false, |
2620 | "_groupIndex": 0, | 2617 | "_groupIndex": 0, |
2621 | "groupIndex": 0, | 2618 | "groupIndex": 0, |
2622 | "_id": "3eMr3hksxLOpx16sPlyI5U" | 2619 | "_id": "cbn+MjwwVP8YRr2KBTHQAB" |
2623 | }, | ||
2624 | { | ||
2625 | "__type__": "cc.Mask", | ||
2626 | "_name": "", | ||
2627 | "_objFlags": 0, | ||
2628 | "node": { | ||
2629 | "__id__": 57 | ||
2630 | }, | ||
2631 | "_enabled": true, | ||
2632 | "_materials": [ | ||
2633 | { | ||
2634 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
2635 | } | ||
2636 | ], | ||
2637 | "_spriteFrame": null, | ||
2638 | "_type": 0, | ||
2639 | "_segments": 64, | ||
2640 | "_N$alphaThreshold": 1, | ||
2641 | "_N$inverted": false, | ||
2642 | "_id": "16R11mlV1AkIXYmp3/Tlfz" | ||
2643 | }, | 2620 | }, |
2644 | { | 2621 | { |
2645 | "__type__": "cc.Widget", | 2622 | "__type__": "cc.Widget", |
... | @@ -2649,12 +2626,12 @@ | ... | @@ -2649,12 +2626,12 @@ |
2649 | "__id__": 57 | 2626 | "__id__": 57 |
2650 | }, | 2627 | }, |
2651 | "_enabled": true, | 2628 | "_enabled": true, |
2652 | "alignMode": 0, | 2629 | "alignMode": 1, |
2653 | "_target": null, | 2630 | "_target": null, |
2654 | "_alignFlags": 18, | 2631 | "_alignFlags": 9, |
2655 | "_left": 0, | 2632 | "_left": 311, |
2656 | "_right": 0, | 2633 | "_right": 0, |
2657 | "_top": 0, | 2634 | "_top": 172, |
2658 | "_bottom": 0, | 2635 | "_bottom": 0, |
2659 | "_verticalCenter": 0, | 2636 | "_verticalCenter": 0, |
2660 | "_horizontalCenter": 0, | 2637 | "_horizontalCenter": 0, |
... | @@ -2666,7 +2643,7 @@ | ... | @@ -2666,7 +2643,7 @@ |
2666 | "_isAbsVerticalCenter": true, | 2643 | "_isAbsVerticalCenter": true, |
2667 | "_originalWidth": 0, | 2644 | "_originalWidth": 0, |
2668 | "_originalHeight": 0, | 2645 | "_originalHeight": 0, |
2669 | "_id": "cewOb6F/9FY5HEjsUP22DF" | 2646 | "_id": "4d3u+WWxVJF7JwVm9fBBu/" |
2670 | }, | 2647 | }, |
2671 | { | 2648 | { |
2672 | "__type__": "cc.Sprite", | 2649 | "__type__": "cc.Sprite", |
... | @@ -2684,10 +2661,10 @@ | ... | @@ -2684,10 +2661,10 @@ |
2684 | "_srcBlendFactor": 770, | 2661 | "_srcBlendFactor": 770, |
2685 | "_dstBlendFactor": 771, | 2662 | "_dstBlendFactor": 771, |
2686 | "_spriteFrame": { | 2663 | "_spriteFrame": { |
2687 | "__uuid__": "8591bd12-ad3c-4863-aadd-d5539e525022" | 2664 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" |
2688 | }, | 2665 | }, |
2689 | "_type": 0, | 2666 | "_type": 0, |
2690 | "_sizeMode": 1, | 2667 | "_sizeMode": 0, |
2691 | "_fillType": 0, | 2668 | "_fillType": 0, |
2692 | "_fillCenter": { | 2669 | "_fillCenter": { |
2693 | "__type__": "cc.Vec2", | 2670 | "__type__": "cc.Vec2", |
... | @@ -2698,7 +2675,7 @@ | ... | @@ -2698,7 +2675,7 @@ |
2698 | "_fillRange": 0, | 2675 | "_fillRange": 0, |
2699 | "_isTrimmedMode": true, | 2676 | "_isTrimmedMode": true, |
2700 | "_atlas": null, | 2677 | "_atlas": null, |
2701 | "_id": "b2tmdrE5RFX5KTqXbHSt4R" | 2678 | "_id": "67ttu+m7ZOjpMe94J3BbZH" |
2702 | }, | 2679 | }, |
2703 | { | 2680 | { |
2704 | "__type__": "cc.Animation", | 2681 | "__type__": "cc.Animation", |
... | @@ -2708,10 +2685,16 @@ | ... | @@ -2708,10 +2685,16 @@ |
2708 | "__id__": 56 | 2685 | "__id__": 56 |
2709 | }, | 2686 | }, |
2710 | "_enabled": true, | 2687 | "_enabled": true, |
2711 | "_defaultClip": null, | 2688 | "_defaultClip": { |
2712 | "_clips": [], | 2689 | "__uuid__": "859687c1-69f7-491b-b0c1-2d5121cf763a" |
2690 | }, | ||
2691 | "_clips": [ | ||
2692 | { | ||
2693 | "__uuid__": "859687c1-69f7-491b-b0c1-2d5121cf763a" | ||
2694 | } | ||
2695 | ], | ||
2713 | "playOnLoad": false, | 2696 | "playOnLoad": false, |
2714 | "_id": "15bhpfJhpHfrYeWh0BCNFp" | 2697 | "_id": "37NBPKw/tCB60CjMaWmcWg" |
2715 | }, | 2698 | }, |
2716 | { | 2699 | { |
2717 | "__type__": "cc.Widget", | 2700 | "__type__": "cc.Widget", |
... | @@ -2751,16 +2734,16 @@ | ... | @@ -2751,16 +2734,16 @@ |
2751 | }, | 2734 | }, |
2752 | "_children": [ | 2735 | "_children": [ |
2753 | { | 2736 | { |
2754 | "__id__": 64 | 2737 | "__id__": 63 |
2755 | }, | 2738 | }, |
2756 | { | 2739 | { |
2757 | "__id__": 66 | 2740 | "__id__": 65 |
2758 | } | 2741 | } |
2759 | ], | 2742 | ], |
2760 | "_active": true, | 2743 | "_active": true, |
2761 | "_components": [ | 2744 | "_components": [ |
2762 | { | 2745 | { |
2763 | "__id__": 68 | 2746 | "__id__": 67 |
2764 | } | 2747 | } |
2765 | ], | 2748 | ], |
2766 | "_prefab": null, | 2749 | "_prefab": null, |
... | @@ -2828,13 +2811,13 @@ | ... | @@ -2828,13 +2811,13 @@ |
2828 | "_name": "GraphicsLine", | 2811 | "_name": "GraphicsLine", |
2829 | "_objFlags": 0, | 2812 | "_objFlags": 0, |
2830 | "_parent": { | 2813 | "_parent": { |
2831 | "__id__": 63 | 2814 | "__id__": 62 |
2832 | }, | 2815 | }, |
2833 | "_children": [], | 2816 | "_children": [], |
2834 | "_active": true, | 2817 | "_active": true, |
2835 | "_components": [ | 2818 | "_components": [ |
2836 | { | 2819 | { |
2837 | "__id__": 65 | 2820 | "__id__": 64 |
2838 | } | 2821 | } |
2839 | ], | 2822 | ], |
2840 | "_prefab": null, | 2823 | "_prefab": null, |
... | @@ -2902,7 +2885,7 @@ | ... | @@ -2902,7 +2885,7 @@ |
2902 | "_name": "", | 2885 | "_name": "", |
2903 | "_objFlags": 0, | 2886 | "_objFlags": 0, |
2904 | "node": { | 2887 | "node": { |
2905 | "__id__": 64 | 2888 | "__id__": 63 |
2906 | }, | 2889 | }, |
2907 | "_enabled": true, | 2890 | "_enabled": true, |
2908 | "_materials": [ | 2891 | "_materials": [ |
... | @@ -2935,11 +2918,11 @@ | ... | @@ -2935,11 +2918,11 @@ |
2935 | "_name": "EpisodeListWrapper", | 2918 | "_name": "EpisodeListWrapper", |
2936 | "_objFlags": 0, | 2919 | "_objFlags": 0, |
2937 | "_parent": { | 2920 | "_parent": { |
2938 | "__id__": 63 | 2921 | "__id__": 62 |
2939 | }, | 2922 | }, |
2940 | "_children": [ | 2923 | "_children": [ |
2941 | { | 2924 | { |
2942 | "__id__": 67 | 2925 | "__id__": 66 |
2943 | } | 2926 | } |
2944 | ], | 2927 | ], |
2945 | "_active": true, | 2928 | "_active": true, |
... | @@ -3009,7 +2992,7 @@ | ... | @@ -3009,7 +2992,7 @@ |
3009 | "_name": "EpisodeList", | 2992 | "_name": "EpisodeList", |
3010 | "_objFlags": 0, | 2993 | "_objFlags": 0, |
3011 | "_parent": { | 2994 | "_parent": { |
3012 | "__id__": 66 | 2995 | "__id__": 65 |
3013 | }, | 2996 | }, |
3014 | "_children": [], | 2997 | "_children": [], |
3015 | "_active": true, | 2998 | "_active": true, |
... | @@ -3079,7 +3062,7 @@ | ... | @@ -3079,7 +3062,7 @@ |
3079 | "_name": "", | 3062 | "_name": "", |
3080 | "_objFlags": 0, | 3063 | "_objFlags": 0, |
3081 | "node": { | 3064 | "node": { |
3082 | "__id__": 63 | 3065 | "__id__": 62 |
3083 | }, | 3066 | }, |
3084 | "_enabled": true, | 3067 | "_enabled": true, |
3085 | "alignMode": 1, | 3068 | "alignMode": 1, |
... | @@ -3110,19 +3093,19 @@ | ... | @@ -3110,19 +3093,19 @@ |
3110 | }, | 3093 | }, |
3111 | "_children": [ | 3094 | "_children": [ |
3112 | { | 3095 | { |
3113 | "__id__": 70 | 3096 | "__id__": 69 |
3114 | }, | 3097 | }, |
3115 | { | 3098 | { |
3116 | "__id__": 73 | 3099 | "__id__": 72 |
3117 | }, | 3100 | }, |
3118 | { | 3101 | { |
3119 | "__id__": 75 | 3102 | "__id__": 74 |
3120 | } | 3103 | } |
3121 | ], | 3104 | ], |
3122 | "_active": true, | 3105 | "_active": true, |
3123 | "_components": [ | 3106 | "_components": [ |
3124 | { | 3107 | { |
3125 | "__id__": 77 | 3108 | "__id__": 76 |
3126 | } | 3109 | } |
3127 | ], | 3110 | ], |
3128 | "_prefab": null, | 3111 | "_prefab": null, |
... | @@ -3190,17 +3173,17 @@ | ... | @@ -3190,17 +3173,17 @@ |
3190 | "_name": "NaviListWrapper", | 3173 | "_name": "NaviListWrapper", |
3191 | "_objFlags": 0, | 3174 | "_objFlags": 0, |
3192 | "_parent": { | 3175 | "_parent": { |
3193 | "__id__": 69 | 3176 | "__id__": 68 |
3194 | }, | 3177 | }, |
3195 | "_children": [ | 3178 | "_children": [ |
3196 | { | 3179 | { |
3197 | "__id__": 71 | 3180 | "__id__": 70 |
3198 | } | 3181 | } |
3199 | ], | 3182 | ], |
3200 | "_active": true, | 3183 | "_active": true, |
3201 | "_components": [ | 3184 | "_components": [ |
3202 | { | 3185 | { |
3203 | "__id__": 72 | 3186 | "__id__": 71 |
3204 | } | 3187 | } |
3205 | ], | 3188 | ], |
3206 | "_prefab": null, | 3189 | "_prefab": null, |
... | @@ -3268,7 +3251,7 @@ | ... | @@ -3268,7 +3251,7 @@ |
3268 | "_name": "NaviList", | 3251 | "_name": "NaviList", |
3269 | "_objFlags": 0, | 3252 | "_objFlags": 0, |
3270 | "_parent": { | 3253 | "_parent": { |
3271 | "__id__": 70 | 3254 | "__id__": 69 |
3272 | }, | 3255 | }, |
3273 | "_children": [], | 3256 | "_children": [], |
3274 | "_active": true, | 3257 | "_active": true, |
... | @@ -3338,7 +3321,7 @@ | ... | @@ -3338,7 +3321,7 @@ |
3338 | "_name": "", | 3321 | "_name": "", |
3339 | "_objFlags": 0, | 3322 | "_objFlags": 0, |
3340 | "node": { | 3323 | "node": { |
3341 | "__id__": 70 | 3324 | "__id__": 69 |
3342 | }, | 3325 | }, |
3343 | "_enabled": true, | 3326 | "_enabled": true, |
3344 | "_materials": [ | 3327 | "_materials": [ |
... | @@ -3358,13 +3341,13 @@ | ... | @@ -3358,13 +3341,13 @@ |
3358 | "_name": "LeftIcon", | 3341 | "_name": "LeftIcon", |
3359 | "_objFlags": 0, | 3342 | "_objFlags": 0, |
3360 | "_parent": { | 3343 | "_parent": { |
3361 | "__id__": 69 | 3344 | "__id__": 68 |
3362 | }, | 3345 | }, |
3363 | "_children": [], | 3346 | "_children": [], |
3364 | "_active": true, | 3347 | "_active": true, |
3365 | "_components": [ | 3348 | "_components": [ |
3366 | { | 3349 | { |
3367 | "__id__": 74 | 3350 | "__id__": 73 |
3368 | } | 3351 | } |
3369 | ], | 3352 | ], |
3370 | "_prefab": null, | 3353 | "_prefab": null, |
... | @@ -3432,7 +3415,7 @@ | ... | @@ -3432,7 +3415,7 @@ |
3432 | "_name": "", | 3415 | "_name": "", |
3433 | "_objFlags": 0, | 3416 | "_objFlags": 0, |
3434 | "node": { | 3417 | "node": { |
3435 | "__id__": 73 | 3418 | "__id__": 72 |
3436 | }, | 3419 | }, |
3437 | "_enabled": true, | 3420 | "_enabled": true, |
3438 | "_materials": [], | 3421 | "_materials": [], |
... | @@ -3458,13 +3441,13 @@ | ... | @@ -3458,13 +3441,13 @@ |
3458 | "_name": "RightIcon", | 3441 | "_name": "RightIcon", |
3459 | "_objFlags": 0, | 3442 | "_objFlags": 0, |
3460 | "_parent": { | 3443 | "_parent": { |
3461 | "__id__": 69 | 3444 | "__id__": 68 |
3462 | }, | 3445 | }, |
3463 | "_children": [], | 3446 | "_children": [], |
3464 | "_active": true, | 3447 | "_active": true, |
3465 | "_components": [ | 3448 | "_components": [ |
3466 | { | 3449 | { |
3467 | "__id__": 76 | 3450 | "__id__": 75 |
3468 | } | 3451 | } |
3469 | ], | 3452 | ], |
3470 | "_prefab": null, | 3453 | "_prefab": null, |
... | @@ -3532,7 +3515,7 @@ | ... | @@ -3532,7 +3515,7 @@ |
3532 | "_name": "", | 3515 | "_name": "", |
3533 | "_objFlags": 0, | 3516 | "_objFlags": 0, |
3534 | "node": { | 3517 | "node": { |
3535 | "__id__": 75 | 3518 | "__id__": 74 |
3536 | }, | 3519 | }, |
3537 | "_enabled": true, | 3520 | "_enabled": true, |
3538 | "_materials": [], | 3521 | "_materials": [], |
... | @@ -3558,7 +3541,7 @@ | ... | @@ -3558,7 +3541,7 @@ |
3558 | "_name": "", | 3541 | "_name": "", |
3559 | "_objFlags": 0, | 3542 | "_objFlags": 0, |
3560 | "node": { | 3543 | "node": { |
3561 | "__id__": 69 | 3544 | "__id__": 68 |
3562 | }, | 3545 | }, |
3563 | "_enabled": true, | 3546 | "_enabled": true, |
3564 | "alignMode": 1, | 3547 | "alignMode": 1, | ... | ... |
... | @@ -87,22 +87,22 @@ | ... | @@ -87,22 +87,22 @@ |
87 | "__id__": 67 | 87 | "__id__": 67 |
88 | }, | 88 | }, |
89 | { | 89 | { |
90 | "__id__": 70 | 90 | "__id__": 74 |
91 | }, | 91 | }, |
92 | { | 92 | { |
93 | "__id__": 75 | 93 | "__id__": 80 |
94 | }, | 94 | }, |
95 | { | 95 | { |
96 | "__id__": 81 | 96 | "__id__": 70 |
97 | } | 97 | } |
98 | ], | 98 | ], |
99 | "_active": true, | 99 | "_active": true, |
100 | "_components": [ | 100 | "_components": [ |
101 | { | 101 | { |
102 | "__id__": 84 | 102 | "__id__": 83 |
103 | }, | 103 | }, |
104 | { | 104 | { |
105 | "__id__": 85 | 105 | "__id__": 84 |
106 | } | 106 | } |
107 | ], | 107 | ], |
108 | "_prefab": null, | 108 | "_prefab": null, |
... | @@ -192,7 +192,7 @@ | ... | @@ -192,7 +192,7 @@ |
192 | "array": [ | 192 | "array": [ |
193 | 0, | 193 | 0, |
194 | 0, | 194 | 0, |
195 | 271.060302734375, | 195 | 265.0037841796875, |
196 | 0, | 196 | 0, |
197 | 0, | 197 | 0, |
198 | 0, | 198 | 0, |
... | @@ -3095,7 +3095,7 @@ | ... | @@ -3095,7 +3095,7 @@ |
3095 | }, | 3095 | }, |
3096 | { | 3096 | { |
3097 | "__type__": "cc.Node", | 3097 | "__type__": "cc.Node", |
3098 | "_name": "LoadingPic", | 3098 | "_name": "LoadingIcon", |
3099 | "_objFlags": 0, | 3099 | "_objFlags": 0, |
3100 | "_parent": { | 3100 | "_parent": { |
3101 | "__id__": 70 | 3101 | "__id__": 70 |
... | @@ -3104,10 +3104,10 @@ | ... | @@ -3104,10 +3104,10 @@ |
3104 | "_active": true, | 3104 | "_active": true, |
3105 | "_components": [ | 3105 | "_components": [ |
3106 | { | 3106 | { |
3107 | "__id__": 73 | 3107 | "__id__": 72 |
3108 | }, | 3108 | }, |
3109 | { | 3109 | { |
3110 | "__id__": 74 | 3110 | "__id__": 73 |
3111 | } | 3111 | } |
3112 | ], | 3112 | ], |
3113 | "_prefab": null, | 3113 | "_prefab": null, |
... | @@ -3121,12 +3121,12 @@ | ... | @@ -3121,12 +3121,12 @@ |
3121 | }, | 3121 | }, |
3122 | "_contentSize": { | 3122 | "_contentSize": { |
3123 | "__type__": "cc.Size", | 3123 | "__type__": "cc.Size", |
3124 | "width": 800, | 3124 | "width": 70, |
3125 | "height": 11 | 3125 | "height": 70 |
3126 | }, | 3126 | }, |
3127 | "_anchorPoint": { | 3127 | "_anchorPoint": { |
3128 | "__type__": "cc.Vec2", | 3128 | "__type__": "cc.Vec2", |
3129 | "x": 0, | 3129 | "x": 0.5, |
3130 | "y": 0.5 | 3130 | "y": 0.5 |
3131 | }, | 3131 | }, |
3132 | "_trs": { | 3132 | "_trs": { |
... | @@ -3156,7 +3156,7 @@ | ... | @@ -3156,7 +3156,7 @@ |
3156 | "_is3DNode": false, | 3156 | "_is3DNode": false, |
3157 | "_groupIndex": 0, | 3157 | "_groupIndex": 0, |
3158 | "groupIndex": 0, | 3158 | "groupIndex": 0, |
3159 | "_id": "62k19pA5VJdZHt1MvVd0KJ" | 3159 | "_id": "67SieNipJJ7LyGHuDHjpkp" |
3160 | }, | 3160 | }, |
3161 | { | 3161 | { |
3162 | "__type__": "cc.Node", | 3162 | "__type__": "cc.Node", |
... | @@ -3174,9 +3174,6 @@ | ... | @@ -3174,9 +3174,6 @@ |
3174 | "_components": [ | 3174 | "_components": [ |
3175 | { | 3175 | { |
3176 | "__id__": 71 | 3176 | "__id__": 71 |
3177 | }, | ||
3178 | { | ||
3179 | "__id__": 72 | ||
3180 | } | 3177 | } |
3181 | ], | 3178 | ], |
3182 | "_prefab": null, | 3179 | "_prefab": null, |
... | @@ -3190,19 +3187,19 @@ | ... | @@ -3190,19 +3187,19 @@ |
3190 | }, | 3187 | }, |
3191 | "_contentSize": { | 3188 | "_contentSize": { |
3192 | "__type__": "cc.Size", | 3189 | "__type__": "cc.Size", |
3193 | "width": 100, | 3190 | "width": 70, |
3194 | "height": 20 | 3191 | "height": 70 |
3195 | }, | 3192 | }, |
3196 | "_anchorPoint": { | 3193 | "_anchorPoint": { |
3197 | "__type__": "cc.Vec2", | 3194 | "__type__": "cc.Vec2", |
3198 | "x": 0, | 3195 | "x": 0.5, |
3199 | "y": 0.5 | 3196 | "y": 0.5 |
3200 | }, | 3197 | }, |
3201 | "_trs": { | 3198 | "_trs": { |
3202 | "__type__": "TypedArray", | 3199 | "__type__": "TypedArray", |
3203 | "ctor": "Float32Array", | 3200 | "ctor": "Float32Array", |
3204 | "array": [ | 3201 | "array": [ |
3205 | -50, | 3202 | 0, |
3206 | 0, | 3203 | 0, |
3207 | 0, | 3204 | 0, |
3208 | 0, | 3205 | 0, |
... | @@ -3225,27 +3222,7 @@ | ... | @@ -3225,27 +3222,7 @@ |
3225 | "_is3DNode": false, | 3222 | "_is3DNode": false, |
3226 | "_groupIndex": 0, | 3223 | "_groupIndex": 0, |
3227 | "groupIndex": 0, | 3224 | "groupIndex": 0, |
3228 | "_id": "12hb2fvRJA45nmGTVs+v32" | 3225 | "_id": "79bgVqSStDYK0+5Rq0GZV3" |
3229 | }, | ||
3230 | { | ||
3231 | "__type__": "cc.Mask", | ||
3232 | "_name": "", | ||
3233 | "_objFlags": 0, | ||
3234 | "node": { | ||
3235 | "__id__": 70 | ||
3236 | }, | ||
3237 | "_enabled": true, | ||
3238 | "_materials": [ | ||
3239 | { | ||
3240 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
3241 | } | ||
3242 | ], | ||
3243 | "_spriteFrame": null, | ||
3244 | "_type": 0, | ||
3245 | "_segments": 64, | ||
3246 | "_N$alphaThreshold": 1, | ||
3247 | "_N$inverted": false, | ||
3248 | "_id": "3cAhPpAdlP5IntJxN3NItA" | ||
3249 | }, | 3226 | }, |
3250 | { | 3227 | { |
3251 | "__type__": "cc.Widget", | 3228 | "__type__": "cc.Widget", |
... | @@ -3255,12 +3232,12 @@ | ... | @@ -3255,12 +3232,12 @@ |
3255 | "__id__": 70 | 3232 | "__id__": 70 |
3256 | }, | 3233 | }, |
3257 | "_enabled": true, | 3234 | "_enabled": true, |
3258 | "alignMode": 0, | 3235 | "alignMode": 1, |
3259 | "_target": null, | 3236 | "_target": null, |
3260 | "_alignFlags": 18, | 3237 | "_alignFlags": 0, |
3261 | "_left": 0, | 3238 | "_left": 311, |
3262 | "_right": 0, | 3239 | "_right": 0, |
3263 | "_top": 0, | 3240 | "_top": 172, |
3264 | "_bottom": 0, | 3241 | "_bottom": 0, |
3265 | "_verticalCenter": 0, | 3242 | "_verticalCenter": 0, |
3266 | "_horizontalCenter": 0, | 3243 | "_horizontalCenter": 0, |
... | @@ -3272,7 +3249,7 @@ | ... | @@ -3272,7 +3249,7 @@ |
3272 | "_isAbsVerticalCenter": true, | 3249 | "_isAbsVerticalCenter": true, |
3273 | "_originalWidth": 0, | 3250 | "_originalWidth": 0, |
3274 | "_originalHeight": 0, | 3251 | "_originalHeight": 0, |
3275 | "_id": "50fnFtwilL/4m5jYQwmRkg" | 3252 | "_id": "fc87+fW4xGGqt+gX0TCuOP" |
3276 | }, | 3253 | }, |
3277 | { | 3254 | { |
3278 | "__type__": "cc.Sprite", | 3255 | "__type__": "cc.Sprite", |
... | @@ -3290,10 +3267,10 @@ | ... | @@ -3290,10 +3267,10 @@ |
3290 | "_srcBlendFactor": 770, | 3267 | "_srcBlendFactor": 770, |
3291 | "_dstBlendFactor": 771, | 3268 | "_dstBlendFactor": 771, |
3292 | "_spriteFrame": { | 3269 | "_spriteFrame": { |
3293 | "__uuid__": "8591bd12-ad3c-4863-aadd-d5539e525022" | 3270 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" |
3294 | }, | 3271 | }, |
3295 | "_type": 0, | 3272 | "_type": 0, |
3296 | "_sizeMode": 1, | 3273 | "_sizeMode": 0, |
3297 | "_fillType": 0, | 3274 | "_fillType": 0, |
3298 | "_fillCenter": { | 3275 | "_fillCenter": { |
3299 | "__type__": "cc.Vec2", | 3276 | "__type__": "cc.Vec2", |
... | @@ -3304,7 +3281,7 @@ | ... | @@ -3304,7 +3281,7 @@ |
3304 | "_fillRange": 0, | 3281 | "_fillRange": 0, |
3305 | "_isTrimmedMode": true, | 3282 | "_isTrimmedMode": true, |
3306 | "_atlas": null, | 3283 | "_atlas": null, |
3307 | "_id": "3aWBjSZ3lJUpjguQ59S7ba" | 3284 | "_id": "5eWe0gHYdFgLAwURyV/xFF" |
3308 | }, | 3285 | }, |
3309 | { | 3286 | { |
3310 | "__type__": "cc.Animation", | 3287 | "__type__": "cc.Animation", |
... | @@ -3314,10 +3291,16 @@ | ... | @@ -3314,10 +3291,16 @@ |
3314 | "__id__": 69 | 3291 | "__id__": 69 |
3315 | }, | 3292 | }, |
3316 | "_enabled": true, | 3293 | "_enabled": true, |
3317 | "_defaultClip": null, | 3294 | "_defaultClip": { |
3318 | "_clips": [], | 3295 | "__uuid__": "859687c1-69f7-491b-b0c1-2d5121cf763a" |
3296 | }, | ||
3297 | "_clips": [ | ||
3298 | { | ||
3299 | "__uuid__": "859687c1-69f7-491b-b0c1-2d5121cf763a" | ||
3300 | } | ||
3301 | ], | ||
3319 | "playOnLoad": false, | 3302 | "playOnLoad": false, |
3320 | "_id": "30uLeFqC1A07n78l9C5gdn" | 3303 | "_id": "2eCZVpmE5PFqmCY8kgCJmh" |
3321 | }, | 3304 | }, |
3322 | { | 3305 | { |
3323 | "__type__": "cc.Node", | 3306 | "__type__": "cc.Node", |
... | @@ -3328,16 +3311,16 @@ | ... | @@ -3328,16 +3311,16 @@ |
3328 | }, | 3311 | }, |
3329 | "_children": [ | 3312 | "_children": [ |
3330 | { | 3313 | { |
3331 | "__id__": 76 | 3314 | "__id__": 75 |
3332 | } | 3315 | } |
3333 | ], | 3316 | ], |
3334 | "_active": true, | 3317 | "_active": true, |
3335 | "_components": [ | 3318 | "_components": [ |
3336 | { | 3319 | { |
3337 | "__id__": 79 | 3320 | "__id__": 78 |
3338 | }, | 3321 | }, |
3339 | { | 3322 | { |
3340 | "__id__": 80 | 3323 | "__id__": 79 |
3341 | } | 3324 | } |
3342 | ], | 3325 | ], |
3343 | "_prefab": null, | 3326 | "_prefab": null, |
... | @@ -3393,16 +3376,16 @@ | ... | @@ -3393,16 +3376,16 @@ |
3393 | "_name": "CurrentName", | 3376 | "_name": "CurrentName", |
3394 | "_objFlags": 0, | 3377 | "_objFlags": 0, |
3395 | "_parent": { | 3378 | "_parent": { |
3396 | "__id__": 75 | 3379 | "__id__": 74 |
3397 | }, | 3380 | }, |
3398 | "_children": [], | 3381 | "_children": [], |
3399 | "_active": true, | 3382 | "_active": true, |
3400 | "_components": [ | 3383 | "_components": [ |
3401 | { | 3384 | { |
3402 | "__id__": 77 | 3385 | "__id__": 76 |
3403 | }, | 3386 | }, |
3404 | { | 3387 | { |
3405 | "__id__": 78 | 3388 | "__id__": 77 |
3406 | } | 3389 | } |
3407 | ], | 3390 | ], |
3408 | "_prefab": null, | 3391 | "_prefab": null, |
... | @@ -3458,7 +3441,7 @@ | ... | @@ -3458,7 +3441,7 @@ |
3458 | "_name": "", | 3441 | "_name": "", |
3459 | "_objFlags": 0, | 3442 | "_objFlags": 0, |
3460 | "node": { | 3443 | "node": { |
3461 | "__id__": 76 | 3444 | "__id__": 75 |
3462 | }, | 3445 | }, |
3463 | "_enabled": true, | 3446 | "_enabled": true, |
3464 | "_materials": [ | 3447 | "_materials": [ |
... | @@ -3488,7 +3471,7 @@ | ... | @@ -3488,7 +3471,7 @@ |
3488 | "_name": "", | 3471 | "_name": "", |
3489 | "_objFlags": 0, | 3472 | "_objFlags": 0, |
3490 | "node": { | 3473 | "node": { |
3491 | "__id__": 76 | 3474 | "__id__": 75 |
3492 | }, | 3475 | }, |
3493 | "_enabled": true, | 3476 | "_enabled": true, |
3494 | "alignMode": 1, | 3477 | "alignMode": 1, |
... | @@ -3515,7 +3498,7 @@ | ... | @@ -3515,7 +3498,7 @@ |
3515 | "_name": "", | 3498 | "_name": "", |
3516 | "_objFlags": 0, | 3499 | "_objFlags": 0, |
3517 | "node": { | 3500 | "node": { |
3518 | "__id__": 75 | 3501 | "__id__": 74 |
3519 | }, | 3502 | }, |
3520 | "_enabled": true, | 3503 | "_enabled": true, |
3521 | "_layoutSize": { | 3504 | "_layoutSize": { |
... | @@ -3548,7 +3531,7 @@ | ... | @@ -3548,7 +3531,7 @@ |
3548 | "_name": "", | 3531 | "_name": "", |
3549 | "_objFlags": 0, | 3532 | "_objFlags": 0, |
3550 | "node": { | 3533 | "node": { |
3551 | "__id__": 75 | 3534 | "__id__": 74 |
3552 | }, | 3535 | }, |
3553 | "_enabled": true, | 3536 | "_enabled": true, |
3554 | "alignMode": 1, | 3537 | "alignMode": 1, |
... | @@ -3581,10 +3564,10 @@ | ... | @@ -3581,10 +3564,10 @@ |
3581 | "_active": false, | 3564 | "_active": false, |
3582 | "_components": [ | 3565 | "_components": [ |
3583 | { | 3566 | { |
3584 | "__id__": 82 | 3567 | "__id__": 81 |
3585 | }, | 3568 | }, |
3586 | { | 3569 | { |
3587 | "__id__": 83 | 3570 | "__id__": 82 |
3588 | } | 3571 | } |
3589 | ], | 3572 | ], |
3590 | "_prefab": null, | 3573 | "_prefab": null, |
... | @@ -3640,7 +3623,7 @@ | ... | @@ -3640,7 +3623,7 @@ |
3640 | "_name": "", | 3623 | "_name": "", |
3641 | "_objFlags": 0, | 3624 | "_objFlags": 0, |
3642 | "node": { | 3625 | "node": { |
3643 | "__id__": 81 | 3626 | "__id__": 80 |
3644 | }, | 3627 | }, |
3645 | "_enabled": true, | 3628 | "_enabled": true, |
3646 | "_materials": [ | 3629 | "_materials": [ |
... | @@ -3672,7 +3655,7 @@ | ... | @@ -3672,7 +3655,7 @@ |
3672 | "_name": "", | 3655 | "_name": "", |
3673 | "_objFlags": 0, | 3656 | "_objFlags": 0, |
3674 | "node": { | 3657 | "node": { |
3675 | "__id__": 81 | 3658 | "__id__": 80 |
3676 | }, | 3659 | }, |
3677 | "_enabled": true, | 3660 | "_enabled": true, |
3678 | "alignMode": 1, | 3661 | "alignMode": 1, | ... | ... |
... | @@ -831,6 +831,7 @@ cc.Class({ | ... | @@ -831,6 +831,7 @@ cc.Class({ |
831 | this._bShowProgress = true; | 831 | this._bShowProgress = true; |
832 | this.unschedule(this.hideProgressBarArea); | 832 | this.unschedule(this.hideProgressBarArea); |
833 | cc.find("VideoArea/PlayPanel/Operation/Play", this.node).active = true; | 833 | cc.find("VideoArea/PlayPanel/Operation/Play", this.node).active = true; |
834 | cc.find("VideoArea/PlayPanel/Operation/Bg", this.node).active = true; | ||
834 | cc.find("VideoArea/PlayPanel/Progress", this.node).active = true; | 835 | cc.find("VideoArea/PlayPanel/Progress", this.node).active = true; |
835 | cc.find("VideoArea/PlayPanel/Time", this.node).active = true; | 836 | cc.find("VideoArea/PlayPanel/Time", this.node).active = true; |
836 | cc.find("SelectDown", this.node).active = true; | 837 | cc.find("SelectDown", this.node).active = true; |
... | @@ -844,6 +845,7 @@ cc.Class({ | ... | @@ -844,6 +845,7 @@ cc.Class({ |
844 | this._bShowProgress = false; | 845 | this._bShowProgress = false; |
845 | this.unschedule(this.hideProgressBarArea); | 846 | this.unschedule(this.hideProgressBarArea); |
846 | cc.find("VideoArea/PlayPanel/Operation/Play", this.node).active = false; | 847 | cc.find("VideoArea/PlayPanel/Operation/Play", this.node).active = false; |
848 | cc.find("VideoArea/PlayPanel/Operation/Bg", this.node).active = false; | ||
847 | cc.find("VideoArea/PlayPanel/Progress", this.node).active = false; | 849 | cc.find("VideoArea/PlayPanel/Progress", this.node).active = false; |
848 | cc.find("VideoArea/PlayPanel/Time", this.node).active = false; | 850 | cc.find("VideoArea/PlayPanel/Time", this.node).active = false; |
849 | cc.find("SelectDown", this.node).active = false; | 851 | cc.find("SelectDown", this.node).active = false; |
... | @@ -856,6 +858,7 @@ cc.Class({ | ... | @@ -856,6 +858,7 @@ cc.Class({ |
856 | this._bShowGather = true; | 858 | this._bShowGather = true; |
857 | this.unschedule(this.hideSelectGatherArea); | 859 | this.unschedule(this.hideSelectGatherArea); |
858 | cc.find("VideoArea/PlayPanel/Operation/Group", this.node).active = true; | 860 | cc.find("VideoArea/PlayPanel/Operation/Group", this.node).active = true; |
861 | cc.find("VideoArea/PlayPanel/Operation/Bg", this.node).active = true; | ||
859 | this._iFocusStatus = 1; | 862 | this._iFocusStatus = 1; |
860 | this._cFocus.flyFocus(this._fiCurrentFocus, cc.find("VideoArea/PlayPanel/Operation/Group/ButtonNext", this.node).getComponent(FocusInfo), Common.MOVE_DIRECTION_UP, 1.0, null); | 863 | this._cFocus.flyFocus(this._fiCurrentFocus, cc.find("VideoArea/PlayPanel/Operation/Group/ButtonNext", this.node).getComponent(FocusInfo), Common.MOVE_DIRECTION_UP, 1.0, null); |
861 | this.scheduleOnce(this.hideSelectGatherArea, 5); | 864 | this.scheduleOnce(this.hideSelectGatherArea, 5); |
... | @@ -866,6 +869,7 @@ cc.Class({ | ... | @@ -866,6 +869,7 @@ cc.Class({ |
866 | this._bShowGather = false; | 869 | this._bShowGather = false; |
867 | this.unschedule(this.hideSelectGatherArea); | 870 | this.unschedule(this.hideSelectGatherArea); |
868 | cc.find("VideoArea/PlayPanel/Operation/Group", this.node).active = false; | 871 | cc.find("VideoArea/PlayPanel/Operation/Group", this.node).active = false; |
872 | cc.find("VideoArea/PlayPanel/Operation/Bg", this.node).active = false; | ||
869 | }, | 873 | }, |
870 | 874 | ||
871 | }); | 875 | }); | ... | ... |
... | @@ -2,16 +2,6 @@ cc.Class({ | ... | @@ -2,16 +2,6 @@ cc.Class({ |
2 | extends: cc.Component, | 2 | extends: cc.Component, |
3 | 3 | ||
4 | properties: { | 4 | properties: { |
5 | // foo: { | ||
6 | // default: null, // The default value will be used only when the component attaching | ||
7 | // to a node for the first time | ||
8 | // url: cc.Texture2D, // optional, default is typeof default | ||
9 | // serializable: true, // optional, default is true | ||
10 | // visible: true, // optional, default is true | ||
11 | // displayName: 'Foo', // optional | ||
12 | // readonly: false, // optional, default is false | ||
13 | // }, | ||
14 | // ... | ||
15 | }, | 5 | }, |
16 | // use this for initialization | 6 | // use this for initialization |
17 | onLoad: function () { | 7 | onLoad: function () { |
... | @@ -29,7 +19,6 @@ cc.Class({ | ... | @@ -29,7 +19,6 @@ cc.Class({ |
29 | MOVE_DIRECTION_DOWN: 2, | 19 | MOVE_DIRECTION_DOWN: 2, |
30 | MOVE_DIRECTION_LEFT: 3, | 20 | MOVE_DIRECTION_LEFT: 3, |
31 | 21 | ||
32 | |||
33 | FOCUS_FLY_DURATION: 0.2, | 22 | FOCUS_FLY_DURATION: 0.2, |
34 | FOCUS_BREATH_DURATION: 0.8, | 23 | FOCUS_BREATH_DURATION: 0.8, |
35 | 24 | ||
... | @@ -40,14 +29,10 @@ cc.Class({ | ... | @@ -40,14 +29,10 @@ cc.Class({ |
40 | FOCUS_CONTAINER_BREATH: 2, | 29 | FOCUS_CONTAINER_BREATH: 2, |
41 | FOCUS_CONTAINER_JOGGLE: 3, | 30 | FOCUS_CONTAINER_JOGGLE: 3, |
42 | 31 | ||
43 | |||
44 | |||
45 | |||
46 | OVERLENGTH_MOVING: 4, | 32 | OVERLENGTH_MOVING: 4, |
47 | 33 | ||
48 | SCROLL_BY_FOCUS_CHANGE: 5, | 34 | SCROLL_BY_FOCUS_CHANGE: 5, |
49 | 35 | ||
50 | |||
51 | API_SORT_ASC: 'asc', | 36 | API_SORT_ASC: 'asc', |
52 | API_SORT_DESC: 'desc', | 37 | API_SORT_DESC: 'desc', |
53 | 38 | ||
... | @@ -64,28 +49,9 @@ cc.Class({ | ... | @@ -64,28 +49,9 @@ cc.Class({ |
64 | enter: 1005 | 49 | enter: 1005 |
65 | }, | 50 | }, |
66 | 51 | ||
67 | |||
68 | BUSINESS_PARAMETER: { | ||
69 | // {:, | ||
70 | |||
71 | }, | ||
72 | |||
73 | |||
74 | OFFICIAL_PLATFORM_IP: 'http://139.196.192.33/', | 52 | OFFICIAL_PLATFORM_IP: 'http://139.196.192.33/', |
75 | TEST_PLATFORM_IP: 'http://139.196.192.242:8081/', | 53 | TEST_PLATFORM_IP: 'http://139.196.192.242:8081/', |
76 | 54 | ||
77 | // TOPDRAW_API_SERVER : 'http://139.196.192.242:8081/hyperion.chimera/', | ||
78 | // TOPDRAW_IMAGE_SERVER : 'http://139.196.192.242:8081/hyperion.resource/', | ||
79 | // TOPDRAW_API_SERVER : 'http://39.130.160.199:8081/hyperion.chimera/', | ||
80 | // TOPDRAW_IMAGE_SERVER : 'http://39.130.160.199:8081/hyperion.resource/', | ||
81 | |||
82 | // TOPDRAW_LOG_SERVER:'http://139.196.37.202/sparrow.resource/', | ||
83 | // // BI_BASE_PATH : 'http://139.196.192.242:81/1.gif', | ||
84 | // BI_BASE_PATH : 'http://39.130.160.23:81/1.gif', | ||
85 | |||
86 | |||
87 | |||
88 | //2019.8.16修改新服务器 | ||
89 | TOPDRAW_API_SERVER: 'http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/', | 55 | TOPDRAW_API_SERVER: 'http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/', |
90 | TOPDRAW_IMAGE_SERVER: 'http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/', | 56 | TOPDRAW_IMAGE_SERVER: 'http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/', |
91 | 57 | ||
... | @@ -94,7 +60,6 @@ cc.Class({ | ... | @@ -94,7 +60,6 @@ cc.Class({ |
94 | BI_BASE_PATH: 'http://melody.hi.a170.ottcn.com:80/1.gif', | 60 | BI_BASE_PATH: 'http://melody.hi.a170.ottcn.com:80/1.gif', |
95 | BI_BASE_PATH_NEW: 'http://melody.hi.a170.ottcn.com:80/2.gif', | 61 | BI_BASE_PATH_NEW: 'http://melody.hi.a170.ottcn.com:80/2.gif', |
96 | 62 | ||
97 | |||
98 | TV_LINK_ACTION_CLICK: 100, | 63 | TV_LINK_ACTION_CLICK: 100, |
99 | TV_LINK_ACTION_HOVER: 101, | 64 | TV_LINK_ACTION_HOVER: 101, |
100 | 65 | ||
... | @@ -113,7 +78,6 @@ cc.Class({ | ... | @@ -113,7 +78,6 @@ cc.Class({ |
113 | BACK_WITH_DETAIN: true, | 78 | BACK_WITH_DETAIN: true, |
114 | //TEST_API_TOKEN:'6b071a064fb047bbbd47c5b3326f34d5', B2C 的 | 79 | //TEST_API_TOKEN:'6b071a064fb047bbbd47c5b3326f34d5', B2C 的 |
115 | 80 | ||
116 | |||
117 | _bIsHotUpdate: false, | 81 | _bIsHotUpdate: false, |
118 | PRODUCT_LIST: null, | 82 | PRODUCT_LIST: null, |
119 | VALID_PLAY_TIME_DURATION: 5 * 60, | 83 | VALID_PLAY_TIME_DURATION: 5 * 60, |
... | @@ -149,29 +113,6 @@ cc.Class({ | ... | @@ -149,29 +113,6 @@ cc.Class({ |
149 | 113 | ||
150 | }, | 114 | }, |
151 | setTimeout: function (onTimeComplete, iDuration, oScope, argements) { | 115 | setTimeout: function (onTimeComplete, iDuration, oScope, argements) { |
152 | |||
153 | /* | ||
154 | window.setTimeout(onTimeComplete,iDuration,); | ||
155 | |||
156 | |||
157 | cc.loader.loadRes(strResourceURL, | ||
158 | function(error,loadedResource){ | ||
159 | if (error){ | ||
160 | if(null!=oScope){ | ||
161 | onError.call(oScope,error); | ||
162 | }else{ | ||
163 | onError(error); | ||
164 | } | ||
165 | }else{ | ||
166 | if(null!=oScope){ | ||
167 | onSuccess.call(oScope,loadedResource); | ||
168 | }else{ | ||
169 | onSuccess(loadedResource); | ||
170 | } | ||
171 | } | ||
172 | } | ||
173 | ); | ||
174 | */ | ||
175 | }, | 116 | }, |
176 | getAbsolutePositionX: function (node) { | 117 | getAbsolutePositionX: function (node) { |
177 | 118 | ... | ... |
... | @@ -43,7 +43,7 @@ cc.Class({ | ... | @@ -43,7 +43,7 @@ cc.Class({ |
43 | cc.game.addPersistRootNode(nodeVideoPlayer.parent); | 43 | cc.game.addPersistRootNode(nodeVideoPlayer.parent); |
44 | 44 | ||
45 | this.checkUpdate(); //热更新 | 45 | this.checkUpdate(); //热更新 |
46 | // cc.director.loadScene("sceneMain"); | 46 | //cc.director.loadScene("sceneMain"); |
47 | 47 | ||
48 | if (!this._bAbleHotUpdate) { | 48 | if (!this._bAbleHotUpdate) { |
49 | // cc.director.loadScene("sceneMain"); | 49 | // cc.director.loadScene("sceneMain"); | ... | ... |
... | @@ -26,11 +26,13 @@ cc.Class({ | ... | @@ -26,11 +26,13 @@ cc.Class({ |
26 | oScene: null, | 26 | oScene: null, |
27 | url: "", | 27 | url: "", |
28 | addedFn4Update: null, | 28 | addedFn4Update: null, |
29 | |||
29 | }, | 30 | }, |
30 | onLoad: function () { | 31 | onLoad: function () { |
31 | this.updateTimer = 0; | 32 | this.updateTimer = 0; |
32 | this.updateInterval = 1; | 33 | this.updateInterval = 1; |
33 | this.bShowLoading = false; | 34 | //全屏播放时可能onLoad了多次导致不能关闭loading图标,先干掉 |
35 | //this.bShowLoading = false; | ||
34 | this.bContinualStep = false; | 36 | this.bContinualStep = false; |
35 | this.speed = 0; | 37 | this.speed = 0; |
36 | this.initialStep = 1; | 38 | this.initialStep = 1; |
... | @@ -124,8 +126,7 @@ cc.Class({ | ... | @@ -124,8 +126,7 @@ cc.Class({ |
124 | this.videoPlayer.start(); | 126 | this.videoPlayer.start(); |
125 | //看是否是纯k是纯k的话要进行定点播放 | 127 | //看是否是纯k是纯k的话要进行定点播放 |
126 | if (!this.oScene._bContinuePlayed | 128 | if (!this.oScene._bContinuePlayed |
127 | && ( | 129 | && ((this.oScene._strAppId && this.oScene._strAppId == BusinessParameter.KTV_APPID) |
128 | (this.oScene._strAppId && this.oScene._strAppId == BusinessParameter.KTV_APPID) | ||
129 | || (this.oScene._strPlaylistAppId && this.oScene._strPlaylistAppId == BusinessParameter.KTV_APPID)) | 130 | || (this.oScene._strPlaylistAppId && this.oScene._strPlaylistAppId == BusinessParameter.KTV_APPID)) |
130 | && Common.g_iPlayerPlayedTime) { | 131 | && Common.g_iPlayerPlayedTime) { |
131 | this.iInitPlayStartTime = Common.g_iPlayerPlayedTime; | 132 | this.iInitPlayStartTime = Common.g_iPlayerPlayedTime; |
... | @@ -156,6 +157,7 @@ cc.Class({ | ... | @@ -156,6 +157,7 @@ cc.Class({ |
156 | this.fnAfterReady2Play = null; | 157 | this.fnAfterReady2Play = null; |
157 | //准备播放后做个通知事件 | 158 | //准备播放后做个通知事件 |
158 | this.oScene.fnAfterReady2Play && this.oScene.fnAfterReady2Play.call(this.oScene); | 159 | this.oScene.fnAfterReady2Play && this.oScene.fnAfterReady2Play.call(this.oScene); |
160 | this.oScene._cLog.screenI("setOnPreparedListener->bShowLoading" + this.bShowLoading); | ||
159 | }.bind(this)); | 161 | }.bind(this)); |
160 | 162 | ||
161 | // this.videoPlayer.node.on( | 163 | // this.videoPlayer.node.on( |
... | @@ -305,7 +307,7 @@ cc.Class({ | ... | @@ -305,7 +307,7 @@ cc.Class({ |
305 | } | 307 | } |
306 | this.oScene._cLog.screenI("function setLeft start" + this.bReady2Play); | 308 | this.oScene._cLog.screenI("function setLeft start" + this.bReady2Play); |
307 | this.videoLeft = iLeft; | 309 | this.videoLeft = iLeft; |
308 | this.loadingIcon.parent.x = this.videoLeft - this.loadingIcon.parent.width / 2; | 310 | // this.loadingIcon.parent.x = this.videoLeft - this.loadingIcon.parent.width / 2; |
309 | if (this.bReady2Play) { | 311 | if (this.bReady2Play) { |
310 | // this.videoPlayer.node.x = iLeft; | 312 | // this.videoPlayer.node.x = iLeft; |
311 | this.videoPlayer.setArea(this.videoLeft, this.videoTop, this.videoWidth, this.videoHeight); //设置播放器位置 fix jerry | 313 | this.videoPlayer.setArea(this.videoLeft, this.videoTop, this.videoWidth, this.videoHeight); //设置播放器位置 fix jerry |
... | @@ -519,11 +521,11 @@ cc.Class({ | ... | @@ -519,11 +521,11 @@ cc.Class({ |
519 | }, | 521 | }, |
520 | setURL: function (options, time, resourceType) { | 522 | setURL: function (options, time, resourceType) { |
521 | try { | 523 | try { |
522 | if(!options){ | 524 | if (!options) { |
523 | return; | 525 | return; |
524 | } | 526 | } |
525 | let url = options.playurl; | 527 | let url = options.playurl; |
526 | cc.log("setURL start..."+url); | 528 | cc.log("setURL start..." + url); |
527 | options.appId = BusinessParameter.NEWTV_APPID; | 529 | options.appId = BusinessParameter.NEWTV_APPID; |
528 | this.oScene._cLog.screenI("function setURL start"); | 530 | this.oScene._cLog.screenI("function setURL start"); |
529 | //this.oScene._cLog.screenI("取消延迟:延迟设置setURL"); | 531 | //this.oScene._cLog.screenI("取消延迟:延迟设置setURL"); |
... | @@ -551,21 +553,22 @@ cc.Class({ | ... | @@ -551,21 +553,22 @@ cc.Class({ |
551 | this.videoPlayer.prepareAsync(); //异步准备播放视频,准备完成后调用OnPreparedListener监听 fix jerry | 553 | this.videoPlayer.prepareAsync(); //异步准备播放视频,准备完成后调用OnPreparedListener监听 fix jerry |
552 | // this.videoPlayer.isFullscreen = this.bFullScreen; //全屏先不要 fix jerry | 554 | // this.videoPlayer.isFullscreen = this.bFullScreen; //全屏先不要 fix jerry |
553 | this.oScene._cLog.screenI("222" + this.videoPlayer.url + "setURL333\r\n"); | 555 | this.oScene._cLog.screenI("222" + this.videoPlayer.url + "setURL333\r\n"); |
554 | // if (this.bShowLoading && this.loadingIcon) { //暂时将加载进度条关了, this.bShowLoading出现诡异问题 | 556 | if (this.bShowLoading && this.loadingIcon) { //暂时将加载进度条关了, this.bShowLoading出现诡异问题 |
555 | // let nodeParent = this.loadingIcon.parent; | 557 | let nodeParent = this.loadingIcon.parent; |
556 | // nodeParent.zIndex = 1000; | 558 | nodeParent.zIndex = 1000; |
557 | // nodeParent.x = this.videoLeft - nodeParent.width / 2; | 559 | // nodeParent.x = this.videoLeft - nodeParent.width / 2; |
558 | // nodeParent.y = this.videoTop - nodeParent.height / 2; | 560 | // nodeParent.y = this.videoTop - nodeParent.height / 2; |
559 | // let anim = this.loadingIcon.getComponent(cc.Animation); | 561 | let anim = this.loadingIcon.getComponent(cc.Animation); |
560 | // anim.play(); | 562 | anim.play(); |
561 | // this.loadingIcon.opacity = 255; | 563 | this.loadingIcon.opacity = 255; |
562 | // } | 564 | } |
565 | this.oScene._cLog.screenI("setURL->bShowLoading" + this.bShowLoading); | ||
563 | } | 566 | } |
564 | } | 567 | } |
565 | } catch (err) { | 568 | } catch (err) { |
566 | this.oScene._cLog.screenI("setURL Error==>" + err + "\r\n"); | 569 | this.oScene._cLog.screenI("setURL Error==>" + err + "\r\n"); |
567 | } | 570 | } |
568 | this.oScene._cLog.screenI("function setURL end"); | 571 | this.oScene._cLog.screenI("function setURL end " + this.bShowLoading); |
569 | } catch (error) { | 572 | } catch (error) { |
570 | if (cc.sys.isNative) { | 573 | if (cc.sys.isNative) { |
571 | jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "logInSceneI", "(Ljava/lang/String;)V", "setURL Error in OperateVideoPlay==>" + error); | 574 | jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "logInSceneI", "(Ljava/lang/String;)V", "setURL Error in OperateVideoPlay==>" + error); |
... | @@ -749,7 +752,7 @@ cc.Class({ | ... | @@ -749,7 +752,7 @@ cc.Class({ |
749 | // // this.oScene.nextMedia && this.oScene.nextMedia(); | 752 | // // this.oScene.nextMedia && this.oScene.nextMedia(); |
750 | // // return; | 753 | // // return; |
751 | // } | 754 | // } |
752 | iTargetTime = Math.min(this.duration,this.now + iDir * this.speed); | 755 | iTargetTime = Math.min(this.duration, this.now + iDir * this.speed); |
753 | if (this.now + iDir * this.speed > 0) { | 756 | if (this.now + iDir * this.speed > 0) { |
754 | //iTargetTime = this.now + iDir * this.speed; | 757 | //iTargetTime = this.now + iDir * this.speed; |
755 | } else { | 758 | } else { |
... | @@ -795,6 +798,7 @@ cc.Class({ | ... | @@ -795,6 +798,7 @@ cc.Class({ |
795 | if (this.updateTimer < this.updateInterval) { | 798 | if (this.updateTimer < this.updateInterval) { |
796 | return; // we don't need to do the math every frame | 799 | return; // we don't need to do the math every frame |
797 | } | 800 | } |
801 | cc.log("update->this.bShowLoading..." + this.bShowLoading); | ||
798 | this.updateTimer = 0; | 802 | this.updateTimer = 0; |
799 | if (!this.videoPlayer || !this.videoPlayer.enabled) return; | 803 | if (!this.videoPlayer || !this.videoPlayer.enabled) return; |
800 | if (this.oScene._bFakeProgressStart) { | 804 | if (this.oScene._bFakeProgressStart) { |
... | @@ -815,15 +819,15 @@ cc.Class({ | ... | @@ -815,15 +819,15 @@ cc.Class({ |
815 | if (this.duration > 0) { | 819 | if (this.duration > 0) { |
816 | this.stepCountMax = (Math.floor(this.duration / 60 / 5) || 1) * 8; | 820 | this.stepCountMax = (Math.floor(this.duration / 60 / 5) || 1) * 8; |
817 | } | 821 | } |
818 | // this.oScene._cLog.screenI("OperateVideoPlay update this.loadingIcon:"+this.bShowLoading+" "+this.loadingIcon); | 822 | this.oScene._cLog.screenI("OperateVideoPlay update this.loadingIcon:" + this.bShowLoading + " " + this.loadingIcon); |
819 | if (this.bShowLoading && this.loadingIcon) { | 823 | if (this.bShowLoading && this.loadingIcon) { |
820 | this.loadingIcon.parent.x = this.videoLeft - this.loadingIcon.parent.width / 2; | 824 | // this.loadingIcon.parent.x = this.videoLeft - this.loadingIcon.parent.width / 2; |
821 | this.loadingIcon.parent.y = this.videoTop - this.loadingIcon.parent.height / 2; | 825 | // this.loadingIcon.parent.y = this.videoTop - this.loadingIcon.parent.height / 2; |
822 | let anim = this.loadingIcon.getComponent(cc.Animation); | 826 | let anim = this.loadingIcon.getComponent(cc.Animation); |
823 | if (this.now > 0) { | 827 | if (this.now > 0) { |
824 | anim.pause(); | 828 | anim.pause(); |
825 | this.loadingIcon.opacity = 0; | 829 | this.loadingIcon.opacity = 0; |
826 | } else if (this.duration == -100){ //未来播放器播前广告进行中。。。 fix jerry | 830 | } else if (this.duration == -100) { //未来播放器播前广告进行中。。。 fix jerry |
827 | anim.pause(); | 831 | anim.pause(); |
828 | this.loadingIcon.opacity = 0; | 832 | this.loadingIcon.opacity = 0; |
829 | } | 833 | } | ... | ... |
... | @@ -311,14 +311,14 @@ cc.Class({ | ... | @@ -311,14 +311,14 @@ cc.Class({ |
311 | if (fiFocusTarget.node.x - fiFocusTarget.node.width / 2 + this._nodeEpisodeList.x >= this._nodeEpisodeListWrapper.width) { | 311 | if (fiFocusTarget.node.x - fiFocusTarget.node.width / 2 + this._nodeEpisodeList.x >= this._nodeEpisodeListWrapper.width) { |
312 | oScrollParameter = this._nodeEpisodeList.getComponent(TVScrollParameter); | 312 | oScrollParameter = this._nodeEpisodeList.getComponent(TVScrollParameter); |
313 | oScrollParameter.setHasRelation(true); | 313 | oScrollParameter.setHasRelation(true); |
314 | oScrollParameter.setStep((fiFocusTarget.node.x + fiFocusTarget.node.width / 2 + this._nodeEpisodeList.x) - this._nodeEpisodeListWrapper.width+20); | 314 | oScrollParameter.setStep((fiFocusTarget.node.x + fiFocusTarget.node.width / 2 + this._nodeEpisodeList.x) - this._nodeEpisodeListWrapper.width + 20); |
315 | oScrollParameter.setTargetPosition(this._nodeEpisodeList.x - oScrollParameter.getStep()); | 315 | oScrollParameter.setTargetPosition(this._nodeEpisodeList.x - oScrollParameter.getStep()); |
316 | // this._oSceneContext._nodeNaviListX = this._nodeEpisodeList.x - oScrollParameter.getStep(); | 316 | // this._oSceneContext._nodeNaviListX = this._nodeEpisodeList.x - oScrollParameter.getStep(); |
317 | } | 317 | } |
318 | if (fiFocusTarget.node.x + this._nodeEpisodeList.x < 0) { | 318 | if (fiFocusTarget.node.x + this._nodeEpisodeList.x < 0) { |
319 | oScrollParameter = this._nodeEpisodeList.getComponent(TVScrollParameter); | 319 | oScrollParameter = this._nodeEpisodeList.getComponent(TVScrollParameter); |
320 | oScrollParameter.setHasRelation(true); | 320 | oScrollParameter.setHasRelation(true); |
321 | oScrollParameter.setStep(-fiFocusTarget.node.x + fiFocusTarget.node.width / 2 - this._nodeEpisodeList.x+16); | 321 | oScrollParameter.setStep(-fiFocusTarget.node.x + fiFocusTarget.node.width / 2 - this._nodeEpisodeList.x + 16); |
322 | oScrollParameter.setTargetPosition(this._nodeEpisodeList.x + oScrollParameter.getStep()) | 322 | oScrollParameter.setTargetPosition(this._nodeEpisodeList.x + oScrollParameter.getStep()) |
323 | // this._oSceneContext._nodeNaviListX = this._nodeEpisodeList.x + oScrollParameter.getStep(); | 323 | // this._oSceneContext._nodeNaviListX = this._nodeEpisodeList.x + oScrollParameter.getStep(); |
324 | } | 324 | } |
... | @@ -365,23 +365,7 @@ cc.Class({ | ... | @@ -365,23 +365,7 @@ cc.Class({ |
365 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('LabelDesc')) { | 365 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('LabelDesc')) { |
366 | cc.find("FullDesc", this.node).active = true; | 366 | cc.find("FullDesc", this.node).active = true; |
367 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('ButtonOpen') || 0 == this._fiCurrentFocus.node.name.indexOf('Pic')) { | 367 | } else if (0 == this._fiCurrentFocus.node.name.indexOf('ButtonOpen') || 0 == this._fiCurrentFocus.node.name.indexOf('Pic')) { |
368 | // this.commonSimpleTip("是否拿到数据: " + this._bInitExistApk); | ||
369 | if (!this._bInitExistApk) { //还未拿到判断数据 | ||
370 | return; | ||
371 | } | ||
372 | if (this._bIsExistApk == "true") { | ||
373 | if (this._oSceneContext._downloadUrl && this._oSceneContext._downloadUrl != "undefined") { //如果有下载地址就启动奥比游戏 | ||
374 | jsb.reflection.callStaticMethod("com/topdraw/melody/TopdrawSDKWrapper", "startOBiGame", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", Common.TOPDRAW_API_SERVER + this._oSceneContext._downloadUrl, this._oSceneContext._packageName, this._oSceneContext._className, ""); | ||
375 | } else { | ||
376 | //这里应该转圈圈等待加载游戏 | ||
377 | // cc.find("LoadingLabel", this.node).opacity = 255; | ||
378 | // cc.find("Loading/LoadingIcon", this.node).opacity = 255; | ||
379 | // cc.find("Loading/LoadingIcon", this.node).getComponent(cc.Animation).play(); | ||
380 | jsb.reflection.callStaticMethod("com/topdraw/melody/TopdrawSDKWrapper", "startGame", "(Ljava/lang/String;Ljava/lang/String;)V", this._oSceneContext._packageName, ""); | ||
381 | } | ||
382 | } else { | ||
383 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); | 368 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); |
384 | } | ||
385 | return; | 369 | return; |
386 | } else { | 370 | } else { |
387 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); | 371 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); | ... | ... |
1 | { | ||
2 | "__type__": "cc.AnimationClip", | ||
3 | "_name": "loadingRotate", | ||
4 | "_objFlags": 0, | ||
5 | "_native": "", | ||
6 | "_duration": 1, | ||
7 | "sample": 4, | ||
8 | "speed": 1, | ||
9 | "wrapMode": 2, | ||
10 | "curveData": { | ||
11 | "comps": { | ||
12 | "cc.Sprite": { | ||
13 | "spriteFrame": [ | ||
14 | { | ||
15 | "frame": 0, | ||
16 | "value": { | ||
17 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" | ||
18 | } | ||
19 | }, | ||
20 | { | ||
21 | "frame": 0.25, | ||
22 | "value": { | ||
23 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" | ||
24 | } | ||
25 | }, | ||
26 | { | ||
27 | "frame": 0.5, | ||
28 | "value": { | ||
29 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" | ||
30 | } | ||
31 | }, | ||
32 | { | ||
33 | "frame": 0.75, | ||
34 | "value": { | ||
35 | "__uuid__": "8b1433a3-286a-46be-913a-f7c952eae789" | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
40 | }, | ||
41 | "props": { | ||
42 | "angle": [ | ||
43 | { | ||
44 | "frame": 0, | ||
45 | "value": 0 | ||
46 | }, | ||
47 | { | ||
48 | "frame": 1, | ||
49 | "value": -360 | ||
50 | } | ||
51 | ] | ||
52 | } | ||
53 | }, | ||
54 | "events": [] | ||
55 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |

4.1 KB
-
Please register or sign in to post a comment