Commit cc4c1f20 authored by yu's avatar yu

1

parent 226d937e
......@@ -3,331 +3,122 @@ export const defaultData = {
"questionScore": 0,
"questions": [],
"bgItem": {
"url": "http://teach.cdn.ireadabc.com/0c33ade57a0c9eae26e6a61dd2c165b0.png",
"url": "http://staging-teach.cdn.ireadabc.com/ebbd73ffb9a63649e0e041eda517019d.webp",
"rect": {
"x": 53.37,
"x": 2.24,
"y": 0,
"width": 795.25,
"height": 510
"width": 899.52,
"height": 438
}
},
"hotZoneItemArr": [
{
"id": "1689340832806",
"hotZoneItemArr": [{
"id": "1689503602242",
"index": 0,
"text": "monkey",
"audio_url": "http://teach.cdn.ireadabc.com/5da468cbe299d7b0d3f77a59701123c5_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"pic_url": "http://staging-teach.cdn.ireadabc.com/b013ec61b1d2e33c0ccdc8175f97b7aa.png",
"text": "very long",
"audio_url": "http://staging-teach.cdn.ireadabc.com/9359b9ba0eee97ce3a953a5171063ecb_l.mp3",
"itemType": "pic",
"fontScale": 0.70625,
"imgScale": 0.738562091503268,
"imgSizeW": 408,
"imgSizeH": 290,
"mapScale": 0.70625,
"dragDot": {
"x": 451,
"y": 190
"x": 452,
"y": 255.56541019955657
},
"gIdx": "0",
"gIdx": "1",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 126.12,
"height": 35.23,
"x": 109.86,
"y": 20.96
"x": -31.02,
"y": -22.6,
"width": 301.33,
"height": 214.18
}
},
{
"id": "1689340855171",
}, {
"id": "1689503694906",
"index": 1,
"text": "rooster",
"audio_url": "http://teach.cdn.ireadabc.com/777bb3cb89ef8cf7723b4cc9c18697b3_l.mp3",
"text": "Mother River",
"audio_url": "http://staging-teach.cdn.ireadabc.com/476967a84fa1c6a64dff2b87cf8b32d2_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"fontScale": 0.70625,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"mapScale": 0.70625,
"dragDot": {
"x": 451,
"y": 190
"x": 452,
"y": 255.56541019955657
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 116.86,
"height": 35.23,
"x": 95.02,
"y": 104.85
"width": 220.08,
"height": 35.31,
"x": 14.62,
"y": 387.79
}
},
{
"id": "1689340877965",
}, {
"id": "1689503711398",
"index": 2,
"text": "dog",
"audio_url": "http://teach.cdn.ireadabc.com/25dc3b18d7036db7a90b77486b1bba51_l.mp3",
"text": "Yellow",
"audio_url": "http://staging-teach.cdn.ireadabc.com/4192690c4431ed4689fb32e50f70e212_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"fontScale": 0.70625,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"mapScale": 0.70625,
"dragDot": {
"x": 451,
"y": 190
"x": 452,
"y": 255.56541019955657
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 62.11,
"height": 35.23,
"x": 104.21,
"y": 197.11
"width": 107.12,
"height": 35.31,
"x": 741.25,
"y": 135.49
}
},
{
"id": "1689340888104",
}, {
"id": "1689503722705",
"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
}
},
{
"id": "1689340940251",
"index": 9,
"text": "dragon",
"audio_url": "http://teach.cdn.ireadabc.com/a835e6f9c863dcedbcc582a8bb650233_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": 114.36,
"height": 35.23,
"x": 595.99,
"y": 281.32
}
},
{
"id": "1689340948390",
"index": 10,
"text": "rabbit",
"audio_url": "http://teach.cdn.ireadabc.com/c727e329a390e810f262b2b2baca481d_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.23,
"y": 366.88
}
},
{
"id": "1689340965671",
"index": 11,
"text": "tiger",
"audio_url": "http://teach.cdn.ireadabc.com/19802431d0d48cf492591c4a2388c76a_l.mp3",
"text": "very big",
"audio_url": "http://staging-teach.cdn.ireadabc.com/bbeeed870b72301f4519e1750b7f34e7_l.mp3",
"itemType": "text",
"fontScale": 0.7046875,
"fontScale": 0.70625,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"mapScale": 0.70625,
"dragDot": {
"x": 451,
"y": 190
"x": 452,
"y": 255.56541019955657
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 74.76,
"height": 35.23,
"x": 603.26,
"y": 452.38
"width": 137.03,
"height": 35.31,
"x": 721.31,
"y": 385.8
}
}
],
"npcTitle": "Mind Map",
"npcAudio": "",
// "npcAudio": "http://teach.cdn.ireadabc.com/840c5d814e82b8dbc869d7523d592869_l.mp3",
"npcTitle": "HY14",
"npcAudio": "http://staging-teach.cdn.ireadabc.com/840c5d814e82b8dbc869d7523d592869_l.mp3",
"npcAudioName": "HY14位置匹配-将单词拖动到正确的位置.mp3",
"questionText": ""
"questionText": "",
"word_count": "0",
"sentence_count": "0",
"zi_count": "0"
}
......@@ -42,7 +42,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
name: '文本',
text: true,
audio: true,
pic: true,
// pic: true,
// action: {
// type: 'text',
// option: [
......@@ -52,6 +52,11 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
// ]
// },
},
{
name:"图片",
pic: true,
audio: true,
}
// {
// name: '变化文本',
// 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