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
594ea149
Commit
594ea149
authored
Jan 12, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2580d761
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
courseList.vue
src/pages/study/courseList.vue
+10
-7
No files found.
src/pages/study/courseList.vue
View file @
594ea149
...
...
@@ -146,8 +146,8 @@
</view>
<view
class=
"Course_Opera"
>
单词
</view>
</view>
<view>
<view
@
click=
"jumpPage(`/pages/word/test?CourseId=0`)"
>
<view
@
click=
"jumpToExam(item)"
>
<view>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/ceshi.png"
alt=
""
/>
</view>
...
...
@@ -234,15 +234,18 @@
})
data
.
ChapterList
[
index
].
isShow
=
!
data
.
ChapterList
[
index
].
isShow
;
},
jumpPage
(
url
)
{
uni
.
navigateTo
({
url
:
url
,
});
jumpToExam
(
obj
)
{
if
(
obj
){
let
url
=
`/pages/word/test?CourseId=
${
obj
.
CourseId
}
&&ChapterId=
${
obj
.
ChapterNo
}
&&NextChapterId=
${
obj
.
NextChapterNo
}
`
uni
.
navigateTo
({
url
:
url
});
}
},
goWordStudy
(
obj
,
Type
)
{
if
(
obj
)
{
let
url
=
`/pages/word/wordStudy?CourseId=
${
obj
.
C
hapterTree
.
C
ourseId
}
&&ChapterId=
${
obj
.
ChapterNo
}
&&ReviewChapterId=
${
obj
.
NextChapterNo
}
&&Type=
${
Type
}
&&ClassId=
${
obj
.
ClassId
}
&&CourseName=
${
this
.
CourseName
}
&&TotalHours=
${
this
.
TotalHours
}
`
`/pages/word/wordStudy?CourseId=
${
obj
.
CourseId
}
&&ChapterId=
${
obj
.
ChapterNo
}
&&ReviewChapterId=
${
obj
.
NextChapterNo
}
&&Type=
${
Type
}
&&ClassId=
${
obj
.
ClassId
}
&&CourseName=
${
this
.
CourseName
}
&&TotalHours=
${
this
.
TotalHours
}
`
uni
.
navigateTo
({
url
:
url
});
...
...
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