Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_03_1
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
OP_03_1
Commits
ba8c6d0e
Commit
ba8c6d0e
authored
Nov 24, 2021
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:动画逻辑调整
parent
b561951b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
138 additions
and
115 deletions
+138
-115
form.component.html
form/src/app/form/form.component.html
+6
-3
OP-03-1.js
play/assets/OP-03-1/scene/OP-03-1.js
+124
-106
defaultData.js
play/assets/OP-03-1/script/defaultData.js
+8
-6
No files found.
form/src/app/form/form.component.html
View file @
ba8c6d0e
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
<tr>
<tr>
<th>
序号
</th>
<th>
序号
</th>
<th>
字母
</th>
<th>
字母
</th>
<th>
音频
</th>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -72,6 +73,11 @@
...
@@ -72,6 +73,11 @@
<tr
*
ngFor=
"let row of wordTable.data;let j = index"
>
<tr
*
ngFor=
"let row of wordTable.data;let j = index"
>
<td>
{{ j+1 }}
</td>
<td>
{{ j+1 }}
</td>
<td><input
type=
"text"
nz-input
[(
ngModel
)]="
row
.
val
"
(
blur
)="
save
()"
maxlength=
"1"
></td>
<td><input
type=
"text"
nz-input
[(
ngModel
)]="
row
.
val
"
(
blur
)="
save
()"
maxlength=
"1"
></td>
<td>
<app-audio-recorder
[
audioUrl
]="
row
.
audioUrl
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
row
,
'
audioUrl
')"
>
</app-audio-recorder>
</td>
<td>
<td>
<button
nz-button
nzType=
"dashed"
id=
"del-btn"
(
click
)="
delWord
(
item
.
exercises
,
j
)"
>
<button
nz-button
nzType=
"dashed"
id=
"del-btn"
(
click
)="
delWord
(
item
.
exercises
,
j
)"
>
<i
nz-icon
nzType=
"delete"
nzTheme=
"outline"
></i>
删除
<i
nz-icon
nzType=
"delete"
nzTheme=
"outline"
></i>
删除
...
@@ -82,9 +88,6 @@
...
@@ -82,9 +88,6 @@
</nz-table>
</nz-table>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
<nz-divider
nzText=
"音频编辑"
nzOrientation=
"left"
></nz-divider>
<app-lrc-editor
[
LRCData
]="
item
.
exercises
.
lrcData
"
(
editFinished
)="
getLRC
($
event
,
item
.
exercises
)"
>
</app-lrc-editor>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
play/assets/OP-03-1/scene/OP-03-1.js
View file @
ba8c6d0e
This diff is collapsed.
Click to expand it.
play/assets/OP-03-1/script/defaultData.js
View file @
ba8c6d0e
export
const
defaultData
=
{
export
const
defaultData
=
{
"
exercises
"
:{
"
exercises
"
:{
"
wordArr
"
:[
"
wordArr
"
:[
{
{
"
val
"
:
"
A
"
"
val
"
:
"
A
"
,
},
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/8b5ecca5d4509e1b8a7e81e69d8db615.mp3
"
{
},
"
val
"
:
"
a
"
{
}
"
val
"
:
"
a
"
,
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/607af37644501e678de6cbafee555948.mp3
"
}
],
],
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/101cdabba6404b73292d3b676f4683b1.png
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/101cdabba6404b73292d3b676f4683b1.png
"
,
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/bbab99eb9f5fe3cbe2d24cf80594d8c9.mp3
"
,
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/bbab99eb9f5fe3cbe2d24cf80594d8c9.mp3
"
,
...
...
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