mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
提交
This commit is contained in:
@@ -44,11 +44,11 @@ export const TASK_TYPES = {
|
||||
},
|
||||
|
||||
path: {
|
||||
1: ({ courseId }) => window.open(window.location.protocol + import.meta.env.VITE_BOE_ONLINE_CLASS_URL + courseId), //在线
|
||||
2: ({ targetId }) => window.open(`${location.protocol}//${location.host}${import.meta.env.VITE_BASE_API}/stu/project/redirectDetail?courseId=${targetId}`, '_top'),
|
||||
3: ({ courseId }) => window.open(window.location.protocol + import.meta.env.VITE_BOE_CASS_DETAIL_URL + courseId), //案例
|
||||
1: ({ courseId }) => setTimeout(() => { window.open(window.location.protocol + import.meta.env.VITE_BOE_ONLINE_CLASS_URL + courseId) }), //在线
|
||||
2: ({ targetId }) => setTimeout(() => { window.open(`${location.protocol}//${location.host}${import.meta.env.VITE_BASE_API}/stu/project/redirectDetail?courseId=${targetId}`, '_top')}),
|
||||
3: ({ courseId }) => setTimeout(() => { window.open(window.location.protocol + import.meta.env.VITE_BOE_CASS_DETAIL_URL + courseId) }), //案例
|
||||
4: "/homeworkpage",
|
||||
5: ({ examType }) => examType === 2 ? '/externalexam' : (window.location.protocol + import.meta.env.VITE_BOE_EXAM_DETAIL_URL), //考试
|
||||
5: ({ examType }) => examType === 2 ? '/externalexam' : setTimeout(() => {(window.location.protocol + import.meta.env.VITE_BOE_EXAM_DETAIL_URL)}), //考试
|
||||
6: "/liveboradcast",
|
||||
7: '/outerchain', //外联
|
||||
8: "/discusspage",
|
||||
|
||||
@@ -79,20 +79,20 @@
|
||||
}" -->
|
||||
<template v-if="stageProcessList && stageProcessList.length">
|
||||
<div
|
||||
@click.native="toFinish(item)"
|
||||
|
||||
:id="item.id"
|
||||
v-for="(item, key) in stageProcessList"
|
||||
:key="key"
|
||||
class="task-item"
|
||||
>
|
||||
<div class="task-img">
|
||||
<div class="task-img" @click.native="toFinish(item)">
|
||||
<img
|
||||
style="width: 100%; height: 100%"
|
||||
:src="getAssetsFile(item.courseType)"
|
||||
/>
|
||||
<div class="task-img-icon">{{ key + 1 }}</div>
|
||||
</div>
|
||||
<div style="margin-left: 11px; width: 58%">
|
||||
<div style="margin-left: 11px; width: 58%" @click.native="toFinish(item)">
|
||||
<div style="display: flex; align-items: center">
|
||||
<div class="task-type">
|
||||
{{ TASK_TYPES.typeName[item.courseType] }}
|
||||
|
||||
Reference in New Issue
Block a user