Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fireballoon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
fireballoon
Commits
2d6f2876
Commit
2d6f2876
authored
May 30, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表单
parent
d4654e4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
defaultData.ts
assets/fireballoon/script/defaultData.ts
+20
-10
form.component.html
form/src/app/form/form.component.html
+1
-1
No files found.
assets/fireballoon/script/defaultData.ts
View file @
2d6f2876
...
...
@@ -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
,
}
]
}
...
...
form/src/app/form/form.component.html
View file @
2d6f2876
...
...
@@ -108,7 +108,7 @@
<label
nz-radio
nzValue=
"img"
>
<span
[
style
]="{
color:option
.
type=
='img'
?
'#
169BD5
'
:
'#
000
'}"
>
图片
</span>
</label>
<label
nz-radio
nzValue=
"t
e
xt"
>
<label
nz-radio
nzValue=
"txt"
>
<span
[
style
]="{
color:option
.
type=
='txt'
?
'#
169BD5
'
:
'#
000
'}"
>
文字
</span>
</label>
</nz-radio-group>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment