natasha 2 недель назад
Родитель
Сommit
4da234c3f0

+ 4 - 0
src/components/Adult/Preview.vue

@@ -3288,6 +3288,10 @@ export default {
           this.baseSizePhone = this.baseSizePhone + 2;
         }
       }
+      this.$nextTick(() => {
+        const divHeight = this.$refs.titleBg.offsetHeight;
+        this.divHeight = divHeight;
+      });
 
       localStorage.setItem("baseSizePhone", this.baseSizePhone);
     },

+ 2 - 2
src/components/Adult/preview/DialogueArticleViewChs/index.vue

@@ -181,8 +181,8 @@ import NormalModelChs from "./NormalModelChs.vue";
 import Practice from "./Practicechs.vue"; // 语音练习模式
 import WordModel from "./WordModelChs.vue"; // 语音练习模式
 import Voicefullscreen from "../Voicefullscreen.vue";
-import { analysSubmit, getContentFile } from "@/api/ajax";
-import { getToken } from "@/utils/auth";
+import { analysSubmit, getContentFile } from "../../../../api/ajax";
+import { getToken } from "../../../../utils/auth";
 export default {
   name: "DialogueArticleViewChs",
   props: [