liqk 4 years ago
parent
commit
e8f68e84dc

+ 4 - 0
TEAMModelOS/ClientApp/src/view/learnactivity/PaperScore.less

@@ -381,3 +381,7 @@
         }
     }
 
+
+    .paper-score-container .item-option-content, .item-question-flex, .child-item-question-flex {
+        display: flex;
+    }

+ 6 - 6
TEAMModelOS/ClientApp/src/view/learnactivity/PaperScore.vue

@@ -27,10 +27,10 @@
                     <Icon :type="showQu ? 'md-eye-off':'md-eye'" />
                     {{ showQu ? $t('learnActivity.score.hideQu') : $t('learnActivity.score.showQu')}}
                 </span>
-                <span class="base-info-btn" @click="isDefOrder = !isDefOrder">
+                <!-- <span class="base-info-btn" @click="isDefOrder = !isDefOrder">
                     <Icon :type="isDefOrder ? 'md-reorder':'ios-keypad'" />
                     {{isDefOrder ? '默认顺序' : '题型排序'}}
-                </span>
+                </span> -->
             </div>
             <div class="question-index-box" v-if="studentAnswer.scores">
                 <div class="base-info-item" style="white-space: nowrap;">{{$t('learnActivity.score.quIndex')}}</div>
@@ -93,7 +93,7 @@
                         </div>
                         <div class="qu-info-box">
                             <!-- 题干部分 -->
-                            <div class="item-question" v-show="showQu">
+                            <div class="item-question item-question-flex" v-show="showQu">
                                 <div class="item-question-order">{{ getQuIndex(typeIndex,index) }} .</div>
                                 <div class="item-question-text" v-html="item.question"></div>
                             </div>
@@ -182,8 +182,8 @@
                     </div>
                     <!-- 综合题 -->
                     <div v-else style="width:100%;" class="compose-box">
-                        <div class="item-question" style="margin-left:90px; margin-bottom:10px;" v-show="showQu">
-                            <div class="item-question-order">{{ getQuIndex(typeIndex,index)}} .</div>
+                        <div class="item-question item-question-flex" style="margin-left:90px; margin-top:20px;" v-show="showQu">
+                            <div class="item-question-order">{{ getQuIndex(typeIndex,index)}}.</div>
                             <div class="item-question-text" v-html="item.question"></div>
                         </div>
                         <div :class="['child-item', activeIndex == getScoreIndex(typeIndex,index,childIndex) ? 'active-qu-wrap' : '']" v-for="(childItem,childIndex) in item.children" :key="childIndex" style="padding-top:15px;" :id="'qustion'+getScoreIndex(typeIndex,index,childIndex)" @click="activeIndex = getScoreIndex(typeIndex,index,childIndex)">
@@ -218,7 +218,7 @@
                                     </div> -->
                             </div>
                             <div class="qu-info-box">
-                                <div class="child-item-question" v-show="showQu">
+                                <div class="child-item-question child-item-question-flex" v-show="showQu">
                                     <span class="child-item-question-order">{{$t('learnActivity.score.sQuLabel1')}}{{ childIndex + 1 }}{{$t('learnActivity.score.sQuLabel2')}}</span>
                                     <p class="child-item-question-content" v-html="childItem.question"></p>
                                 </div>