闫增涛
2024-07-01 092b8c442d686354a738b8ef423dac9516442d92
src/components/examinations/index.vue
@@ -371,14 +371,14 @@
                  </template>
                  <div class="referBox">
                    <span>参考答案:</span>
                    <p
                      v-html="arrayToString(value.answer)"
                    <span
                      v-html="value.answer"
                      class="ti-2"
                      :class="[
                        'subjectiveBox',
                        value.isUnfold ? 'showText' : 'hideText',
                      ]"
                    ></p>
                    ></span>
                  </div>
                  <!-- 解析 -->
                  <div class="referBox" v-if="value.analysisCon">
@@ -464,14 +464,20 @@
        >保存</el-button
      >
      <el-button
        @click="handleQuestion"
        @click="(e) =>{
          handleQuestion()
          saveAnswer(e)
        }"
        class="examinations-btn-box"
        :style="{ borderColor: primaryColor }"
        >提交</el-button
      >
      <el-button @click="redo" class="examinations-btn-box">重做</el-button>
      <el-button
        @click="openAnswers"
        @click="(e) => {
          openAnswers()
          saveAnswer(e)
        }"
        class="examinations-btn-box"
        :style="{ borderColor: primaryColor }"
        >查看答案</el-button
@@ -1198,6 +1204,9 @@
    .referBox {
      display: flex;
      margin-bottom: 10px;
      /deep/  math {
        display: flex;
      }
      span {
        width: 80px;
        color: #999;