message add href

This commit is contained in:
joshen
2024-05-22 16:38:27 +08:00
parent d23b22165c
commit 47bd4a8563

View File

@@ -100,6 +100,10 @@
{{ item.tip }}-{{ item.content }}
</div>
<div style="cursor: pointer;" @click="returnRouter(item)" class="msg-body-content" v-else>{{ item.tip }}
<span style="color:#0078FC;" v-if="item.refType == '100'||item.refType == '101'">点击查看</span>
</div>
<div style="cursor: pointer;" @click="returnRouter(item)" class="msg-body-content" v-else-if="item.refType == '102'">
{{ item.tip }}
</div>
</div>
<div v-else :class="!item.isRead ? 'infoActive' : ''" style="cursor: pointer;" @click="goRouter(item)"
@@ -425,6 +429,10 @@ export default {
this.$router.push('/qa/answer?id=' + item.refId);
} else if (item.refType == 1) {
this.$router.push('/course/studyindex?id=' + item.refId);
} else if (item.refType == 100) {
this.$router.push('/need/draft?teacherId=' + item.pageParams);
} else if (item.refType == 101) {
this.$router.push('/need/finalsuccess?teacherId=' + item.pageParams);
}
}