Commit b7aec30b authored by liujiaxin's avatar liujiaxin

'aa'

parent de3691c8
...@@ -647,9 +647,7 @@ cc.Class({ ...@@ -647,9 +647,7 @@ cc.Class({
console.log('resource perload finish'); console.log('resource perload finish');
if (window && window["air"] && window["air"].hideAirClassLoading) {
window["air"].hideAirClassLoading();
}
cc.debug.setDisplayStats(false); cc.debug.setDisplayStats(false);
}); });
...@@ -657,6 +655,9 @@ cc.Class({ ...@@ -657,6 +655,9 @@ cc.Class({
loadEnd() { loadEnd() {
if (window && window["air"] && window["air"].hideAirClassLoading) {
window["air"].hideAirClassLoading();
}
this.initData(); this.initData();
// this.initAudio(); // this.initAudio();
// this.initView(); // this.initView();
......
export const defaultData = { export const defaultData = {
"playing_audio": "https://staging-teach.cdn.ireadabc.com/f6d5fc748e8491320bcff0a29a78efd9.mp3", "playing_audio": "https://staging-teach.cdn.ireadabc.com/71ab414eb007042f060416301c50be5b.mp3",
"begin_audio": "https://staging-teach.cdn.ireadabc.com/b1e5378083adac9950839772c7b67f34.mp3", "begin_audio": "https://staging-teach.cdn.ireadabc.com/b1e5378083adac9950839772c7b67f34.mp3",
"end_audio": "https://staging-teach.cdn.ireadabc.com/cfceb637e79c80ef73428cc5d711129c.mp3", "end_audio": "https://staging-teach.cdn.ireadabc.com/0ffcb92067cac989b6e90a26f19ffc1f.mp3",
"bgItem": { "bgItem": {
"url": "https://staging-teach.cdn.ireadabc.com/adcccbd26e2cfa259920e24df01d4b92.png", "url": "https://staging-teach.cdn.ireadabc.com/adcccbd26e2cfa259920e24df01d4b92.png",
"rect": { "rect": {
"x": 505.99, "x": 326.06,
"y": 0, "y": 0,
"width": 400.02, "width": 256.88,
"height": 531 "height": 341
} }
}, },
"hotZoneItemArr": [{ "hotZoneItemArr": [{
"id": "1637989476417", "id": "1637989476417",
"index": 0, "index": 0,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/c5c6cd890660a3c22fde393a3770458f.json", "url": "https://staging-teach.cdn.ireadabc.com/c5c6cd890660a3c22fde393a3770458f.json",
"name": "小汽车_ske.json" "name": "小汽车_ske.json"
...@@ -33,34 +33,34 @@ export const defaultData = { ...@@ -33,34 +33,34 @@ export const defaultData = {
"name": "小汽车_tex.png" "name": "小汽车_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637989503084", "id": "1637989503084",
"index": 1, "index": 1,
"pic_url": "https://staging-teach.cdn.ireadabc.com/6c46921facf36b9f7d590faed1aac69c.png", "pic_url": "https://staging-teach.cdn.ireadabc.com/6c46921facf36b9f7d590faed1aac69c.png",
"itemType": "pic", "itemType": "pic",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 0.3210399032648126, "imgScale": 0.3210399032648126,
"imgSizeW": 1246, "imgSizeW": 1246,
"imgSizeH": 1654, "imgSizeH": 1654,
"mapScale": 1.103125, "mapScale": 0.71015625,
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "2", "gIdx": "2",
"rect": { "rect": {
"x": 1, "x": -71.57,
"y": 0, "y": -94.36,
"width": 400.02, "width": 400.02,
"height": 531 "height": 531
} }
...@@ -69,11 +69,11 @@ export const defaultData = { ...@@ -69,11 +69,11 @@ export const defaultData = {
"index": 2, "index": 2,
"audio_url": "https://staging-teach.cdn.ireadabc.com/e31c3b1914837a611d4d3bb1ceb00773.mp3", "audio_url": "https://staging-teach.cdn.ireadabc.com/e31c3b1914837a611d4d3bb1ceb00773.mp3",
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/d2d7de9f8079f36e8354d16e4ca26476.json", "url": "https://staging-teach.cdn.ireadabc.com/d2d7de9f8079f36e8354d16e4ca26476.json",
"name": "房子_ske.json" "name": "房子_ske.json"
...@@ -87,28 +87,28 @@ export const defaultData = { ...@@ -87,28 +87,28 @@ export const defaultData = {
"name": "房子_tex.png" "name": "房子_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "0", "gIdx": "0",
"labelText": "13", "labelText": "13",
"posX": 799, "posX": 786.9990048260586,
"posY": 199.4971589389092, "posY": 202.4928652448877,
"rect": { "rect": {
"x": 198.01, "x": 106.61,
"y": 132, "y": 86.69,
"width": 190, "width": 147.7,
"height": 134.99 "height": 86.69
} }
}, { }, {
"id": "1637989873000", "id": "1637989873000",
"index": 3, "index": 3,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/ed2ac4931a9c00ff6c4298381722676e.json", "url": "https://staging-teach.cdn.ireadabc.com/ed2ac4931a9c00ff6c4298381722676e.json",
"name": "牛_ske.json" "name": "牛_ske.json"
...@@ -122,25 +122,25 @@ export const defaultData = { ...@@ -122,25 +122,25 @@ export const defaultData = {
"name": "牛_tex.png" "name": "牛_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637989920132", "id": "1637989920132",
"index": 4, "index": 4,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/1d4b251caf0c0b8245fb17cd8445672c.json", "url": "https://staging-teach.cdn.ireadabc.com/1d4b251caf0c0b8245fb17cd8445672c.json",
"name": "农夫_ske.json" "name": "农夫_ske.json"
...@@ -154,26 +154,26 @@ export const defaultData = { ...@@ -154,26 +154,26 @@ export const defaultData = {
"name": "农夫_tex.png" "name": "农夫_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637989946959", "id": "1637989946959",
"index": 5, "index": 5,
"audio_url": "https://staging-teach.cdn.ireadabc.com/bf1924c502ca1a4ac928a31e7c8aa70e.mp3", "audio_url": "https://staging-teach.cdn.ireadabc.com/bf1924c502ca1a4ac928a31e7c8aa70e.mp3",
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/bd3c2cc93b1593433a58d8482972ff66.json", "url": "https://staging-teach.cdn.ireadabc.com/bd3c2cc93b1593433a58d8482972ff66.json",
"name": "苹果_ske.json" "name": "苹果_ske.json"
...@@ -187,28 +187,28 @@ export const defaultData = { ...@@ -187,28 +187,28 @@ export const defaultData = {
"name": "苹果_tex.png" "name": "苹果_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "0", "gIdx": "0",
"labelText": "6", "labelText": "6",
"posX": 577, "posX": 577.001380402564,
"posY": 178.5, "posY": 189.49808990808017,
"rect": { "rect": {
"x": 2.01, "x": 1.29,
"y": 124, "y": 72.57,
"width": 138, "width": 88.62,
"height": 109 "height": 98.25
} }
}, { }, {
"id": "1637990008894", "id": "1637990008894",
"index": 6, "index": 6,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/4503721901880d0b6c3ad6d4261e958b.json", "url": "https://staging-teach.cdn.ireadabc.com/4503721901880d0b6c3ad6d4261e958b.json",
"name": "小女孩_ske.json" "name": "小女孩_ske.json"
...@@ -222,26 +222,26 @@ export const defaultData = { ...@@ -222,26 +222,26 @@ export const defaultData = {
"name": "小女孩_tex.png" "name": "小女孩_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637990039605", "id": "1637990039605",
"index": 7, "index": 7,
"audio_url": "https://staging-teach.cdn.ireadabc.com/323feb19d153069702ffd21097f18f79.mp3", "audio_url": "https://staging-teach.cdn.ireadabc.com/323feb19d153069702ffd21097f18f79.mp3",
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/cd7c7a756c0f79d28f419576e3b85b0c.json", "url": "https://staging-teach.cdn.ireadabc.com/cd7c7a756c0f79d28f419576e3b85b0c.json",
"name": "鸭子_ske.json" "name": "鸭子_ske.json"
...@@ -255,28 +255,28 @@ export const defaultData = { ...@@ -255,28 +255,28 @@ export const defaultData = {
"name": "鸭子_tex.png" "name": "鸭子_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "0", "gIdx": "0",
"labelText": "12", "labelText": "12",
"posX": 756, "posX": 757.9994649602465,
"posY": 309.5, "posY": 349.49668810392615,
"rect": { "rect": {
"x": 169.01, "x": 123.94,
"y": 267, "y": 176.6,
"width": 162, "width": 75.78,
"height": 85 "height": 95.68
} }
}, { }, {
"id": "1637990077830", "id": "1637990077830",
"index": 8, "index": 8,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/55951c794b414ab58cca023642819e37.json", "url": "https://staging-teach.cdn.ireadabc.com/55951c794b414ab58cca023642819e37.json",
"name": "母鸡_ske.json" "name": "母鸡_ske.json"
...@@ -290,25 +290,25 @@ export const defaultData = { ...@@ -290,25 +290,25 @@ export const defaultData = {
"name": "母鸡_tex.png" "name": "母鸡_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637990112530", "id": "1637990112530",
"index": 9, "index": 9,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/357fef8204228afb43d0ce73746228e5.json", "url": "https://staging-teach.cdn.ireadabc.com/357fef8204228afb43d0ce73746228e5.json",
"name": "鱼_ske.json" "name": "鱼_ske.json"
...@@ -322,26 +322,26 @@ export const defaultData = { ...@@ -322,26 +322,26 @@ export const defaultData = {
"name": "鱼_tex.png" "name": "鱼_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637990135223", "id": "1637990135223",
"index": 10, "index": 10,
"audio_url": "https://staging-teach.cdn.ireadabc.com/b903b174f09107517b5d6f8934b73447.mp3", "audio_url": "https://staging-teach.cdn.ireadabc.com/b903b174f09107517b5d6f8934b73447.mp3",
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/b9fa85c227daa6539f12cab5a5058052.json", "url": "https://staging-teach.cdn.ireadabc.com/b9fa85c227daa6539f12cab5a5058052.json",
"name": "鸡蛋_ske.json" "name": "鸡蛋_ske.json"
...@@ -355,29 +355,29 @@ export const defaultData = { ...@@ -355,29 +355,29 @@ export const defaultData = {
"name": "鸡蛋_tex.png" "name": "鸡蛋_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "0", "gIdx": "0",
"labelText": "7", "labelText": "7",
"posX": 651, "posX": 648.0005885437288,
"posY": 386.5, "posY": 413.4958641427058,
"rect": { "rect": {
"x": 99.01, "x": 60.37,
"y": 352, "y": 224.12,
"width": 92, "width": 61.65,
"height": 69 "height": 82.83
} }
}, { }, {
"id": "1637990214160", "id": "1637990214160",
"index": 11, "index": 11,
"audio_url": "https://staging-teach.cdn.ireadabc.com/2656b72aec7f6def07713fbc99309168.mp3", "audio_url": "https://staging-teach.cdn.ireadabc.com/2656b72aec7f6def07713fbc99309168.mp3",
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/20cbf3d186a197baaed38204dd017f51.json", "url": "https://staging-teach.cdn.ireadabc.com/20cbf3d186a197baaed38204dd017f51.json",
"name": "猫_ske.json" "name": "猫_ske.json"
...@@ -391,28 +391,28 @@ export const defaultData = { ...@@ -391,28 +391,28 @@ export const defaultData = {
"name": "猫_tex.png" "name": "猫_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "0", "gIdx": "0",
"labelText": "10", "labelText": "10",
"posX": 554, "posX": 552.0016265208506,
"posY": 369.5, "posY": 399.496046056222,
"rect": { "rect": {
"x": 3.01, "x": 0.65,
"y": 314, "y": 194.58,
"width": 90, "width": 57.8,
"height": 111 "height": 123.93
} }
}, { }, {
"id": "1637990319579", "id": "1637990319579",
"index": 12, "index": 12,
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/3d1d49e583d97cd5097d08102265b1c6.json", "url": "https://staging-teach.cdn.ireadabc.com/3d1d49e583d97cd5097d08102265b1c6.json",
"name": "蚂蚁_ske.json" "name": "蚂蚁_ske.json"
...@@ -426,26 +426,26 @@ export const defaultData = { ...@@ -426,26 +426,26 @@ export const defaultData = {
"name": "蚂蚁_tex.png" "name": "蚂蚁_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "1", "gIdx": "1",
"rect": { "rect": {
"x": 100.01, "x": 64.22,
"y": 165.5, "y": 106.28,
"width": 200, "width": 128.44,
"height": 200 "height": 128.44
} }
}, { }, {
"id": "1637990911365", "id": "1637990911365",
"index": 13, "index": 13,
"audio_url": "https://staging-teach.cdn.ireadabc.com/9bbf8ba2fa7f96ea5a95c27a384414a2.mp3", "audio_url": "https://staging-teach.cdn.ireadabc.com/9bbf8ba2fa7f96ea5a95c27a384414a2.mp3",
"itemType": "rect", "itemType": "rect",
"fontScale": 1.103125, "fontScale": 0.71015625,
"imgScale": 1, "imgScale": 1,
"imgSizeW": 0, "imgSizeW": 0,
"imgSizeH": 0, "imgSizeH": 0,
"mapScale": 1.103125, "mapScale": 0.71015625,
"skeJsonData": { "skeJsonData": {
"url": "https://staging-teach.cdn.ireadabc.com/d8506ebddb29c8d08b4b93376b45f5c9.json", "url": "https://staging-teach.cdn.ireadabc.com/d8506ebddb29c8d08b4b93376b45f5c9.json",
"name": "鸟_ske.json" "name": "鸟_ske.json"
...@@ -459,18 +459,18 @@ export const defaultData = { ...@@ -459,18 +459,18 @@ export const defaultData = {
"name": "鸟_tex.png" "name": "鸟_tex.png"
}, },
"dragDot": { "dragDot": {
"x": 706, "x": 454.5,
"y": 265.5 "y": 170.92032577903686
}, },
"gIdx": "0", "gIdx": "0",
"labelText": "8", "labelText": "8",
"posX": 757, "posX": 763.9994542594516,
"posY": 104.5, "posY": 90.49888176691528,
"rect": { "rect": {
"x": 148.01, "x": 99.54,
"y": 81, "y": 32.11,
"width": 206, "width": 132.29,
"height": 47 "height": 52.02
} }
}] }]
} }
\ 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