Commit c42acafc c42acafc742ad695f3d2a2201a21dfb0f76cef43 by 金学艇

1.修改详情页

2.优化首页
1 parent bb7b0fc9
Showing 153 changed files with 2056 additions and 993 deletions
......@@ -189,7 +189,7 @@
"array": [
0,
0,
271.0601806640625,
271.0609130859375,
0,
0,
0,
......
......@@ -189,7 +189,7 @@
"array": [
0,
0,
265.0037841796875,
271.06060791015625,
0,
0,
0,
......@@ -1228,9 +1228,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "25c3545b-49b6-40d0-928d-58a15150d9da"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
......@@ -1364,9 +1362,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "25c3545b-49b6-40d0-928d-58a15150d9da"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
......@@ -1500,9 +1496,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "25c3545b-49b6-40d0-928d-58a15150d9da"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
......@@ -1636,9 +1630,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "25c3545b-49b6-40d0-928d-58a15150d9da"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
......@@ -1962,15 +1954,15 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
-178,
0,
0,
0,
......@@ -2005,9 +1997,9 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": -100,
"_left": 0,
"_right": 0,
"_top": -100,
"_top": 178,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
......@@ -2262,7 +2254,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1153,
"height": 650
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2286,7 +2278,7 @@
"ctor": "Float32Array",
"array": [
640,
-955,
-750,
0,
0,
0,
......@@ -2340,7 +2332,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1200,
"height": 670
"height": 215
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2410,7 +2402,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1153,
"height": 554
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2434,7 +2426,7 @@
"ctor": "Float32Array",
"array": [
0,
0,
15,
0,
0,
0,
......@@ -3380,7 +3372,7 @@
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 630,
"_top": 650,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
......@@ -5673,30 +5665,9 @@
"_aTouchContext": [],
"_defaultBackScene": null,
"_oFocusScaleFactorInfo": null,
"layout_json": {
"__uuid__": "2f979325-7c8b-45cc-99a5-30cc9c056bb1"
},
"recommend_json": {
"test_json": {
"__uuid__": "d797e6d8-b99b-4992-be3f-35357c9dcd65"
},
"category_xxyz_list": {
"__uuid__": "3beb596d-4dc5-414e-9751-9cbff50a0a39"
},
"category_dztg_json": {
"__uuid__": "9a8524c5-13e3-414a-91d7-32dcbcef16c0"
},
"category_3dyx_json": {
"__uuid__": "c3913569-3224-4557-aedd-a877a7c75939"
},
"category_jycl_json": {
"__uuid__": "25224060-4e72-44d0-9fa1-caa051cf1249"
},
"category_jsby_json": {
"__uuid__": "0a9757cd-35ad-43d4-8eab-9501998a4345"
},
"test_category_list_recommend_json": {
"__uuid__": "9d3d5ca5-5f87-4dd6-aca0-d18e2f36e990"
},
"PFB_COMMON_WIDGET": {
"__uuid__": "57787725-2430-4ac3-b324-c22c08c3f074"
},
......
......@@ -403,6 +403,7 @@ cc.Class({
return true;
},
//模拟json中,count的值一定得准确,否则滑动出错
loadData: function (onSuccess, onError, oScope, strResponse) {
var oJSONResult = JSON.parse(strResponse);
var oHandleJson = {};
......
......@@ -52,6 +52,8 @@ cc.Topdraw.TVCanvas =
_defaultBackScene: null,//每个场景Canvas都有的 默认返回场景 每个场景自己构造函数内设置值
_oFocusScaleFactorInfo: null,
_bShowExitBox: false,
},
onLoad: function () {
......@@ -315,6 +317,7 @@ cc.Topdraw.TVCanvas =
let aSceneContext = compApplication.getSceneContext();
let aSceneParameter = compApplication.getSceneParameter();
if (aSceneParameter.length) {
this._bShowExitBox = false;
let oSceneParameter = aSceneParameter.pop();
//aSceneParameter[]
compApplication.setBackStatus(true);
......@@ -354,7 +357,15 @@ cc.Topdraw.TVCanvas =
} else {
cc.log("应该退出应用才对");
//cc.director.end();
cc.game.end();
// this.commonSimpleTip("退出应用", 1);
// cc.game.end();
if (!this._bShowExitBox) { //弹出挽留界面
this.showDetainBox();
} else {
cc.log("退出应用!");
cc.game.end();
}
}
}
} catch (error) {
......@@ -926,20 +937,18 @@ cc.Topdraw.TVCanvas =
*/
showDetainBox: function (fiBackend, bHideBg) {
try {
this._bShowExitBox = true;
if (this._nodeSystemPrompt) {
this._nodeSystemPrompt.opacity = 255;
this._iDetainBoxStatus = this._aFocusTargets.length;
if (null == this._aFocusTargets[this._iDetainBoxStatus]) {
this._aFocusTargets[this._iDetainBoxStatus] = [];
if (null == this._aFocusTargets[1]) { //focus放到第二层级,避免冲突
this._aFocusTargets[1] = [];
}
this._aFocusTargets[this._iDetainBoxStatus]['system_confirm_btn'] = cc.find("PromptBox/Confirm", this._nodeSystemPrompt);
this._aFocusTargets[this._iDetainBoxStatus]['system_cancel_btn'] = cc.find("PromptBox/Cancel", this._nodeSystemPrompt);
this._aFocusTargets[1]['system_confirm_btn'] = cc.find("PromptBox/Confirm", this._nodeSystemPrompt);
this._aFocusTargets[1]['system_cancel_btn'] = cc.find("PromptBox/Cancel", this._nodeSystemPrompt);
this._fiBeforeDetainBox = this._fiCurrentFocus;
this._fiBackend = fiBackend;
this._iStatusBeforeDetainBox = this._iFocusStatus;
this._iFocusStatus = this._iDetainBoxStatus;
this._cFocus.flyFocus(this._fiCurrentFocus, this._aFocusTargets[this._iDetainBoxStatus]['system_confirm_btn'].getComponent(FocusInfo), Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
this._bShowingDetainBox = true;
this._iSceneStatus = 1;
this._cFocus.flyFocus(this._fiCurrentFocus, this._aFocusTargets[1]['system_confirm_btn'].getComponent(FocusInfo), Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
this._bIsLoadingPfbSystemPrompt = false;
} else {
this._bIsLoadingPfbSystemPrompt = true;
......@@ -974,17 +983,18 @@ cc.Topdraw.TVCanvas =
hideDetainBox: function () {
try {
this._nodeSystemPrompt.opacity = 0;
delete this._aFocusTargets[this._iDetainBoxStatus]['system_confirm_btn'];
delete this._aFocusTargets[this._iDetainBoxStatus]['system_cancel_btn'];
this._iFocusStatus = this._iStatusBeforeDetainBox;
delete this._aFocusTargets[1]['system_confirm_btn'];
delete this._aFocusTargets[1]['system_cancel_btn'];
this._iSceneStatus = 0;
let iX = Common.SCREEN_WIDTH / 2 + Common.getX(this._fiBeforeDetainBox.node) - this._fiBeforeDetainBox.node.width / 2;
let iY = Common.SCREEN_HEIGHT / 2 - Common.getY(this._fiBeforeDetainBox.node) + this._fiBeforeDetainBox.node.height / 2;
cc.log("记忆焦点:"+this._fiBeforeDetainBox.node.name);
if (this._fiBeforeDetainBox.getEnable() && iX >= 0 && iX <= Common.SCREEN_WIDTH && iY >= 0 && iY <= Common.SCREEN_HEIGHT + 50) {//这里是考虑给播放元素设置了虚拟位置
this._cFocus.flyFocus(this._fiCurrentFocus, this._fiBeforeDetainBox, Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
} else {
this._cFocus.flyFocus(this._fiCurrentFocus, this._fiBackend, Common.MOVE_DIRECTION_UP, this._fFocusScaleFactor, null);
}
this._bShowingDetainBox = false;
this._bShowExitBox = false;
} catch (error) {
if (cc.sys.isNative) {
jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "logInSceneI", "(Ljava/lang/String;)V", "hideDetainBox Error in TVCanvas==>" + error);
......
......@@ -19,36 +19,6 @@ cc.Class({
default: null,
type: cc.Prefab
},
navi_json: {
default: null,
type: cc.JsonAsset
},
category_jtdr_list: {
default: null,
type: cc.JsonAsset
},
category_all_list: {
default: null,
type: cc.JsonAsset
},
category_nlbz_list: {
default: null,
type: cc.JsonAsset
},
category_3dyx_list: {
default: null,
type: cc.JsonAsset
},
category_xyx_list: {
default: null,
type: cc.JsonAsset
},
category_tjyz_list: {
default: null,
type: cc.JsonAsset
},
},
onLoad: function () {
......@@ -57,7 +27,6 @@ cc.Class({
this._oSceneContext._iCurrentLeftIndex = 0;
this._bIsDataListMoving = false;
this.aJsonList = [this.category_jtdr_list.json, this.category_all_list.json, this.category_nlbz_list.json, this.category_3dyx_list.json, this.category_xyx_list.json, this.category_tjyz_list.json];
this._nodeTypeListWrapper = cc.find("TypeListArea/TypeListWrapper", this.node);
this._nodeTypeList = cc.find("TypeList", this._nodeTypeListWrapper);
this._nodeTypeList.addComponent(TVScrollParameter);
......@@ -69,6 +38,31 @@ cc.Class({
// fiScrollBtn.init(null, true);
this.getNavList(); //获取导航栏信息
this.getCategoryListJsonRequest();
},
getCategoryListJsonRequest: function () {
var self = this;
var aJsonList = ["catetory_jtdr_list.json", "catetory_all_list.json", "catetory_nlbz_list.json", "catetory_3dyx_list.json", "catetory_xyx_list.json", "catetory_tyjj_list.json"];
this.aCategoryListJson = [];
if (this.aCategoryListJson && this.aCategoryListJson.length > 0) {
return;
}
for (let i = 0; i < aJsonList.length; i++) {
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/" + aJsonList[i], null, null,
function (strResponse) {
try {
// cc.log("远程数据:"+strResponse);
// var oJSONResult = JSON.parse(strResponse);
this.aCategoryListJson.push(strResponse);
} catch (error) {
cc.log("Business Exception:Get getCategoryListJsonRequest..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get getCategoryListJsonRequest..." + strResponse);
}, this, "uuid");
}
},
getNavList: function () {
......@@ -83,66 +77,76 @@ cc.Class({
// "sortDirection": 'asc',
// 'token': Common.TEST_API_TOKEN,
// };
// Network.ajax("GET", Common.TOPDRAW_API_SERVER + "category/category_navi.json", null, null,
// function (strResponse) {
// try {
// var oJSONResult = JSON.parse(strResponse);
var oJSONResult = this.navi_json.json;
// this._cLog.screenI("gameCategory getNavList start..." + JSON.stringify(oJSONResult));
if (oJSONResult.businessCode == 'success') {
this._oInit.aNavList = [];
this._oInit.aTopNaviImg = [];
for (let i = 0; i < oJSONResult.resultSet.length; i++) {
var oProgram = oJSONResult.resultSet[i];
// var oTvlink = JSON.parse(oProgram.description);
let node = cc.instantiate(this.PFB_COMMON);
if (oProgram.image[0] && oProgram.image[0].fileUrl) {
this._oInit.aTopNaviImg.push(oProgram.image[0].fileUrl);
node.width = oProgram.image[0].width;
node.height = oProgram.image[0].height;
node.getChildByName("Pic").width = oProgram.image[0].width;
node.getChildByName("Pic").height = oProgram.image[0].height;
cc.loader.loadRes(oProgram.image[0].fileUrl, cc.Texture2D, function (err, texture) {
node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[0].width, oProgram.image[0].height));
if (i == self._oSceneContext._iCurrentLeftIndex) {
node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[0].height, oProgram.image[0].width, oProgram.image[0].height));
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "category/category_navi.json", null, null,
function (strResponse) {
try {
var oJSONResult = JSON.parse(strResponse);
// var oJSONResult = this.navi_json.json;
// this._cLog.screenI("gameCategory getNavList start..." + JSON.stringify(oJSONResult));
if (oJSONResult.businessCode == 'success') {
this._oInit.aNavList = [];
this._oInit.aTopNaviImg = [];
for (let i = 0; i < oJSONResult.resultSet.length; i++) {
var oProgram = oJSONResult.resultSet[i];
// var oTvlink = JSON.parse(oProgram.description);
let node = cc.instantiate(this.PFB_COMMON);
if (oProgram.image[0] && oProgram.image[0].fileUrl) {
this._oInit.aTopNaviImg.push(Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl);
node.width = oProgram.image[0].width;
node.height = oProgram.image[0].height;
node.getChildByName("Pic").width = oProgram.image[0].width;
node.getChildByName("Pic").height = oProgram.image[0].height;
// cc.loader.loadRes(oProgram.image[0].fileUrl, cc.Texture2D, function (err, texture) {
// node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[0].width, oProgram.image[0].height));
// if (i == self._oSceneContext._iCurrentLeftIndex) {
// node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[0].height, oProgram.image[0].width, oProgram.image[0].height));
// }
// });
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl, null,
function (texture, iRequestId) {
node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[0].width, oProgram.image[0].height));
if (i == self._oSceneContext._iCurrentLeftIndex) {
node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[0].height, oProgram.image[0].width, oProgram.image[0].height));
}
}, function () { }, this
);
// Network.loadImageInNativeRuntime(Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl, i,
// function (texture, iRequestId) {
// node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[1].width, oProgram.image[1].height));
// if (i == 1) {
// node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[1].height, oProgram.image[1].width, oProgram.image[1].height));
// }
// },
// function (texture, iRequestId) {
// },
// );
}
// node.x = node.width / 2 + i * (node.width + 29);
node.y = -node.height / 2 - i * (node.height);
this._nodeTypeList.addChild(node, 10, "topNavi" + i);
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
fiNodeBlock.init(
'', true, null, null, 1.1 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0]["topNavi" + i] = node;
}
});
// Network.loadImageInNativeRuntime(Common.TOPDRAW_IMAGE_SERVER + oProgram.image[0].fileUrl, i,
// function (texture, iRequestId) {
// node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oProgram.image[1].width, oProgram.image[1].height));
// if (i == 1) {
// node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, oProgram.image[1].height, oProgram.image[1].width, oProgram.image[1].height));
// }
// },
// function (texture, iRequestId) {
// },
// );
this._oSceneContext.focusPath = "TypeListArea/TypeListWrapper/TypeList/topNavi" + this._oSceneContext._iCurrentLeftIndex;
this.checkDataReadyAndInitFocus();
this.requestMediaList(1);
} else {
cc.log("Business Error:getNavList..." + oJSONResult.description);
}
} catch (error) {
cc.log("Business Exception:getNavList..." + error);
}
// node.x = node.width / 2 + i * (node.width + 29);
node.y = -node.height / 2 - i * (node.height);
this._nodeTypeList.addChild(node, 10, "topNavi" + i);
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
fiNodeBlock.init(
'', true, null, null, 1.1 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0]["topNavi" + i] = node;
}
this._oSceneContext.focusPath = "TypeListArea/TypeListWrapper/TypeList/topNavi" + this._oSceneContext._iCurrentLeftIndex;
this.checkDataReadyAndInitFocus();
this.requestMediaList(1);
} else {
cc.log("Business Error:get nav..." + oJSONResult.description);
}
// } catch (error) {
// cc.log("Business Exception:get nav..." + error);
// }
// },
// function (strResponse) {
// cc.log("Business Error:get nav..." + strResponse);
// }, this, "uuid");
},
function (strResponse) {
cc.log("Business Error:getNavList..." + strResponse);
}, this, "uuid");
},
requestMediaList: function (cId) {
......@@ -257,7 +261,7 @@ cc.Class({
// lvCategoryList.loadData(
// function (strResponse) {
// cc.log("/////" + JSON.stringify(this.test_list_json1.json));
let strResponse = JSON.stringify(this.aJsonList[this._oSceneContext._iCurrentLeftIndex]);
let strResponse = this.aCategoryListJson[this._oSceneContext._iCurrentLeftIndex];
lvCategoryList.renderInitData(strResponse, function () {
// cc.log("InitCategoryList-------------------->");
var oJSONResult = JSON.parse(strResponse);
......@@ -372,7 +376,7 @@ cc.Class({
var index = parseInt(this._fiCurrentFocus.node.getName().replace('CategoryListCell', ''));
// cc.log("当前时多少条目:" + index);
let lvCategoryList = this.node.getChildByName('CategoryList').getComponent(ListView);
if (lvCategoryList.scrollARowUp(index, JSON.stringify(this.aJsonList[this._oSceneContext._iCurrentLeftIndex]))) {
if (lvCategoryList.scrollARowUp(index, this.aCategoryListJson[this._oSceneContext._iCurrentLeftIndex])) {
return;
}
}
......@@ -390,7 +394,7 @@ cc.Class({
if (0 == this._fiCurrentFocus.node.getName().indexOf('CategoryListCell')) {
var index = parseInt(this._fiCurrentFocus.node.getName().replace('CategoryListCell', ''));
let lvCategoryList = this.node.getChildByName('CategoryList').getComponent(ListView);
if (lvCategoryList.scrollARowDown(null, index, JSON.stringify(this.aJsonList[this._oSceneContext._iCurrentLeftIndex]))) {
if (lvCategoryList.scrollARowDown(null, index, this.aCategoryListJson[this._oSceneContext._iCurrentLeftIndex])) {
return;
}
}
......@@ -450,13 +454,25 @@ cc.Class({
let iIndex = fiFrom.node.name.replace("topNavi", '');
if (this._oInit.aTopNaviImg[iIndex]) {
if (0 == fiTo.node.getName().indexOf('topNavi')) {
cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
// cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) {
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopNaviImg[iIndex], null,
function (texture, iRequestId) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
}, function () { }, this
);
} else {
cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height));
});
// cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) {
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopNaviImg[iIndex], null,
function (texture, iRequestId) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height));
}, function () { }, this
);
}
// Network.loadImageInNativeRuntime(
......@@ -498,9 +514,15 @@ cc.Class({
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// cc.log(iIndex + " ... " + this._oInit.aTopNaviImg[iIndex]);
if (this._oInit.aTopNaviImg[iIndex]) {
cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
// cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex], cc.Texture2D, function (err, texture) {
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopNaviImg[iIndex], null,
function (texture, iRequestId) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
}, function () { }, this
);
// Network.loadImageInNativeRuntime(
// this._oInit.aTopNaviImg[iIndex],
// function (texture) {
......
......@@ -61,10 +61,16 @@ cc.Class({
// self.pic.spriteFrame = new cc.SpriteFrame(texture);
// }, null, this
// );
cc.log("categoryList..."+oData.image[0].fileUrl);
cc.loader.loadRes(oData.image[0].fileUrl, cc.Texture2D, function (err, texture) {
self.pic.spriteFrame = new cc.SpriteFrame(texture);
});
// cc.log("categoryList..."+oData.image[0].fileUrl);
// cc.loader.loadRes(oData.image[0].fileUrl, cc.Texture2D, function (err, texture) {
// self.pic.spriteFrame = new cc.SpriteFrame(texture);
// });
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + oData.image[0].fileUrl, null,
function (texture, iRequestId) {
self.pic.spriteFrame = new cc.SpriteFrame(texture);
}, function () { }, this
);
}
// cc.log("category list cell location: "+oData.image[0].fileUrl);
this.node.getComponent(FocusInfo).setTVLink(oData.tvlink);
......
......@@ -23,34 +23,41 @@ cc.Class({
this.node.getChildByName('Pic').height = data.height;
if (data.imageURL) {
var self = this;
cc.loader.loadRes(data.imageURL, cc.Texture2D, function (err, texture) {
if (strCellName == "topNavi") {
self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, data.width, data.height));
if (i == iCurrentIndex) {
self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, data.height, data.width, data.height));
}
} else {
self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, data.width, data.height));
}
// if (null != funCallback && typeof funCallback == 'function') {
// funCallback.call();
// }
});
// Network.loadImageInNativeRuntime(
// Common.TOPDRAW_IMAGE_SERVER_EDU + data.imageURL,
// function (texture) {
// self.pic.spriteFrame = new cc.SpriteFrame(texture,cc.rect(0,0,self.node.width,self.node.height));
// if (null != funCallback && typeof funCallback == 'function') {
// funCallback.call();
// cc.loader.loadRes(data.imageURL, cc.Texture2D, function (err, texture) {
// if (strCellName == "topNavi") {
// self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, data.width, data.height));
// if (i == iCurrentIndex) {
// self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, data.height, data.width, data.height));
// }
// }, null, this
// );
// } else {
// self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, data.width, data.height));
// }
// // if (null != funCallback && typeof funCallback == 'function') {
// // funCallback.call();
// // }
// });
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + data.imageURL
, null,
function (texture, iRequestId) {
if (strCellName == "topNavi") {
self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, data.width, data.height));
if (i == iCurrentIndex) {
self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, data.height, data.width, data.height));
}
} else {
self.pic.spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, data.width, data.height));
}
},
function () {
},
this
);
}
if (strCellName == "topNavi" && i>0) {
if (strCellName == "topNavi" && i > 0) {
this.node.getComponent(cc.Widget).top = data.top - data.height / 2;
} else {
this.node.getComponent(cc.Widget).top = data.top;
......
......@@ -10,6 +10,7 @@ cc.Class({
properties: {
id: 0,
pic: cc.Sprite,
mark: cc.Sprite,
activeName1: cc.Label,
activeName2: cc.Label,
normalName: cc.Label,
......@@ -25,7 +26,8 @@ cc.Class({
},
render(oData, iRecordIndex) {
render(oData, iRecordIndex, i) {
var self = this;
this.activeName1.string = oData.name;
this.activeName2.string = oData.name;
this.normalName.string = oData.name;
......@@ -33,6 +35,10 @@ cc.Class({
this.node.getChildByName("Normal").active = true;
cc.loader.loadRes("Main/top" + (i + 1), cc.Texture2D, function (err, texture) {
self.mark.spriteFrame = new cc.SpriteFrame(texture);
});
// this.activeName1._updateRenderData(true);
// this.activeName2._updateRenderData(true);
// this.normalName._updateRenderData(true);
......
......@@ -25,42 +25,7 @@ cc.Class({
properties: {
layout_json: {
default: null,
type: cc.JsonAsset
},
recommend_json: {
default: null,
type: cc.JsonAsset
},
category_xxyz_list: {
default: null,
type: cc.JsonAsset
},
category_dztg_json: {
default: null,
type: cc.JsonAsset
},
category_3dyx_json: {
default: null,
type: cc.JsonAsset
},
category_jycl_json: {
default: null,
type: cc.JsonAsset
},
category_jsby_json: {
default: null,
type: cc.JsonAsset
},
test_category_list_recommend_json: { //列表页推荐位
test_json: {
default: null,
type: cc.JsonAsset
},
......@@ -101,7 +66,6 @@ cc.Class({
onLoad: function () {
this._super();
this._aJsonList = ["", "", this.category_xxyz_list.json, this.category_dztg_json.json, this.category_3dyx_json.json, this.category_jycl_json.json, this.category_jsby_json.json];
this._iSceneStatus = 0;
this._oInit = {};
this._bAbleHotUpdate = false;
......@@ -134,21 +98,21 @@ cc.Class({
this._cApplication.setBackStatus(false);
}
cc.log("恢复上下文后的光标:" + this._oSceneContext._iCurrentLeftIndex);
var arrModules = this.layout_json.json.children;
let aTopNavi = arrModules[0].data.resultSet;
let aTopPersonalNavi = arrModules[1].data.resultSet;
this.node.getChildByName("scrollContent").height = 2300; //这里暂且写死,scrollView有bug
this._scrollview.scrollToTop();
//搞轮播图
this.initViewPager();
this.initViewPagerRightLabel();
this.getTopNaviRequest(aTopNavi, "topNavi");
this.getTopNaviRequest(aTopPersonalNavi, "topCell");
// this.getTopNaviRequest("topNavi");
// this.getTopNaviRequest("topCell");
//搞通知框
this.initNotifyBox();
// this.getUpdateDesc();
this.getRecommendModelRequest();
this.getRightRecommendRequest(); //渲染右侧导航
this.getMainLayoutJsonRequest();
this.getCategoryListJsonRequest();
// this.getRecommendModelRequest();
// this.getRightRecommendRequest(); //渲染右侧导航
// this.requestMediaList(9); //游戏列表
this.getCategoryListRecommendRequest();
},
......@@ -233,80 +197,172 @@ cc.Class({
}, this, "uuid");
},
//请求顶部个人中心和订购按钮
getTopNaviRequest: function (aTopNavi, strCellName) {
let count = aTopNavi.length;
let topNaviLayout = this.targetAry[0].target;
if (strCellName == "topNavi") {
this._oInit.aTopNaviImg = [];
} else {
this._oInit.aTopCellImg = [];
//请求main_layout.json
getMainLayoutJsonRequest: function () {
var self = this;
if (self._oInit.oMainLayoutJson && self._oInit.oMainLayoutJson.children.length > 0) {
return;
}
for (let i = 0; i < count; i++) {
let nodeNav = cc.instantiate(this.PFB_COMMON_WIDGET);
if (i > 0 && strCellName == "topNavi" || strCellName == "topCell") { //刨掉第一个logo图片
if (strCellName == "topCell") {
this._oInit.aTopCellImg.push(aTopNavi[i].imageURL);
} else {
this._oInit.aTopNaviImg.push(aTopNavi[i].imageURL);
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_layout.json", null, null,
function (strResponse) {
try {
// cc.log("远程数据:"+strResponse);
var oJSONResult = JSON.parse(strResponse);
self._oInit.oMainLayoutJson = oJSONResult;
self.getTopNaviRequest("topNavi");
self.getTopNaviRequest("topCell");
self.getRecommendModelRequest();
self.getRightRecommendRequest(); //
} catch (error) {
cc.log("Business Exception:Get getMainLayoutJsonRequest..." + error);
}
let fiNav = nodeNav.addComponent(FocusInfo);
fiNav.init(
aTopNavi[i].tvlink,
true, null, null, 1.1 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0][strCellName + i] = nodeNav;
},
function (strResponse) {
cc.log("Business Error:Get getMainLayoutJsonRequest..." + strResponse);
}, this, "uuid");
},
getCategoryListJsonRequest: function () {
var self = this;
var aJsonList = ["catetory_xxyz_list.json", "catetory_dztg_list.json", "catetory_3dyx_list.json", "catetory_jycl_list.json", "catetory_jsby_list.json"];
this._oInit.aCategoryListJson = ["", ""]; //先塞两个空数据,方便遍历数组
if (self._oInit.oMainLayoutJson && self._oInit.oMainLayoutJson.children.length > 0) {
return;
}
for (let i = 0; i < aJsonList.length; i++) {
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/" + aJsonList[i], null, null,
function (strResponse) {
try {
// cc.log("远程数据:"+strResponse);
// var oJSONResult = JSON.parse(strResponse);
this._oInit.aCategoryListJson.push(strResponse);
} catch (error) {
cc.log("Business Exception:Get getCategoryListJsonRequest..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get getCategoryListJsonRequest..." + strResponse);
}, this, "uuid");
}
},
//请求顶部个人中心和订购按钮
getTopNaviRequest: function (strCellName) {
// Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_layout.json", null, null,
// function (strResponse) {
try {
// cc.log("获取的远程数据:"+JSON.stringify(this._oInit.oMainLayoutJson));
// var oJSONResult = this.test_json.json;
// this._oInit.oMainLayoutJson = oJSONResult;
var oJSONResult = this._oInit.oMainLayoutJson;
let aTopNaviJson;
if (strCellName == "topNavi") {
aTopNaviJson = oJSONResult.children[0].data.resultSet;
} else if (strCellName == "topCell") {
aTopNaviJson = oJSONResult.children[1].data.resultSet;
}
nodeNav.getComponent('pfbCommonCell').init(aTopNavi[i], function () { //让细胞自己渲染
count--;
if (!count) {
self._bInitLeftNavigationSuccess = true;
self.checkDataReadyAndInitFocus();
let count = aTopNaviJson.length;
let topNaviLayout = this.targetAry[0].target;
if (strCellName == "topNavi") {
this._oInit.aTopNaviImg = [];
} else {
this._oInit.aTopCellImg = [];
}
for (let i = 0; i < count; i++) {
let nodeNav = cc.instantiate(this.PFB_COMMON_WIDGET);
if (i > 0 && strCellName == "topNavi" || strCellName == "topCell") { //刨掉第一个logo图片
// cc.log("头部图片:"+aTopNaviJson[i].imageURL);
if (strCellName == "topCell") {
this._oInit.aTopCellImg.push(Common.TOPDRAW_IMAGE_SERVER + aTopNaviJson[i].imageURL);
} else {
this._oInit.aTopNaviImg.push(Common.TOPDRAW_IMAGE_SERVER + aTopNaviJson[i].imageURL);
}
let fiNav = nodeNav.addComponent(FocusInfo);
fiNav.init(
aTopNaviJson[i].tvlink,
true, null, null, 1.1 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0][strCellName + i] = nodeNav;
}
}, strCellName, i, this._oSceneContext._iCurrentLeftIndex);
nodeNav.getComponent('pfbCommonCell').init(aTopNaviJson[i], function () { //让细胞自己渲染
count--;
if (!count) {
self._bInitLeftNavigationSuccess = true;
topNaviLayout.addChild(nodeNav, 10, strCellName + i);
self.checkDataReadyAndInitFocus();
}
}, strCellName, i, this._oSceneContext._iCurrentLeftIndex);
topNaviLayout.addChild(nodeNav, 10, strCellName + i);
if (i == this._oSceneContext._iCurrentLeftIndex && strCellName == "topNavi") { //默认焦点框位置
this._oSceneContext.focusPath = "scrollContent/TopNavi/" + strCellName + i;
if (i == this._oSceneContext._iCurrentLeftIndex && strCellName == "topNavi") { //默认焦点框位置
this._oSceneContext.focusPath = "scrollContent/TopNavi/" + strCellName + i;
}
}
}
this.checkDataReadyAndInitFocus();
this.checkDataReadyAndInitFocus();
} catch (error) {
cc.log("Business Exception:Get getTopNaviRequest..." + error);
}
// },
// function (strResponse) {
// cc.log("Business Error:Get getTopNaviRequest..." + strResponse);
// }, this, "uuid");
},
//请求休闲益智的推荐位
getCategoryListRecommendRequest: function () {
let categoryListRecommendLayout = cc.find("scrollContent/CategoryListRecommendLayout", this.node);
var arrModules = this.test_category_list_recommend_json.json;
let count = arrModules.data.resultSet.length;
for (let i = 0; i < count; i++) {
let nodeNav = cc.instantiate(this.PFB_COMMON_WIDGET);
let data = arrModules.data.resultSet[i];
nodeNav.width = data.width;
nodeNav.height = data.height;
nodeNav.getChildByName("Pic").width = data.width;
nodeNav.getChildByName("Pic").height = data.height;
cc.loader.loadRes(data.imageURL, cc.Texture2D, function (err, texture) {
nodeNav.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
});
nodeNav.getComponent(cc.Widget).top = data.top;
nodeNav.getComponent(cc.Widget).left = data.left;
categoryListRecommendLayout.addChild(nodeNav, 10, "category_list_recommend" + i);
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_category_list_recommend.json", null, null,
function (strResponse) {
try {
let categoryListRecommendLayout = cc.find("scrollContent/CategoryListRecommendLayout", this.node);
// var arrModules = this.test_category_list_recommend_json.json;
var arrModules = JSON.parse(strResponse);
let count = arrModules.data.resultSet.length;
for (let i = 0; i < count; i++) {
let nodeNav = cc.instantiate(this.PFB_COMMON_WIDGET);
let data = arrModules.data.resultSet[i];
nodeNav.width = data.width;
nodeNav.height = data.height;
nodeNav.getChildByName("Pic").width = data.width;
nodeNav.getChildByName("Pic").height = data.height;
// cc.loader.loadRes(data.imageURL, cc.Texture2D, function (err, texture) {
// nodeNav.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
// });
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + data.imageURL, null,
function (texture, iRequestId) {
nodeNav.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
}, function () { }, this
);
nodeNav.getComponent(cc.Widget).top = data.top;
nodeNav.getComponent(cc.Widget).left = data.left;
categoryListRecommendLayout.addChild(nodeNav, 10, "category_list_recommend" + i);
let fiNav = nodeNav.addComponent(FocusInfo);
fiNav.init(
data.tvlink,
false, null, null, 1.0 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0]["category_list_recommend" + i] = nodeNav;
}
} catch (error) {
cc.log("Business Exception:Get getCategoryListRecommendRequest..." + error);
}
},
function (strResponse) {
cc.log("Business Error:Get getCategoryListRecommendRequest..." + strResponse);
}, this, "uuid");
let fiNav = nodeNav.addComponent(FocusInfo);
fiNav.init(
data.tvlink,
false, null, null, 1.0 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0]["category_list_recommend" + i] = nodeNav;
}
},
getRecommendModelRequest: function () {
var arrModules = this.layout_json.json.children;
// var arrModules = this.layout_json.json.children;
var arrModules = this._oInit.oMainLayoutJson.children;
var aRecommend = arrModules[2].data.resultSet;
let count = aRecommend.length;
let recommendLayout = this.targetAry[1].target;
......@@ -324,218 +380,247 @@ cc.Class({
getRightRecommendRequest: function () {
var self = this;
var rightNodeLayout = this.targetAry[1].target;
// var arrModules = waterfall_model.waterfall; //拿到模拟数据
var arrModules = this.recommend_json.json;
var bgHeight = 0;
this._aBgHeight = [];
this._aBgHeight.push(0);
// this._aBgHeight.push(371);
// this._aBgHeight.push(601);
// this._aBgHeight.push(821);
// this._aBgHeight.push(1121);
// this._aBgHeight.push(1411);
// this._aBgHeight.push(1761);
// this._aBgHeight.push(1971);
// this._aBgHeight.push(2063);
for (let i = 0; i < arrModules.resultSet.length; i++) {
let nodeLayout = new cc.Node(arrModules.resultSet[i].name); //创建瀑布流的每一层layout
nodeLayout.width = this._iRightRecommendHeight;
nodeLayout.height = arrModules.resultSet[i].height;
var widgetLayout = nodeLayout.addComponent(cc.Widget);
widgetLayout.isAlignTop = true;
widgetLayout.isAlignLeft = true;
widgetLayout.top = bgHeight;
widgetLayout.left = 0;
bgHeight += arrModules.resultSet[i].height; //逐层增加高度
// cc.log("高度" + bgHeight);
if (i == arrModules.resultSet.length - 1) { //最后一个条目不够高,手动加高
bgHeight += 300;
}
this._aBgHeight.push(bgHeight); //
if (arrModules.resultSet[i].hasChildFrame) { //还有子列表
for (let j = 0; j < arrModules.resultSet[i].data.resultSet.length; j++) {
let oModule = arrModules.resultSet[i].data.resultSet[j];
if (oModule.hasChildFrame && oModule.name == "SpecialList") { //子布局需要左右滑动
let specialListAreaNode = cc.find("SpecialListArea", this.node);
let specialListRectNode = cc.find("SpecialListWrapper", specialListAreaNode);
let specialListNode = cc.find("SpecialList", specialListRectNode);
this._specialListRectNode = specialListRectNode;
this._specialListNode = specialListNode;
this._specialListNode.addComponent(TVScrollParameter);
specialListAreaNode.width = 1280 - oModule.position[0];
specialListRectNode.width = 1280 - oModule.position[0];
specialListAreaNode.height = oModule.height;
specialListRectNode.height = oModule.height;
specialListAreaNode.getComponent(cc.Widget).top = oModule.position[1];
specialListAreaNode.getComponent(cc.Widget).left = oModule.position[0];
for (let k = 0; k < oModule.data.resultSet.length; k++) { //渲染子细胞
let node = cc.instantiate(this.PFB_COMMON);
if (oModule.childrenSize[0] && oModule.childrenSize[1]) {
node.height = oModule.childrenSize[1]; //拿子节点的高
node.width = oModule.childrenSize[0];
node.getChildByName('Pic').height = oModule.childrenSize[1]; //拿子节点的高
node.getChildByName('Pic').width = oModule.childrenSize[0];
}
if (oModule.data.resultSet[k].imageURL) {
cc.loader.loadRes(oModule.data.resultSet[k].imageURL, cc.Texture2D, function (err, texture) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
});
}
node.x = node.width / 2 + k * (node.width + 24) - 20;
// node.getComponent(cc.Widget).top = 0;
// node.getComponent(cc.Widget).left = node.width / 2 + k * (node.width + 24);
specialListNode.addChild(node, 10, "SpecialList" + k);
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
fiNodeBlock.init('', true, null, null, 1.1);
fiNodeBlock.init(
oModule.data.resultSet[k].tvlink, true, null, null, 1.0 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0]["SpecialList" + k] = node;
}
specialListAreaNode.removeFromParent();
nodeLayout.addChild(specialListAreaNode, 10, "hasChildFrame");
}
else if (oModule.hasChildFrame && oModule.name != "SpecialList") {
let autoNode = new cc.Node(); //创建特殊层的第二层自动填充的布局
let autoNodeLayout = autoNode.addComponent(cc.Layout);
autoNodeLayout.type = cc.Layout.Type.GRID; //网格
autoNodeLayout.resizeMode = cc.Layout.ResizeMode.CHILDREN; //对子节点大小进行缩放
autoNodeLayout.startAxis = cc.Layout.AxisDirection.HORIZONTAL; //排版起始轴
autoNodeLayout.horizontalDirection = cc.Layout.HorizontalDirection.LEFT_TO_RIGHT; //布局方向
let widgetAutoNode = autoNode.addComponent(cc.Widget);
widgetAutoNode.isAlignLeft = true;
widgetAutoNode.isAlignTop = true;
autoNode.width = oModule.width; //获取自动布局宽高
if (oModule.childrenSize[0] && oModule.childrenSize[1]) {
autoNode.height = oModule.childrenSize[1]; //拿子节点的高
autoNodeLayout.cellSize = new cc.size(oModule.childrenSize[0], oModule.childrenSize[1]);
}
if (oModule.childrenMargin[1]) { //细胞间隔小些
autoNodeLayout.spacingX = oModule.childrenMargin[1];
}
if (oModule.position[0] != "undefined" && oModule.position[1] != "undefined") { //确定位置
widgetAutoNode.top = oModule.position[1];
widgetAutoNode.left = oModule.position[0];
Network.ajax("GET", Common.TOPDRAW_API_SERVER + "main/main_recommend.json", null, null,
function (strResponse) {
try {
// var arrModules = waterfall_model.waterfall; //拿到模拟数据
// var arrModules = this.test_json.json;
var arrModules = JSON.parse(strResponse);
var bgHeight = 0;
this._aBgHeight = [];
this._aBgHeight.push(0);
for (let i = 0; i < arrModules.resultSet.length; i++) {
let nodeLayout = new cc.Node(arrModules.resultSet[i].name); //创建瀑布流的每一层layout
nodeLayout.width = this._iRightRecommendHeight;
nodeLayout.height = arrModules.resultSet[i].height;
var widgetLayout = nodeLayout.addComponent(cc.Widget);
widgetLayout.isAlignTop = true;
widgetLayout.isAlignLeft = true;
widgetLayout.top = bgHeight;
widgetLayout.left = 0;
bgHeight += arrModules.resultSet[i].height; //逐层增加高度
// cc.log("高度" + bgHeight);
if (i == arrModules.resultSet.length - 1) { //最后一个条目不够高,手动加高
bgHeight += 300;
}
for (let k = 0; k < oModule.data.resultSet.length; k++) { //渲染子细胞
let node = cc.instantiate(this.PFB_MAIN_HIGH_SCORE);
if (oModule.childrenSize[0] && oModule.childrenSize[1]) {
node.height = oModule.childrenSize[1]; //拿子节点的高
node.width = oModule.childrenSize[0];
if (oModule.name != "highScore") {
node.getChildByName('Pic').height = oModule.childrenSize[1]; //拿子节点的高
node.getChildByName('Pic').width = oModule.childrenSize[0];
this._aBgHeight.push(bgHeight); //
if (arrModules.resultSet[i].hasChildFrame) { //还有子列表
for (let j = 0; j < arrModules.resultSet[i].data.resultSet.length; j++) {
let oModule = arrModules.resultSet[i].data.resultSet[j];
if (oModule.hasChildFrame && oModule.name == "SpecialList") { //子布局需要左右滑动
let specialListAreaNode = cc.find("SpecialListArea", this.node);
let specialListRectNode = cc.find("SpecialListWrapper", specialListAreaNode);
let specialListNode = cc.find("SpecialList", specialListRectNode);
this._specialListRectNode = specialListRectNode;
this._specialListNode = specialListNode;
this._specialListNode.addComponent(TVScrollParameter);
specialListAreaNode.width = 1280 - oModule.position[0];
specialListRectNode.width = 1280 - oModule.position[0];
specialListAreaNode.height = oModule.height;
specialListRectNode.height = oModule.height;
specialListAreaNode.getComponent(cc.Widget).top = oModule.position[1];
specialListAreaNode.getComponent(cc.Widget).left = oModule.position[0];
for (let k = 0; k < oModule.data.resultSet.length; k++) { //渲染子细胞
let node = cc.instantiate(this.PFB_COMMON);
if (oModule.childrenSize[0] && oModule.childrenSize[1]) {
node.height = oModule.childrenSize[1]; //拿子节点的高
node.width = oModule.childrenSize[0];
node.getChildByName('Pic').height = oModule.childrenSize[1]; //拿子节点的高
node.getChildByName('Pic').width = oModule.childrenSize[0];
}
// if (oModule.data.resultSet[k].imageURL) {
// cc.loader.loadRes(oModule.data.resultSet[k].imageURL, cc.Texture2D, function (err, texture) {
// node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
// });
// }
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + oModule.data.resultSet[k].imageURL, null,
function (texture, iRequestId) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
}, function () { }, this
);
node.x = node.width / 2 + k * (node.width + 24) - 20;
// node.getComponent(cc.Widget).top = 0;
// node.getComponent(cc.Widget).left = node.width / 2 + k * (node.width + 24);
specialListNode.addChild(node, 10, "SpecialList" + k);
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
fiNodeBlock.init('', true, null, null, 1.1);
fiNodeBlock.init(
oModule.data.resultSet[k].tvlink, true, null, null, 1.0 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0]["SpecialList" + k] = node;
}
specialListAreaNode.removeFromParent();
nodeLayout.addChild(specialListAreaNode, 10, "hasChildFrame");
}
else if (oModule.hasChildFrame && oModule.name != "SpecialList") {
let autoNode = new cc.Node(); //创建特殊层的第二层自动填充的布局
let autoNodeLayout = autoNode.addComponent(cc.Layout);
autoNodeLayout.type = cc.Layout.Type.GRID; //网格
autoNodeLayout.resizeMode = cc.Layout.ResizeMode.CHILDREN; //对子节点大小进行缩放
autoNodeLayout.startAxis = cc.Layout.AxisDirection.HORIZONTAL; //排版起始轴
autoNodeLayout.horizontalDirection = cc.Layout.HorizontalDirection.LEFT_TO_RIGHT; //布局方向
let widgetAutoNode = autoNode.addComponent(cc.Widget);
widgetAutoNode.isAlignLeft = true;
widgetAutoNode.isAlignTop = true;
autoNode.width = oModule.width; //获取自动布局宽高
if (oModule.childrenSize[0] && oModule.childrenSize[1]) {
autoNode.height = oModule.childrenSize[1]; //拿子节点的高
autoNodeLayout.cellSize = new cc.size(oModule.childrenSize[0], oModule.childrenSize[1]);
}
if (oModule.childrenMargin[1]) { //细胞间隔小些
autoNodeLayout.spacingX = oModule.childrenMargin[1];
}
if (oModule.position[0] != "undefined" && oModule.position[1] != "undefined") { //确定位置
widgetAutoNode.top = oModule.position[1];
widgetAutoNode.left = oModule.position[0];
}
for (let k = 0; k < oModule.data.resultSet.length; k++) { //渲染子细胞
let node = cc.instantiate(this.PFB_MAIN_HIGH_SCORE);
if (oModule.childrenSize[0] && oModule.childrenSize[1]) {
node.height = oModule.childrenSize[1]; //拿子节点的高
node.width = oModule.childrenSize[0];
if (oModule.name != "highScore") {
node.getChildByName('Pic').height = oModule.childrenSize[1]; //拿子节点的高
node.getChildByName('Pic').width = oModule.childrenSize[0];
}
}
if (oModule.data.resultSet[k].imageURL) {
// cc.loader.loadRes(oModule.data.resultSet[k].imageURL, cc.Texture2D, function (err, texture) {
// node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
// });
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + oModule.data.resultSet[k].imageURL, null,
function (texture, iRequestId) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
}, function () { }, this
);
}
//自动布局的文字填充
if (oModule.data.resultSet[k].title_visible == 1) { //
node.getComponent('pfbMainHighScoreCell').render(oModule.data.resultSet[k], function () { //让细胞自己渲染文字
}, k);
}
autoNode.addChild(node, 10, oModule.data.resultSet[k].code);
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
// fiNodeBlock.init('', true, null, null, 1.1);
fiNodeBlock.init(
oModule.data.resultSet[k].tvlink, true, null, null, 1.1 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0][oModule.data.resultSet[k].code] = node;
}
// autoNode.parent=nodeLayout;
// cc.log("添加循环子节点"+autoNode.childrenCount);
nodeLayout.addChild(autoNode, 10, "hasChildFrame");
} else {
let node = cc.instantiate(this.PFB_COMMON_WIDGET);
node.width = oModule.width;
node.height = oModule.height;
if (oModule.imageURL) {
if (oModule.name == "backToTop") {
// cc.loader.loadRes(oModule.imageURL, cc.Texture2D, function (err, texture) {
// node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oModule.width, oModule.height));
// });
this._oInit.backToTopImg = Common.TOPDRAW_IMAGE_SERVER + oModule.imageURL;
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + oModule.imageURL, null,
function (texture, iRequestId) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oModule.width, oModule.height));
}, function () { }, this
);
} else {
// cc.loader.loadRes(oModule.imageURL, cc.Texture2D, function (err, texture) {
// node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
// });
Network.loadImageInNativeRuntime(
Common.TOPDRAW_IMAGE_SERVER + oModule.imageURL, null,
function (texture, iRequestId) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
}, function () { }, this
);
}
}
node.getChildByName('Pic').width = oModule.width;
node.getChildByName('Pic').height = oModule.height;
node.getChildByName('Pic').getComponent(cc.Sprite).sizeMode = cc.Sprite.SizeMode.CUSTOM;
node.getComponent(cc.Widget).top = oModule.top;
node.getComponent(cc.Widget).left = oModule.left;
nodeLayout.addChild(node, 10, oModule.name);
if (!oModule.disable) { //标题不给他焦点
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
fiNodeBlock.init(
oModule.tvlink, true, null, null, 1.06 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0][oModule.code] = node;
}
if (0 == oModule.name.indexOf("blockShadow")) {
node.opacity = 0;
}
// if (oModule.title_visible == 1) { //
// cc.find('Name', node).active = true;
// cc.find('Name', node).width = oModule.width - 10;
// cc.find('Name/NameBg', node).width = oModule.width;
// cc.find('Name/NormalName', node).width = oModule.width - 10;
// cc.find('Name/ActiveName', node).width = oModule.width - 10;
// cc.find('Name/ActiveName/NameContainer', node).width = oModule.width - 10;
// cc.find('Name/ActiveName/NameContainer/NameText', node).width = oModule.width - 10;
// this.normalName.node.width = oModule.width - 10;
// this.activeName1.string = oModule.title;
// this.activeName2.string = oModule.title;
// this.normalName.string = oModule.title;
// this.activeName1._updateRenderData(true);
// this.activeName2._updateRenderData(true);
// this.normalName._updateRenderData(true);
// //调整文字位置
// let nodeCellName = this.node.getChildByName('Name');
// let nodeScreenTitleText = cc.find('ActiveName/NameContainer/NameText', nodeCellName);
// let nodeScreenTitleText1 = nodeScreenTitleText.getChildByName('NameText1');
// if (nodeScreenTitleText1.width > nodeScreenTitleText.width) {
// this.normalName.overflow = cc.Label.Overflow.CLAMP;
// this.normalName.enableWrapText = false;
// this.normalName.horizontalAlign = cc.Label.HorizontalAlign.LEFT;
// }
// }
}
}
if (oModule.data.resultSet[k].imageURL) {
cc.loader.loadRes(oModule.data.resultSet[k].imageURL, cc.Texture2D, function (err, texture) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
});
}
//自动布局的文字填充
if (oModule.data.resultSet[k].title_visible == 1) { //
node.getComponent('pfbMainHighScoreCell').render(oModule.data.resultSet[k], function () { //让细胞自己渲染文字
});
}
autoNode.addChild(node, 10, oModule.data.resultSet[k].code);
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
// fiNodeBlock.init('', true, null, null, 1.1);
fiNodeBlock.init(
oModule.data.resultSet[k].tvlink, true, null, null, 1.1 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0][oModule.data.resultSet[k].code] = node;
}
// autoNode.parent=nodeLayout;
// cc.log("添加循环子节点"+autoNode.childrenCount);
nodeLayout.addChild(autoNode, 10, "hasChildFrame");
} else {
let node = cc.instantiate(this.PFB_COMMON_WIDGET);
node.width = oModule.width;
node.height = oModule.height;
if (oModule.imageURL) {
if (oModule.name == "backToTop") {
cc.loader.loadRes(oModule.imageURL, cc.Texture2D, function (err, texture) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, oModule.width, oModule.height));
});
} else {
cc.loader.loadRes(oModule.imageURL, cc.Texture2D, function (err, texture) {
node.getChildByName('Pic').getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
});
}
}
node.getChildByName('Pic').width = oModule.width;
node.getChildByName('Pic').height = oModule.height;
node.getChildByName('Pic').getComponent(cc.Sprite).sizeMode = cc.Sprite.SizeMode.CUSTOM;
node.getComponent(cc.Widget).top = oModule.top;
node.getComponent(cc.Widget).left = oModule.left;
nodeLayout.addChild(node, 10, oModule.name);
if (!oModule.disable) { //标题不给他焦点
//准备焦点坐标
let fiNodeBlock = node.addComponent(FocusInfo);
fiNodeBlock.init(
oModule.tvlink, true, null, null, 1.06 //最后一个参数决定要不要放大显示
);
this._aFocusTargets[0][oModule.code] = node;
}
nodeLayout.parent = rightNodeLayout;
// cc.log("子节点:"+nodeLayout.childrenCount);
}
// this.node.getChildByName("scrollContent").height = 2300; //这里暂且写死,scrollView有bug
// cc.log("ScrollView高度: " + bgHeight); 2239
// this._scrollview.scrollToTop();
// cc.log("ScrollView相对的偏移量 "+this._scrollview.getMaxScrollOffset());
if (0 == oModule.name.indexOf("blockShadow")) {
node.opacity = 0;
}
// cc.log("子节点个数: "+rightNodeLayout.childrenCount);
// if (oModule.title_visible == 1) { //
// cc.find('Name', node).active = true;
// cc.find('Name', node).width = oModule.width - 10;
// cc.find('Name/NameBg', node).width = oModule.width;
// cc.find('Name/NormalName', node).width = oModule.width - 10;
// cc.find('Name/ActiveName', node).width = oModule.width - 10;
// cc.find('Name/ActiveName/NameContainer', node).width = oModule.width - 10;
// cc.find('Name/ActiveName/NameContainer/NameText', node).width = oModule.width - 10;
// this.normalName.node.width = oModule.width - 10;
// this.activeName1.string = oModule.title;
// this.activeName2.string = oModule.title;
// this.normalName.string = oModule.title;
// this.activeName1._updateRenderData(true);
// this.activeName2._updateRenderData(true);
// this.normalName._updateRenderData(true);
// //调整文字位置
// let nodeCellName = this.node.getChildByName('Name');
// let nodeScreenTitleText = cc.find('ActiveName/NameContainer/NameText', nodeCellName);
// let nodeScreenTitleText1 = nodeScreenTitleText.getChildByName('NameText1');
// if (nodeScreenTitleText1.width > nodeScreenTitleText.width) {
// this.normalName.overflow = cc.Label.Overflow.CLAMP;
// this.normalName.enableWrapText = false;
// this.normalName.horizontalAlign = cc.Label.HorizontalAlign.LEFT;
// }
// }
}
// this.getNaviPromotion("page_d14e8acf-db3d-4f74-b535-c98458596eb8");x
} catch (error) {
cc.log("Business Exception:Get getRightRecommendRequest..." + error);
}
}
nodeLayout.parent = rightNodeLayout;
// cc.log("子节点:"+nodeLayout.childrenCount);
}
this.node.getChildByName("scrollContent").height = 2300; //这里暂且写死,scrollView有bug
cc.log("ScrollView高度: " + bgHeight); 2239
this._scrollview.scrollToTop();
// cc.log("ScrollView相对的偏移量 "+this._scrollview.getMaxScrollOffset());
// cc.log("子节点个数: "+rightNodeLayout.childrenCount);
// this.getNaviPromotion("page_d14e8acf-db3d-4f74-b535-c98458596eb8");
},
function (strResponse) {
cc.log("Business Error:Get getRightRecommendRequest..." + strResponse);
}, this, "uuid");
},
requestMediaList: function (cId) {
......@@ -551,11 +636,11 @@ cc.Class({
// case BusinessParameter.CARTOON_APPID:
// this._oSceneContext.focusPath = this._oSceneContext.focusPath || "SongList/DataContainerMask/DataContainer/ListCell0/SongTitleContainer";
this._strSongListCellComponentName = "pfbCategoryListCell";
this._iBeginPositionX = -442;
this._iBeginPositionY = 180;
this._iShowCellRows = 3;
this._iAlphaCellRows = 0;
this._iHiddenCellRows = 3;
this._iBeginPositionX = -440;
this._iBeginPositionY = -5;
this._iShowCellRows = 1;
this._iAlphaCellRows = 4; //补丁:这里放很多Alpha半透明,为了解决向下滑动时找不到下方其他categoryList列表元素的问题
this._iHiddenCellRows = 1;
this._iCellCountEachRow = 4;
this._fCellMarginTop = 0;
this._fCellMarginRight = 24;
......@@ -650,7 +735,7 @@ cc.Class({
// lvCategoryList.loadData(
// function (strResponse) {
// cc.log("列表:" + JSON.stringify(this._aJsonList[this._oSceneContext._iCurrentLeftIndex]));
let strResponse = JSON.stringify(this._aJsonList[this._oSceneContext._iCurrentLeftIndex]); //这里采用列表
let strResponse = this._oInit.aCategoryListJson[this._oSceneContext._iCurrentLeftIndex]; //这里采用列表
lvCategoryList.renderInitData(strResponse, function () {
cc.log("InitCategoryList-------------------->");
var oJSONResult = JSON.parse(strResponse);
......@@ -729,6 +814,7 @@ cc.Class({
fiFocusTarget = aCheckResult[0];
oScrollParameter = aCheckResult[1];
if (0 == this._fiCurrentFocus.node.name.indexOf("CategoryListCell") && 0 == fiFocusTarget.node.name.indexOf("category_list_recommend")) {
if (Direct == Common.MOVE_DIRECTION_RIGHT) return; //补丁:这里向右如果滑到了上方会出现问题
this.onScrollViewScrollStart();
this._scrollview.scrollToOffset(cc.v2(0, 0), 0.1);
this._cFocus.hide();
......@@ -765,7 +851,7 @@ cc.Class({
if (0 == this._fiCurrentFocus.node.name.indexOf("category_list_recommend") && 0 == fiFocusTarget.node.name.indexOf("CategoryListCell")) {
this.onScrollViewScrollStart();
this._scrollview.scrollToOffset(cc.v2(0, 650), 0.1);
this._scrollview.scrollToOffset(cc.v2(0, 150), 0.1);
this._cFocus.hide();
var showFocusCallback = function (dt) {
this._cFocus.show();
......@@ -820,7 +906,7 @@ cc.Class({
var index = parseInt(this._fiCurrentFocus.node.getName().replace('CategoryListCell', ''));
cc.log("当前时多少条目:" + index);
let lvCategoryList = this.node.getChildByName("scrollContent").getChildByName('CategoryList').getComponent(ListView);
if (lvCategoryList.scrollARowUp(index, JSON.stringify(this._aJsonList[this._oSceneContext._iCurrentLeftIndex]))) {
if (lvCategoryList.scrollARowUp(index, this._oInit.aCategoryListJson[this._oSceneContext._iCurrentLeftIndex])) {
return;
}
}
......@@ -884,7 +970,7 @@ cc.Class({
if (0 == this._fiCurrentFocus.node.getName().indexOf('CategoryListCell')) {
var index = parseInt(this._fiCurrentFocus.node.getName().replace('CategoryListCell', ''));
let lvCategoryList = this.node.getChildByName("scrollContent").getChildByName('CategoryList').getComponent(ListView);
if (lvCategoryList.scrollARowDown(null, index, JSON.stringify(this._aJsonList[this._oSceneContext._iCurrentLeftIndex]))) {
if (lvCategoryList.scrollARowDown(null, index, this._oInit.aCategoryListJson[this._oSceneContext._iCurrentLeftIndex])) {
return;
}
}
......@@ -951,6 +1037,9 @@ cc.Class({
} else if (0 == fiCurrentFocus.node.getName().indexOf('backToTop')) {
this.backToTop();
return;
} else if (0 == fiCurrentFocus.node.getName().indexOf('topCell')) {
this.commonSimpleTip("敬请期待!", 3);
return;
}
else {
this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK);
......@@ -978,9 +1067,15 @@ cc.Class({
let fiTo = event.detail.to;
if (0 == fiFrom.node.getName().indexOf('backToTop')) {
cc.loader.loadRes("Main/icon_back", cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
// cc.loader.loadRes("Main/icon_back", cc.Texture2D, function (err, texture) {
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.backToTopImg, null,
function (texture, iRequestId) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
}, function () { }, this
);
}
if (0 == this._fiCurrentFocus.node.getName().indexOf('topNavi')) {
......@@ -988,13 +1083,31 @@ cc.Class({
let iIndex = fiFrom.node.name.replace("topNavi", '');
if (this._oInit.aTopNaviImg[iIndex - 1]) {
if (0 == fiTo.node.getName().indexOf('topNavi')) {
cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex - 1], cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
// cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex - 1], cc.Texture2D, function (err, texture) {
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopNaviImg[iIndex - 1], null,
function (texture, iRequestId) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
},
function () {
}, this
);
} else {
cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex - 1], cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height));
});
// cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex - 1], cc.Texture2D, function (err, texture) {
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopNaviImg[iIndex - 1], null,
function (texture, iRequestId) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiFrom.node.height * 2, fiFrom.node.width, fiFrom.node.height));
},
function () {
}, this
);
}
// Network.loadImageInNativeRuntime(
......@@ -1010,9 +1123,18 @@ cc.Class({
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
let iIndex = fiFrom.node.name.replace("topCell", '');
if (this._oInit.aTopCellImg[iIndex]) {
cc.loader.loadRes(this._oInit.aTopCellImg[iIndex], cc.Texture2D, function (err, texture) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
});
// cc.loader.loadRes(this._oInit.aTopCellImg[iIndex], cc.Texture2D, function (err, texture) {
// fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopCellImg[iIndex], null,
function (texture, iRequestId) {
fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height));
},
function () {
}, this
);
}
}
......@@ -1044,16 +1166,31 @@ cc.Class({
let iIndex = fiTo.node.name.replace("topCell", '');
cc.log(iIndex + "图片:" + this._oInit.aTopCellImg[iIndex]);
if (this._oInit.aTopCellImg[iIndex]) {
cc.loader.loadRes(this._oInit.aTopCellImg[iIndex], cc.Texture2D, function (err, texture) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
// cc.loader.loadRes(this._oInit.aTopCellImg[iIndex], cc.Texture2D, function (err, texture) {
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopCellImg[iIndex], null,
function (texture, iRequestId) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
},
function () {
this._iRenderItemCount--;
}, this
);
}
}
if (0 == fiTo.node.getName().indexOf('backToTop')) {
cc.loader.loadRes("Main/icon_back", cc.Texture2D, function (err, texture) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
// cc.loader.loadRes("Main/icon_back", cc.Texture2D, function (err, texture) {
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.backToTopImg, null,
function (texture, iRequestId) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
}, function () { }, this
);
}
......@@ -1062,15 +1199,18 @@ cc.Class({
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
cc.log(iIndex + " ... " + this._oInit.aTopNaviImg[iIndex]);
if (this._oInit.aTopNaviImg[iIndex - 1]) {
cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex - 1], cc.Texture2D, function (err, texture) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
});
// Network.loadImageInNativeRuntime(
// this._oInit.aTopNaviImg[iIndex],
// function (texture) {
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// }, null, this
// );
// cc.loader.loadRes(this._oInit.aTopNaviImg[iIndex - 1], cc.Texture2D, function (err, texture) {
// fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
// });
Network.loadImageInNativeRuntime(
this._oInit.aTopNaviImg[iIndex - 1], null,
function (texture, iRequestId) {
fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height));
},
function () {
this._iRenderItemCount--;
}, this
);
}
this._oSceneContext._iCurrentLeftIndex = iIndex;
......

22.2 KB | W: | H:

10.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
......@@ -24,20 +24,23 @@
"__id__": 6
},
{
"__id__": 17
"__id__": 10
},
{
"__id__": 21
}
],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 48
},
{
"__id__": 45
"__id__": 49
}
],
"_prefab": {
"__id__": 46
"__id__": 50
},
"_opacity": 255,
"_color": {
......@@ -247,6 +250,141 @@
},
{
"__type__": "cc.Node",
"_name": "Mark",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
},
{
"__id__": 8
}
],
"_prefab": {
"__id__": 9
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
-78,
137,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 8,
"_right": 0,
"_top": -3,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "944bc282-8d95-4353-8325-4defd338a860"
},
"fileId": "3c+bNdBfdEe6C09Qw4EBms",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Normal",
"_objFlags": 0,
"_parent": {
......@@ -254,23 +392,23 @@
},
"_children": [
{
"__id__": 7
"__id__": 11
},
{
"__id__": 10
"__id__": 14
}
],
"_active": false,
"_components": [
{
"__id__": 14
"__id__": 18
},
{
"__id__": 15
"__id__": 19
}
],
"_prefab": {
"__id__": 16
"__id__": 20
},
"_opacity": 255,
"_color": {
......@@ -324,17 +462,17 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
"__id__": 12
}
],
"_prefab": {
"__id__": 9
"__id__": 13
},
"_opacity": 25,
"_color": {
......@@ -388,7 +526,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
"__id__": 11
},
"_enabled": true,
"_materials": [
......@@ -431,20 +569,20 @@
"_name": "Name",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
"__id__": 15
},
{
"__id__": 12
"__id__": 16
}
],
"_prefab": {
"__id__": 13
"__id__": 17
},
"_opacity": 255,
"_color": {
......@@ -498,7 +636,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 14
},
"_enabled": true,
"_materials": [
......@@ -528,7 +666,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 14
},
"_enabled": true,
"alignMode": 1,
......@@ -566,7 +704,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
"__id__": 10
},
"_enabled": true,
"_materials": [
......@@ -586,7 +724,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
"__id__": 10
},
"_enabled": true,
"alignMode": 1,
......@@ -628,26 +766,26 @@
},
"_children": [
{
"__id__": 18
"__id__": 22
},
{
"__id__": 21
"__id__": 25
},
{
"__id__": 34
"__id__": 38
}
],
"_active": false,
"_components": [
{
"__id__": 41
"__id__": 45
},
{
"__id__": 42
"__id__": 46
}
],
"_prefab": {
"__id__": 43
"__id__": 47
},
"_opacity": 255,
"_color": {
......@@ -713,17 +851,17 @@
"_name": "NameBg",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 23
}
],
"_prefab": {
"__id__": 20
"__id__": 24
},
"_opacity": 255,
"_color": {
......@@ -789,7 +927,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 22
},
"_enabled": true,
"_materials": [
......@@ -832,17 +970,17 @@
"_name": "ActiveName",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 21
},
"_children": [
{
"__id__": 22
"__id__": 26
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 33
"__id__": 37
},
"_opacity": 255,
"_color": {
......@@ -908,21 +1046,21 @@
"_name": "NameContainer",
"_objFlags": 0,
"_parent": {
"__id__": 21
"__id__": 25
},
"_children": [
{
"__id__": 23
"__id__": 27
}
],
"_active": true,
"_components": [
{
"__id__": 31
"__id__": 35
}
],
"_prefab": {
"__id__": 32
"__id__": 36
},
"_opacity": 0,
"_color": {
......@@ -988,20 +1126,20 @@
"_name": "NameText",
"_objFlags": 0,
"_parent": {
"__id__": 22
"__id__": 26
},
"_children": [
{
"__id__": 24
"__id__": 28
},
{
"__id__": 27
"__id__": 31
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 30
"__id__": 34
},
"_opacity": 255,
"_color": {
......@@ -1067,17 +1205,17 @@
"_name": "NameText1",
"_objFlags": 0,
"_parent": {
"__id__": 23
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 29
}
],
"_prefab": {
"__id__": 26
"__id__": 30
},
"_opacity": 255,
"_color": {
......@@ -1143,7 +1281,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 28
},
"_enabled": true,
"_materials": [
......@@ -1184,17 +1322,17 @@
"_name": "NameText2",
"_objFlags": 0,
"_parent": {
"__id__": 23
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 32
}
],
"_prefab": {
"__id__": 29
"__id__": 33
},
"_opacity": 255,
"_color": {
......@@ -1260,7 +1398,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"_materials": [
......@@ -1312,7 +1450,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 26
},
"_enabled": true,
"_materials": [
......@@ -1354,24 +1492,24 @@
"_name": "NormalName",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 21
},
"_children": [
{
"__id__": 35
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 42
},
{
"__id__": 39
"__id__": 43
}
],
"_prefab": {
"__id__": 40
"__id__": 44
},
"_opacity": 255,
"_color": {
......@@ -1437,17 +1575,17 @@
"_name": "MidName",
"_objFlags": 0,
"_parent": {
"__id__": 34
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 40
}
],
"_prefab": {
"__id__": 37
"__id__": 41
},
"_opacity": 255,
"_color": {
......@@ -1513,7 +1651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"_materials": [
......@@ -1554,7 +1692,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"_materials": [
......@@ -1574,7 +1712,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"alignMode": 1,
......@@ -1612,7 +1750,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 21
},
"_enabled": true,
"_materials": [],
......@@ -1638,7 +1776,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 21
},
"_enabled": true,
"alignMode": 1,
......@@ -1684,17 +1822,20 @@
"pic": {
"__id__": 3
},
"mark": {
"__id__": 7
},
"activeName1": {
"__id__": 25
"__id__": 29
},
"activeName2": {
"__id__": 28
"__id__": 32
},
"normalName": {
"__id__": 36
"__id__": 40
},
"Name": {
"__id__": 11
"__id__": 15
},
"_id": ""
},
......
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "pfbSystemPrompt",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 26
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 178,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "5bmfffnaZMqpIMdHNnd0Ro",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "PromptBox",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 6
},
{
"__id__": 9
},
{
"__id__": 12
},
{
"__id__": 18
}
],
"_active": true,
"_components": [
{
"__id__": 24
}
],
"_prefab": {
"__id__": 25
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 619,
"height": 332
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Title",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 174.01,
"height": 90.72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
130.5,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "系 统 提 示",
"_N$string": "系 统 提 示",
"_fontSize": 36,
"_lineHeight": 72,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "caRAXZayVLJbxwxw0aYl+Z",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Content",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 298.34,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "你 确 定 要 退 出 吗 ?",
"_N$string": "你 确 定 要 退 出 吗 ?",
"_fontSize": 30,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "a4w7jaogZBVaod0zyMuSf6",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Confirm",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 16
}
],
"_prefab": {
"__id__": 17
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 172,
"height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
-120,
-96,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
}
],
"_prefab": {
"__id__": 15
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "确定",
"_N$string": "确定",
"_fontSize": 24,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "cd9ony+xtAXbuBCdTMv6Pz",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbc4b45d-fc95-4eee-b335-cdfd8dcdc8a0"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "0368f1AkdOL5EKDmlqvFej",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Cancel",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 19
}
],
"_active": true,
"_components": [
{
"__id__": 22
}
],
"_prefab": {
"__id__": 23
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 172,
"height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
121,
-96,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": {
"__id__": 21
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float32Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "取消",
"_N$string": "取消",
"_fontSize": 24,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "0chHzDCjZKHqeZ5S25I1Jh",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbc4b45d-fc95-4eee-b335-cdfd8dcdc8a0"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "6f+XVuoLpG3acrEOpLn3Tu",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "a8guWiadxOIaU0ktlXrhwa",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c5a890ee-cf1d-4c68-bade-deea19b4ed21"
},
"fileId": "2eud1EkclLMpkhGbtKWfZT",
"sync": false
}
]
\ No newline at end of file

1.61 KB | W: | H:

1.03 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

147 Bytes | W: | H:

937 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.77 KB | W: | H:

1.03 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

149 Bytes | W: | H:

931 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

141 Bytes | W: | H:

928 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.75 KB | W: | H:

1.02 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

148 Bytes | W: | H:

933 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.67 KB | W: | H:

1.02 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
......@@ -14,7 +14,7 @@
"size": 74263,
"enable": true,
"name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png",
"fileUrl": "GameCategory/icon_top1.png",
"fileUrl": "upload/image/category//icon_top1.png",
"id": 7509,
"type": 2,
"width": 236,
......@@ -31,7 +31,7 @@
"size": 74263,
"enable": true,
"name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png",
"fileUrl": "GameCategory/icon_top2.png",
"fileUrl": "upload/image/category//icon_top2.png",
"id": 7509,
"type": 2,
"width": 236,
......@@ -48,7 +48,7 @@
"size": 74263,
"enable": true,
"name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png",
"fileUrl": "GameCategory/icon_top3.png",
"fileUrl": "upload/image/category//icon_top3.png",
"id": 7509,
"type": 2,
"width": 236,
......@@ -65,7 +65,7 @@
"size": 74263,
"enable": true,
"name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png",
"fileUrl": "GameCategory/icon_top4.png",
"fileUrl": "upload/image/category//icon_top4.png",
"id": 7509,
"type": 2,
"width": 236,
......@@ -82,7 +82,7 @@
"size": 74263,
"enable": true,
"name": "b2b1bb5f-a956-4930-9273-eb72920a9faa.png",
"fileUrl": "GameCategory/icon_top5.png",
"fileUrl": "upload/image/category//icon_top5.png",
"id": 7509,
"type": 2,
"width": 236,
......
{
"businessCode": "success",
"count": 17,
"count": 15,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,7 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -54,21 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "小伴龙体感儿歌",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "小伴龙体感儿歌简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/小伴龙体感儿歌270-167.jpg",
"fileUrl": "upload/image/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -82,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -96,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR真人快打270-167.jpg",
"fileUrl": "upload/image/games/AR真人快打270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -110,7 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/疯狂赛车手270-167.jpg",
"fileUrl": "upload/image/games/疯狂赛车手270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -124,7 +110,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/魔法沙拉270-167.jpg",
"fileUrl": "upload/image/games/魔法沙拉270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -138,7 +124,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/红杏佛跳墙270-167.png",
"fileUrl": "upload/image/games/红杏佛跳墙270-167.png",
"width": 270,
"height": 167
}]
......@@ -152,7 +138,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -166,21 +152,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "帝国守护者",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "帝国守护者简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/帝国守护者270-167.jpg",
"fileUrl": "upload/image/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -194,7 +166,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/拯救小羊270-167.jpg",
"fileUrl": "upload/image/games/拯救小羊270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -208,7 +180,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -222,7 +194,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/热血篮球270-167.jpg",
"fileUrl": "upload/image/games/热血篮球270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -236,7 +208,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR环保课堂270-167.png",
"fileUrl": "upload/image/games/AR环保课堂270-167.png",
"width": 270,
"height": 167
}]
......
{
"businessCode": "success",
"count2": 9,
"count": 27,
"count": 25,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -13,7 +13,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -27,7 +27,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -41,7 +41,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -55,21 +55,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "小伴龙体感儿歌",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "小伴龙体感儿歌简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/小伴龙体感儿歌270-167.jpg",
"fileUrl": "upload/image/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -83,7 +69,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -97,7 +83,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR真人快打270-167.jpg",
"fileUrl": "upload/image/games/AR真人快打270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -111,7 +97,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/疯狂赛车手270-167.jpg",
"fileUrl": "upload/image/games/疯狂赛车手270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -125,7 +111,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/魔法沙拉270-167.jpg",
"fileUrl": "upload/image/games/魔法沙拉270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -139,7 +125,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/红杏佛跳墙270-167.png",
"fileUrl": "upload/image/games/红杏佛跳墙270-167.png",
"width": 270,
"height": 167
}]
......@@ -153,7 +139,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -167,21 +153,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "帝国守护者",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "帝国守护者简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/帝国守护者270-167.jpg",
"fileUrl": "upload/image/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -195,7 +167,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/拯救小羊270-167.jpg",
"fileUrl": "upload/image/games/拯救小羊270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -209,7 +181,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -223,7 +195,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/热血篮球270-167.jpg",
"fileUrl": "upload/image/games/热血篮球270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -237,7 +209,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR环保课堂270-167.png",
"fileUrl": "upload/image/games/AR环保课堂270-167.png",
"width": 270,
"height": 167
}]
......@@ -251,7 +223,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/猜猜我是谁270-167.png",
"fileUrl": "upload/image/games/猜猜我是谁270-167.png",
"width": 270,
"height": 167
}]
......@@ -265,7 +237,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐叠蛋糕270-167.png",
"fileUrl": "upload/image/games/欢乐叠蛋糕270-167.png",
"width": 270,
"height": 167
}]
......@@ -279,7 +251,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/记忆翻牌270-167.png",
"fileUrl": "upload/image/games/记忆翻牌270-167.png",
"width": 270,
"height": 167
}]
......@@ -293,7 +265,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/接糖果270-167.png",
"fileUrl": "upload/image/games/接糖果270-167.png",
"width": 270,
"height": 167
}]
......@@ -307,7 +279,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/数一数270-167.png",
"fileUrl": "upload/image/games/数一数270-167.png",
"width": 270,
"height": 167
}]
......@@ -321,7 +293,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/它的颜色270-167.png",
"fileUrl": "upload/image/games/它的颜色270-167.png",
"width": 270,
"height": 167
}]
......@@ -335,7 +307,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奔跑吧小兔子270-167.png",
"fileUrl": "upload/image/games/奔跑吧小兔子270-167.png",
"width": 270,
"height": 167
}]
......@@ -349,7 +321,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/旋转海盗270-167.png",
"fileUrl": "upload/image/games/旋转海盗270-167.png",
"width": 270,
"height": 167
}]
......@@ -363,7 +335,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/飞檐走壁270-167.png",
"fileUrl": "upload/image/games/飞檐走壁270-167.png",
"width": 270,
"height": 167
}]
......@@ -377,7 +349,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/火箭小象270-167.png",
"fileUrl": "upload/image/games/火箭小象270-167.png",
"width": 270,
"height": 167
}]
......
{
"businessCode": "success",
"count": 8,
"count": 7,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,21 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "小伴龙体感儿歌",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "小伴龙体感儿歌简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/小伴龙体感儿歌270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -68,7 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -82,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/红杏佛跳墙270-167.png",
"fileUrl": "upload/image/games/红杏佛跳墙270-167.png",
"width": 270,
"height": 167
}]
......@@ -96,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -110,7 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......
{
"businessCode": "success",
"count": 15,
"count": 13,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,7 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -54,21 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "小伴龙体感儿歌",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "小伴龙体感儿歌简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/小伴龙体感儿歌270-167.jpg",
"fileUrl": "upload/image/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -82,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -96,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR真人快打270-167.jpg",
"fileUrl": "upload/image/games/AR真人快打270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -110,7 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/疯狂赛车手270-167.jpg",
"fileUrl": "upload/image/games/疯狂赛车手270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -124,7 +110,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/魔法沙拉270-167.jpg",
"fileUrl": "upload/image/games/魔法沙拉270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -138,7 +124,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/红杏佛跳墙270-167.png",
"fileUrl": "upload/image/games/红杏佛跳墙270-167.png",
"width": 270,
"height": 167
}]
......@@ -152,7 +138,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -166,21 +152,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "帝国守护者",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "帝国守护者简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/帝国守护者270-167.jpg",
"fileUrl": "upload/image/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -194,7 +166,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -208,7 +180,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/热血篮球270-167.jpg",
"fileUrl": "upload/image/games/热血篮球270-167.jpg",
"width": 270,
"height": 167
}]
......
{
"businessCode": "success",
"count": 13,
"count": 11,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,7 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -54,21 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "小伴龙体感儿歌",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "小伴龙体感儿歌简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/小伴龙体感儿歌270-167.jpg",
"fileUrl": "upload/image/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -82,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -96,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/疯狂赛车手270-167.jpg",
"fileUrl": "upload/image/games/疯狂赛车手270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -110,21 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "帝国守护者",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "帝国守护者简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/帝国守护者270-167.jpg",
"fileUrl": "upload/image/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -138,7 +110,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/拯救小羊270-167.jpg",
"fileUrl": "upload/image/games/拯救小羊270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -152,7 +124,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/旋转海盗270-167.png",
"fileUrl": "upload/image/games/旋转海盗270-167.png",
"width": 270,
"height": 167
}]
......@@ -166,7 +138,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/飞檐走壁270-167.png",
"fileUrl": "upload/image/games/飞檐走壁270-167.png",
"width": 270,
"height": 167
}]
......@@ -180,7 +152,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/火箭小象270-167.png",
"fileUrl": "upload/image/games/火箭小象270-167.png",
"width": 270,
"height": 167
}]
......
{
"businessCode": "success",
"count": 8,
"count": 7,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,21 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "小伴龙体感儿歌",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "小伴龙体感儿歌简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/小伴龙体感儿歌270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -68,7 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -82,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/红杏佛跳墙270-167.png",
"fileUrl": "upload/image/games/红杏佛跳墙270-167.png",
"width": 270,
"height": 167
}]
......@@ -96,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -110,7 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......
......@@ -13,7 +13,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -27,7 +27,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -41,7 +41,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐剧场270-167.jpg",
"fileUrl": "upload/image/games/欢乐剧场270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -55,7 +55,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/拯救小羊270-167.jpg",
"fileUrl": "upload/image/games/拯救小羊270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -69,7 +69,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/猜猜我是谁270-167.png",
"fileUrl": "upload/image/games/猜猜我是谁270-167.png",
"width": 270,
"height": 167
}]
......@@ -83,7 +83,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/旋转海盗270-167.png",
"fileUrl": "upload/image/games/旋转海盗270-167.png",
"width": 270,
"height": 167
}]
......
{
"businessCode": "success",
"count": 8,
"count": 7,
"currentTime": 1581929128107,
"description": "",
"resultSet": [{
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝体能课堂270-167.jpg",
"fileUrl": "upload/image/games/O宝体能课堂270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,7 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝单词连连看270-167.jpg",
"fileUrl": "upload/image/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -54,21 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
},
{
"name": "帝国守护者",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"package_name": "com.orbbec.braintrain",
"description": "帝国守护者简介",
"image": [{
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/帝国守护者270-167.jpg",
"fileUrl": "upload/image/games/O宝互动书屋 270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -82,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/猜猜我是谁270-167.png",
"fileUrl": "upload/image/games/猜猜我是谁270-167.png",
"width": 270,
"height": 167
}]
......@@ -96,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/记忆翻牌270-167.png",
"fileUrl": "upload/image/games/记忆翻牌270-167.png",
"width": 270,
"height": 167
}]
......@@ -110,7 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/它的颜色270-167.png",
"fileUrl": "upload/image/games/它的颜色270-167.png",
"width": 270,
"height": 167
}]
......
......@@ -13,7 +13,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR真人快打270-167.jpg",
"fileUrl": "upload/image/games/AR真人快打270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -27,7 +27,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/疯狂赛车手270-167.jpg",
"fileUrl": "upload/image/games/疯狂赛车手270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -41,7 +41,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -55,7 +55,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -69,7 +69,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/热血篮球270-167.jpg",
"fileUrl": "upload/image/games/热血篮球270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -83,7 +83,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐叠蛋糕270-167.png",
"fileUrl": "upload/image/games/欢乐叠蛋糕270-167.png",
"width": 270,
"height": 167
}]
......@@ -97,7 +97,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奔跑吧小兔子270-167.png",
"fileUrl": "upload/image/games/奔跑吧小兔子270-167.png",
"width": 270,
"height": 167
}]
......@@ -111,7 +111,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/旋转海盗270-167.png",
"fileUrl": "upload/image/games/旋转海盗270-167.png",
"width": 270,
"height": 167
}]
......@@ -125,7 +125,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/飞檐走壁270-167.png",
"fileUrl": "upload/image/games/飞檐走壁270-167.png",
"width": 270,
"height": 167
}]
......@@ -139,7 +139,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/火箭小象270-167.png",
"fileUrl": "upload/image/games/火箭小象270-167.png",
"width": 270,
"height": 167
}]
......
......@@ -12,7 +12,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/o宝脑力训练270-167.jpg",
"fileUrl": "upload/image/games/o宝脑力训练270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -26,7 +26,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奇幻海底270-167.jpg",
"fileUrl": "upload/image/games/奇幻海底270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -40,7 +40,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/O宝单词连连看270-167.jpg",
"fileUrl": "upload/image/games/O宝单词连连看270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -54,7 +54,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/魔法沙拉270-167.jpg",
"fileUrl": "upload/image/games/魔法沙拉270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -68,7 +68,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/红杏佛跳墙270-167.png",
"fileUrl": "upload/image/games/红杏佛跳墙270-167.png",
"width": 270,
"height": 167
}]
......@@ -82,7 +82,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/勇敢的啫喱270-167.jpg",
"fileUrl": "upload/image/games/勇敢的啫喱270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -96,7 +96,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/拯救小羊270-167.jpg",
"fileUrl": "upload/image/games/拯救小羊270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -110,7 +110,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐跳一跳270-167.jpg",
"fileUrl": "upload/image/games/欢乐跳一跳270-167.jpg",
"width": 270,
"height": 167
}]
......@@ -124,7 +124,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/AR环保课堂270-167.png",
"fileUrl": "upload/image/games/AR环保课堂270-167.png",
"width": 270,
"height": 167
}]
......@@ -138,7 +138,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/猜猜我是谁270-167.png",
"fileUrl": "upload/image/games/猜猜我是谁270-167.png",
"width": 270,
"height": 167
}]
......@@ -152,7 +152,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐叠蛋糕270-167.png",
"fileUrl": "upload/image/games/欢乐叠蛋糕270-167.png",
"width": 270,
"height": 167
}]
......@@ -166,7 +166,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/记忆翻牌270-167.png",
"fileUrl": "upload/image/games/记忆翻牌270-167.png",
"width": 270,
"height": 167
}]
......@@ -180,7 +180,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/接糖果270-167.png",
"fileUrl": "upload/image/games/接糖果270-167.png",
"width": 270,
"height": 167
}]
......@@ -194,7 +194,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/数一数270-167.png",
"fileUrl": "upload/image/games/数一数270-167.png",
"width": 270,
"height": 167
}]
......@@ -208,7 +208,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/它的颜色270-167.png",
"fileUrl": "upload/image/games/它的颜色270-167.png",
"width": 270,
"height": 167
}]
......@@ -222,7 +222,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奔跑吧小兔子270-167.png",
"fileUrl": "upload/image/games/奔跑吧小兔子270-167.png",
"width": 270,
"height": 167
}]
......@@ -236,7 +236,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/旋转海盗270-167.png",
"fileUrl": "upload/image/games/旋转海盗270-167.png",
"width": 270,
"height": 167
}]
......@@ -250,7 +250,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/飞檐走壁270-167.png",
"fileUrl": "upload/image/games/飞檐走壁270-167.png",
"width": 270,
"height": 167
}]
......@@ -264,7 +264,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/火箭小象270-167.png",
"fileUrl": "upload/image/games/火箭小象270-167.png",
"width": 270,
"height": 167
}]
......
......@@ -13,7 +13,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/猜猜我是谁270-167.png",
"fileUrl": "upload/image/games/猜猜我是谁270-167.png",
"width": 270,
"height": 167
}]
......@@ -27,7 +27,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/欢乐叠蛋糕270-167.png",
"fileUrl": "upload/image/games/欢乐叠蛋糕270-167.png",
"width": 270,
"height": 167
}]
......@@ -41,7 +41,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/记忆翻牌270-167.png",
"fileUrl": "upload/image/games/记忆翻牌270-167.png",
"width": 270,
"height": 167
}]
......@@ -55,7 +55,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/接糖果270-167.png",
"fileUrl": "upload/image/games/接糖果270-167.png",
"width": 270,
"height": 167
}]
......@@ -69,7 +69,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/数一数270-167.png",
"fileUrl": "upload/image/games/数一数270-167.png",
"width": 270,
"height": 167
}]
......@@ -83,7 +83,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/它的颜色270-167.png",
"fileUrl": "upload/image/games/它的颜色270-167.png",
"width": 270,
"height": 167
}]
......@@ -97,7 +97,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/奔跑吧小兔子270-167.png",
"fileUrl": "upload/image/games/奔跑吧小兔子270-167.png",
"width": 270,
"height": 167
}]
......@@ -111,7 +111,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/旋转海盗270-167.png",
"fileUrl": "upload/image/games/旋转海盗270-167.png",
"width": 270,
"height": 167
}]
......@@ -125,7 +125,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/飞檐走壁270-167.png",
"fileUrl": "upload/image/games/飞檐走壁270-167.png",
"width": 270,
"height": 167
}]
......@@ -139,7 +139,7 @@
"extension": ".png",
"size": 100405,
"enable": true,
"fileUrl": "GameCategory/games/火箭小象270-167.png",
"fileUrl": "upload/image/games/火箭小象270-167.png",
"width": 270,
"height": 167
}]
......
......@@ -8,7 +8,7 @@
"code": "promotionItem_fd456495-2e32-44e1-9d92-q4ert34",
"left": 64,
"top": 180,
"imageURL": "Main/main_category1",
"imageURL": "upload/image/main/main_category1.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.bird\"}}]}",
"width": 270,
"height": 449
......@@ -19,7 +19,7 @@
"left": 358,
"top": 180,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.guess\"}}]}",
"imageURL": "Main/main_category2",
"imageURL": "upload/image/main/main_category2.png",
"width": 417,
"height": 258
},
......@@ -29,7 +29,7 @@
"left": 799,
"top": 180,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.cake\"}}]}",
"imageURL": "Main/main_category3",
"imageURL": "upload/image/main/main_category3.png",
"width": 417,
"height": 258
},
......@@ -39,7 +39,7 @@
"left": 358,
"top": 462,
"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\"}}]}",
"imageURL": "Main/main_category4",
"imageURL": "upload/image/main/main_category4.jpg",
"width": 270,
"height": 167
},
......@@ -49,7 +49,7 @@
"left": 652,
"top": 462,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"imageURL": "Main/main_category5",
"imageURL": "upload/image/main/main_category5.jpg",
"width": 270,
"height": 167
},
......@@ -59,7 +59,7 @@
"left": 946,
"top": 462,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}",
"imageURL": "Main/main_category6",
"imageURL": "upload/image/main/main_category6.jpg",
"width": 270,
"height": 167
}
......
......@@ -31,7 +31,7 @@
"click": ""
},
"type": "promotion_item",
"imageURL": "Main/logo_taohaowan",
"imageURL": "upload/image/main/logo_taohaowan.png",
"width": 195,
"height": 79,
"code": "eb954b1e-712e-415c-ba27-aw43egqvre",
......@@ -42,24 +42,24 @@
"name": "精选推荐",
"tvlink": "",
"type": "promotion_item",
"imageURL": "Main/icon_top1",
"imageURL": "upload/image/main/icon_top1.png",
"code": "eb954b1e-712e-415c-ba27-asryg34ret43",
"width": 170,
"height": 85,
"top": 117,
"left": 88
"left": 60
},
{
"name": "休闲益智",
"//": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"tvlink": "",
"type": "promotion_item",
"imageURL": "Main/icon_top2",
"imageURL": "upload/image/main/icon_top2.png",
"width": 170,
"height": 85,
"code": "eb954b1e-712e-415c-ba27-wetgrsehr6t",
"top": 117,
"left": 260
"left": 230
},
{
"name": "动作体感",
......@@ -74,12 +74,12 @@
]
},
"type": "promotion_item",
"imageURL": "Main/icon_top3",
"imageURL": "upload/image/main/icon_top3.png",
"code": "eb954b1e-712e-415c-ba27-erhg43f4",
"width": 170,
"height": 85,
"top": 117,
"left": 432
"left": 400
},
{
"name": "3D游戏",
......@@ -94,12 +94,12 @@
]
},
"type": "promotion_item",
"imageURL": "Main/icon_top4",
"imageURL": "upload/image/main/icon_top4.png",
"code": "eb954b1e-712e-415c-ba27-fq34t34fe",
"width": 170,
"height": 85,
"top": 117,
"left": 603
"left": 570
},
{
"name": "经营策略",
......@@ -114,12 +114,12 @@
]
},
"type": "promotion_item",
"imageURL": "Main/icon_top5",
"imageURL": "upload/image/main/icon_top5.png",
"width": 170,
"height": 85,
"code": "eb954b1e-712e-415c-ba27-fq34tf4",
"top": 117,
"left": 780
"left": 740
},
{
"name": "体育竞技",
......@@ -134,12 +134,12 @@
]
},
"type": "promotion_item",
"imageURL": "Main/icon_top7",
"imageURL": "upload/image/main/icon_top7.png",
"width": 170,
"height": 85,
"code": "eb954b1e-712e-415c-ba27-f43werterf",
"top": 117,
"left": 950
"left": 910
}
]
},
......@@ -177,7 +177,7 @@
]
},
"type": "promotion_item",
"imageURL": "Main/icon_personal"
"imageURL": "upload/image/main/icon_personal.png"
},
{
"name": "订购",
......@@ -197,7 +197,7 @@
]
},
"type": "promotion_item",
"imageURL": "Main/icon_order"
"imageURL": "upload/image/main/icon_order.png"
}
]
},
......
......@@ -13,7 +13,7 @@
"code": "promotionItem_fd456495-2e32-44e1-9d92-q4ert34",
"left": 63,
"top": 0,
"imageURL": "Main/block1_1",
"imageURL": "upload/image/main/block1_1.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.cake\"}}]}",
"width": 270,
"height": 162
......@@ -24,56 +24,16 @@
"left": 63,
"top": 185,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.candy\"}}]}",
"imageURL": "Main/block1_2",
"imageURL": "upload/image/main/block1_2.png",
"width": 270,
"height": 162
},
{
"name": "view_pager_label0",
"code": "ViewPager0",
"left": 922,
"top": 0,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.Orbbec.BraveJelly\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.Orbbec.BraveJelly_v2.0.27_bc31_20190702_Release.apk\"}}]}",
"imageURL": "",
"width": 294,
"height": 86
},
{
"name": "view_pager_label1",
"code": "blockShadow1",
"left": 922,
"top": 88,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.run\"}}]}",
"imageURL": "",
"width": 294,
"height": 86
},
{
"name": "view_pager_label2",
"code": "blockShadow2",
"left": 922,
"top": 176,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.Orbbec.MagicSalad2\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.Orbbec.MagicSalad2_v1.2.0_20190110_Release.apk\"}}]}",
"imageURL": "",
"width": 294,
"height": 86
},
{
"name": "view_pager_label3",
"code": "blockShadow3",
"left": 922,
"top": 264,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.fanpai\"}}]}",
"imageURL": "",
"width": 294,
"height": 86
}
]
}
},
{
"name": "轮播下方图片",
"height": 230,
"height": 205,
"hasChildFrame": true,
"data": {
"name": "frame1",
......@@ -84,7 +44,7 @@
"left": 64,
"top": 0,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.shuyishu\"}}]}",
"imageURL": "Main/block2_1",
"imageURL": "upload/image/main/block2_1.png",
"width": 270,
"height": 167
},
......@@ -94,7 +54,7 @@
"left": 359,
"top": 0,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.motor\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.motor_v1.2.11_20190704.apk\"}}]}",
"imageURL": "Main/block2_2",
"imageURL": "upload/image/main/block2_2.jpg",
"width": 270,
"height": 167
},
......@@ -104,7 +64,7 @@
"left": 652,
"top": 0,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.garbage\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.garbage_v2.0.8_bc6_20190826.apk\"}}]}",
"imageURL": "Main/block2_3",
"imageURL": "upload/image/main/block2_3.png",
"width": 270,
"height": 167
},
......@@ -114,7 +74,7 @@
"left": 946,
"top": 0,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.guesscolor\"}}]}",
"imageURL": "Main/block2_4",
"imageURL": "upload/image/main/block2_4.png",
"width": 270,
"height": 167
}
......@@ -123,7 +83,7 @@
},
{
"name": "特色推荐",
"height": 220,
"height": 195,
"hasChildFrame": true,
"data": {
"name": "frame2",
......@@ -133,7 +93,7 @@
"code": "promotionItem_8a4a1762-22e8-4a1e-ae4yh54hw5",
"left": 63,
"top": 0,
"imageURL": "Main/font_2",
"imageURL": "upload/image/main/font_2.png",
"width": 126,
"height": 31,
"disable": true
......@@ -164,37 +124,37 @@
"resultSet": [
{
"name": "Subject1",
"imageURL": "Main/block4_1",
"imageURL": "upload/image/main/block4_1.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"code": "promotionItem_e432ac2d-c1f3-4daehr4w5g4w5yh4w5yh"
},
{
"name": "Subject2",
"imageURL": "Main/block4_2",
"imageURL": "upload/image/main/block4_2.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"code": "promotionItem_f90b7ff3-1f36-401erhb54wyh4th"
},
{
"name": "Subject3",
"imageURL": "Main/block4_3",
"imageURL": "upload/image/main/block4_3.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"code": "promotionItem_e29b33e4-8954-4eerthy6rthg54er"
},
{
"name": "Subject3",
"imageURL": "Main/block4_4",
"imageURL": "upload/image/main/block4_4.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"code": "promotionItem_e29b33e4-8954-vwregv54thw6"
},
{
"name": "Subject3",
"imageURL": "Main/block4_5",
"imageURL": "upload/image/main/block4_5.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"code": "promotionItem_e29b33e4-8954-bq4wrjhwbt4t"
},
{
"name": "Subject4",
"imageURL": "Main/block4_6",
"imageURL": "upload/image/main/block4_6.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameCategory\"}}]}",
"code": "promotionItem_57aea4b3-7716-4we5j56trhgser2"
}
......@@ -218,7 +178,7 @@
"code": "promotionItem_ca662698-17fe-436b-erhtrehgw4e54",
"left": 63,
"top": 0,
"imageURL": "Main/font_3",
"imageURL": "upload/image/main/font_3.png",
"width": 158,
"height": 31,
"disable": true
......@@ -229,7 +189,7 @@
"left": 63,
"top": 64,
"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\"}}]}",
"imageURL": "Main/block5_1",
"imageURL": "upload/image/main/block5_1.jpg",
"width": 564,
"height": 228
},
......@@ -239,7 +199,7 @@
"left": 653,
"top": 64,
"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\"}}]}",
"imageURL": "Main/block5_1",
"imageURL": "upload/image/main/block5_1.jpg",
"width": 564,
"height": 228
}
......@@ -259,7 +219,7 @@
"left": 63,
"top": 24,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.candy\"}}]}",
"imageURL": "Main/block5_3",
"imageURL": "upload/image/main/block5_3.png",
"width": 368,
"height": 228
},
......@@ -269,7 +229,7 @@
"left": 456,
"top": 24,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.shuyishu\"}}]}",
"imageURL": "Main/block5_4",
"imageURL": "upload/image/main/block5_4.png",
"width": 368,
"height": 228
},
......@@ -279,7 +239,7 @@
"left": 848,
"top": 24,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.haidao\"}}]}",
"imageURL": "Main/block5_5",
"imageURL": "upload/image/main/block5_5.png",
"width": 368,
"height": 228
}
......@@ -288,7 +248,7 @@
},
{
"name": "block高分排行榜",
"height": 350,
"height": 365,
"hasChildFrame": true,
"data": {
"name": "frame2",
......@@ -298,7 +258,7 @@
"code": "promotionItem_8a4a1762-22e8-4a1e5h45g45g545gw",
"left": 63,
"top": 0,
"imageURL": "Main/font_4",
"imageURL": "upload/image/main/font_4.png",
"width": 158,
"height": 31,
"disable": true
......@@ -328,42 +288,42 @@
"resultSet": [
{
"name": "AR环保课堂",
"imageURL": "Main/AR环保课堂172-228",
"imageURL": "upload/image/main/AR环保课堂172-228.png",
"title_visible": 1,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.garbage\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.garbage_v2.0.8_bc6_20190826.apk\"}}]}",
"code": "highScore_e432ac2d-c1f3-4d44es5h5eg5wrht1"
},
{
"name": "猜猜我是谁",
"imageURL": "Main/猜猜我是谁172-228",
"imageURL": "upload/image/main/猜猜我是谁172-228.png",
"title_visible": 1,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.guess\"}}]}",
"code": "highScore_f90b7ff3-1f36-40serhr5h45h"
},
{
"name": "飞檐走壁",
"imageURL": "Main/飞檐走壁172-228",
"imageURL": "upload/image/main/飞檐走壁172-228.png",
"title_visible": 1,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.feiyanzoubi\"}}]}",
"code": "highScore_e29b33e4wegverger"
},
{
"name": "欢乐叠蛋糕",
"imageURL": "Main/欢乐叠蛋糕172-228",
"imageURL": "upload/image/main/欢乐叠蛋糕172-228.png",
"title_visible": 1,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.cake\"}}]}",
"code": "highScore_57aea4b3-7716-awergebvetrhbbre"
},
{
"name": "火箭小象",
"imageURL": "Main/火箭小象172-228",
"imageURL": "upload/image/main/火箭小象172-228.png",
"title_visible": 1,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.bird\"}}]}",
"code": "highScore_57aea4b3-7716-42awrebverfbv"
},
{
"name": "记忆翻牌",
"imageURL": "Main/记忆翻牌172-228",
"imageURL": "upload/image/main/记忆翻牌172-228.png",
"title_visible": 1,
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.fanpai\"}}]}",
"code": "highScore_57aea4b3-7716-4224-bc77-43272c35ee32"
......@@ -388,7 +348,7 @@
"code": "promotionItem_8a4a1762-22e8-4a1e-8ce3-1fe81412855a",
"left": 63,
"top": 0,
"imageURL": "Main/font_5",
"imageURL": "upload/image/main/font_5.png",
"width": 126,
"height": 31,
"disable": true
......@@ -418,25 +378,25 @@
"resultSet": [
{
"name": "Subject1",
"imageURL": "Main/block7_1",
"imageURL": "upload/image/main/block7_1.png",
"tvlink": "",
"code": "promotionItem_e432ac2d-c1f3-4d44-a42b-7000971affa1"
},
{
"name": "Subject2",
"imageURL": "Main/block7_2",
"imageURL": "upload/image/main/block7_2.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneVideoPlayer\"}}]}",
"code": "promotionItem_f90b7ff3-1f36-4019-9e77-cef871902343"
},
{
"name": "Subject3",
"imageURL": "Main/block7_3",
"imageURL": "upload/image/main/block7_3.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneVideoPlayer\"}}]}",
"code": "promotionItem_e29b33e4-8954-4ef9-a6fc-0d844c909c67"
},
{
"name": "Subject4",
"imageURL": "Main/block7_4",
"imageURL": "upload/image/main/block7_4.png",
"tvlink": "{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneVideoPlayer\"}}]}",
"code": "promotionItem_57aea4b3-7716-4FGRACWGVRTee32"
}
......@@ -460,7 +420,7 @@
"code": "promotionItem_f3975526-213a-4292-95ea-ab39897e1560",
"left": 536,
"top": 0,
"imageURL": "Main/icon_back",
"imageURL": "upload/image/main/icon_back.png",
"width": 216,
"height": 88,
"containerId": "back2Top"
......