QYF-GitLab1
2 天以前 9cad6a832c786989be620573b09badccfe7e3b51
src/views/classManage/components/questionDom.vue
@@ -62,6 +62,20 @@
              <div v-html="item.userAnswer"></div>
            </div>
          </div>
          <!-- <div class="shortAnswer" v-if="item.questionType == 'shortAnswer' && !isJudge">
            <div class="anSwer" v-if="!isPreview">
              <div class="anSwerText" v-if="item.questionAnswer" style="margin: 15px 0">
                <span style="min-width: 40px">答案:</span
                ><span v-html="item.questionAnswer"></span>
              </div>
              <div :class="isPreview ? 'questionAnalysisCon' : ''" v-if="item.questionAnalysisCon">
                分析:<span v-html="item.questionAnalysisCon"></span>
              </div>
            </div>
            <div v-else>
              <div v-html="item.userAnswer"></div>
            </div>
          </div> -->
          <div v-if="isJudge">
            <div class="shortAnswer anSwerText" v-if="item.answer" style="margin: 15px 0">
              <span v-html="item.answer"></span>
@@ -237,7 +251,9 @@
const emit = defineEmits(['selectQuestion', 'deleteItem', 'judgeUpdate'])
onMounted(() => {})
// onMounted(() => {
//   console.log(props.questionList)
// })
const checkItems = (e: Event, item: any) => {
  emit('selectQuestion', item)
@@ -264,6 +280,9 @@
  padding: 10px;
  box-sizing: border-box;
  font-family: PingFang SC;
  span {
    white-space: pre-wrap !important;
  }
  .questionT {
    // display: flex;
    flex-wrap: wrap;
@@ -283,7 +302,7 @@
    .list-item-title {
      padding: 4px 0;
      padding-left: 10px;
      border-left: 4px solid #ff6c00;
      border-left: 4px solid #019e58;
      color: #000;
      margin: 15px 0;
    }
@@ -307,7 +326,7 @@
      margin-top: 3px;
    }
    .el-checkbox__input.is-checked + .el-checkbox__label {
      color: #ff6c00;
      color: #019e58;
    }
  }