|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<!-- 导航栏 -->
|
|
<!-- 导航栏 -->
|
|
- <van-nav-bar :title="title" left-arrow @click-left="back" fixed placeholder>
|
|
|
|
|
|
+ <van-nav-bar :title="exerciseTitle" left-arrow @click-left="back" fixed placeholder>
|
|
<!-- <template #right>
|
|
<!-- <template #right>
|
|
<m-icon type="shezhi" @click="setShow = true" />
|
|
<m-icon type="shezhi" @click="setShow = true" />
|
|
</template> -->
|
|
</template> -->
|
|
@@ -110,6 +110,7 @@ import { ref, defineProps,computed } from "vue";
|
|
import subjectChangePopup from "./components/subjectChangePopup.vue";
|
|
import subjectChangePopup from "./components/subjectChangePopup.vue";
|
|
import { useTopicMode, useAudioSet, useSubjectShowLogic } from "@/hooks/exercise";
|
|
import { useTopicMode, useAudioSet, useSubjectShowLogic } from "@/hooks/exercise";
|
|
import { RouterBus } from "@/hooks";
|
|
import { RouterBus } from "@/hooks";
|
|
|
|
+import {exerciseTitle} from "@/hooks/text/title"
|
|
import subjectContext from "./components/subjectContext.vue";
|
|
import subjectContext from "./components/subjectContext.vue";
|
|
import functionList from "./components/functionList.vue";
|
|
import functionList from "./components/functionList.vue";
|
|
import explainJq from "./components/explainJq.vue";
|
|
import explainJq from "./components/explainJq.vue";
|
|
@@ -139,10 +140,6 @@ const isSoundEffect = ref(true);
|
|
// 显示题目选择栏
|
|
// 显示题目选择栏
|
|
const showSubjectChangePopup = ref(false);
|
|
const showSubjectChangePopup = ref(false);
|
|
|
|
|
|
-const title = computed(() => {
|
|
|
|
-
|
|
|
|
- return `(${query.cert})/${query.name}/${query.title}/${query.placeIssueName || query.classIssueName || query.excellIssueName || query.sequeIssueName||""}`;
|
|
|
|
-});
|
|
|
|
|
|
|
|
//题目展示逻辑
|
|
//题目展示逻辑
|
|
const { subjectList, currentSubject, currentSubjectIndex, subjectTotal, nextSubject, lastSubject, trueNum, falseNum, isJumpNext, userAnswerChange, addCurrentQuestion, skillsShow, officialShow } = useSubjectShowLogic(props.listType);
|
|
const { subjectList, currentSubject, currentSubjectIndex, subjectTotal, nextSubject, lastSubject, trueNum, falseNum, isJumpNext, userAnswerChange, addCurrentQuestion, skillsShow, officialShow } = useSubjectShowLogic(props.listType);
|