Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
张伯涛
tea_resources_pc
Commits
9c8effe6
Commit
9c8effe6
authored
Jul 17, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频播放限制不可以点击拖动进度条
parent
b6a39656
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.vue
src/views/lessionLearn/index.vue
+2
-2
No files found.
src/views/lessionLearn/index.vue
View file @
9c8effe6
...
@@ -1368,13 +1368,13 @@ export default {
...
@@ -1368,13 +1368,13 @@ export default {
const
progress
=
this
.
currentSection
.
progress
&&
parseInt
(
Number
(
this
.
currentSection
.
progress
.
split
(
'%'
)[
0
]))
>=
100
const
progress
=
this
.
currentSection
.
progress
&&
parseInt
(
Number
(
this
.
currentSection
.
progress
.
split
(
'%'
)[
0
]))
>=
100
const
valueZero
=
this
.
course
.
valueGain
===
'0'
||
this
.
course
.
valueGain
===
''
const
valueZero
=
this
.
course
.
valueGain
===
'0'
||
this
.
course
.
valueGain
===
''
player
.
currentTime
(
this
.
currentLocation
)
player
.
currentTime
(
this
.
currentLocation
)
/*
if (progress || valueZero || this.isOutLine) {
if
(
progress
||
valueZero
||
this
.
isOutLine
)
{
vjsProgress
[
0
].
style
.
pointerEvents
=
'auto'
vjsProgress
[
0
].
style
.
pointerEvents
=
'auto'
vjsProgress
[
0
].
style
.
cursor
=
'default'
vjsProgress
[
0
].
style
.
cursor
=
'default'
}
else
{
}
else
{
vjsProgress
[
0
].
style
.
pointerEvents
=
'none'
vjsProgress
[
0
].
style
.
pointerEvents
=
'none'
vjsProgress
[
0
].
style
.
cursor
=
'not-allowed'
vjsProgress
[
0
].
style
.
cursor
=
'not-allowed'
}
*/
}
},
},
onPlayerTimeupdate
(
player
)
{
onPlayerTimeupdate
(
player
)
{
this
.
currentPlayTime
=
player
.
currentTime
()
this
.
currentPlayTime
=
player
.
currentTime
()
...
...
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