You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jwl-applet/src/pages/questionBank/practiceExams.vue

61 lines
1.1 KiB

2 years ago
<template>
<view>
2 years ago
<u-navbar title="模拟考试" @rightClick="rightClick" :autoBack="true">
</u-navbar>
2 years ago
<Question :tabsList="tabsList" v-model:isSubmit="isSubmit" type="exam" />
2 years ago
</view>
</template>
<script>
2 years ago
import {
mapState,
mapActions
} from 'pinia' //引入映射函数
import useQuestionStore from '@/jtools/store/question' //引入store
import Question from './components/Question.vue';
2 years ago
export default {
2 years ago
components: {
Question
},
2 years ago
data() {
return {
2 years ago
isSubmit:false,
2 years ago
tabsList:[{
label:"模拟考试",
value:0
},{
label:"考前密卷",
value:1
}]
2 years ago
}
},
2 years ago
onLoad() {
console.log(this.orderQuestionList);
},
computed: {
...mapState(useQuestionStore, ["orderQuestionList"]) //映射函数,取出tagslist
},
2 years ago
methods: {
2 years ago
rightClick() {
console.log('返回');
}
2 years ago
}
}
</script>
2 years ago
<style scoped>
::v-deep .u-count-down{
font-size: 28rpx;
color:#fff !important;
display: inline-block !important;
}
::v-deep .u-count-down__text{
font-size: 28rpx;
color:#fff !important;
}
2 years ago
::v-deep .balckColor .u-count-down__text{
font-size: 28rpx;
color:#333 !important;
}
2 years ago
</style>