提交 2e12076e authored 作者: lihuihui's avatar lihuihui

update

上级 c5f4f375
......@@ -38,7 +38,8 @@
</div>
<div class="case-que">
<div class="stem" v-html="questionData.common_content"></div>
<ul class="topics" :style="{height: contentHeight - 60 + 'px'}">
<!-- <ul class="topics" :style="{height: contentHeight - 60 + 'px'}"> -->
<ul class="topics">
<template v-for="(item, index) in questionData.list">
<li :key="'type5' + index">
<div class="title">
......
......@@ -12,7 +12,8 @@
</div>
</div>
<div class="exam-main" :style="{ height: this.contentHeight + 'px' }">
<div class="left scroll" ref="wrapper">
<div class="left" ref="wrapper2">
<div>
<question
v-if="Object.keys(questionParams.question).length"
:contentHeight="contentHeight"
......@@ -21,7 +22,8 @@
@isSign="isSign"
></question>
</div>
<div class="right scroll" ref="wrapper">
</div>
<div class="right" ref="wrapper">
<answer-card :questionParams="questionParams" :changeTime="changeTime" :info="sInfo.info"></answer-card>
</div>
<ul class="flag-tips">
......@@ -126,6 +128,10 @@ export default {
}
const wrapper = this.$refs.wrapper
new BScroll(wrapper)
setTimeout(() => {
const wrapper2 = this.$refs.wrapper2
new BScroll(wrapper2)
}, 3000)
},
methods: {
sendExamInfo(status) {
......@@ -293,6 +299,10 @@ export default {
this.questionParams.questionIndex + 1 !== this.questionParams.question.total_question_count &&
this.questionParams.questionIndex++
}
setTimeout(() => {
const wrapper2 = this.$refs.wrapper2
new BScroll(wrapper2)
}, 3000)
},
getTopic() {
action.Exam.getTopic(this.$route.params.examId)
......@@ -388,11 +398,11 @@ export default {
.left {
flex: 1;
padding: 10px 20px 0 53px;
overflow-y: scroll;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
overflow: hidden;
// scrollbar-width: none;
// &::-webkit-scrollbar {
// display: none;
// }
}
.right {
position: relative;
......
......@@ -27,7 +27,7 @@
class="prohibit"
v-show="loginParam.is"
/>
<div class="btn" @click="login">登录</div>
<div class="btn" @click="login">登录2</div>
<!-- 11 -->
<!-- <div class="btn prohibit">登录</div> -->
<div class="time-tips" v-show="loginParam.is">{{ loginParam.countTimeText }}</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论