Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et_21
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
et_21
Commits
82c6070f
Commit
82c6070f
authored
Feb 25, 2021
by
Li MingZhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: audio upload 线隐藏
parent
25b731e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
.DS_Store
.DS_Store
+0
-0
audio-recorder.component.ts
...src/app/common/audio-recorder/audio-recorder.component.ts
+19
-0
lrc-editor.component.scss
form/src/app/common/lrc-editor/lrc-editor.component.scss
+16
-2
.DS_Store
publish/.DS_Store
+0
-0
No files found.
.DS_Store
View file @
82c6070f
No preview for this file type
form/src/app/common/audio-recorder/audio-recorder.component.ts
View file @
82c6070f
...
@@ -55,13 +55,32 @@ export class AudioRecorderComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -55,13 +55,32 @@ export class AudioRecorderComponent implements OnInit, OnChanges, OnDestroy {
constructor
(
private
nzMessageService
:
NzMessageService
)
{
constructor
(
private
nzMessageService
:
NzMessageService
)
{
this
.
uploadUrl
=
(
<
any
>
window
).
courseware
.
uploadUrl
();
this
.
uploadUrl
=
(
<
any
>
window
).
courseware
.
uploadUrl
();
this
.
uploadData
=
(
<
any
>
window
).
courseware
.
uploadData
();
this
.
uploadData
=
(
<
any
>
window
).
courseware
.
uploadData
();
window
[
'
air
'
].
getUploadCallback
=
(
url
,
data
)
=>
{
window
[
'
air
'
].
getUploadCallback
=
(
url
,
data
)
=>
{
this
.
uploadUrl
=
url
;
this
.
uploadUrl
=
url
;
this
.
uploadData
=
data
;
this
.
uploadData
=
data
;
};
};
this
.
setUploadUrl
();
}
setUploadUrl
()
{
if
(
!
this
.
uploadUrl
)
{
console
.
log
(
'
!this.uploadUrl ~
'
);
this
.
uploadUrl
=
(
<
any
>
window
).
courseware
.
uploadUrl
();
this
.
uploadData
=
(
<
any
>
window
).
courseware
.
uploadData
();
setTimeout
(()
=>
{
this
.
setUploadUrl
();
},
500
);
}
}
}
init
()
{
init
()
{
...
...
form/src/app/common/lrc-editor/lrc-editor.component.scss
View file @
82c6070f
...
@@ -87,7 +87,21 @@
...
@@ -87,7 +87,21 @@
cursor
:
ew-resize
;
cursor
:
ew-resize
;
user-select
:
none
;
user-select
:
none
;
padding
:
0
2px
;
padding
:
0
2px
;
box-shadow
:
0
.5px
0
0
blue
;
//box-shadow: 0.5px 0 0 blue;
box-shadow
:
none
!
important
;
box-shadow
:
none
;
width
:
1px
;
background
:
blue
;
transform
:
translateX
(
100%
);
padding
:
0
;
}
.drag-bar
{
box-shadow
:
none
;
width
:
4px
;
background
:
blue
;
transform
:
translateX
(
3px
);
padding
:
0
;
}
}
.point-line
{
.point-line
{
position
:
relative
;
position
:
relative
;
...
@@ -105,7 +119,7 @@
...
@@ -105,7 +119,7 @@
//transform: translateX(-100%);
//transform: translateX(-100%);
.ctrl-bar
{
.ctrl-bar
{
bottom
:
0
;
bottom
:
0
;
transform
:
translateX
(
-
10
0%
);
transform
:
translateX
(
-
5
0%
);
box-shadow
:
0
.5px
0
0
blue
;
box-shadow
:
0
.5px
0
0
blue
;
height
:
100px
;
height
:
100px
;
position
:
absolute
;
position
:
absolute
;
...
...
publish/.DS_Store
View file @
82c6070f
No preview for this file type
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