Commit cc4c1f20 authored by yu's avatar yu

1

parent 226d937e
export const defaultData = { export const defaultData = {
"points": "", "points": "",
"questionScore": 0, "questionScore": 0,
"questions": [], "questions": [],
"bgItem": { "bgItem": {
"url": "http://teach.cdn.ireadabc.com/0c33ade57a0c9eae26e6a61dd2c165b0.png", "url": "http://staging-teach.cdn.ireadabc.com/ebbd73ffb9a63649e0e041eda517019d.webp",
"rect": { "rect": {
"x": 53.37, "x": 2.24,
"y": 0, "y": 0,
"width": 795.25, "width": 899.52,
"height": 510 "height": 438
} }
}, },
"hotZoneItemArr": [ "hotZoneItemArr": [{
{ "id": "1689503602242",
"id": "1689340832806", "index": 0,
"index": 0, "pic_url": "http://staging-teach.cdn.ireadabc.com/b013ec61b1d2e33c0ccdc8175f97b7aa.png",
"text": "monkey", "text": "very long",
"audio_url": "http://teach.cdn.ireadabc.com/5da468cbe299d7b0d3f77a59701123c5_l.mp3", "audio_url": "http://staging-teach.cdn.ireadabc.com/9359b9ba0eee97ce3a953a5171063ecb_l.mp3",
"itemType": "text", "itemType": "pic",
"fontScale": 0.7046875, "fontScale": 0.70625,
"imgScale": 1, "imgScale": 0.738562091503268,
"imgSizeW": 0, "imgSizeW": 408,
"imgSizeH": 0, "imgSizeH": 290,
"mapScale": 0.7046875, "mapScale": 0.70625,
"dragDot": { "dragDot": {
"x": 451, "x": 452,
"y": 190 "y": 255.56541019955657
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 126.12,
"height": 35.23,
"x": 109.86,
"y": 20.96
}
}, },
{ "gIdx": "1",
"id": "1689340855171", "fontSize": 50,
"index": 1, "fontName": "ahronbd-1",
"text": "rooster", "ontColor": "#8f3758",
"audio_url": "http://teach.cdn.ireadabc.com/777bb3cb89ef8cf7723b4cc9c18697b3_l.mp3", "rect": {
"itemType": "text", "x": -31.02,
"fontScale": 0.7046875, "y": -22.6,
"imgScale": 1, "width": 301.33,
"imgSizeW": 0, "height": 214.18
"imgSizeH": 0, }
"mapScale": 0.7046875, }, {
"dragDot": { "id": "1689503694906",
"x": 451, "index": 1,
"y": 190 "text": "Mother River",
}, "audio_url": "http://staging-teach.cdn.ireadabc.com/476967a84fa1c6a64dff2b87cf8b32d2_l.mp3",
"gIdx": "0", "itemType": "text",
"fontSize": 50, "fontScale": 0.70625,
"fontName": "ahronbd-1", "imgScale": 1,
"ontColor": "#8f3758", "imgSizeW": 0,
"rect": { "imgSizeH": 0,
"width": 116.86, "mapScale": 0.70625,
"height": 35.23, "dragDot": {
"x": 95.02, "x": 452,
"y": 104.85 "y": 255.56541019955657
}
},
{
"id": "1689340877965",
"index": 2,
"text": "dog",
"audio_url": "http://teach.cdn.ireadabc.com/25dc3b18d7036db7a90b77486b1bba51_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 62.11,
"height": 35.23,
"x": 104.21,
"y": 197.11
}
},
{
"id": "1689340888104",
"index": 3,
"text": "pig",
"audio_url": "http://teach.cdn.ireadabc.com/cb8d3a47041b6dd66995fb4277f14d44_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 50.48,
"height": 35.23,
"x": 108.01,
"y": 279.32
}
},
{
"id": "1689340894217",
"index": 4,
"text": "rat",
"audio_url": "http://teach.cdn.ireadabc.com/468579a967328c9a0f37d04e4aae8169_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 45.06,
"height": 35.23,
"x": 114.43,
"y": 362.59
}
},
{
"id": "1689340909231",
"index": 5,
"text": "ox",
"audio_url": "http://teach.cdn.ireadabc.com/be05161de62ae50ce79f4dca0f8cb0f6_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 38.58,
"height": 35.23,
"x": 134.17,
"y": 451.11
}
},
{
"id": "1689340915577",
"index": 6,
"text": "sheep",
"audio_url": "http://teach.cdn.ireadabc.com/c27083d96698ba7fe7e056646c87be0e_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 97.13,
"height": 35.23,
"x": 583.55,
"y": 22.27
}
},
{
"id": "1689340922854",
"index": 7,
"text": "horse",
"audio_url": "http://teach.cdn.ireadabc.com/e88527f312200740345d23cb20c3b26e_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 90.44,
"height": 35.23,
"x": 612.69,
"y": 110.22
}
},
{
"id": "1689340931161",
"index": 8,
"text": "snake",
"audio_url": "http://teach.cdn.ireadabc.com/a4f23671190a8a847bccd0796f0537e2_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 95.37,
"height": 35.23,
"x": 611.59,
"y": 193.48
}
}, },
{ "gIdx": "0",
"id": "1689340940251", "fontSize": 50,
"index": 9, "fontName": "ahronbd-1",
"text": "dragon", "ontColor": "#8f3758",
"audio_url": "http://teach.cdn.ireadabc.com/a835e6f9c863dcedbcc582a8bb650233_l.mp3", "rect": {
"itemType": "text", "width": 220.08,
"fontScale": 0.7046875, "height": 35.31,
"imgScale": 1, "x": 14.62,
"imgSizeW": 0, "y": 387.79
"imgSizeH": 0, }
"mapScale": 0.7046875, }, {
"dragDot": { "id": "1689503711398",
"x": 451, "index": 2,
"y": 190 "text": "Yellow",
}, "audio_url": "http://staging-teach.cdn.ireadabc.com/4192690c4431ed4689fb32e50f70e212_l.mp3",
"gIdx": "0", "itemType": "text",
"fontSize": 50, "fontScale": 0.70625,
"fontName": "ahronbd-1", "imgScale": 1,
"ontColor": "#8f3758", "imgSizeW": 0,
"rect": { "imgSizeH": 0,
"width": 114.36, "mapScale": 0.70625,
"height": 35.23, "dragDot": {
"x": 595.99, "x": 452,
"y": 281.32 "y": 255.56541019955657
}
}, },
{ "gIdx": "0",
"id": "1689340948390", "fontSize": 50,
"index": 10, "fontName": "ahronbd-1",
"text": "rabbit", "ontColor": "#8f3758",
"audio_url": "http://teach.cdn.ireadabc.com/c727e329a390e810f262b2b2baca481d_l.mp3", "rect": {
"itemType": "text", "width": 107.12,
"fontScale": 0.7046875, "height": 35.31,
"imgScale": 1, "x": 741.25,
"imgSizeW": 0, "y": 135.49
"imgSizeH": 0, }
"mapScale": 0.7046875, }, {
"dragDot": { "id": "1689503722705",
"x": 451, "index": 3,
"y": 190 "text": "very big",
}, "audio_url": "http://staging-teach.cdn.ireadabc.com/bbeeed870b72301f4519e1750b7f34e7_l.mp3",
"gIdx": "0", "itemType": "text",
"fontSize": 50, "fontScale": 0.70625,
"fontName": "ahronbd-1", "imgScale": 1,
"ontColor": "#8f3758", "imgSizeW": 0,
"rect": { "imgSizeH": 0,
"width": 95.37, "mapScale": 0.70625,
"height": 35.23, "dragDot": {
"x": 611.23, "x": 452,
"y": 366.88 "y": 255.56541019955657
}
}, },
{ "gIdx": "0",
"id": "1689340965671", "fontSize": 50,
"index": 11, "fontName": "ahronbd-1",
"text": "tiger", "ontColor": "#8f3758",
"audio_url": "http://teach.cdn.ireadabc.com/19802431d0d48cf492591c4a2388c76a_l.mp3", "rect": {
"itemType": "text", "width": 137.03,
"fontScale": 0.7046875, "height": 35.31,
"imgScale": 1, "x": 721.31,
"imgSizeW": 0, "y": 385.8
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 190
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 74.76,
"height": 35.23,
"x": 603.26,
"y": 452.38
}
} }
}
], ],
"npcTitle": "Mind Map", "npcTitle": "HY14",
"npcAudio": "", "npcAudio": "http://staging-teach.cdn.ireadabc.com/840c5d814e82b8dbc869d7523d592869_l.mp3",
// "npcAudio": "http://teach.cdn.ireadabc.com/840c5d814e82b8dbc869d7523d592869_l.mp3",
"npcAudioName": "HY14位置匹配-将单词拖动到正确的位置.mp3", "npcAudioName": "HY14位置匹配-将单词拖动到正确的位置.mp3",
"questionText": "" "questionText": "",
} "word_count": "0",
\ No newline at end of file "sentence_count": "0",
"zi_count": "0"
}
...@@ -42,7 +42,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -42,7 +42,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
name: '文本', name: '文本',
text: true, text: true,
audio: true, audio: true,
pic: true, // pic: true,
// action: { // action: {
// type: 'text', // type: 'text',
// option: [ // option: [
...@@ -52,6 +52,11 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -52,6 +52,11 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
// ] // ]
// }, // },
}, },
{
name:"图片",
pic: true,
audio: true,
}
// { // {
// name: '变化文本', // name: '变化文本',
// action: { // action: {
......
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