提交 078cb7fe authored 作者: lihuihui's avatar lihuihui

fix:修改结果页答题卡样式

上级 025be5bf
...@@ -57,13 +57,11 @@ export default { ...@@ -57,13 +57,11 @@ export default {
computed: { computed: {
}, },
mounted() { mounted() {
// console.log(this.changeQuestion, '=123123123====')
this.changeQuestion = this.setData() this.changeQuestion = this.setData()
}, },
methods: { methods: {
setData() { setData() {
const data = [] const data = []
console.log(this.data, '=datr')
this.data.questions.question_items.forEach(list => { this.data.questions.question_items.forEach(list => {
list.question_list = list.question_list.reduce((a, b) => { list.question_list = list.question_list.reduce((a, b) => {
return a.concat(b) return a.concat(b)
...@@ -85,6 +83,7 @@ export default { ...@@ -85,6 +83,7 @@ export default {
}) })
data.push(list) data.push(list)
}) })
console.log(data)
this.order = data this.order = data
}, },
goQuestion(id) { goQuestion(id) {
...@@ -158,6 +157,7 @@ export default { ...@@ -158,6 +157,7 @@ export default {
// overflow-y: scroll; // overflow-y: scroll;
padding-left: 30px; padding-left: 30px;
// scrollbar-width: none; // scrollbar-width: none;
padding-bottom: 80px;
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none; display: none;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论