Commit 594ea149 authored by zhengke's avatar zhengke

1

parent 2580d761
......@@ -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.ChapterTree.CourseId}&&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
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment