Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
a5b89663
Commit
a5b89663
authored
Oct 20, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3afc5849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
courseContent.vue
pages/school/courseContent.vue
+6
-5
No files found.
pages/school/courseContent.vue
View file @
a5b89663
...
...
@@ -10,7 +10,7 @@
enable-play-gesture=
'true'
></video>
<view
v-if=
"selectcourse.Type!=1"
class=
"studyimg"
>
<swiper
<
!--
<
swiper
indicator-dots
:autoplay=
"true"
:interval=
"5000"
...
...
@@ -21,7 +21,8 @@
<image
@
click=
"previewImage(index)"
v-if=
"item.Path"
style=
"width:100%;height:100%;"
:src=
"item.Path"
mode=
""
></image>
</swiper-item>
</block>
</swiper>
</swiper>
-->
<image
@
click=
"previewImage(index)"
style=
"width:100%;height:100%;"
:src=
"selectcourse.ImageList[0].Path"
mode=
""
></image>
</view>
</view>
...
...
@@ -184,7 +185,7 @@
this
.
courseList
[
this
.
index
].
ImageList
.
forEach
((
x
)
=>
{
this
.
img
.
push
(
x
.
Path
);
});
this
.
selectcourse
.
ImageList
=
this
.
selectcourse
.
ImageList
.
splice
(
0
,
8
)
this
.
setMyCourseStudyOK
()
//课程已阅读
}
);
...
...
@@ -228,7 +229,7 @@
item
.
ImageList
.
forEach
((
x
)
=>
{
this
.
img
.
push
(
x
.
Path
);
});
this
.
selectcourse
.
ImageList
=
this
.
selectcourse
.
ImageList
.
splice
(
0
,
8
);
console
.
log
(
'进入'
,
this
.
selectcourse
.
ImageList
)
this
.
setMyCourseStudyOK
()
//在换章节的时候标记
}
else
{
let
that
=
this
...
...
@@ -273,7 +274,7 @@
item
.
ImageList
.
forEach
((
x
)
=>
{
this
.
img
.
push
(
x
.
Path
);
});
this
.
selectcourse
.
ImageList
=
this
.
selectcourse
.
ImageList
.
splice
(
0
,
8
)
this
.
setMyCourseStudyOK
()
//在换章节的时候标记
}
...
...
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