Commit 0ca1c27e authored by xytk's avatar xytk

初始化

parent ddfebd10
......@@ -128,5 +128,8 @@
}
}
},
"defaultProject": "ng-template-generator"
}
"defaultProject": "ng-template-generator",
"cli": {
"analytics": "d50a2816-bf0e-4475-b4c5-4fb41706011a"
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -55,4 +55,4 @@
"tslint": "~5.18.0",
"typescript": "~3.7.5"
}
}
\ No newline at end of file
}
......@@ -79,18 +79,21 @@
},
{
"__id__": 14
},
{
"__id__": 16
}
],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 26
},
{
"__id__": 25
"__id__": 27
},
{
"__id__": 26
"__id__": 28
}
],
"_prefab": null,
......@@ -180,7 +183,7 @@
"array": [
0,
0,
362.85545494732423,
520.6842423784597,
0,
0,
0,
......@@ -728,6 +731,100 @@
"_N$target": null,
"_id": "1aj32fYY1IxLesa77E70Qu"
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 239,
"g": 76,
"b": 76,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-583.549,
325.101,
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": "2dnrimvY5AC7lqlP2+GvLL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1a32fc76-f0bd-4f66-980f-56929c0ca0b3"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dee+5pnwpF+o17vxqVcA3r"
},
{
"__type__": "cc.Node",
"_name": "res",
......@@ -737,13 +834,13 @@
},
"_children": [
{
"__id__": 15
"__id__": 17
},
{
"__id__": 18
"__id__": 20
},
{
"__id__": 21
"__id__": 23
}
],
"_active": false,
......@@ -801,11 +898,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 16
},
"_children": [
{
"__id__": 16
"__id__": 18
}
],
"_active": true,
......@@ -863,13 +960,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 15
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 19
}
],
"_prefab": null,
......@@ -925,7 +1022,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 18
},
"_enabled": true,
"_materials": [],
......@@ -957,11 +1054,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 16
},
"_children": [
{
"__id__": 19
"__id__": 21
}
],
"_active": true,
......@@ -1019,13 +1116,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 22
}
],
"_prefab": null,
......@@ -1081,7 +1178,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 21
},
"_enabled": true,
"_materials": [],
......@@ -1109,11 +1206,11 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 16
},
"_children": [
{
"__id__": 22
"__id__": 24
}
],
"_active": true,
......@@ -1171,13 +1268,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 21
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 25
}
],
"_prefab": null,
......@@ -1233,7 +1330,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 24
},
"_enabled": true,
"_clip": {
......
......@@ -80,7 +80,7 @@ cc.Class({
getDefaultData() {
const dataJson = '{"pic_url":"http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png","pic_url_2":"http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png","text":"This is a test label.","audio_url":"http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"}'
const dataJson = '{"pic_url":"http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png","pic_url_2":"http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png","text":"新的文本xytk.","audio_url":"http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"}'
const data = JSON.parse(dataJson);
return data;
},
......
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