|
@@ -69,8 +69,6 @@
|
|
v-show="paperDetailShow(paperDetail)"
|
|
v-show="paperDetailShow(paperDetail)"
|
|
:key="detailIndex"
|
|
:key="detailIndex"
|
|
class="view-part"
|
|
class="view-part"
|
|
- @mouseover="quesMouseOver(paperDetail.id)"
|
|
|
|
- @mouseout="quesMouseOut(paperDetail.id)"
|
|
|
|
>
|
|
>
|
|
<div class="paper-question-title">
|
|
<div class="paper-question-title">
|
|
<span>{{ paperDetail.cnNum }}</span> <span>.</span>
|
|
<span>{{ paperDetail.cnNum }}</span> <span>.</span>
|
|
@@ -111,8 +109,6 @@
|
|
v-show="quesShow(paperDetailUnit.id)"
|
|
v-show="quesShow(paperDetailUnit.id)"
|
|
:key="unitIndex"
|
|
:key="unitIndex"
|
|
class="view-quesiton"
|
|
class="view-quesiton"
|
|
- @mouseover="quesMouseOver(paperDetailUnit.id)"
|
|
|
|
- @mouseout="quesMouseOut(paperDetailUnit.id)"
|
|
|
|
>
|
|
>
|
|
<div class="paper-question-title">
|
|
<div class="paper-question-title">
|
|
<span>{{ paperDetailUnit.number }}.</span>
|
|
<span>{{ paperDetailUnit.number }}.</span>
|
|
@@ -149,12 +145,6 @@
|
|
v-show="quesShow(subQuestion.id)"
|
|
v-show="quesShow(subQuestion.id)"
|
|
:key="subIndex"
|
|
:key="subIndex"
|
|
class="view-part"
|
|
class="view-part"
|
|
- @mouseover="
|
|
|
|
- quesMouseOver(getSubQuesEditId(paperDetailUnit, subQuestion))
|
|
|
|
- "
|
|
|
|
- @mouseout="
|
|
|
|
- quesMouseOut(getSubQuesEditId(paperDetailUnit, subQuestion))
|
|
|
|
- "
|
|
|
|
>
|
|
>
|
|
<div class="paper-question-title">
|
|
<div class="paper-question-title">
|
|
<span>{{ subQuestion.subNumber }}. </span>
|
|
<span>{{ subQuestion.subNumber }}. </span>
|
|
@@ -596,24 +586,24 @@ export default {
|
|
|
|
|
|
//隐藏大题下的所有小题
|
|
//隐藏大题下的所有小题
|
|
hideContent(index) {
|
|
hideContent(index) {
|
|
- console.log("up");
|
|
|
|
|
|
+ // console.log("up");
|
|
this.showQuestions[index].is_show = false;
|
|
this.showQuestions[index].is_show = false;
|
|
this.showButtons[index].up = false;
|
|
this.showButtons[index].up = false;
|
|
},
|
|
},
|
|
//展开大题下所有小题
|
|
//展开大题下所有小题
|
|
showContent(index) {
|
|
showContent(index) {
|
|
- console.log("down");
|
|
|
|
|
|
+ // console.log("down");
|
|
this.showQuestions[index].is_show = true;
|
|
this.showQuestions[index].is_show = true;
|
|
this.showButtons[index].up = true;
|
|
this.showButtons[index].up = true;
|
|
},
|
|
},
|
|
- quesMouseOver(index) {
|
|
|
|
- console.log(index);
|
|
|
|
- // document.getElementById(index).style.visibility = "visible";
|
|
|
|
- },
|
|
|
|
- quesMouseOut(index) {
|
|
|
|
- console.log(index);
|
|
|
|
- // document.getElementById(index).style.visibility = "hidden";
|
|
|
|
- },
|
|
|
|
|
|
+ // quesMouseOver(index) {
|
|
|
|
+ // console.log(index);
|
|
|
|
+ // // document.getElementById(index).style.visibility = "visible";
|
|
|
|
+ // },
|
|
|
|
+ // quesMouseOut(index) {
|
|
|
|
+ // console.log(index);
|
|
|
|
+ // // document.getElementById(index).style.visibility = "hidden";
|
|
|
|
+ // },
|
|
//初始化试卷
|
|
//初始化试卷
|
|
initPaper() {
|
|
initPaper() {
|
|
const scrollPosition =
|
|
const scrollPosition =
|