闫增涛
2024-07-01 34f53c3ca69833ddf0649700d26da9ed91c5f1c3
src/views/examination/components/list.vue
@@ -238,13 +238,14 @@
                    style="margin-left: 20px"
                  >
                    <span>您的答案:</span>
                    <span class="errorBox" v-if="isHaveAnswer(value.userAnswer)">{{
                      arrayToString(value.userAnswer)
                    <span class="errorBox" >{{
                      arrayToString(value.userAnswer) ? arrayToString(value.userAnswer) : '-'
                    }}</span>
                  </p>
                </li>
                <li>
                  <p class="difficulty" v-if="value.difficulty">
                  <div class="difficulty" v-if="value.difficulty">
                        <span style="color: #333">难度等级:</span>
                        <el-rate
                          v-model="value.difficulty"
@@ -253,7 +254,7 @@
                          disabled
                          disabled-void-color="#949494"
                        />
                      </p>
                      </div>
                </li>
              </ul>
              <el-collapse
@@ -380,6 +381,9 @@
</script>
<style lang="less" scoped>
.catalogName {
  margin-top: 40px;
}
.collect-png {
  cursor: pointer;
  width: 24px;
@@ -444,6 +448,7 @@
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  .titleContent {
    width: 95%;
    display: flex;
@@ -592,7 +597,7 @@
  color: #fff;
  .mark-error,.mark-correct {
    white-space: nowrap;
    height: 20px;
    min-height: 20px;
    line-height: 18px;
    padding: 2px 8px;
    margin-right: 5px;
@@ -624,6 +629,10 @@
        color: #FF5E5E;
      }
    }
.difficulty {
  display: flex;
  align-items: center;
}
.analysis-box {
  padding: 10px 0;
}