|
@@ -58,7 +58,7 @@
|
|
|
v-if="judgeAnswer == 'standardAnswer'"
|
|
|
:class="['container', curQue.sortType == 'row' ? 'ul-flex' : '']"
|
|
|
>
|
|
|
- <div :class="['sent-option li-flex sent-option-standardAnswer']">
|
|
|
+ <div :class="['sent-option li-flex sent-option-standardAnswer',itemsWidth == 780 ?'hasPadding':'']">
|
|
|
<div
|
|
|
:class="[
|
|
|
'sent-option-items',
|
|
@@ -70,7 +70,7 @@
|
|
|
width:
|
|
|
curQue.sortType == 'col'
|
|
|
? itemsWidth + 'px'
|
|
|
- : Math.floor(780 / curQue.option.length) - 18 + 'px',
|
|
|
+ : Math.floor(732 / curQue.option.length) - 16 + 'px',
|
|
|
}"
|
|
|
>
|
|
|
<div
|
|
@@ -442,6 +442,7 @@
|
|
|
? 'sent-option-24'
|
|
|
: '',
|
|
|
curQue.sortType == 'row' ? 'sent-option-row' : 'li-flex',
|
|
|
+ itemsWidth == 780 ?'hasPadding':''
|
|
|
]"
|
|
|
v-for="(item, index) in curQue.option"
|
|
|
:key="'sent-option' + index"
|
|
@@ -1211,17 +1212,16 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.$set(this.curQue, "option", option);
|
|
|
- let contentWidth = 732;
|
|
|
+ let contentWidth = 780;
|
|
|
if (this.curQue.img_list && this.curQue.img_list.length > 0) {
|
|
|
- contentWidth = 732 - this.curQue.img_size;
|
|
|
+ contentWidth = 780 - this.curQue.img_size;
|
|
|
}
|
|
|
if(itemLeg==1){
|
|
|
- this.itemsWidth = 732
|
|
|
+ this.itemsWidth = 780
|
|
|
}else{
|
|
|
- this.itemsWidth = Math.floor(contentWidth / itemLeg) - 18;
|
|
|
+ this.itemsWidth = Math.floor(contentWidth / itemLeg) - 16;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// 把答错的挑出来
|
|
|
if (this.judgeAnswer == "standardAnswer") {
|
|
|
this.userErrorList = [];
|
|
@@ -1436,7 +1436,7 @@ export default {
|
|
|
if (this.curQue.img_list && this.curQue.img_list.length > 0) {
|
|
|
contentWidth = 732 - this.curQue.img_size;
|
|
|
}
|
|
|
- this.itemsWidth = Math.floor(contentWidth / itemLeg) -18;
|
|
|
+ this.itemsWidth = Math.floor(contentWidth / itemLeg);
|
|
|
},
|
|
|
//词和标点合一起
|
|
|
mergeWordSymbol(sItem) {
|
|
@@ -1521,7 +1521,7 @@ export default {
|
|
|
margin: 8px 0; // 单列左右间距去掉
|
|
|
}
|
|
|
&-8 {
|
|
|
- margin-left: 8px;
|
|
|
+ margin-left: 7px;
|
|
|
margin-right: 8px;
|
|
|
}
|
|
|
}
|
|
@@ -1703,7 +1703,9 @@ export default {
|
|
|
}
|
|
|
&.hasmp3 {
|
|
|
.sent-option {
|
|
|
- padding: 0px 16px;
|
|
|
+ &.hasPadding{
|
|
|
+ padding: 0px 16px;
|
|
|
+ }
|
|
|
}
|
|
|
&.sentence-control {
|
|
|
background: #f7f7f7;
|