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
2068e6a8
Commit
2068e6a8
authored
Oct 21, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6c717e48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
courseContent.vue
pages/school/courseContent.vue
+25
-0
No files found.
pages/school/courseContent.vue
View file @
2068e6a8
...
...
@@ -245,6 +245,9 @@
this
.
learned
++
;
}
})
if
(
this
.
selectcourse
.
IsRead
==
0
){
this
.
learned
++
;
}
let
obj
=
{
name
:
this
.
name
,
cover_pic
:
this
.
cover_pic
,
...
...
@@ -298,6 +301,17 @@
});
this
.
studybg
=
true
;
this
.
studytext
=
'立即试看'
if
(
this
.
selectcourse
.
IsRead
==
0
){
this
.
learned
++
;
}
let
obj
=
{
name
:
this
.
name
,
cover_pic
:
this
.
cover_pic
,
Sort
:
this
.
selectcourse
.
Sort
,
learned
:
this
.
learned
,
count
:
this
.
count
,
}
uni
.
setStorageSync
(
"laststudy"
,
obj
);
this
.
setMyCourseStudyOK
()
//在换章节的时候标记
}
else
{
let
that
=
this
...
...
@@ -342,6 +356,17 @@
item
.
ImageList
.
forEach
((
x
)
=>
{
this
.
img
.
push
(
x
.
Path
);
});
if
(
this
.
selectcourse
.
IsRead
==
0
){
this
.
learned
++
;
}
let
obj
=
{
name
:
this
.
name
,
cover_pic
:
this
.
cover_pic
,
Sort
:
this
.
selectcourse
.
Sort
,
learned
:
this
.
learned
,
count
:
this
.
count
,
}
uni
.
setStorageSync
(
"laststudy"
,
obj
);
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