Commit 2d6f2876 authored by yu's avatar yu

表单

parent d4654e4e
......@@ -9,37 +9,43 @@ export const defaultData = {
"type": "img",
"image": "https://staging-teach.cdn.ireadabc.com/1832bc553f77f876e0bba64062bd6b38.jpg",
"audio": "https://staging-teach.cdn.ireadabc.com/7c18e0838dcf0707f885842ed09e1579.mp3",
"text": "apple"
"text": "apple",
"time": 12,
},
{
"type": "img",
"image": "https://staging-teach.cdn.ireadabc.com/52e8f2868ab7ea8b584bf6beb6b9672d.png",
"audio": "https://staging-teach.cdn.ireadabc.com/6b3846cee6afa2ae450234aeec835beb.mp3",
"text": "Bag"
"text": "Bag",
"time": 15,
},
{
"type": "txt",
"image": "https://staging-teach.cdn.ireadabc.com/8c6fef67a0095c2564e8df4b536fc540.png",
"audio": "https://staging-teach.cdn.ireadabc.com/b44fa51172b19b555fda30717c773027.mp3",
"text": "cat"
"text": "cat",
"time": 8,
},
{
"type": "txt",
"image": "",
"audio": "https://staging-teach.cdn.ireadabc.com/7c18e0838dcf0707f885842ed09e1579.mp3",
"text": "Apple"
"text": "Apple",
"time": 20,
},
{
"type": "img",
"image": "https://staging-teach.cdn.ireadabc.com/953730441ac5313ceafab4c4b29dab46.png",
"audio": "https://staging-teach.cdn.ireadabc.com/b62600fd1e72b54d1d1c3bc71b7361af.mp3",
"text": "flower"
"text": "flower",
"time": 15,
},
{
"type": "txt",
"image": "",
"audio": "https://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
"text": "monkey"
"text": "monkey",
"time": 10,
}
]
},
......@@ -49,25 +55,29 @@ export const defaultData = {
"type": "txt",
"image": "",
"audio": "https://staging-teach.cdn.ireadabc.com/d948ef84a50e6ac36bc31110f9062878.mp3",
"text": "umbrella"
"text": "umbrella",
"time": 10,
},
{
"type": "txt",
"image": "",
"audio": "https://staging-teach.cdn.ireadabc.com/8d6a8d7764011afb0ef537d5a44d1d10.mp3",
"text": "key"
"text": "key",
"time": 10,
},
{
"type": "txt",
"image": "",
"audio": "https://staging-teach.cdn.ireadabc.com/6b3846cee6afa2ae450234aeec835beb.mp3",
"text": "bag"
"text": "bag",
"time": 10,
},
{
"type": "img",
"image": "https://staging-teach.cdn.ireadabc.com/7b315ba7227294d63933cd659d5372fb.png",
"audio": "https://staging-teach.cdn.ireadabc.com/a6a5c388c636bc6d063946e91b4bd21a.mp3",
"text": "egg"
"text": "egg",
"time": 10,
}
]
}
......
......@@ -108,7 +108,7 @@
<label nz-radio nzValue="img">
<span [style]="{color:option.type=='img' ? '#169BD5':'#000'}">图片</span>
</label>
<label nz-radio nzValue="text">
<label nz-radio nzValue="txt">
<span [style]="{color:option.type=='txt' ? '#169BD5':'#000'}">文字</span>
</label>
</nz-radio-group>
......
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