mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-12 12:26:48 +08:00
feat:修改投票跳转
This commit is contained in:
@@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi";
|
|||||||
import { getCookie } from "@/api/utils";
|
import { getCookie } from "@/api/utils";
|
||||||
|
|
||||||
import { USER_INFO } from "@/api/api";
|
import { USER_INFO } from "@/api/api";
|
||||||
console.log("版本1.3.1------------");
|
console.log("版本1.3.2------------");
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ import dayjs from "dayjs";
|
|||||||
import store from "@/store";
|
import store from "@/store";
|
||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
import { useRoute, useRouter } from "vue-router/dist/vue-router";
|
import { useRoute, useRouter } from "vue-router/dist/vue-router";
|
||||||
|
const router = useRouter();
|
||||||
const {
|
const {
|
||||||
query: { courseId, chapterOrStageId, infoId, id, btype },
|
query: { courseId, chapterOrStageId, infoId, id, btype },
|
||||||
} = useRoute();
|
} = useRoute();
|
||||||
|
|||||||
@@ -139,11 +139,11 @@ const goOuterChain = () => {
|
|||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
// if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
// let jumpUrl = res.data.quizUrl;
|
let jumpUrl = res.data.quizUrl;
|
||||||
// // 此处写跳转url
|
// 此处写跳转url
|
||||||
// window.open(jumpUrl, "_top");
|
window.open(jumpUrl, "_top");
|
||||||
// }
|
}
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
|||||||
@@ -16,10 +16,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="notice" style="margin-top: 0">
|
<div class="notice" style="margin-top: 0">
|
||||||
<div class="noticebox">
|
<div class="noticebox">
|
||||||
<div class="avator">
|
<!-- <div class="avator">
|
||||||
<img class="avaimg" :src="teacherInfo.avatar" />
|
<img class="avaimg" :src="teacherInfo.avatar" />
|
||||||
<div class="avaname">{{ data.userInfoBo?.userName }}</div>
|
<div class="avaname">{{ data.userInfoBo?.userName }}</div>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="mani">
|
<div class="mani">
|
||||||
<div class="joininfo">{{ data?.liveName }}</div>
|
<div class="joininfo">{{ data?.liveName }}</div>
|
||||||
<div class="contenttitle">
|
<div class="contenttitle">
|
||||||
|
|||||||
Reference in New Issue
Block a user