Commit addf828e authored by limingzhe's avatar limingzhe

fix: debug

parent 9d5ac9dc
......@@ -366,21 +366,21 @@ cc.Class({
this.viewArr = [];
this.teachingMaterialArr = [
{key: "人教版", name: "人 教 版", res: 'book_rjb'},
{key: "外研版", name: "外 研 版", res: 'book_wyb'},
{key: "沪教版", name: "沪 教 版", res: 'book_ljb'},
{key: "学前班", name: "学 前 班", res: 'book_xqb'},
{key: "人教版", name: "人 教 版"},
{key: "外研版", name: "外 研 版"},
{key: "沪教版", name: "沪 教 版"},
{key: "学前班", name: "学 前 班"},
{key: "冀教版", name: "冀 教 版", res: 'book_xqb'},
{key: "湘教版", name: "湘 教 版", res: 'book_xqb'},
{key: "译林版", name: "译 林 版", res: 'book_xqb'},
{key: "冀教版", name: "冀 教 版"},
{key: "湘教版", name: "湘 教 版"},
{key: "译林版", name: "译 林 版"},
{key: "Level 1", name: "迪格 Level 1", res: 'dg_1'},
{key: "Level 2", name: "迪格 Level 2", res: 'dg_2'},
{key: "Level 3", name: "迪格 Level 3", res: 'dg_3'},
{key: "Level 4", name: "迪格 Level 4", res: 'dg_4'},
{key: "Level 5", name: "迪格 Level 5", res: 'dg_5'},
{key: "Level 6", name: "迪格 Level 6", res: 'dg_6'},
{key: "Level 1", name: "迪格 Level 1", res: 'home/book/book_1'},
{key: "Level 2", name: "迪格 Level 2", res: 'home/book/book_2'},
{key: "Level 3", name: "迪格 Level 3", res: 'home/book/book_3'},
{key: "Level 4", name: "迪格 Level 4", res: 'home/book/book_4'},
{key: "Level 5", name: "迪格 Level 5", res: 'home/book/book_5'},
{key: "Level 6", name: "迪格 Level 6", res: 'home/book/book_6'},
];
......@@ -1662,11 +1662,13 @@ cc.Class({
// // resName = curBookData.res;
// // }
// if (!data || !curBookData || !curBookData.res) {
let isShowBookName = true;
if (!data || !curBookData || !curBookData.res) {
resName = 'home/book_' + index % 4;
// } else {
// resName = curBookData.res;
// }
} else {
resName = curBookData.res;
isShowBookName = false;
}
// data.text_en = curBookData.key;
......@@ -1733,6 +1735,10 @@ cc.Class({
const label = labelNode.getComponent(cc.Label);
label.isBold = true;
if (!isShowBookName) {
labelBg.active = false;
}
return node;
},
......
{
"ver": "2.3.5",
"uuid": "a96f66e6-432a-4371-96f1-bf01b26a459d",
"uuid": "e2a6e367-3b0f-4b66-8761-d0cf565b138d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 383,
"height": 424,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_wyb": {
"booK_1_6": {
"ver": "1.0.4",
"uuid": "df53d75e-03fc-41a9-a5b0-f9b43cba0e89",
"rawTextureUuid": "a96f66e6-432a-4371-96f1-bf01b26a459d",
"uuid": "e2ee04b2-8e98-4274-89fa-4de784c4d657",
"rawTextureUuid": "e2a6e367-3b0f-4b66-8761-d0cf565b138d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 383,
"height": 424,
"rawWidth": 383,
"rawHeight": 424,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "301fccd2-65e2-4319-8250-a54d994f87fb",
"uuid": "a10c02e5-115c-4d27-a832-932e3b893ee3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 383,
"height": 424,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_ljb": {
"book_1": {
"ver": "1.0.4",
"uuid": "44441b13-a4f4-4ef8-a3fe-91eff4dcd9c2",
"rawTextureUuid": "301fccd2-65e2-4319-8250-a54d994f87fb",
"uuid": "bb2d367e-3607-47a3-840c-26f5f56b56f4",
"rawTextureUuid": "a10c02e5-115c-4d27-a832-932e3b893ee3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 383,
"height": 424,
"rawWidth": 383,
"rawHeight": 424,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "441d433f-5a3c-4925-9851-e47c0e28c75c",
"uuid": "cb3164b6-aa1d-45e4-9901-7e45ab37d89f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 383,
"height": 424,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_xqb": {
"book_2": {
"ver": "1.0.4",
"uuid": "b559a82d-f85b-4cb8-b7a9-7dea09ad1a68",
"rawTextureUuid": "441d433f-5a3c-4925-9851-e47c0e28c75c",
"uuid": "84064f10-327a-418e-bcdd-19c6b61e8979",
"rawTextureUuid": "cb3164b6-aa1d-45e4-9901-7e45ab37d89f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 383,
"height": 424,
"rawWidth": 383,
"rawHeight": 424,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "9e7f9e79-9bcb-4f8e-a56a-ebf70a63769e",
"uuid": "37938b9b-989c-49d6-9e82-b682fa3939c3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 383,
"height": 424,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_rjb": {
"book_3": {
"ver": "1.0.4",
"uuid": "8bf41c05-9edf-4b52-9593-e6e02a2ed5d8",
"rawTextureUuid": "9e7f9e79-9bcb-4f8e-a56a-ebf70a63769e",
"uuid": "ad1462f7-9b09-4929-80cd-de829f604253",
"rawTextureUuid": "37938b9b-989c-49d6-9e82-b682fa3939c3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 383,
"height": 424,
"rawWidth": 383,
"rawHeight": 424,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "bc4304fe-2434-41cf-bfbb-5ad3ef08ecbf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_4": {
"ver": "1.0.4",
"uuid": "293d8c98-2e0b-4359-874d-432879be70e2",
"rawTextureUuid": "bc4304fe-2434-41cf-bfbb-5ad3ef08ecbf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8bcd3613-c7e4-47f4-9481-68a1a2f5187c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_5": {
"ver": "1.0.4",
"uuid": "a9ca45e3-7239-4a5d-999d-b3ad100c3c11",
"rawTextureUuid": "8bcd3613-c7e4-47f4-9481-68a1a2f5187c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "de349624-46b9-4e51-b48a-d5ec3a1de120",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_6": {
"ver": "1.0.4",
"uuid": "5c1fbadf-201e-4c0e-aad9-ee88e6d2705f",
"rawTextureUuid": "de349624-46b9-4e51-b48a-d5ec3a1de120",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment