1.解决张奇提出的打开斗宠游戏时回退详情页问题
Showing
37 changed files
with
1346 additions
and
66 deletions
... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
189 | "array": [ | 189 | "array": [ |
190 | 0, | 190 | 0, |
191 | 0, | 191 | 0, |
192 | 271.0609130859375, | 192 | 271.0659484863281, |
193 | 0, | 193 | 0, |
194 | 0, | 194 | 0, |
195 | 0, | 195 | 0, |
... | @@ -2403,30 +2403,10 @@ | ... | @@ -2403,30 +2403,10 @@ |
2403 | "_aTouchContext": [], | 2403 | "_aTouchContext": [], |
2404 | "_defaultBackScene": null, | 2404 | "_defaultBackScene": null, |
2405 | "_oFocusScaleFactorInfo": null, | 2405 | "_oFocusScaleFactorInfo": null, |
2406 | "_bShowExitBox": false, | ||
2406 | "PFB_COMMON": { | 2407 | "PFB_COMMON": { |
2407 | "__uuid__": "9e0214ed-5de0-4667-a660-d4fa85a5de1d" | 2408 | "__uuid__": "9e0214ed-5de0-4667-a660-d4fa85a5de1d" |
2408 | }, | 2409 | }, |
2409 | "navi_json": { | ||
2410 | "__uuid__": "b52b5c45-3b2c-48bf-82bf-fbf7a7b5278c" | ||
2411 | }, | ||
2412 | "category_jtdr_list": { | ||
2413 | "__uuid__": "3c2e60a0-50df-4278-b43f-3ffbac8482e2" | ||
2414 | }, | ||
2415 | "category_all_list": { | ||
2416 | "__uuid__": "d991c8db-2c35-4c35-9e8c-30b1ff8c6f37" | ||
2417 | }, | ||
2418 | "category_nlbz_list": { | ||
2419 | "__uuid__": "6cdbd5e2-9108-46a1-9a4b-a2a59db24726" | ||
2420 | }, | ||
2421 | "category_3dyx_list": { | ||
2422 | "__uuid__": "c3913569-3224-4557-aedd-a877a7c75939" | ||
2423 | }, | ||
2424 | "category_xyx_list": { | ||
2425 | "__uuid__": "cc6f6ba7-f4bb-4e55-91bc-07f20d4ae472" | ||
2426 | }, | ||
2427 | "category_tjyz_list": { | ||
2428 | "__uuid__": "b9e7fec5-a2b9-4f7f-b77a-0dcf9287a515" | ||
2429 | }, | ||
2430 | "_id": "29JcsZqT9BNbjOtZhz1bBO" | 2410 | "_id": "29JcsZqT9BNbjOtZhz1bBO" |
2431 | } | 2411 | } |
2432 | ] | 2412 | ] |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -88,18 +88,21 @@ | ... | @@ -88,18 +88,21 @@ |
88 | }, | 88 | }, |
89 | { | 89 | { |
90 | "__id__": 81 | 90 | "__id__": 81 |
91 | }, | ||
92 | { | ||
93 | "__id__": 123 | ||
91 | } | 94 | } |
92 | ], | 95 | ], |
93 | "_active": true, | 96 | "_active": true, |
94 | "_components": [ | 97 | "_components": [ |
95 | { | 98 | { |
96 | "__id__": 123 | 99 | "__id__": 126 |
97 | }, | 100 | }, |
98 | { | 101 | { |
99 | "__id__": 124 | 102 | "__id__": 127 |
100 | }, | 103 | }, |
101 | { | 104 | { |
102 | "__id__": 127 | 105 | "__id__": 130 |
103 | } | 106 | } |
104 | ], | 107 | ], |
105 | "_prefab": null, | 108 | "_prefab": null, |
... | @@ -189,7 +192,7 @@ | ... | @@ -189,7 +192,7 @@ |
189 | "array": [ | 192 | "array": [ |
190 | 0, | 193 | 0, |
191 | 0, | 194 | 0, |
192 | 271.06060791015625, | 195 | 271.0659484863281, |
193 | 0, | 196 | 0, |
194 | 0, | 197 | 0, |
195 | 0, | 198 | 0, |
... | @@ -5627,6 +5630,128 @@ | ... | @@ -5627,6 +5630,128 @@ |
5627 | "_id": "8aIWz8zZxCP4axcGUrklyB" | 5630 | "_id": "8aIWz8zZxCP4axcGUrklyB" |
5628 | }, | 5631 | }, |
5629 | { | 5632 | { |
5633 | "__type__": "cc.Node", | ||
5634 | "_name": "New Label", | ||
5635 | "_objFlags": 0, | ||
5636 | "_parent": { | ||
5637 | "__id__": 2 | ||
5638 | }, | ||
5639 | "_children": [], | ||
5640 | "_active": true, | ||
5641 | "_components": [ | ||
5642 | { | ||
5643 | "__id__": 124 | ||
5644 | }, | ||
5645 | { | ||
5646 | "__id__": 125 | ||
5647 | } | ||
5648 | ], | ||
5649 | "_prefab": null, | ||
5650 | "_opacity": 255, | ||
5651 | "_color": { | ||
5652 | "__type__": "cc.Color", | ||
5653 | "r": 255, | ||
5654 | "g": 255, | ||
5655 | "b": 255, | ||
5656 | "a": 255 | ||
5657 | }, | ||
5658 | "_contentSize": { | ||
5659 | "__type__": "cc.Size", | ||
5660 | "width": 201.96, | ||
5661 | "height": 30.24 | ||
5662 | }, | ||
5663 | "_anchorPoint": { | ||
5664 | "__type__": "cc.Vec2", | ||
5665 | "x": 0.5, | ||
5666 | "y": 0.5 | ||
5667 | }, | ||
5668 | "_trs": { | ||
5669 | "__type__": "TypedArray", | ||
5670 | "ctor": "Float32Array", | ||
5671 | "array": [ | ||
5672 | 529.02001953125, | ||
5673 | -334.8800048828125, | ||
5674 | 0, | ||
5675 | 0, | ||
5676 | 0, | ||
5677 | 0, | ||
5678 | 1, | ||
5679 | 1, | ||
5680 | 1, | ||
5681 | 1 | ||
5682 | ] | ||
5683 | }, | ||
5684 | "_eulerAngles": { | ||
5685 | "__type__": "cc.Vec3", | ||
5686 | "x": 0, | ||
5687 | "y": 0, | ||
5688 | "z": 0 | ||
5689 | }, | ||
5690 | "_skewX": 0, | ||
5691 | "_skewY": 0, | ||
5692 | "_is3DNode": false, | ||
5693 | "_groupIndex": 0, | ||
5694 | "groupIndex": 0, | ||
5695 | "_id": "4dXUuunqJJT6XvENo3C40c" | ||
5696 | }, | ||
5697 | { | ||
5698 | "__type__": "cc.Label", | ||
5699 | "_name": "", | ||
5700 | "_objFlags": 0, | ||
5701 | "node": { | ||
5702 | "__id__": 123 | ||
5703 | }, | ||
5704 | "_enabled": true, | ||
5705 | "_materials": [ | ||
5706 | { | ||
5707 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
5708 | } | ||
5709 | ], | ||
5710 | "_useOriginalSize": false, | ||
5711 | "_string": "v1.0.2.2020031115", | ||
5712 | "_N$string": "v1.0.2.2020031115", | ||
5713 | "_fontSize": 24, | ||
5714 | "_lineHeight": 24, | ||
5715 | "_enableWrapText": true, | ||
5716 | "_N$file": null, | ||
5717 | "_isSystemFontUsed": true, | ||
5718 | "_spacingX": 0, | ||
5719 | "_batchAsBitmap": false, | ||
5720 | "_N$horizontalAlign": 1, | ||
5721 | "_N$verticalAlign": 1, | ||
5722 | "_N$fontFamily": "Arial", | ||
5723 | "_N$overflow": 0, | ||
5724 | "_N$cacheMode": 0, | ||
5725 | "_id": "7b9C6hrXdDmJgWuJmvuz4r" | ||
5726 | }, | ||
5727 | { | ||
5728 | "__type__": "cc.Widget", | ||
5729 | "_name": "", | ||
5730 | "_objFlags": 0, | ||
5731 | "node": { | ||
5732 | "__id__": 123 | ||
5733 | }, | ||
5734 | "_enabled": true, | ||
5735 | "alignMode": 1, | ||
5736 | "_target": null, | ||
5737 | "_alignFlags": 36, | ||
5738 | "_left": 0, | ||
5739 | "_right": 10, | ||
5740 | "_top": 0, | ||
5741 | "_bottom": 10, | ||
5742 | "_verticalCenter": 0, | ||
5743 | "_horizontalCenter": 0, | ||
5744 | "_isAbsLeft": true, | ||
5745 | "_isAbsRight": true, | ||
5746 | "_isAbsTop": true, | ||
5747 | "_isAbsBottom": true, | ||
5748 | "_isAbsHorizontalCenter": true, | ||
5749 | "_isAbsVerticalCenter": true, | ||
5750 | "_originalWidth": 0, | ||
5751 | "_originalHeight": 0, | ||
5752 | "_id": "a7ErQkXEZAOoDGe+yWG8DZ" | ||
5753 | }, | ||
5754 | { | ||
5630 | "__type__": "cc.Canvas", | 5755 | "__type__": "cc.Canvas", |
5631 | "_name": "", | 5756 | "_name": "", |
5632 | "_objFlags": 0, | 5757 | "_objFlags": 0, |
... | @@ -5665,6 +5790,7 @@ | ... | @@ -5665,6 +5790,7 @@ |
5665 | "_aTouchContext": [], | 5790 | "_aTouchContext": [], |
5666 | "_defaultBackScene": null, | 5791 | "_defaultBackScene": null, |
5667 | "_oFocusScaleFactorInfo": null, | 5792 | "_oFocusScaleFactorInfo": null, |
5793 | "_bShowExitBox": false, | ||
5668 | "test_json": { | 5794 | "test_json": { |
5669 | "__uuid__": "d797e6d8-b99b-4992-be3f-35357c9dcd65" | 5795 | "__uuid__": "d797e6d8-b99b-4992-be3f-35357c9dcd65" |
5670 | }, | 5796 | }, |
... | @@ -5682,10 +5808,10 @@ | ... | @@ -5682,10 +5808,10 @@ |
5682 | }, | 5808 | }, |
5683 | "targetAry": [ | 5809 | "targetAry": [ |
5684 | { | 5810 | { |
5685 | "__id__": 125 | 5811 | "__id__": 128 |
5686 | }, | 5812 | }, |
5687 | { | 5813 | { |
5688 | "__id__": 126 | 5814 | "__id__": 129 |
5689 | } | 5815 | } |
5690 | ], | 5816 | ], |
5691 | "panel": { | 5817 | "panel": { | ... | ... |
... | @@ -488,7 +488,7 @@ cc.Class({ | ... | @@ -488,7 +488,7 @@ cc.Class({ |
488 | 488 | ||
489 | this._ComOperation.initPlayer(0, 0, Common.SCREEN_WIDTH, Common.SCREEN_HEIGHT, true, true); //测试 | 489 | this._ComOperation.initPlayer(0, 0, Common.SCREEN_WIDTH, Common.SCREEN_HEIGHT, true, true); //测试 |
490 | let options = {}; | 490 | let options = {}; |
491 | options.playurl = "http://vjs.zencdn.net/v/oceans.mp4"; | 491 | options.playurl = "https://135zyv5.xw0371.com/2018/10/29/X05c7CG3VB91gi1M/playlist.m3u8"; |
492 | this._ComOperation.setURL(options); //测试播放地址 | 492 | this._ComOperation.setURL(options); //测试播放地址 |
493 | } catch (error) { | 493 | } catch (error) { |
494 | if (cc.sys.isNative) { | 494 | if (cc.sys.isNative) { | ... | ... |
1 | var Common = require('Common'); | 1 | var Common = require('Common'); |
2 | var Network = require('Network'); | 2 | var Network = require('Network'); |
3 | var CCNetwork = require('CCNetwork'); | ||
3 | var TVFocus = require('TVFocus'); | 4 | var TVFocus = require('TVFocus'); |
4 | var CCTVFocus = require('CCTVFocus'); | 5 | var CCTVFocus = require('CCTVFocus'); |
5 | var FocusInfo = require('FocusInfo'); | 6 | var FocusInfo = require('FocusInfo'); |
... | @@ -48,14 +49,14 @@ cc.Class({ | ... | @@ -48,14 +49,14 @@ cc.Class({ |
48 | if (this.aCategoryListJson && this.aCategoryListJson.length > 0) { | 49 | if (this.aCategoryListJson && this.aCategoryListJson.length > 0) { |
49 | return; | 50 | return; |
50 | } | 51 | } |
51 | for (let i = 0; i < aJsonList.length; i++) { //这里可能会导致对应导航错乱 | 52 | for (let i = 0; i < aJsonList.length; i++) { //这里可能会导致对应导航错乱,改为同步请求 |
52 | Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/" + aJsonList[i], null, null, | 53 | CCNetwork.ajax("GET", Common.TOPDRAW_API_SERVER + "main/" + aJsonList[i], null, null, |
53 | function (strResponse) { | 54 | function (strResponse) { |
54 | try { | 55 | try { |
55 | // cc.log("远程数据:"+strResponse); | 56 | // cc.log("远程数据:"+strResponse); |
56 | var oJSONResult = JSON.parse(strResponse); | 57 | var oJSONResult = JSON.parse(strResponse); |
57 | this.aCategoryListJson.push(strResponse); | 58 | this.aCategoryListJson.push(strResponse); |
58 | cc.log("请求数据返回:"+oJSONResult.count); | 59 | // cc.log("请求数据返回:" + oJSONResult.count); |
59 | } catch (error) { | 60 | } catch (error) { |
60 | cc.log("Business Exception:Get getCategoryListJsonRequest..." + error); | 61 | cc.log("Business Exception:Get getCategoryListJsonRequest..." + error); |
61 | } | 62 | } | ... | ... |
... | @@ -1027,6 +1027,12 @@ cc.Class({ | ... | @@ -1027,6 +1027,12 @@ cc.Class({ |
1027 | case cc.macro.KEY.enter: | 1027 | case cc.macro.KEY.enter: |
1028 | case cc.macro.KEY.space: | 1028 | case cc.macro.KEY.space: |
1029 | case Common.ANDROID_KEY.enter: | 1029 | case Common.ANDROID_KEY.enter: |
1030 | //强制更新,点击取消就会退出应用 | ||
1031 | // if (this._bAbleHotUpdate && (0 == this._fiCurrentFocus.node.name.indexOf('close') || 0 == this._fiCurrentFocus.node.name.indexOf('close_btn'))) { | ||
1032 | // cc.game.end(); | ||
1033 | // return; | ||
1034 | // } | ||
1035 | |||
1030 | if (0 == this._fiCurrentFocus.node.name.indexOf('close') || 0 == this._fiCurrentFocus.node.name.indexOf('close_btn')) { | 1036 | if (0 == this._fiCurrentFocus.node.name.indexOf('close') || 0 == this._fiCurrentFocus.node.name.indexOf('close_btn')) { |
1031 | this._iSceneStatus = 0; | 1037 | this._iSceneStatus = 0; |
1032 | this._cFocus.hide(); | 1038 | this._cFocus.hide(); | ... | ... |
assets/Script/ui/CCNetwork.js
0 → 100644
1 | var Common = require('Common'); | ||
2 | var Network = require('Network'); | ||
3 | /** | ||
4 | * xlr.open(strMethod, strURL, false); | ||
5 | * 将这里的异步请求改为同步请求 | ||
6 | * 谨慎使用同步方法,已经被官方废弃,影响用户体验 | ||
7 | */ | ||
8 | cc.Class({ | ||
9 | extends: cc.Component, | ||
10 | |||
11 | statics: { | ||
12 | //ajax请求函数 | ||
13 | ajax: function (strMethod, strURL, astrContentType, oDataOrPostBody, onSuccess, onError, oScope, oAdditionalData) { | ||
14 | try { | ||
15 | var xlr = null; | ||
16 | var oResult = {}; | ||
17 | |||
18 | |||
19 | if (window.XMLHttpRequest) {// code for IE7, Firefox, Opera, etc. | ||
20 | xlr = new XMLHttpRequest(); //Log.info('XMLHttpRequest'); | ||
21 | } else if (window.ActiveXObject) {// code for IE6, IE5 | ||
22 | xlr = new ActiveXObject("Microsoft.XMLHTTP"); //Log.info('ActiveXObject'); | ||
23 | } | ||
24 | |||
25 | if (!xlr) { | ||
26 | cc.log("Your browser does not support XMLHTTP, using iframe instead.."); | ||
27 | //退化到使用iframe 在cocos中无用 //这里两个函数名需要字符串输入 | ||
28 | //iframeRequest(strMethod, strURL, astrContentType, oDataOrPostBody, onSuccess, onError, oAdditionalData) | ||
29 | return; | ||
30 | } | ||
31 | |||
32 | function onStateChange() { | ||
33 | // oScope._cLog.screenI("Network.ajax==>"+xlr.readyState+"\r\n"); | ||
34 | // oScope._cLog.screenI("Network.ajax==>"+xlr.status+"\r\n"); | ||
35 | if (xlr.readyState == 4) {// 4 = "loaded" | ||
36 | if (xlr.status == 200) {// 200 = OK | ||
37 | if (null != oScope) { | ||
38 | onSuccess && onSuccess.call(oScope, xlr.responseText, oAdditionalData); | ||
39 | } else { | ||
40 | onSuccess && onSuccess(xlr.responseText, oAdditionalData); | ||
41 | } | ||
42 | } else { | ||
43 | if (null != oScope) { | ||
44 | onError && onError.call(oScope, xlr.responseText, oAdditionalData); | ||
45 | } else { | ||
46 | onError && onError(xlr.responseText, oAdditionalData); | ||
47 | } | ||
48 | } | ||
49 | xlr = null; | ||
50 | } | ||
51 | } | ||
52 | |||
53 | |||
54 | |||
55 | strMethod = strMethod.toUpperCase(); | ||
56 | var strDataOrPostBody = ''; | ||
57 | if (strMethod == "GET") { | ||
58 | |||
59 | //以下这段可使用正则表达式改造 | ||
60 | if (oDataOrPostBody) { | ||
61 | if (strURL.indexOf('?') > 0) { //有问号 | ||
62 | if (strURL.indexOf('=') > strURL.indexOf('?') //并且有等号在问号右边 | ||
63 | && strURL.lastIndexOf('&') != strURL.length - 1) //最后一个不是& | ||
64 | { | ||
65 | strURL = strURL.concat('&'); | ||
66 | } else { //光有问号没等号 | ||
67 | cc.log('Unavailable Request URL!'); | ||
68 | return; | ||
69 | } | ||
70 | } else {//没问号 | ||
71 | strURL = strURL.concat('?'); | ||
72 | } | ||
73 | |||
74 | if (typeof oDataOrPostBody == "string") { | ||
75 | strDataOrPostBody = oDataOrPostBody; | ||
76 | } else if (oDataOrPostBody instanceof Object) { | ||
77 | for (var key in oDataOrPostBody) { | ||
78 | strDataOrPostBody = strDataOrPostBody.concat(key).concat('=').concat(oDataOrPostBody[key]).concat('&'); | ||
79 | } | ||
80 | strDataOrPostBody = strDataOrPostBody.substring(0, strDataOrPostBody.length - 1); | ||
81 | //strDataOrPostBody.TrimEnd('&'); | ||
82 | } else { | ||
83 | cc.log('Unavailable Parameters!'); | ||
84 | return; | ||
85 | } | ||
86 | } | ||
87 | |||
88 | strURL = strURL.concat(strDataOrPostBody); | ||
89 | } | ||
90 | |||
91 | xlr.onreadystatechange = onStateChange; | ||
92 | // oScope._cLog.screenI("Network.ajax==>"+strMethod+"\r\n"); | ||
93 | // oScope._cLog.screenI("Network.ajax==>"+strURL+"\r\n"); | ||
94 | xlr.open(strMethod, strURL, false); | ||
95 | |||
96 | var isWWWFormURLEncoded = false; | ||
97 | if (astrContentType) { | ||
98 | for (var i = 0; i < astrContentType.length; i++) { | ||
99 | xlr.setRequestHeader('Content-type', astrContentType[i]); | ||
100 | if (astrContentType[i] == 'application/x-www-form-urlencoded') { | ||
101 | isWWWFormURLEncoded = true; | ||
102 | break; | ||
103 | } | ||
104 | } | ||
105 | } | ||
106 | //xlr.setRequestHeader('Connection', 'close'); | ||
107 | |||
108 | switch (strMethod) { | ||
109 | case 'GET': | ||
110 | xlr.send(null); | ||
111 | break; | ||
112 | case 'POST': | ||
113 | if (isWWWFormURLEncoded) { | ||
114 | |||
115 | } | ||
116 | if (oDataOrPostBody) { | ||
117 | /* | ||
118 | if (isWWWFormURLEncoded) { | ||
119 | var fd=new FormData(); | ||
120 | if (typeof oDataOrPostBody == "string") { | ||
121 | strDataOrPostBody = oDataOrPostBody; | ||
122 | |||
123 | var aParameters1=oDataOrPostBody.split('&'); | ||
124 | for (var i=0;i<aParameters1.length;i++){ | ||
125 | var aPairs1=aParameters1.split('='); | ||
126 | if (aPairs1[0] && aPairs1[1]){ | ||
127 | fd.append(aPairs1[0],aPairs1[1]); | ||
128 | } | ||
129 | } | ||
130 | |||
131 | } else if (oDataOrPostBody instanceof Object) { | ||
132 | for (var key in oDataOrPostBody) { | ||
133 | fd.append(key,oDataOrPostBody[key]); | ||
134 | } | ||
135 | //strDataOrPostBody.TrimEnd('&'); | ||
136 | //strDataOrPostBody = strDataOrPostBody.substring(0, strDataOrPostBody.length - 1); | ||
137 | } else { | ||
138 | console.log("Unavailable Parameters!"); | ||
139 | return | ||
140 | } | ||
141 | xlr.send(fd); | ||
142 | }else{*/ | ||
143 | if (typeof oDataOrPostBody == "string") { | ||
144 | strDataOrPostBody = oDataOrPostBody; | ||
145 | |||
146 | } else if (oDataOrPostBody instanceof Object) { | ||
147 | for (var key in oDataOrPostBody) { | ||
148 | strDataOrPostBody = strDataOrPostBody.concat(key).concat('=').concat(oDataOrPostBody[key]).concat('&'); | ||
149 | } | ||
150 | //strDataOrPostBody.TrimEnd('&'); | ||
151 | strDataOrPostBody = strDataOrPostBody.substring(0, strDataOrPostBody.length - 1); | ||
152 | } else { | ||
153 | oResult.businessCode = 'success'; | ||
154 | oResult.description = 'Unavailable Parameters!'; | ||
155 | return oResult; | ||
156 | } | ||
157 | xlr.send(strDataOrPostBody); | ||
158 | //} | ||
159 | } else { | ||
160 | xlr.send(null); | ||
161 | } | ||
162 | |||
163 | break; | ||
164 | } | ||
165 | } catch (err) { | ||
166 | oScope._cLog.screenI("Network.ajax error==>" + err + "\r\n"); | ||
167 | } | ||
168 | }, | ||
169 | |||
170 | |||
171 | }, | ||
172 | |||
173 | |||
174 | // called every frame, uncomment this function to activate update callback | ||
175 | // update: function (dt) { | ||
176 | |||
177 | // }, | ||
178 | }); |
File moved
This diff could not be displayed because it is too large.
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "勇敢的啫喱", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/勇敢的啫喱/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/勇敢的啫喱/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/勇敢的啫喱/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "魔法沙拉2", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/魔法沙拉2/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/魔法沙拉2/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/魔法沙拉2/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "AR真人快打", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/AR真人快打/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/AR真人快打/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/AR真人快打/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "拯救小羊", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/拯救小羊/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/拯救小羊/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/拯救小羊/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "奇幻海底", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《奇幻海底》的全新续作,《奇幻海底》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/奇幻海底/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/奇幻海底/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/奇幻海底/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "O宝互动书屋", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝互动书屋》的全新续作,《O宝互动书屋》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/O宝互动书屋/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/O宝互动书屋/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/O宝互动书屋/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "红杏佛跳墙", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/红杏佛跳墙/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/红杏佛跳墙/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/红杏佛跳墙/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "热血篮球", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/热血篮球/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/热血篮球/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/热血篮球/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "O宝脑力训练", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/O宝脑力训练/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/O宝脑力训练/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/O宝脑力训练/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "AR环保课堂", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/AR环保课堂/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/AR环保课堂/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/AR环保课堂/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "欢乐跳一跳", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/欢乐跳一跳/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/欢乐跳一跳/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/欢乐跳一跳/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "O宝单词连连看", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝单词连连看》的全新续作,《O宝单词连连看》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/O宝单词连连看/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/O宝单词连连看/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/O宝单词连连看/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "疯狂赛车手", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/疯狂赛车手/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/疯狂赛车手/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/疯狂赛车手/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "O宝体能课堂", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝体能课堂》的全新续作,《O宝体能课堂》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/O宝体能课堂/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/O宝体能课堂/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/O宝体能课堂/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "O宝欢乐剧场", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/O宝欢乐剧场/截图1.jpg", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/O宝欢乐剧场/截图2.jpg", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/O宝欢乐剧场/截图3.jpg", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "火箭小象", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/火箭小象/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/火箭小象/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/火箭小象/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "欢乐叠蛋糕", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/欢乐叠蛋糕/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/欢乐叠蛋糕/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/欢乐叠蛋糕/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "接糖果", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/接糖果/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/接糖果/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/接糖果/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "记忆翻牌", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/记忆翻牌/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/记忆翻牌/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/记忆翻牌/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "飞檐走壁", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/飞檐走壁/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/飞檐走壁/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/飞檐走壁/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "猜猜我是谁", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《猜猜我是谁》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/猜猜我是谁/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/猜猜我是谁/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/猜猜我是谁/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "它的颜色", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/它的颜色/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/它的颜色/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/它的颜色/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "旋转海盗", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/旋转海盗/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/旋转海盗/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/旋转海盗/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "奔跑吧小兔子", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/奔跑吧小兔子/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/奔跑吧小兔子/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/奔跑吧小兔子/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | ||
2 | "businessCode": "success", | ||
3 | "count": 1, | ||
4 | "resultSet": [ | ||
5 | { | ||
6 | "name": "数一数", | ||
7 | "versions": "1.0.1", | ||
8 | "size": "99.73M", | ||
9 | "updateTime": "2019-12-25", | ||
10 | "tag": "", | ||
11 | "description": "简介:作为人气作品《O宝脑力训练》的全新续作,《魔法沙拉2》拥有3个全3个全新的玩法模式:爽快到炸裂的竞速模式,诙谐幽默的娱乐模式3个全以及紧张刺激的挑战模式,都将让您感受到完全不一样......", | ||
12 | "images": { | ||
13 | "list": [ | ||
14 | { | ||
15 | "extension": ".png", | ||
16 | "enable": true, | ||
17 | "fileUrl": "upload/image/gameDetail/数一数/截图1.png", | ||
18 | "width": 274, | ||
19 | "height": 168 | ||
20 | }, | ||
21 | { | ||
22 | "extension": ".png", | ||
23 | "enable": true, | ||
24 | "fileUrl": "upload/image/gameDetail/数一数/截图2.png", | ||
25 | "width": 274, | ||
26 | "height": 168 | ||
27 | }, | ||
28 | { | ||
29 | "extension": ".png", | ||
30 | "enable": true, | ||
31 | "fileUrl": "upload/image/gameDetail/数一数/截图3.png", | ||
32 | "width": 274, | ||
33 | "height": 168 | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | } | ||
38 | ] | ||
39 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -379,7 +379,7 @@ | ... | @@ -379,7 +379,7 @@ |
379 | { | 379 | { |
380 | "name": "Subject1", | 380 | "name": "Subject1", |
381 | "imageURL": "upload/image/main/block7_1.png", | 381 | "imageURL": "upload/image/main/block7_1.png", |
382 | "tvlink": "", | 382 | "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneVideoPlayer\"}}]}", |
383 | "code": "promotionItem_e432ac2d-c1f3-4d44-a42b-7000971affa1" | 383 | "code": "promotionItem_e432ac2d-c1f3-4d44-a42b-7000971affa1" |
384 | }, | 384 | }, |
385 | { | 385 | { | ... | ... |
... | @@ -3,15 +3,28 @@ | ... | @@ -3,15 +3,28 @@ |
3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
4 | android:layout_height="match_parent"> | 4 | android:layout_height="match_parent"> |
5 | 5 | ||
6 | <ProgressBar | 6 | <RelativeLayout |
7 | android:id="@+id/progressBar" | 7 | android:id="@+id/rl_img" |
8 | style="?android:attr/progressBarStyle" | ||
9 | android:layout_width="match_parent" | 8 | android:layout_width="match_parent" |
10 | android:layout_height="wrap_content" | 9 | android:layout_height="match_parent" |
11 | android:layout_gravity="center" /> | 10 | android:visibility="gone" |
11 | android:background="@mipmap/icon_bg"> | ||
12 | |||
13 | <ProgressBar | ||
14 | android:id="@+id/progressBar" | ||
15 | style="?android:attr/progressBarStyle" | ||
16 | android:layout_width="wrap_content" | ||
17 | android:layout_height="wrap_content" | ||
18 | android:layout_centerInParent="true" /> | ||
19 | |||
20 | <TextView | ||
21 | android:layout_width="wrap_content" | ||
22 | android:layout_height="wrap_content" | ||
23 | android:textColor="@android:color/white" | ||
24 | android:layout_below="@id/progressBar" | ||
25 | android:layout_centerHorizontal="true" | ||
26 | android:text="游戏加载中,请稍后。。。"/> | ||
27 | |||
28 | </RelativeLayout> | ||
12 | 29 | ||
13 | <ImageView | ||
14 | android:layout_width="wrap_content" | ||
15 | android:layout_height="wrap_content" | ||
16 | android:src="@mipmap/icon_bg"/> | ||
17 | </RelativeLayout> | 30 | </RelativeLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -12,6 +12,7 @@ import android.text.TextUtils; | ... | @@ -12,6 +12,7 @@ import android.text.TextUtils; |
12 | import android.util.Log; | 12 | import android.util.Log; |
13 | import android.view.View; | 13 | import android.view.View; |
14 | import android.widget.ProgressBar; | 14 | import android.widget.ProgressBar; |
15 | import android.widget.RelativeLayout; | ||
15 | import android.widget.Toast; | 16 | import android.widget.Toast; |
16 | 17 | ||
17 | //import com.migu.sdk.api.PayCallBack; | 18 | //import com.migu.sdk.api.PayCallBack; |
... | @@ -150,6 +151,8 @@ public class TopdrawSDKWrapper { | ... | @@ -150,6 +151,8 @@ public class TopdrawSDKWrapper { |
150 | public static void startGame(String apkName, final String strJSCallBack) { | 151 | public static void startGame(String apkName, final String strJSCallBack) { |
151 | Log.d(TAG, "TopdrawSDKWrapper starGame start..." + apkName); | 152 | Log.d(TAG, "TopdrawSDKWrapper starGame start..." + apkName); |
152 | 153 | ||
154 | View view = _activity.getProgressBarView(); | ||
155 | final RelativeLayout relativeLayout = view.findViewById(R.id.rl_img); | ||
153 | if (pluginLoaded) { | 156 | if (pluginLoaded) { |
154 | return; | 157 | return; |
155 | } | 158 | } |
... | @@ -170,19 +173,12 @@ public class TopdrawSDKWrapper { | ... | @@ -170,19 +173,12 @@ public class TopdrawSDKWrapper { |
170 | pluginLoaded = false; | 173 | pluginLoaded = false; |
171 | 174 | ||
172 | 175 | ||
173 | // _activity.runOnUiThread(new Runnable() { //直接加载游戏,传回去进度是100 | 176 | _activity.runOnUiThread(new Runnable() { //直接加载游戏,传回去进度是100 |
174 | // @Override | 177 | @Override |
175 | // public void run() { | 178 | public void run() { |
176 | // _activity.runOnGLThread(new Runnable() { | 179 | relativeLayout.setVisibility(View.VISIBLE); //展示加载过程中等待条 |
177 | // @Override | 180 | } |
178 | // public void run() { | 181 | }); |
179 | // Cocos2dxJavascriptJavaBridge.evalString( | ||
180 | // "cc.find('Canvas',cc.director.getScene()).getComponent(cc.Topdraw.TVCanvas)." + strJSCallBack + "('" + 100 + "');" //modify jerry | ||
181 | // ); | ||
182 | // } | ||
183 | // }); | ||
184 | // } | ||
185 | // }); | ||
186 | } catch (Exception e) { | 182 | } catch (Exception e) { |
187 | e.printStackTrace(); | 183 | e.printStackTrace(); |
188 | } | 184 | } |
... | @@ -246,7 +242,7 @@ public class TopdrawSDKWrapper { | ... | @@ -246,7 +242,7 @@ public class TopdrawSDKWrapper { |
246 | 242 | ||
247 | public static void startOBiGame(String downloadUrl, final String apkName, String claName, final String strJSCallBack) { | 243 | public static void startOBiGame(String downloadUrl, final String apkName, String claName, final String strJSCallBack) { |
248 | Log.d(TAG, "TopdrawSDKWrapper starObiGame start..." + apkName + " downloadUrl: " + downloadUrl + " className " + claName); | 244 | Log.d(TAG, "TopdrawSDKWrapper starObiGame start..." + apkName + " downloadUrl: " + downloadUrl + " className " + claName); |
249 | 245 | Log.d(TAG, "pluginLoaded..." + pluginLoaded); | |
250 | if (pluginLoaded) { | 246 | if (pluginLoaded) { |
251 | return; | 247 | return; |
252 | } | 248 | } |
... | @@ -258,6 +254,7 @@ public class TopdrawSDKWrapper { | ... | @@ -258,6 +254,7 @@ public class TopdrawSDKWrapper { |
258 | public void onResult(int i, final String msg) { | 254 | public void onResult(int i, final String msg) { |
259 | if (0 == i) { | 255 | if (0 == i) { |
260 | Log.d(TAG, "准备成功,准备启动。。。"); | 256 | Log.d(TAG, "准备成功,准备启动。。。"); |
257 | pluginLoaded = false; | ||
261 | if (!isApkInstalled(_activity, apkName)) { | 258 | if (!isApkInstalled(_activity, apkName)) { |
262 | startInstall(_activity, msg); | 259 | startInstall(_activity, msg); |
263 | } else { | 260 | } else { |
... | @@ -265,7 +262,6 @@ public class TopdrawSDKWrapper { | ... | @@ -265,7 +262,6 @@ public class TopdrawSDKWrapper { |
265 | Intent intent = new Intent(); | 262 | Intent intent = new Intent(); |
266 | intent.setComponent(new ComponentName(packageName, className)); | 263 | intent.setComponent(new ComponentName(packageName, className)); |
267 | _activity.startActivity(intent); | 264 | _activity.startActivity(intent); |
268 | pluginLoaded = false; | ||
269 | } catch (Exception e) { | 265 | } catch (Exception e) { |
270 | e.printStackTrace(); | 266 | e.printStackTrace(); |
271 | } | 267 | } | ... | ... |
... | @@ -42,6 +42,7 @@ import android.view.View; | ... | @@ -42,6 +42,7 @@ import android.view.View; |
42 | import android.view.WindowManager; | 42 | import android.view.WindowManager; |
43 | import android.widget.FrameLayout; | 43 | import android.widget.FrameLayout; |
44 | import android.widget.ImageView; | 44 | import android.widget.ImageView; |
45 | import android.widget.RelativeLayout; | ||
45 | 46 | ||
46 | import com.topdraw.component.CocosMediaPlayer; | 47 | import com.topdraw.component.CocosMediaPlayer; |
47 | import com.topdraw.forfun.R; | 48 | import com.topdraw.forfun.R; |
... | @@ -57,6 +58,10 @@ public class AppActivity extends Cocos2dxActivity { | ... | @@ -57,6 +58,10 @@ public class AppActivity extends Cocos2dxActivity { |
57 | @Override | 58 | @Override |
58 | protected void onCreate(Bundle savedInstanceState) { | 59 | protected void onCreate(Bundle savedInstanceState) { |
59 | super.onCreate(savedInstanceState); | 60 | super.onCreate(savedInstanceState); |
61 | //添加加载小游戏进度条(暂时将Cocos2dxActivity中的this.mGLSurfaceView.setZOrderOnTop(true);注释,否则显示不出来) | ||
62 | view = LayoutInflater.from(this).inflate(R.layout.activity_main, null); | ||
63 | final RelativeLayout relativeLayout = view.findViewById(R.id.rl_img); | ||
64 | mFrameLayout.addView(view); | ||
60 | receiver = new BroadcastReceiver() { | 65 | receiver = new BroadcastReceiver() { |
61 | @Override | 66 | @Override |
62 | public void onReceive(Context context, Intent intent) { | 67 | public void onReceive(Context context, Intent intent) { |
... | @@ -64,14 +69,12 @@ public class AppActivity extends Cocos2dxActivity { | ... | @@ -64,14 +69,12 @@ public class AppActivity extends Cocos2dxActivity { |
64 | runOnUiThread(new Runnable() { //直接加载游戏,传回去进度是100 | 69 | runOnUiThread(new Runnable() { //直接加载游戏,传回去进度是100 |
65 | @Override | 70 | @Override |
66 | public void run() { | 71 | public void run() { |
67 | runOnGLThread(new Runnable() { | 72 | new Handler().postDelayed(new Runnable() { |
68 | @Override | 73 | @Override |
69 | public void run() { | 74 | public void run() { |
70 | Cocos2dxJavascriptJavaBridge.evalString( | 75 | relativeLayout.setVisibility(View.GONE); |
71 | "cc.find('Canvas',cc.director.getScene()).getComponent(cc.Topdraw.TVCanvas)." + "hideLoadingIcon" + "();" //modify jerry | ||
72 | ); | ||
73 | } | 76 | } |
74 | }); | 77 | }, 3 * 1000); //延迟3秒执行 |
75 | } | 78 | } |
76 | }); | 79 | }); |
77 | } | 80 | } |
... | @@ -80,10 +83,6 @@ public class AppActivity extends Cocos2dxActivity { | ... | @@ -80,10 +83,6 @@ public class AppActivity extends Cocos2dxActivity { |
80 | filter.addAction("com.topdraw.plugin.createActivity"); | 83 | filter.addAction("com.topdraw.plugin.createActivity"); |
81 | registerReceiver(receiver, filter); | 84 | registerReceiver(receiver, filter); |
82 | 85 | ||
83 | //添加加载小游戏进度条(暂时将Cocos2dxActivity中的this.mGLSurfaceView.setZOrderOnTop(true);注释,否则显示不出来) | ||
84 | // view = LayoutInflater.from(this).inflate(R.layout.activity_main, null); | ||
85 | // mFrameLayout.addView(view); | ||
86 | |||
87 | // Workaround in https://stackoverflow.com/questions/16283079/re-launch-of-activity-on-home-button-but-only-the-first-time/16447508 | 86 | // Workaround in https://stackoverflow.com/questions/16283079/re-launch-of-activity-on-home-button-but-only-the-first-time/16447508 |
88 | if (!isTaskRoot()) { | 87 | if (!isTaskRoot()) { |
89 | // Android launched another instance of the root activity into an existing task | 88 | // Android launched another instance of the root activity into an existing task |
... | @@ -136,6 +135,7 @@ public class AppActivity extends Cocos2dxActivity { | ... | @@ -136,6 +135,7 @@ public class AppActivity extends Cocos2dxActivity { |
136 | 135 | ||
137 | @Override | 136 | @Override |
138 | protected void onPause() { | 137 | protected void onPause() { |
138 | Log.d("AppActivity", "onPause()...."); | ||
139 | super.onPause(); | 139 | super.onPause(); |
140 | SDKWrapper.getInstance().onPause(); | 140 | SDKWrapper.getInstance().onPause(); |
141 | } | 141 | } |
... | @@ -167,6 +167,7 @@ public class AppActivity extends Cocos2dxActivity { | ... | @@ -167,6 +167,7 @@ public class AppActivity extends Cocos2dxActivity { |
167 | 167 | ||
168 | @Override | 168 | @Override |
169 | protected void onStop() { | 169 | protected void onStop() { |
170 | Log.d("AppActivity", "onStop()...."); | ||
170 | super.onStop(); | 171 | super.onStop(); |
171 | SDKWrapper.getInstance().onStop(); | 172 | SDKWrapper.getInstance().onStop(); |
172 | } | 173 | } |
... | @@ -223,6 +224,10 @@ public class AppActivity extends Cocos2dxActivity { | ... | @@ -223,6 +224,10 @@ public class AppActivity extends Cocos2dxActivity { |
223 | }); | 224 | }); |
224 | } | 225 | } |
225 | 226 | ||
227 | public View getProgressBarView() { | ||
228 | return view; | ||
229 | } | ||
230 | |||
226 | //打出场景日志 Info | 231 | //打出场景日志 Info |
227 | public static void logInSceneI(String strLog) { | 232 | public static void logInSceneI(String strLog) { |
228 | Log.i("logInSceneI", strLog); | 233 | Log.i("logInSceneI", strLog); | ... | ... |
-
Please register or sign in to post a comment