|
@@ -53,7 +53,7 @@
|
|
|
</template>
|
|
|
</van-checkbox>
|
|
|
</van-checkbox-group>
|
|
|
- <van-button round type="primary" class="checkbox-btn" @click="userAnswerChange">确定</van-button>
|
|
|
+ <van-button round type="primary" class="checkbox-btn" @click="userAnswerChange">确定</van-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 展示答题后选择内容 -->
|
|
@@ -120,14 +120,22 @@
|
|
|
<!-- 底部操作栏 -->
|
|
|
<bottomBar :audioPause="audioPause" :currentSubjectIndex="currentSubjectIndex" :subjectTotal="subjectTotal" :trueNum="trueNum" :falseNum="falseNum" v-model:showSubjectChangePopup="showSubjectChangePopup" v-model:officialShow="officialShow" @lastSubject="lastSubject" @nextSubject="nextSubject" />
|
|
|
</template>
|
|
|
-
|
|
|
+<script lang="ts">
|
|
|
+import { defineComponent,defineAsyncComponent } from "vue";
|
|
|
+export default defineComponent({
|
|
|
+ name: "mExercise",
|
|
|
+ components: {
|
|
|
+ subjectContext:defineAsyncComponent(()=>import('./components/subjectContext.vue')),
|
|
|
+ },
|
|
|
+});
|
|
|
+</script>
|
|
|
<script lang="ts" setup>
|
|
|
import { ref, defineProps, computed } from "vue";
|
|
|
import subjectChangePopup from "./components/subjectChangePopup.vue";
|
|
|
import { useTopicMode, useAudioSet, useSubjectShowLogic } from "@/hooks/exercise";
|
|
|
-import {exerciseTitle} from "@/hooks/text/title"
|
|
|
+import { exerciseTitle } from "@/hooks/text/title";
|
|
|
import { RouterBus } from "@/hooks";
|
|
|
-import subjectContext from "./components/subjectContext.vue";
|
|
|
+// import subjectContext from "./components/subjectContext.vue";
|
|
|
import functionList from "./components/functionList.vue";
|
|
|
import explainJq from "./components/explainJq.vue";
|
|
|
import explainJs from "./components/explainJs.vue";
|
|
@@ -141,9 +149,7 @@ const {
|
|
|
|
|
|
const props = defineProps<{
|
|
|
listType: ExerciseType.ListType;
|
|
|
- hideFunctionList:Boolean
|
|
|
-
|
|
|
-
|
|
|
+ hideFunctionList: Boolean;
|
|
|
}>();
|
|
|
|
|
|
const isVip = store.getters.getIsVip;
|