Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
1e2515b4
Commit
1e2515b4
authored
Jan 17, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
2ea31414
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
index.vue
src/pages/study/index.vue
+10
-10
No files found.
src/pages/study/index.vue
View file @
1e2515b4
...
...
@@ -139,14 +139,14 @@
}
.box_review_swiper
{
width
:
calc
(
100vw
-
72
rpx
-
20
rpx
)
;
height
:
38
0
rpx
;
width
:
660
rpx
;
height
:
40
0
rpx
;
}
.myVideo
{
width
:
100%
;
height
:
100%
;
border-radius
:
12
px
;
width
:
660
rpx
;
height
:
400
rpx
;
border-radius
:
24
r
px
;
}
.examination
{
...
...
@@ -159,7 +159,7 @@
}
.examination-box-c
{
height
:
180
rpx
;
/* height: 200rpx; */
background
:
#F9F9F9
;
overflow-x
:
scroll
;
width
:
100%
;
...
...
@@ -349,12 +349,11 @@
<view
v-if=
"InfoData.Review[current].videolist.length==0"
>
暂无回顾视频...
</view>
<template
v-if=
"InfoData.Review[current].videolist.length>0"
>
<swiper
class=
"box_review_swiper"
@
change=
"swiperChange"
>
<swiper-item
style=
"width: 100%;height: 100%;position: relative;"
<swiper-item
v-for=
"(item, index) in InfoData.Review[current].videolist"
:key=
"index"
>
<video
class=
"myVideo"
:id=
"'Video'+current+'-'+index"
:src=
"item.URL"
@
error=
"spcuowu"
:controls=
"controls"
:show-center-play-btn=
"false"
:show-fullscreen-btn=
"false"
@
fullscreenchange=
"videoControl"
style=
"width: 100%; height: 100%"
>
:show-fullscreen-btn=
"false"
@
fullscreenchange=
"videoControl"
>
</video>
<view
@
click=
"enlarge('Video'+current+'-'+index)"
style=
"
position: absolute;
...
...
@@ -562,7 +561,7 @@
});
},
videoControl
(
e
)
{
console
.
log
(
544
,
e
)
if
(
e
.
detail
.
fullScreen
==
false
)
{
data
.
videoContext
.
stop
();
data
.
controls
=
false
;
...
...
@@ -570,6 +569,7 @@
data
.
videoContext
.
play
();
data
.
controls
=
true
;
}
console
.
log
(
544
,
e
.
detail
.
fullScreen
,
data
.
controls
)
},
getCourseList
()
{
proxy
.
$request
(
"/AppletIndex/GetMyStudyCourseList"
,
{}).
then
(
res
=>
{
...
...
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