|
@@ -104,8 +104,11 @@
|
|
|
重新答题
|
|
|
</button>
|
|
|
<button
|
|
|
- v-if="questionInfo?.descText"
|
|
|
+ v-if="!isDescInline"
|
|
|
class="watch-desc"
|
|
|
+ :class="{
|
|
|
+ disabled: !questionInfo?.descText
|
|
|
+ }"
|
|
|
@click="onClickWatchDesc"
|
|
|
>
|
|
|
答案解析
|
|
@@ -173,7 +176,9 @@ export default {
|
|
|
this.$refs['question-pending']?.selectedIdxList,
|
|
|
this.questionInfo.badgeTypeCode,
|
|
|
)
|
|
|
- this.isShowDesc = true
|
|
|
+ if (this.isDescInline) {
|
|
|
+ this.isShowDesc = true
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
onClickWatchDesc() {
|
|
@@ -325,6 +330,10 @@ export default {
|
|
|
font-family: LiSu-Regular, LiSu;
|
|
|
font-weight: 400;
|
|
|
color: #8F4831;
|
|
|
+ &.disabled {
|
|
|
+ opacity: 0.5;
|
|
|
+ pointer-events: none;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
> button.return-question {
|