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
50bb4322
Commit
50bb4322
authored
Jan 11, 2022
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
987abd1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.vue
src/pages/study/index.vue
+7
-3
No files found.
src/pages/study/index.vue
View file @
50bb4322
...
...
@@ -274,6 +274,7 @@
</view>
</view>
</view>
<view
class=
"box_review"
v-if=
'InfoData'
:style=
"
{height:InfoData.Review
&&
InfoData.Review.length>0?'660rpx':'300rpx'}">
<view
class=
"row"
style=
"justify-content: space-between;height: 50rpx;"
>
<view
class=
"row"
style=
"color: #111111;font-size: 14px;font-weight: bold;"
>
...
...
@@ -304,7 +305,7 @@
<template
v-if=
"InfoData.Review[current].videolist.length>0"
>
<swiper
class=
"box_review_swiper"
@
change=
"swiperChange"
>
<swiper-item
style=
"width: 100%;height: 100%;"
v-for=
"(item, index) in InfoData.Review[current].videolist"
:key=
"index"
>
<video
class=
"myVideo"
:id=
"'Video'+current+'-'+index"
:src=
"item.URL"
controls
></video>
<video
class=
"myVideo"
:id=
"'Video'+current+'-'+index"
:src=
"item.URL"
controls
@
error=
"spcuowu"
></video>
</swiper-item>
</swiper>
</
template
>
...
...
@@ -319,7 +320,7 @@
<view
class=
"row"
style=
"color: #111111;font-size: 23px;font-weight: bold;"
>
考试
</view>
<view
style=
"font-size: 14px;color: #4C50E7;"
@
click=
"gourlkaoshilist()"
>
更多
试题
</view>
<view
style=
"font-size: 14px;color: #4C50E7;"
@
click=
"gourlkaoshilist()"
>
更多
考试
</view>
</view>
</view>
<view
class=
"reviewcenter"
style=
"height: 300rpx;margin-top: 0;align-items: center;justify-content: center;"
v-if=
"InfoData.ExamList.length==0"
>
...
...
@@ -419,7 +420,7 @@
</view>
<view
class=
"examination-box-btnbox"
>
<view
class=
"examination-btn"
@
click=
"gourlkaoshixq(x)"
>
开始
测
试
开始
考
试
</view>
</view>
...
...
@@ -496,6 +497,9 @@
})
},
spcuowu
(
e
){
console
.
log
(
e
,
'视频错误'
)
},
selectedBanner
(
index
){
//切换轮播图的时候 调取接口
data
.
checkIndex
=
index
;
data
.
CourseInfoMsg
.
ClassId
=
data
.
CourseList
[
index
].
ClassId
;
...
...
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