Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gs_carton
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
gs_carton
Commits
0cefed3a
Commit
0cefed3a
authored
Nov 18, 2024
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
422f3103
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
form.component.css
src/app/form/form.component.css
+2
-2
form.component.html
src/app/form/form.component.html
+6
-6
No files found.
src/app/form/form.component.css
View file @
0cefed3a
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
background-color
:
#4CAF50
;
/* 绿色背景 */
background-color
:
#4CAF50
;
/* 绿色背景 */
border
:
none
;
border
:
none
;
color
:
white
;
/* 白色文字 */
color
:
white
;
/* 白色文字 */
padding
:
10
px
20px
;
padding
:
5
px
20px
;
text-align
:
center
;
text-align
:
center
;
text-decoration
:
none
;
text-decoration
:
none
;
display
:
inline-block
;
display
:
inline-block
;
font-size
:
1
6
px
;
font-size
:
1
3
px
;
margin
:
10px
20px
;
margin
:
10px
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
border-radius
:
5px
;
/* 圆角 */
border-radius
:
5px
;
/* 圆角 */
...
...
src/app/form/form.component.html
View file @
0cefed3a
<div
class=
"model-content"
>
<div
class=
"model-content"
>
<div
style=
"position: fixed; top:
20px; left: 20px; right: 20px; z-index: 1000; background-color: #fff; padding: 20px; border-radius: 1
0px;"
>
<div
style=
"position: fixed; top:
0px; left: 0px; right: 0px; z-index: 1000; background-color: #F2F6FC; padding: 2
0px;"
>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"display: flex; align-items: center;"
>
<h4>
音频添加:
</h4>
<h4>
音频添加:
</h4>
<app-audio-recorder
<app-audio-recorder
...
@@ -9,6 +9,11 @@
...
@@ -9,6 +9,11 @@
[
audioUrl
]="
item
.
bg_audio_url
"
[
audioUrl
]="
item
.
bg_audio_url
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
bg_audio_url
',
item
)"
>
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
bg_audio_url
',
item
)"
>
</app-audio-recorder>
</app-audio-recorder>
<div
*
ngIf=
"item.bg_audio_url"
>
<button
(
click
)="
togglePlayPause
()"
class=
"play-pause-button"
>
{{ isPlaying ? '暂停' : '播放' }}
</button>
</div>
<div
class=
"current-time-display"
>
当前播放时间: [
<span
class=
"time-text"
>
{{ currentTime }}
</span>
]毫秒
</div>
<div
class=
"current-time-display"
>
当前播放时间: [
<span
class=
"time-text"
>
{{ currentTime }}
</span>
]毫秒
</div>
<button
(
click
)="
addHotZone
()"
class=
"add-page-button"
>
<button
(
click
)="
addHotZone
()"
class=
"add-page-button"
>
<i
nz-icon
nzType=
"plus-circle"
nzTheme=
"outline"
></i>
<i
nz-icon
nzType=
"plus-circle"
nzTheme=
"outline"
></i>
...
@@ -24,11 +29,6 @@
...
@@ -24,11 +29,6 @@
<i
nz-icon
nzType=
"zoom-out"
nzTheme=
"outline"
></i>
<i
nz-icon
nzType=
"zoom-out"
nzTheme=
"outline"
></i>
</button>
</button>
</div>
</div>
<div
*
ngIf=
"item.bg_audio_url"
>
<button
(
click
)="
togglePlayPause
()"
class=
"play-pause-button"
>
{{ isPlaying ? '暂停' : '播放' }}
</button>
</div>
</div>
</div>
<div
style=
"height: 300px;"
>
</div>
<div
style=
"height: 300px;"
>
</div>
...
...
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