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

update

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