This commit is contained in:
2023-08-17 00:23:32 +08:00
parent d76bff73ae
commit bb3fb81962
19 changed files with 754 additions and 56 deletions

View File

@@ -1,7 +1,8 @@
<template>
<view>
<u-navbar title="顺序答题" @rightClick="rightClick" :autoBack="true">
</u-navbar>
<!-- <u-navbar :title="navTitle" @rightClick="rightClick" :autoBack="true">
</u-navbar> -->
<j-navbar>{{navTitle}}</j-navbar>
<Question :tabsList="tabsList" />
</view>
</template>
@@ -19,6 +20,7 @@
},
data() {
return {
navTitle:'',
tabsList:[{
label:"答题",
value:0
@@ -28,8 +30,10 @@
}]
}
},
onLoad() {
console.log(this.orderQuestionList);
onLoad(op) {
if(op&&op.navTitle){
this.navTitle=op.navTitle
}
},
computed: {
...mapState(useQuestionStore, ["orderQuestionList"]) //映射函数取出tagslist