闫增涛
2024-10-22 c718c815aef6ecb4175dc8ea7902a4adf0287714
数学
3个文件已修改
20 ■■■■■ 已修改文件
src/books/mathBook/view/components/chapter001.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/mathBook/view/components/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/examinations/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/mathBook/view/components/chapter001.vue
@@ -862,14 +862,14 @@
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
            </div>
            <examinations :cardList="questionData[19][1]" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            <examinations :cardList="questionData[19] ? questionData[19][1] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
          </div>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[19][2]" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            <examinations :cardList="questionData[19] ? questionData[19][2] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
          </div>
        </div>
src/books/mathBook/view/components/index.vue
@@ -241,7 +241,6 @@
    // 滚动监听
    scrollFun(event) {
      this.handleVideoPicture();
      // 判断向上滚动还是向下滚动
      if (event.target.scrollTop > this.previousScrollTop) {
        // 向下
@@ -903,7 +902,7 @@
      ];
      if (this.questionId) {
        if (this.questionId[num] && this.questionId[num][page]) {
          if (num != this.questionDataIndex) {
          if (num != this.questionDataIndex || !this.questionList.length) {
            // 判断当前章节的题目json是否已经请求过
            const res = await axios.get(
              this.config.activeBook.resourceUrl + "/question-" + num + ".json"
src/components/examinations/index.vue
@@ -33,7 +33,6 @@
              </span>
              <!-- 听力进度条 -->
              <!-- <answerAudioPlayer :audioUrl="value.src" v-show="item.name == '听力题'" /> -->
              <!-- 仅文字 -->
              <p
                class="titleText text-fl"
@@ -109,12 +108,11 @@
                    :disabled="value.isComplete"
                  >
                    <el-option 
                      v-for="citem in value.option"
                      :key="citem.index"
                      :label="citem.txt"
                      :value="citem.value"
                      v-for="(citem,cindex) in value.option"
                      :key="cindex + 'dropdown'"
                      :label="citem"
                      :value="citem"
                    >
                    </el-option>
                  </el-select>
                </span>
@@ -277,7 +275,6 @@
            <div class="analysis" v-if="value.isComplete">
              <el-collapse
                v-model="value.isUnfold"
                @change="handleChange(value)"
                accordion
                v-if="value.questionType != 'shortAnswer'"
              >
@@ -378,8 +375,8 @@
                  ></div>
                  <div v-else>暂无数据</div>
                </el-collapse-item>
                <!-- 主观题 -->
              </el-collapse>
              <!-- 主观题 -->
              <el-collapse v-else v-model="value.isUnfold" accordion>
                <el-collapse-item :name="value.id" class="objective">
                  <template #title>