|
|
@@ -5,7 +5,8 @@
|
|
|
</div>
|
|
|
<div v-show="edit">
|
|
|
<div class="left-content">
|
|
|
- <icon-button v-if="!read" theme="blue" class="archive-button" :class="toArchive ? 'archive-button--pointerActive' : ''"
|
|
|
+ <icon-button v-if="!read" theme="blue" class="archive-button"
|
|
|
+ :class="toArchive ? 'archive-button--pointerActive' : ''"
|
|
|
title="设置为已读" @click.native.stop="handleArchiveButtonClick" :size="32">
|
|
|
archive
|
|
|
</icon-button>
|
|
|
@@ -62,6 +63,8 @@ export default {
|
|
|
this.$router.push({ name: 'student-quiz-detail', params: { quizId: this.message.refId } })
|
|
|
} else if (this.message.type === messageType.noticeNew) {
|
|
|
this.$router.push({ name: 'student-course-slides', params: { courseId: this.message.refId } })
|
|
|
+ } else if (this.message.type === messageType.slideInClass) {
|
|
|
+ this.$router.push({ name: 'pdf-reader', params: { slideId: this.message.refId, page: '1' } })
|
|
|
} else {
|
|
|
const page = this.message.content.match(/第([0-9]+)页/)[1]
|
|
|
this.$router.push({ name: 'pdf-reader', params: { slideId: this.message.refId, page: page ?? '1' } })
|