Commit 224549ff 224549ff57c6ecfbf283919060ee9c6016d4a8e1 by 金学艇

1.替换首页部分资源

1 parent 59bf2c4f
...@@ -90,19 +90,19 @@ ...@@ -90,19 +90,19 @@
90 "__id__": 81 90 "__id__": 81
91 }, 91 },
92 { 92 {
93 "__id__": 118 93 "__id__": 116
94 } 94 }
95 ], 95 ],
96 "_active": true, 96 "_active": true,
97 "_components": [ 97 "_components": [
98 { 98 {
99 "__id__": 121 99 "__id__": 119
100 }, 100 },
101 { 101 {
102 "__id__": 122 102 "__id__": 120
103 }, 103 },
104 { 104 {
105 "__id__": 125 105 "__id__": 123
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 265.0037841796875, 195 250.28134155273438,
196 0, 196 0,
197 0, 197 0,
198 0, 198 0,
...@@ -930,7 +930,7 @@ ...@@ -930,7 +930,7 @@
930 "_contentSize": { 930 "_contentSize": {
931 "__type__": "cc.Size", 931 "__type__": "cc.Size",
932 "width": 564, 932 "width": 564,
933 "height": 348 933 "height": 358
934 }, 934 },
935 "_anchorPoint": { 935 "_anchorPoint": {
936 "__type__": "cc.Vec2", 936 "__type__": "cc.Vec2",
...@@ -1004,7 +1004,7 @@ ...@@ -1004,7 +1004,7 @@
1004 "_contentSize": { 1004 "_contentSize": {
1005 "__type__": "cc.Size", 1005 "__type__": "cc.Size",
1006 "width": 564, 1006 "width": 564,
1007 "height": 348 1007 "height": 358
1008 }, 1008 },
1009 "_anchorPoint": { 1009 "_anchorPoint": {
1010 "__type__": "cc.Vec2", 1010 "__type__": "cc.Vec2",
...@@ -1091,7 +1091,7 @@ ...@@ -1091,7 +1091,7 @@
1091 "_contentSize": { 1091 "_contentSize": {
1092 "__type__": "cc.Size", 1092 "__type__": "cc.Size",
1093 "width": 2256, 1093 "width": 2256,
1094 "height": 348 1094 "height": 358
1095 }, 1095 },
1096 "_anchorPoint": { 1096 "_anchorPoint": {
1097 "__type__": "cc.Vec2", 1097 "__type__": "cc.Vec2",
...@@ -1168,7 +1168,7 @@ ...@@ -1168,7 +1168,7 @@
1168 "_contentSize": { 1168 "_contentSize": {
1169 "__type__": "cc.Size", 1169 "__type__": "cc.Size",
1170 "width": 564, 1170 "width": 564,
1171 "height": 348 1171 "height": 358
1172 }, 1172 },
1173 "_anchorPoint": { 1173 "_anchorPoint": {
1174 "__type__": "cc.Vec2", 1174 "__type__": "cc.Vec2",
...@@ -1302,7 +1302,7 @@ ...@@ -1302,7 +1302,7 @@
1302 "_contentSize": { 1302 "_contentSize": {
1303 "__type__": "cc.Size", 1303 "__type__": "cc.Size",
1304 "width": 564, 1304 "width": 564,
1305 "height": 348 1305 "height": 358
1306 }, 1306 },
1307 "_anchorPoint": { 1307 "_anchorPoint": {
1308 "__type__": "cc.Vec2", 1308 "__type__": "cc.Vec2",
...@@ -1436,7 +1436,7 @@ ...@@ -1436,7 +1436,7 @@
1436 "_contentSize": { 1436 "_contentSize": {
1437 "__type__": "cc.Size", 1437 "__type__": "cc.Size",
1438 "width": 564, 1438 "width": 564,
1439 "height": 348 1439 "height": 358
1440 }, 1440 },
1441 "_anchorPoint": { 1441 "_anchorPoint": {
1442 "__type__": "cc.Vec2", 1442 "__type__": "cc.Vec2",
...@@ -1570,7 +1570,7 @@ ...@@ -1570,7 +1570,7 @@
1570 "_contentSize": { 1570 "_contentSize": {
1571 "__type__": "cc.Size", 1571 "__type__": "cc.Size",
1572 "width": 564, 1572 "width": 564,
1573 "height": 348 1573 "height": 358
1574 }, 1574 },
1575 "_anchorPoint": { 1575 "_anchorPoint": {
1576 "__type__": "cc.Vec2", 1576 "__type__": "cc.Vec2",
...@@ -1890,7 +1890,7 @@ ...@@ -1890,7 +1890,7 @@
1890 "_alignFlags": 9, 1890 "_alignFlags": 9,
1891 "_left": 358, 1891 "_left": 358,
1892 "_right": 0, 1892 "_right": 0,
1893 "_top": 180, 1893 "_top": 178,
1894 "_bottom": 350, 1894 "_bottom": 350,
1895 "_verticalCenter": 0, 1895 "_verticalCenter": 0,
1896 "_horizontalCenter": 0, 1896 "_horizontalCenter": 0,
...@@ -2121,7 +2121,7 @@ ...@@ -2121,7 +2121,7 @@
2121 "_alignFlags": 9, 2121 "_alignFlags": 9,
2122 "_left": 922, 2122 "_left": 922,
2123 "_right": 0, 2123 "_right": 0,
2124 "_top": 180, 2124 "_top": 178,
2125 "_bottom": 0, 2125 "_bottom": 0,
2126 "_verticalCenter": 0, 2126 "_verticalCenter": 0,
2127 "_horizontalCenter": 0, 2127 "_horizontalCenter": 0,
...@@ -3995,18 +3995,15 @@ ...@@ -3995,18 +3995,15 @@
3995 }, 3995 },
3996 { 3996 {
3997 "__id__": 111 3997 "__id__": 111
3998 },
3999 {
4000 "__id__": 114
4001 } 3998 }
4002 ], 3999 ],
4003 "_active": true, 4000 "_active": true,
4004 "_components": [ 4001 "_components": [
4005 { 4002 {
4006 "__id__": 116 4003 "__id__": 114
4007 }, 4004 },
4008 { 4005 {
4009 "__id__": 117 4006 "__id__": 115
4010 } 4007 }
4011 ], 4008 ],
4012 "_prefab": null, 4009 "_prefab": null,
...@@ -4020,8 +4017,8 @@ ...@@ -4020,8 +4017,8 @@
4020 }, 4017 },
4021 "_contentSize": { 4018 "_contentSize": {
4022 "__type__": "cc.Size", 4019 "__type__": "cc.Size",
4023 "width": 500, 4020 "width": 580,
4024 "height": 378 4021 "height": 394
4025 }, 4022 },
4026 "_anchorPoint": { 4023 "_anchorPoint": {
4027 "__type__": "cc.Vec2", 4024 "__type__": "cc.Vec2",
...@@ -4191,7 +4188,7 @@ ...@@ -4191,7 +4188,7 @@
4191 "__id__": 85 4188 "__id__": 85
4192 }, 4189 },
4193 "_children": [], 4190 "_children": [],
4194 "_active": true, 4191 "_active": false,
4195 "_components": [ 4192 "_components": [
4196 { 4193 {
4197 "__id__": 90 4194 "__id__": 90
...@@ -4311,8 +4308,8 @@ ...@@ -4311,8 +4308,8 @@
4311 "__type__": "TypedArray", 4308 "__type__": "TypedArray",
4312 "ctor": "Float32Array", 4309 "ctor": "Float32Array",
4313 "array": [ 4310 "array": [
4314 0, 4311 1.4210854715202004e-14,
4315 67.80000305175781, 4312 75.80000305175781,
4316 0, 4313 0,
4317 0, 4314 0,
4318 0, 4315 0,
...@@ -4377,7 +4374,7 @@ ...@@ -4377,7 +4374,7 @@
4377 "alignMode": 1, 4374 "alignMode": 1,
4378 "_target": null, 4375 "_target": null,
4379 "_alignFlags": 1, 4376 "_alignFlags": 1,
4380 "_left": 0, 4377 "_left": 172.54000000000002,
4381 "_right": 0, 4378 "_right": 0,
4382 "_top": 96, 4379 "_top": 96,
4383 "_bottom": 0, 4380 "_bottom": 0,
...@@ -4901,7 +4898,7 @@ ...@@ -4901,7 +4898,7 @@
4901 }, 4898 },
4902 "_contentSize": { 4899 "_contentSize": {
4903 "__type__": "cc.Size", 4900 "__type__": "cc.Size",
4904 "width": 208, 4901 "width": 224,
4905 "height": 100 4902 "height": 100
4906 }, 4903 },
4907 "_anchorPoint": { 4904 "_anchorPoint": {
...@@ -4913,8 +4910,8 @@ ...@@ -4913,8 +4910,8 @@
4913 "__type__": "TypedArray", 4910 "__type__": "TypedArray",
4914 "ctor": "Float32Array", 4911 "ctor": "Float32Array",
4915 "array": [ 4912 "array": [
4916 -106, 4913 -138,
4917 -129, 4914 -137,
4918 0, 4915 0,
4919 0, 4916 0,
4920 0, 4917 0,
...@@ -5025,7 +5022,7 @@ ...@@ -5025,7 +5022,7 @@
5025 }, 5022 },
5026 "_contentSize": { 5023 "_contentSize": {
5027 "__type__": "cc.Size", 5024 "__type__": "cc.Size",
5028 "width": 208, 5025 "width": 224,
5029 "height": 100 5026 "height": 100
5030 }, 5027 },
5031 "_anchorPoint": { 5028 "_anchorPoint": {
...@@ -5037,8 +5034,8 @@ ...@@ -5037,8 +5034,8 @@
5037 "__type__": "TypedArray", 5034 "__type__": "TypedArray",
5038 "ctor": "Float32Array", 5035 "ctor": "Float32Array",
5039 "array": [ 5036 "array": [
5040 106, 5037 138,
5041 -129, 5038 -137,
5042 0, 5039 0,
5043 0, 5040 0,
5044 0, 5041 0,
...@@ -5123,7 +5120,7 @@ ...@@ -5123,7 +5120,7 @@
5123 }, 5120 },
5124 { 5121 {
5125 "__type__": "cc.Node", 5122 "__type__": "cc.Node",
5126 "_name": "NewLabel", 5123 "_name": "update_info",
5127 "_objFlags": 0, 5124 "_objFlags": 0,
5128 "_parent": { 5125 "_parent": {
5129 "__id__": 85 5126 "__id__": 85
...@@ -5142,15 +5139,15 @@ ...@@ -5142,15 +5139,15 @@
5142 "_opacity": 255, 5139 "_opacity": 255,
5143 "_color": { 5140 "_color": {
5144 "__type__": "cc.Color", 5141 "__type__": "cc.Color",
5145 "r": 255, 5142 "r": 133,
5146 "g": 255, 5143 "g": 140,
5147 "b": 255, 5144 "b": 150,
5148 "a": 255 5145 "a": 255
5149 }, 5146 },
5150 "_contentSize": { 5147 "_contentSize": {
5151 "__type__": "cc.Size", 5148 "__type__": "cc.Size",
5152 "width": 120, 5149 "width": 360,
5153 "height": 50.4 5150 "height": 96
5154 }, 5151 },
5155 "_anchorPoint": { 5152 "_anchorPoint": {
5156 "__type__": "cc.Vec2", 5153 "__type__": "cc.Vec2",
...@@ -5161,8 +5158,8 @@ ...@@ -5161,8 +5158,8 @@
5161 "__type__": "TypedArray", 5158 "__type__": "TypedArray",
5162 "ctor": "Float32Array", 5159 "ctor": "Float32Array",
5163 "array": [ 5160 "array": [
5164 -140, 5161 0,
5165 104.01899719238281, 5162 1,
5166 0, 5163 0,
5167 0, 5164 0,
5168 0, 5165 0,
...@@ -5184,7 +5181,7 @@ ...@@ -5184,7 +5181,7 @@
5184 "_is3DNode": false, 5181 "_is3DNode": false,
5185 "_groupIndex": 0, 5182 "_groupIndex": 0,
5186 "groupIndex": 0, 5183 "groupIndex": 0,
5187 "_id": "6fHZ7zAI1OhqmnPcNdufIm" 5184 "_id": "75MhLhB0xNnIcjuFRppyNo"
5188 }, 5185 },
5189 { 5186 {
5190 "__type__": "cc.Label", 5187 "__type__": "cc.Label",
...@@ -5200,21 +5197,21 @@ ...@@ -5200,21 +5197,21 @@
5200 } 5197 }
5201 ], 5198 ],
5202 "_useOriginalSize": false, 5199 "_useOriginalSize": false,
5203 "_string": "本次更新", 5200 "_string": "1.新增游戏大厅场景\n2.游戏大厅可以启动小游戏\n3.修复已知问题",
5204 "_N$string": "本次更新", 5201 "_N$string": "1.新增游戏大厅场景\n2.游戏大厅可以启动小游戏\n3.修复已知问题",
5205 "_fontSize": 30, 5202 "_fontSize": 20,
5206 "_lineHeight": 40, 5203 "_lineHeight": 32,
5207 "_enableWrapText": true, 5204 "_enableWrapText": true,
5208 "_N$file": null, 5205 "_N$file": null,
5209 "_isSystemFontUsed": true, 5206 "_isSystemFontUsed": true,
5210 "_spacingX": 0, 5207 "_spacingX": 0,
5211 "_batchAsBitmap": false, 5208 "_batchAsBitmap": false,
5212 "_N$horizontalAlign": 1, 5209 "_N$horizontalAlign": 0,
5213 "_N$verticalAlign": 1, 5210 "_N$verticalAlign": 0,
5214 "_N$fontFamily": "Arial", 5211 "_N$fontFamily": "Arial",
5215 "_N$overflow": 0, 5212 "_N$overflow": 1,
5216 "_N$cacheMode": 0, 5213 "_N$cacheMode": 0,
5217 "_id": "56mospP9NJJZ3zaU9jLtkV" 5214 "_id": "636/ZfiEJDJ6gO3ei8v3OE"
5218 }, 5215 },
5219 { 5216 {
5220 "__type__": "cc.Widget", 5217 "__type__": "cc.Widget",
...@@ -5226,10 +5223,10 @@ ...@@ -5226,10 +5223,10 @@
5226 "_enabled": true, 5223 "_enabled": true,
5227 "alignMode": 1, 5224 "alignMode": 1,
5228 "_target": null, 5225 "_target": null,
5229 "_alignFlags": 8, 5226 "_alignFlags": 1,
5230 "_left": 50, 5227 "_left": 0,
5231 "_right": 0, 5228 "_right": 0,
5232 "_top": 0, 5229 "_top": 148,
5233 "_bottom": 0, 5230 "_bottom": 0,
5234 "_verticalCenter": 0, 5231 "_verticalCenter": 0,
5235 "_horizontalCenter": 0, 5232 "_horizontalCenter": 0,
...@@ -5241,99 +5238,7 @@ ...@@ -5241,99 +5238,7 @@
5241 "_isAbsVerticalCenter": true, 5238 "_isAbsVerticalCenter": true,
5242 "_originalWidth": 0, 5239 "_originalWidth": 0,
5243 "_originalHeight": 0, 5240 "_originalHeight": 0,
5244 "_id": "00IC5xpuVI7bjvF3fL3MzZ" 5241 "_id": "2ei8frtwxN1Yog43cGT/Oj"
5245 },
5246 {
5247 "__type__": "cc.Node",
5248 "_name": "update_info",
5249 "_objFlags": 0,
5250 "_parent": {
5251 "__id__": 85
5252 },
5253 "_children": [],
5254 "_active": true,
5255 "_components": [
5256 {
5257 "__id__": 115
5258 }
5259 ],
5260 "_prefab": null,
5261 "_opacity": 255,
5262 "_color": {
5263 "__type__": "cc.Color",
5264 "r": 133,
5265 "g": 140,
5266 "b": 150,
5267 "a": 255
5268 },
5269 "_contentSize": {
5270 "__type__": "cc.Size",
5271 "width": 360,
5272 "height": 96
5273 },
5274 "_anchorPoint": {
5275 "__type__": "cc.Vec2",
5276 "x": 0.5,
5277 "y": 0.5
5278 },
5279 "_trs": {
5280 "__type__": "TypedArray",
5281 "ctor": "Float32Array",
5282 "array": [
5283 0,
5284 -7,
5285 0,
5286 0,
5287 0,
5288 0,
5289 1,
5290 1,
5291 1,
5292 1
5293 ]
5294 },
5295 "_eulerAngles": {
5296 "__type__": "cc.Vec3",
5297 "x": 0,
5298 "y": 0,
5299 "z": 0
5300 },
5301 "_skewX": 0,
5302 "_skewY": 0,
5303 "_is3DNode": false,
5304 "_groupIndex": 0,
5305 "groupIndex": 0,
5306 "_id": "75MhLhB0xNnIcjuFRppyNo"
5307 },
5308 {
5309 "__type__": "cc.Label",
5310 "_name": "",
5311 "_objFlags": 0,
5312 "node": {
5313 "__id__": 114
5314 },
5315 "_enabled": true,
5316 "_materials": [
5317 {
5318 "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
5319 }
5320 ],
5321 "_useOriginalSize": false,
5322 "_string": "1.新增游戏大厅场景\n2.游戏大厅可以启动小游戏\n3.修复已知问题",
5323 "_N$string": "1.新增游戏大厅场景\n2.游戏大厅可以启动小游戏\n3.修复已知问题",
5324 "_fontSize": 20,
5325 "_lineHeight": 32,
5326 "_enableWrapText": true,
5327 "_N$file": null,
5328 "_isSystemFontUsed": true,
5329 "_spacingX": 0,
5330 "_batchAsBitmap": false,
5331 "_N$horizontalAlign": 0,
5332 "_N$verticalAlign": 0,
5333 "_N$fontFamily": "Arial",
5334 "_N$overflow": 1,
5335 "_N$cacheMode": 0,
5336 "_id": "636/ZfiEJDJ6gO3ei8v3OE"
5337 }, 5242 },
5338 { 5243 {
5339 "__type__": "cc.Sprite", 5244 "__type__": "cc.Sprite",
...@@ -5351,10 +5256,10 @@ ...@@ -5351,10 +5256,10 @@
5351 "_srcBlendFactor": 770, 5256 "_srcBlendFactor": 770,
5352 "_dstBlendFactor": 771, 5257 "_dstBlendFactor": 771,
5353 "_spriteFrame": { 5258 "_spriteFrame": {
5354 "__uuid__": "0422cbf9-d228-4b63-9983-4cf68191ccf1" 5259 "__uuid__": "f363425b-0b34-4e71-89f2-137a26db682d"
5355 }, 5260 },
5356 "_type": 1, 5261 "_type": 1,
5357 "_sizeMode": 0, 5262 "_sizeMode": 1,
5358 "_fillType": 0, 5263 "_fillType": 0,
5359 "_fillCenter": { 5264 "_fillCenter": {
5360 "__type__": "cc.Vec2", 5265 "__type__": "cc.Vec2",
...@@ -5403,10 +5308,10 @@ ...@@ -5403,10 +5308,10 @@
5403 "_active": true, 5308 "_active": true,
5404 "_components": [ 5309 "_components": [
5405 { 5310 {
5406 "__id__": 119 5311 "__id__": 117
5407 }, 5312 },
5408 { 5313 {
5409 "__id__": 120 5314 "__id__": 118
5410 } 5315 }
5411 ], 5316 ],
5412 "_prefab": null, 5317 "_prefab": null,
...@@ -5462,7 +5367,7 @@ ...@@ -5462,7 +5367,7 @@
5462 "_name": "", 5367 "_name": "",
5463 "_objFlags": 0, 5368 "_objFlags": 0,
5464 "node": { 5369 "node": {
5465 "__id__": 118 5370 "__id__": 116
5466 }, 5371 },
5467 "_enabled": true, 5372 "_enabled": true,
5468 "_materials": [ 5373 "_materials": [
...@@ -5492,7 +5397,7 @@ ...@@ -5492,7 +5397,7 @@
5492 "_name": "", 5397 "_name": "",
5493 "_objFlags": 0, 5398 "_objFlags": 0,
5494 "node": { 5399 "node": {
5495 "__id__": 118 5400 "__id__": 116
5496 }, 5401 },
5497 "_enabled": true, 5402 "_enabled": true,
5498 "alignMode": 2, 5403 "alignMode": 2,
...@@ -5571,14 +5476,14 @@ ...@@ -5571,14 +5476,14 @@
5571 }, 5476 },
5572 "targetAry": [ 5477 "targetAry": [
5573 { 5478 {
5574 "__id__": 123 5479 "__id__": 121
5575 }, 5480 },
5576 { 5481 {
5577 "__id__": 124 5482 "__id__": 122
5578 } 5483 }
5579 ], 5484 ],
5580 "panel": { 5485 "panel": {
5581 "__id__": 117 5486 "__id__": 115
5582 }, 5487 },
5583 "manifestUrl": { 5488 "manifestUrl": {
5584 "__uuid__": "3182b77f-c5b1-435d-983a-41eab7118e39" 5489 "__uuid__": "3182b77f-c5b1-435d-983a-41eab7118e39"
......
...@@ -48,6 +48,10 @@ cc.Class({ ...@@ -48,6 +48,10 @@ cc.Class({
48 this.normalName.enableWrapText = false; 48 this.normalName.enableWrapText = false;
49 this.normalName.horizontalAlign = cc.Label.HorizontalAlign.LEFT; 49 this.normalName.horizontalAlign = cc.Label.HorizontalAlign.LEFT;
50 } 50 }
51
52 if (null != funCallback && typeof funCallback == 'function') {
53 funCallback.call();
54 }
51 }, 55 },
52 56
53 setUIWithFocus: function () { 57 setUIWithFocus: function () {
......
...@@ -67,6 +67,7 @@ cc.Class({ ...@@ -67,6 +67,7 @@ cc.Class({
67 onLoad: function () { 67 onLoad: function () {
68 this._super(); 68 this._super();
69 this._iSceneStatus = 0; 69 this._iSceneStatus = 0;
70 this._MARGIN_TOP = 32;
70 this._oInit = {}; 71 this._oInit = {};
71 this._bAbleHotUpdate = false; 72 this._bAbleHotUpdate = false;
72 this._bIsDataListMoving = false; 73 this._bIsDataListMoving = false;
...@@ -80,8 +81,8 @@ cc.Class({ ...@@ -80,8 +81,8 @@ cc.Class({
80 this._oSceneContext._iViewPagerIndex = 0; 81 this._oSceneContext._iViewPagerIndex = 0;
81 let oSceneParameter = this._cApplication.getTopSceneParameter(); 82 let oSceneParameter = this._cApplication.getTopSceneParameter();
82 let aSceneParameter = this._cApplication.getSceneParameter(); 83 let aSceneParameter = this._cApplication.getSceneParameter();
83 cc.find("update/update_panel/update_btn", this.node).getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, 208, 100)); 84 cc.find("update/update_panel/update_btn", this.node).getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, 224, 100));
84 cc.find("update/update_panel/close_btn", this.node).getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, 208, 100)); 85 cc.find("update/update_panel/close_btn", this.node).getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, 224, 100));
85 cc.log("main->aSceneParameter..." + aSceneParameter); 86 cc.log("main->aSceneParameter..." + aSceneParameter);
86 cc.log("main->oSceneParameter..." + oSceneParameter); 87 cc.log("main->oSceneParameter..." + oSceneParameter);
87 //首页无参数 88 //首页无参数
...@@ -103,7 +104,7 @@ cc.Class({ ...@@ -103,7 +104,7 @@ cc.Class({
103 } 104 }
104 // cc.log("恢复上下文后的光标:" + this._oSceneContext._iPageIndex); 105 // cc.log("恢复上下文后的光标:" + this._oSceneContext._iPageIndex);
105 this._oSceneContext._iCurrentLeftIndex = this._oSceneContext._iCurrentLeftIndex == 0 ? 1 : this._oSceneContext._iCurrentLeftIndex; 106 this._oSceneContext._iCurrentLeftIndex = this._oSceneContext._iCurrentLeftIndex == 0 ? 1 : this._oSceneContext._iCurrentLeftIndex;
106 this.node.getChildByName("scrollContent").height = 2300; //这里暂且写死,scrollView有bug 107 this.node.getChildByName("scrollContent").height = 2260; //这里暂且写死,scrollView有bug
107 this._scrollview.scrollToTop(); 108 this._scrollview.scrollToTop();
108 109
109 //搞轮播图 110 //搞轮播图
...@@ -115,6 +116,7 @@ cc.Class({ ...@@ -115,6 +116,7 @@ cc.Class({
115 116
116 //轮播图相关 117 //轮播图相关
117 initViewPager: function () { 118 initViewPager: function () {
119 var self=this;
118 this._pageView = cc.find('scrollContent/ViewPagerArea', this.node).getComponent(cc.PageView); 120 this._pageView = cc.find('scrollContent/ViewPagerArea', this.node).getComponent(cc.PageView);
119 Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_viewpager.json", null, null, 121 Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_viewpager.json", null, null,
120 function (strResponse) { 122 function (strResponse) {
...@@ -135,6 +137,11 @@ cc.Class({ ...@@ -135,6 +137,11 @@ cc.Class({
135 nodeNav.getComponent(cc.Widget).top = i * (nodeNav.height + 2); 137 nodeNav.getComponent(cc.Widget).top = i * (nodeNav.height + 2);
136 blockShadow.addChild(nodeNav, 10, "view_pager_label" + i); 138 blockShadow.addChild(nodeNav, 10, "view_pager_label" + i);
137 nodeNav.getComponent('pfbViewPagerLabelCell').init(oJSONResult.resultSet[i], function () { //让细胞自己渲染 139 nodeNav.getComponent('pfbViewPagerLabelCell').init(oJSONResult.resultSet[i], function () { //让细胞自己渲染
140 if (self._oSceneContext._iViewPagerIndex == i) {
141 nodeNav.getChildByName("Title").active = false;
142 nodeNav.getChildByName("Select").active = false;
143 nodeNav.getChildByName("AfterSelect").active = true;
144 }
138 }, i); 145 }, i);
139 146
140 let fiNav = nodeNav.addComponent(FocusInfo); 147 let fiNav = nodeNav.addComponent(FocusInfo);
...@@ -408,11 +415,11 @@ cc.Class({ ...@@ -408,11 +415,11 @@ cc.Class({
408 widgetLayout.isAlignLeft = true; 415 widgetLayout.isAlignLeft = true;
409 widgetLayout.top = bgHeight; 416 widgetLayout.top = bgHeight;
410 widgetLayout.left = 0; 417 widgetLayout.left = 0;
411 bgHeight += arrModules.resultSet[i].height; //逐层增加高度 418 bgHeight += arrModules.resultSet[i].height + this._MARGIN_TOP; //逐层增加高度
412 // cc.log("高度" + bgHeight); 419 // cc.log("高度" + bgHeight);
413 if (i == arrModules.resultSet.length - 1) { //最后一个条目不够高,手动加高 420 // if (i == arrModules.resultSet.length - 1) { //最后一个条目不够高,手动加高
414 bgHeight += 300; 421 // bgHeight += 300;
415 } 422 // }
416 this._aBgHeight.push(bgHeight); // 423 this._aBgHeight.push(bgHeight); //
417 if (arrModules.resultSet[i].hasChildFrame) { //还有子列表 424 if (arrModules.resultSet[i].hasChildFrame) { //还有子列表
418 for (let j = 0; j < arrModules.resultSet[i].data.resultSet.length; j++) { 425 for (let j = 0; j < arrModules.resultSet[i].data.resultSet.length; j++) {
...@@ -1015,7 +1022,7 @@ cc.Class({ ...@@ -1015,7 +1022,7 @@ cc.Class({
1015 // cc.log("滚动到:" + height); 1022 // cc.log("滚动到:" + height);
1016 this.scheduleOnce(function () { 1023 this.scheduleOnce(function () {
1017 this.keyDownDirection(Common.MOVE_DIRECTION_UP); 1024 this.keyDownDirection(Common.MOVE_DIRECTION_UP);
1018 }, 0.3); 1025 }, 0.4);
1019 // setTimeout(function () { 1026 // setTimeout(function () {
1020 // this.keyDownDirection(Common.MOVE_DIRECTION_UP); 1027 // this.keyDownDirection(Common.MOVE_DIRECTION_UP);
1021 // }.bind(this), 300); 1028 // }.bind(this), 300);
...@@ -1080,7 +1087,7 @@ cc.Class({ ...@@ -1080,7 +1087,7 @@ cc.Class({
1080 this._oSceneContext._iPageIndex++; 1087 this._oSceneContext._iPageIndex++;
1081 this.scheduleOnce(function () { 1088 this.scheduleOnce(function () {
1082 this.keyDownDirection(Common.MOVE_DIRECTION_DOWN); 1089 this.keyDownDirection(Common.MOVE_DIRECTION_DOWN);
1083 }, 0.3); 1090 }, 0.4);
1084 // setTimeout(function () { 1091 // setTimeout(function () {
1085 // this.keyDownDirection(Common.MOVE_DIRECTION_DOWN); 1092 // this.keyDownDirection(Common.MOVE_DIRECTION_DOWN);
1086 // }.bind(this), 300); 1093 // }.bind(this), 300);
...@@ -1554,7 +1561,6 @@ cc.Class({ ...@@ -1554,7 +1561,6 @@ cc.Class({
1554 hotUpdate: function () { 1561 hotUpdate: function () {
1555 cc.log("hotUpdate start..."); 1562 cc.log("hotUpdate start...");
1556 //隐藏更新说明,显示更新进度条 1563 //隐藏更新说明,显示更新进度条
1557 // cc.find("update/update_panel/NewLabel", this.node).active = false;//因为新的更新界面没有进度条,先不要显示更新进度
1558 // cc.find("update/update_panel/versionLabel", this.node).active = false; 1564 // cc.find("update/update_panel/versionLabel", this.node).active = false;
1559 // cc.find("update/update_panel/update_info", this.node).active = false; 1565 // cc.find("update/update_panel/update_info", this.node).active = false;
1560 // cc.find("update/update_panel/ProgressLabel", this.node).active = true; 1566 // cc.find("update/update_panel/ProgressLabel", this.node).active = true;
......

11.9 KB | W: | H:

11.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

11.9 KB | W: | H:

11.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 "_contentSize": { 53 "_contentSize": {
54 "__type__": "cc.Size", 54 "__type__": "cc.Size",
55 "width": 294, 55 "width": 294,
56 "height": 86 56 "height": 88
57 }, 57 },
58 "_anchorPoint": { 58 "_anchorPoint": {
59 "__type__": "cc.Vec2", 59 "__type__": "cc.Vec2",
...@@ -337,8 +337,8 @@ ...@@ -337,8 +337,8 @@
337 "__type__": "TypedArray", 337 "__type__": "TypedArray",
338 "ctor": "Float32Array", 338 "ctor": "Float32Array",
339 "array": [ 339 "array": [
340 -21, 340 -23,
341 9, 341 14,
342 0, 342 0,
343 0, 343 0,
344 0, 344 0,
...@@ -684,8 +684,8 @@ ...@@ -684,8 +684,8 @@
684 "__type__": "TypedArray", 684 "__type__": "TypedArray",
685 "ctor": "Float32Array", 685 "ctor": "Float32Array",
686 "array": [ 686 "array": [
687 26, 687 24,
688 -23, 688 -18,
689 0, 689 0,
690 0, 690 0,
691 0, 691 0,
...@@ -739,8 +739,8 @@ ...@@ -739,8 +739,8 @@
739 }, 739 },
740 "_contentSize": { 740 "_contentSize": {
741 "__type__": "cc.Size", 741 "__type__": "cc.Size",
742 "width": 69, 742 "width": 61.34,
743 "height": 22 743 "height": 27.72
744 }, 744 },
745 "_anchorPoint": { 745 "_anchorPoint": {
746 "__type__": "cc.Vec2", 746 "__type__": "cc.Vec2",
...@@ -874,8 +874,8 @@ ...@@ -874,8 +874,8 @@
874 }, 874 },
875 "_contentSize": { 875 "_contentSize": {
876 "__type__": "cc.Size", 876 "__type__": "cc.Size",
877 "width": 69, 877 "width": 61.34,
878 "height": 22 878 "height": 27.72
879 }, 879 },
880 "_anchorPoint": { 880 "_anchorPoint": {
881 "__type__": "cc.Vec2", 881 "__type__": "cc.Vec2",
...@@ -1105,8 +1105,8 @@ ...@@ -1105,8 +1105,8 @@
1105 "__type__": "TypedArray", 1105 "__type__": "TypedArray",
1106 "ctor": "Float32Array", 1106 "ctor": "Float32Array",
1107 "array": [ 1107 "array": [
1108 26, 1108 24,
1109 -23, 1109 -18,
1110 0, 1110 0,
1111 0, 1111 0,
1112 0, 1112 0,
...@@ -1160,7 +1160,7 @@ ...@@ -1160,7 +1160,7 @@
1160 }, 1160 },
1161 "_contentSize": { 1161 "_contentSize": {
1162 "__type__": "cc.Size", 1162 "__type__": "cc.Size",
1163 "width": 72, 1163 "width": 250,
1164 "height": 22 1164 "height": 22
1165 }, 1165 },
1166 "_anchorPoint": { 1166 "_anchorPoint": {
...@@ -1223,7 +1223,7 @@ ...@@ -1223,7 +1223,7 @@
1223 "_N$horizontalAlign": 0, 1223 "_N$horizontalAlign": 0,
1224 "_N$verticalAlign": 1, 1224 "_N$verticalAlign": 1,
1225 "_N$fontFamily": "Arial", 1225 "_N$fontFamily": "Arial",
1226 "_N$overflow": 0, 1226 "_N$overflow": 1,
1227 "_N$cacheMode": 0, 1227 "_N$cacheMode": 0,
1228 "_id": "" 1228 "_id": ""
1229 }, 1229 },
...@@ -1403,7 +1403,7 @@ ...@@ -1403,7 +1403,7 @@
1403 "_srcBlendFactor": 770, 1403 "_srcBlendFactor": 770,
1404 "_dstBlendFactor": 771, 1404 "_dstBlendFactor": 771,
1405 "_spriteFrame": { 1405 "_spriteFrame": {
1406 "__uuid__": "161b1097-d637-42d7-9191-d269c714f6f9" 1406 "__uuid__": "a5209e7c-e07f-4e52-985f-db1d936f8773"
1407 }, 1407 },
1408 "_type": 0, 1408 "_type": 0,
1409 "_sizeMode": 0, 1409 "_sizeMode": 0,
...@@ -1797,7 +1797,7 @@ ...@@ -1797,7 +1797,7 @@
1797 "__uuid__": "752ebcfb-0221-4da8-905c-988333a9981c" 1797 "__uuid__": "752ebcfb-0221-4da8-905c-988333a9981c"
1798 }, 1798 },
1799 "_type": 0, 1799 "_type": 0,
1800 "_sizeMode": 1, 1800 "_sizeMode": 0,
1801 "_fillType": 0, 1801 "_fillType": 0,
1802 "_fillCenter": { 1802 "_fillCenter": {
1803 "__type__": "cc.Vec2", 1803 "__type__": "cc.Vec2",
...@@ -1823,7 +1823,7 @@ ...@@ -1823,7 +1823,7 @@
1823 "_alignFlags": 9, 1823 "_alignFlags": 9,
1824 "_left": 0, 1824 "_left": 0,
1825 "_right": 0, 1825 "_right": 0,
1826 "_top": 677, 1826 "_top": 676,
1827 "_bottom": 0, 1827 "_bottom": 0,
1828 "_verticalCenter": 0, 1828 "_verticalCenter": 0,
1829 "_horizontalCenter": 0, 1829 "_horizontalCenter": 0,
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 "imageURL": "upload/image/main/icon_top1.png", 46 "imageURL": "upload/image/main/icon_top1.png",
47 "code": "eb954b1e-712e-415c-ba27-asryg34ret43", 47 "code": "eb954b1e-712e-415c-ba27-asryg34ret43",
48 "width": 170, 48 "width": 170,
49 "height": 85, 49 "height": 84,
50 "top": 117, 50 "top": 117,
51 "left": 60 51 "left": 60
52 }, 52 },
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 "type": "promotion_item", 57 "type": "promotion_item",
58 "imageURL": "upload/image/main/icon_top2.png", 58 "imageURL": "upload/image/main/icon_top2.png",
59 "width": 170, 59 "width": 170,
60 "height": 85, 60 "height": 84,
61 "code": "eb954b1e-712e-415c-ba27-wetgrsehr6t", 61 "code": "eb954b1e-712e-415c-ba27-wetgrsehr6t",
62 "top": 117, 62 "top": 117,
63 "left": 230 63 "left": 230
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
78 "imageURL": "upload/image/main/icon_top3.png", 78 "imageURL": "upload/image/main/icon_top3.png",
79 "code": "eb954b1e-712e-415c-ba27-erhg43f4", 79 "code": "eb954b1e-712e-415c-ba27-erhg43f4",
80 "width": 170, 80 "width": 170,
81 "height": 85, 81 "height": 84,
82 "top": 117, 82 "top": 117,
83 "left": 400 83 "left": 400
84 }, 84 },
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
98 "imageURL": "upload/image/main/icon_top4.png", 98 "imageURL": "upload/image/main/icon_top4.png",
99 "code": "eb954b1e-712e-415c-ba27-fq34t34fe", 99 "code": "eb954b1e-712e-415c-ba27-fq34t34fe",
100 "width": 170, 100 "width": 170,
101 "height": 85, 101 "height": 84,
102 "top": 117, 102 "top": 117,
103 "left": 570 103 "left": 570
104 }, 104 },
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
117 "type": "promotion_item", 117 "type": "promotion_item",
118 "imageURL": "upload/image/main/icon_top5.png", 118 "imageURL": "upload/image/main/icon_top5.png",
119 "width": 170, 119 "width": 170,
120 "height": 85, 120 "height": 84,
121 "code": "eb954b1e-712e-415c-ba27-fq34tf4", 121 "code": "eb954b1e-712e-415c-ba27-fq34tf4",
122 "top": 117, 122 "top": 117,
123 "left": 740 123 "left": 740
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
137 "type": "promotion_item", 137 "type": "promotion_item",
138 "imageURL": "upload/image/main/icon_top7.png", 138 "imageURL": "upload/image/main/icon_top7.png",
139 "width": 170, 139 "width": 170,
140 "height": 85, 140 "height": 84,
141 "code": "eb954b1e-712e-415c-ba27-f43werterf", 141 "code": "eb954b1e-712e-415c-ba27-f43werterf",
142 "top": 117, 142 "top": 117,
143 "left": 910 143 "left": 910
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 "resultSet": [ 3 "resultSet": [
4 { 4 {
5 "name": "ViewPager", 5 "name": "ViewPager",
6 "height": 371, 6 "height": 358,
7 "hasChildFrame": true, 7 "hasChildFrame": true,
8 "data": { 8 "data": {
9 "name": "frame1", 9 "name": "frame1",
...@@ -11,29 +11,29 @@ ...@@ -11,29 +11,29 @@
11 { 11 {
12 "name": "Carousel0", 12 "name": "Carousel0",
13 "code": "promotionItem_fd456495-2e32-44e1-9d92-q4ert34", 13 "code": "promotionItem_fd456495-2e32-44e1-9d92-q4ert34",
14 "left": 63, 14 "left": 64,
15 "top": 0, 15 "top": 0,
16 "imageURL": "upload/image/main/block1_1.png", 16 "imageURL": "upload/image/main/block1_1.png",
17 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.cake\"}}]}", 17 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.cake\"}}]}",
18 "width": 270, 18 "width": 270,
19 "height": 162 19 "height": 167
20 }, 20 },
21 { 21 {
22 "name": "dailyRecommend", 22 "name": "dailyRecommend",
23 "code": "promotionItem_4ca66642-33d0-41c9-9913-g5erhwgw5er", 23 "code": "promotionItem_4ca66642-33d0-41c9-9913-g5erhwgw5er",
24 "left": 63, 24 "left": 64,
25 "top": 185, 25 "top": 191,
26 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.candy\"}}]}", 26 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.candy\"}}]}",
27 "imageURL": "upload/image/main/block1_2.png", 27 "imageURL": "upload/image/main/block1_2.png",
28 "width": 270, 28 "width": 270,
29 "height": 162 29 "height": 167
30 } 30 }
31 ] 31 ]
32 } 32 }
33 }, 33 },
34 { 34 {
35 "name": "轮播下方图片", 35 "name": "轮播下方图片",
36 "height": 205, 36 "height": 167,
37 "hasChildFrame": true, 37 "hasChildFrame": true,
38 "data": { 38 "data": {
39 "name": "frame1", 39 "name": "frame1",
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 }, 83 },
84 { 84 {
85 "name": "特色推荐", 85 "name": "特色推荐",
86 "height": 195, 86 "height": 153,
87 "hasChildFrame": true, 87 "hasChildFrame": true,
88 "data": { 88 "data": {
89 "name": "frame2", 89 "name": "frame2",
...@@ -94,8 +94,8 @@ ...@@ -94,8 +94,8 @@
94 "left": 63, 94 "left": 63,
95 "top": 0, 95 "top": 0,
96 "imageURL": "upload/image/main/font_2.png", 96 "imageURL": "upload/image/main/font_2.png",
97 "width": 126, 97 "width": 128,
98 "height": 31, 98 "height": 45,
99 "disable": true 99 "disable": true
100 }, 100 },
101 { 101 {
...@@ -106,14 +106,14 @@ ...@@ -106,14 +106,14 @@
106 60 106 60
107 ], 107 ],
108 "width": 1153, 108 "width": 1153,
109 "height": 100, 109 "height": 88,
110 "disable": true, 110 "disable": true,
111 "childrenSize": [ 111 "childrenSize": [
112 172, 112 172,
113 88 113 88
114 ], 114 ],
115 "childrenMargin": [ 115 "childrenMargin": [
116 24, 116 16,
117 24, 117 24,
118 0, 118 0,
119 0 119 0
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
168 }, 168 },
169 { 169 {
170 "name": "热门必玩上方图", 170 "name": "热门必玩上方图",
171 "height": 300, 171 "height": 258,
172 "hasChildFrame": true, 172 "hasChildFrame": true,
173 "data": { 173 "data": {
174 "name": "frame3", 174 "name": "frame3",
...@@ -180,14 +180,14 @@ ...@@ -180,14 +180,14 @@
180 "top": 0, 180 "top": 0,
181 "imageURL": "upload/image/main/font_3.png", 181 "imageURL": "upload/image/main/font_3.png",
182 "width": 158, 182 "width": 158,
183 "height": 31, 183 "height": 45,
184 "disable": true 184 "disable": true
185 }, 185 },
186 { 186 {
187 "name": "SingerList1", 187 "name": "SingerList1",
188 "code": "promotionItem_0a911d4c-9223-4d49-se5hj54uh4w5g45w", 188 "code": "promotionItem_0a911d4c-9223-4d49-se5hj54uh4w5g45w",
189 "left": 63, 189 "left": 63,
190 "top": 64, 190 "top": 61,
191 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.Orbbec.MortaKombat\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.Orbbec.MortaKombat_v2.1.4_bc55_20190717_Release.apk\"}}]}", 191 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.Orbbec.MortaKombat\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.Orbbec.MortaKombat_v2.1.4_bc55_20190717_Release.apk\"}}]}",
192 "imageURL": "upload/image/main/block5_1.jpg", 192 "imageURL": "upload/image/main/block5_1.jpg",
193 "width": 564, 193 "width": 564,
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
197 "name": "SingerList2", 197 "name": "SingerList2",
198 "code": "promotionItem_c388af5a-0351-43c4-e5sjhu45h54wh45h", 198 "code": "promotionItem_c388af5a-0351-43c4-e5sjhu45h54wh45h",
199 "left": 653, 199 "left": 653,
200 "top": 64, 200 "top": 61,
201 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.Orbbec.MortaKombat\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.Orbbec.MortaKombat_v2.1.4_bc55_20190717_Release.apk\"}}]}", 201 "tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.Orbbec.MortaKombat\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.Orbbec.MortaKombat_v2.1.4_bc55_20190717_Release.apk\"}}]}",
202 "imageURL": "upload/image/main/block5_1.jpg", 202 "imageURL": "upload/image/main/block5_1.jpg",
203 "width": 564, 203 "width": 564,
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
208 }, 208 },
209 { 209 {
210 "name": "热门必玩下方图", 210 "name": "热门必玩下方图",
211 "height": 290, 211 "height": 252,
212 "hasChildFrame": true, 212 "hasChildFrame": true,
213 "data": { 213 "data": {
214 "name": "frame3", 214 "name": "frame3",
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
248 }, 248 },
249 { 249 {
250 "name": "block高分排行榜", 250 "name": "block高分排行榜",
251 "height": 365, 251 "height": 329,
252 "hasChildFrame": true, 252 "hasChildFrame": true,
253 "data": { 253 "data": {
254 "name": "frame2", 254 "name": "frame2",
...@@ -260,14 +260,14 @@ ...@@ -260,14 +260,14 @@
260 "top": 0, 260 "top": 0,
261 "imageURL": "upload/image/main/font_4.png", 261 "imageURL": "upload/image/main/font_4.png",
262 "width": 158, 262 "width": 158,
263 "height": 31, 263 "height": 45,
264 "disable": true 264 "disable": true
265 }, 265 },
266 { 266 {
267 "name": "highScore", 267 "name": "highScore",
268 "layout": "horizontal", 268 "layout": "horizontal",
269 "position": [ 269 "position": [
270 63, 270 61,
271 60 271 60
272 ], 272 ],
273 "width": 1153, 273 "width": 1153,
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
338 }, 338 },
339 { 339 {
340 "name": "block适龄游戏", 340 "name": "block适龄游戏",
341 "height": 250, 341 "height": 259,
342 "hasChildFrame": true, 342 "hasChildFrame": true,
343 "data": { 343 "data": {
344 "name": "frame2", 344 "name": "frame2",
...@@ -350,21 +350,21 @@ ...@@ -350,21 +350,21 @@
350 "top": 0, 350 "top": 0,
351 "imageURL": "upload/image/main/font_5.png", 351 "imageURL": "upload/image/main/font_5.png",
352 "width": 126, 352 "width": 126,
353 "height": 31, 353 "height": 45,
354 "disable": true 354 "disable": true
355 }, 355 },
356 { 356 {
357 "name": "SubjectList", 357 "name": "SubjectList",
358 "layout": "horizontal", 358 "layout": "horizontal",
359 "position": [ 359 "position": [
360 63, 360 61,
361 60 361 60
362 ], 362 ],
363 "width": 1153, 363 "width": 1153,
364 "disable": true, 364 "disable": true,
365 "childrenSize": [ 365 "childrenSize": [
366 270, 366 270,
367 108 367 167
368 ], 368 ],
369 "childrenMargin": [ 369 "childrenMargin": [
370 0, 370 0,
......