Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_write_02
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
cc_mz_write_02
Commits
dc55d20a
Commit
dc55d20a
authored
Nov 10, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
3caa3b23
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
194 additions
and
28 deletions
+194
-28
cc_mz_write_02.js
assets/cc_mz_write_02/scene/cc_mz_write_02.js
+116
-15
form.component.html
form/src/app/form/form.component.html
+28
-0
form.component.ts
form/src/app/form/form.component.ts
+50
-13
No files found.
assets/cc_mz_write_02/scene/cc_mz_write_02.js
View file @
dc55d20a
This diff is collapsed.
Click to expand it.
form/src/app/form/form.component.html
View file @
dc55d20a
...
@@ -37,6 +37,17 @@
...
@@ -37,6 +37,17 @@
></app-audio-recorder>
></app-audio-recorder>
</div>
</div>
<nz-divider
></nz-divider>
<span
style=
"margin-left: 15px; "
>
选填:
</span>
<div
*
ngFor=
"let at of audioTypeArr2"
style=
"margin: 15px; display: flex; align-items: center;"
>
<span
style=
"margin-right: 20px; width: 150px; "
align=
"right"
>
{{at.info}}:
</span>
<app-audio-recorder
[
audioUrl
]="
item
[
at
.
key
+
'
_audio_url
']"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
at
.
key
+
'
_audio_url
')"
></app-audio-recorder>
</div>
</div>
</div>
<!-- <div style="width: 300px;">
<!-- <div style="width: 300px;">
...
@@ -271,6 +282,23 @@
...
@@ -271,6 +282,23 @@
</div>
</div>
<div
*
ngIf=
" item.typeArr && item.typeArr.length > 1"
style=
"margin-top: 30px;"
>
<h2>
识别顺序设置:
</h2>
<div
style=
"padding: 10px; border: 2px solid #ccc; border-radius: 10px; width: 350px;"
>
<span
style=
"position:absolute; margin-left: 10px"
>
优先识别:
</span>
<nz-radio-group
[
ngModel
]="
item
.
firstGIdx
"
(
ngModelChange
)="
onRadioChange
($
event
)"
style=
"display: flex; align-items: center; justify-content: center; flex-wrap: wrap;"
>
<div
*
ngFor=
"let type of item.typeArr;"
style=
"display: flex; "
>
<label
nz-radio
nzValue=
"{{type.gIdx}}"
>
{{type.name}}
</label>
</div>
</nz-radio-group>
</div>
</div>
<div
style=
"margin-top: 30px; width: 200px; height: 50px; border: 1px solid #ccc ; border-radius: 5px; display: flex; align-items: center; justify-content: center;"
>
<div
style=
"margin-top: 30px; width: 200px; height: 50px; border: 1px solid #ccc ; border-radius: 5px; display: flex; align-items: center; justify-content: center;"
>
<label
nz-checkbox
[(
ngModel
)]="
item
.
isGuide
"
(
ngModelChange
)="
save
()"
>
首次引导
</label>
<label
nz-checkbox
[(
ngModel
)]="
item
.
isGuide
"
(
ngModelChange
)="
save
()"
>
首次引导
</label>
...
...
form/src/app/form/form.component.ts
View file @
dc55d20a
This diff is collapsed.
Click to expand it.
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