Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
East_L228
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
East_L228
Commits
ad449b74
Commit
ad449b74
authored
May 13, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev commit
parent
c863b38e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
14 deletions
+10
-14
form.component.html
src/app/form/form.component.html
+1
-1
form.component.ts
src/app/form/form.component.ts
+2
-8
play.component.ts
src/app/play/play.component.ts
+6
-4
resources.js
src/app/play/resources.js
+1
-1
default_image.png
src/assets/play/default_image.png
+0
-0
No files found.
src/app/form/form.component.html
View file @
ad449b74
...
...
@@ -28,7 +28,7 @@
<div
class=
"card-item-content border"
style=
" width: 500px;"
>
<div
class=
"card-item-content"
>
<div
class=
"title"
>
糖果
-
<strong>
{{ i + 1 }}
</strong>
-
卡片
-
<strong>
{{ i + 1 }}
</strong>
-
</div>
<div
class=
"section"
>
<div
class=
"section-content"
>
...
...
src/app/form/form.component.ts
View file @
ad449b74
import
{
Component
,
EventEmitter
,
Input
,
OnDestroy
,
OnChanges
,
OnInit
,
Output
,
ApplicationRef
}
from
'
@angular/core
'
;
const
defaultData
=
{
version
:
"
1.
0
"
,
version
:
"
1.
1
"
,
bgMusic
:
""
,
dataArray
:[
{
type
:
"
Text
"
,
image_url
:
""
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Text
"
,
image_url
:
""
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Text
"
,
image_url
:
""
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Text
"
,
image_url
:
""
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Text
"
,
image_url
:
""
,
text
:
""
,
audio_url
:
""
}
]
dataArray
:[]
}
@
Component
({
...
...
src/app/play/play.component.ts
View file @
ad449b74
...
...
@@ -41,12 +41,14 @@ import { callbackify } from 'util';
const
defauleFormData
=
{
version
:
"
1.
0
"
,
version
:
"
1.
1
"
,
bgmusic
:
""
,
dataArray
:[
{
type
:
"
Image
"
,
image_url
:
"
bee-demo
"
,
audio_url
:
"
bee-demo
"
},
{
type
:
"
Text
"
,
text
:
"
Apple
"
,
audio_url
:
"
apple-demo
"
},
{
type
:
"
Image
"
,
image_url
:
"
bee-demo
"
,
audio_url
:
"
bee-demo
"
}
{
type
:
"
Image
"
,
image_url
:
"
default_image
"
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Image
"
,
image_url
:
"
default_image
"
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Image
"
,
image_url
:
"
default_image
"
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Image
"
,
image_url
:
"
default_image
"
,
text
:
""
,
audio_url
:
""
},
{
type
:
"
Image
"
,
image_url
:
"
default_image
"
,
text
:
""
,
audio_url
:
""
}
]
}
...
...
src/app/play/resources.js
View file @
ad449b74
...
...
@@ -21,7 +21,7 @@ const localImages = {
'
light-off
'
:
'
assets/play/light-off.png
'
,
'
light-on
'
:
'
assets/play/light-on.png
'
,
'
main-bg
'
:
'
assets/play/main-bg.png
'
,
'
default_image
'
:
'
assets/play/default_image.png
'
};
...
...
src/assets/play/default_image.png
0 → 100644
View file @
ad449b74
66.5 KB
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