|
@@ -137,21 +137,6 @@
|
|
|
></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="question__btns">
|
|
|
- <div
|
|
|
- class="collect"
|
|
|
- @click="
|
|
|
- collect(collectList[questionIndex], questionIndex)
|
|
|
- "
|
|
|
- >
|
|
|
- <template v-if="!collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-off"></i>收藏本题
|
|
|
- </template>
|
|
|
- <template v-if="collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-on"></i>已收藏</template
|
|
|
- >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
@@ -257,19 +242,6 @@
|
|
|
>
|
|
|
确认答案
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="collect"
|
|
|
- @click="
|
|
|
- collect(collectList[questionIndex], questionIndex)
|
|
|
- "
|
|
|
- >
|
|
|
- <template v-if="!collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-off"></i>收藏本题</template
|
|
|
- >
|
|
|
- <template v-if="collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-on"></i>已收藏</template
|
|
|
- >
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -365,21 +337,6 @@
|
|
|
></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="question__btns">
|
|
|
- <div
|
|
|
- class="collect"
|
|
|
- @click="
|
|
|
- collect(collectList[questionIndex], questionIndex)
|
|
|
- "
|
|
|
- >
|
|
|
- <template v-if="!collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-off"></i>收藏本题</template
|
|
|
- >
|
|
|
- <template v-if="collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-on"></i>已收藏</template
|
|
|
- >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
@@ -939,21 +896,6 @@
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
- <div class="question__btns">
|
|
|
- <div
|
|
|
- class="collect"
|
|
|
- @click="
|
|
|
- collect(collectList[questionIndex], questionIndex)
|
|
|
- "
|
|
|
- >
|
|
|
- <template v-if="!collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-off"></i>收藏本题</template
|
|
|
- >
|
|
|
- <template v-if="collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-on"></i>已收藏</template
|
|
|
- >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
@@ -1053,19 +995,6 @@
|
|
|
>
|
|
|
确认答案
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="collect"
|
|
|
- @click="
|
|
|
- collect(collectList[questionIndex], questionIndex)
|
|
|
- "
|
|
|
- >
|
|
|
- <template v-if="!collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-off"></i>收藏本题</template
|
|
|
- >
|
|
|
- <template v-if="collectList[questionIndex]"
|
|
|
- ><i class="el-icon-star-on"></i>已收藏</template
|
|
|
- >
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -2776,7 +2705,9 @@ export default {
|
|
|
param() {
|
|
|
return {
|
|
|
examId: this.examId,
|
|
|
- questionId: this.questionList[this.current].questionId,
|
|
|
+ questionId: this.questionList[this.current]
|
|
|
+ ? this.questionList[this.current].questionId
|
|
|
+ : undefined,
|
|
|
goodsId: this.goodsId,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
collectQuestionId: this.collectList[this.current]
|
|
@@ -2807,6 +2738,7 @@ export default {
|
|
|
margin-bottom: 20px;
|
|
|
border: 1px solid #eee;
|
|
|
.left-box {
|
|
|
+ position: relative;
|
|
|
float: left;
|
|
|
width: 970px;
|
|
|
min-height: 630px;
|
|
@@ -3067,23 +2999,6 @@ export default {
|
|
|
line-height: 32px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
-
|
|
|
- .collect {
|
|
|
- width: 100px;
|
|
|
- cursor: pointer;
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
- top: 5px;
|
|
|
- font-size: 12px;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: 400;
|
|
|
- color: #3f8dfd;
|
|
|
- line-height: 24px;
|
|
|
-
|
|
|
- i {
|
|
|
- font-size: 20px;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}
|