From eede90603b539f0945d0b26ffa00e1baaaa6af34 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期三, 06 十一月 2024 17:41:01 +0800 Subject: [PATCH] 艺术戏剧(手机端修改完成) --- src/books/mathBook/view/components/index.vue | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/books/mathBook/view/components/index.vue b/src/books/mathBook/view/components/index.vue index 417892c..d87298f 100644 --- a/src/books/mathBook/view/components/index.vue +++ b/src/books/mathBook/view/components/index.vue @@ -189,7 +189,7 @@ // 娴嬭瘯椤甸潰璺宠浆 // setTimeout(() => { - // this.gotoPage(2,10); + // this.gotoPage(2,22); // // setTimeout(() => { // // this.renderSign("Highlight", { // // id: "2ACA9359", @@ -241,7 +241,6 @@ // 婊氬姩鐩戝惉 scrollFun(event) { this.handleVideoPicture(); - // 鍒ゆ柇鍚戜笂婊氬姩杩樻槸鍚戜笅婊氬姩 if (event.target.scrollTop > this.previousScrollTop) { // 鍚戜笅 @@ -524,7 +523,6 @@ }); }, getParentWithClass(element, className) { - console.log(element, className, "element, className"); while (element.parentElement) { element = element.parentElement; if (element.classList.contains(className)) { @@ -593,7 +591,6 @@ this.questionDataMap[page] = obj; } } - console.log(1, this.questionDataMap); } } // 娓叉煋杩欎竴椤电殑鏍囪 @@ -903,7 +900,7 @@ ]; if (this.questionId) { if (this.questionId[num] && this.questionId[num][page]) { - if (num != this.questionDataIndex) { + if (num != this.questionDataIndex || !this.questionList.length) { // 鍒ゆ柇褰撳墠绔犺妭鐨勯鐩甹son鏄惁宸茬粡璇锋眰杩� const res = await axios.get( this.config.activeBook.resourceUrl + "/question-" + num + ".json" @@ -911,7 +908,6 @@ if (!res.data) return []; this.questionList = res.data.data; this.questionDataIndex = res.data.chapterNum; - console.log("绔犺妭鍙�", num, res); } let ids = []; questionIndex -- Gitblit v1.9.1