guanchunjie 3 år sedan
förälder
incheckning
a996b4d237

+ 1 - 1
src/components/Adult/preview/ArticleViewChs/index.vue

@@ -92,7 +92,7 @@ import Practice from "./Practicechs.vue"; // 语音练习模式
 import WordModel from "./WordModelChs.vue"; // 语音练习模式
 
 export default {
-  name: "ArticleView",
+  name: "ArticleViewChs",
   props: ["curQue", "NNPENewWordList", "themeColor"],
   components: { NormalModelChs, Practice, WordModel, PhraseModel },
   data() {

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

@@ -98,7 +98,7 @@ import Practice from "./Practicechs.vue"; // 语音练习模式
 import WordModel from "./WordModelChs.vue"; // 语音练习模式
 
 export default {
-  name: "ArticleView",
+  name: "DialogueArticleViewChs",
   props: [
     "curQue",
     "NNPENewWordList",

+ 10 - 1
src/components/Adult/preview/Notes.vue

@@ -44,7 +44,7 @@
               v-html="item.note"
             ></div>
             <div
-              class="NPC-notes-note"
+              class="NPC-notes-note-img"
               v-if="item.img_list && item.img_list.length > 0"
             >
               <div
@@ -204,6 +204,15 @@ export default {
       }
     }
   }
+  .NPC-notes-note-img {
+    width: 100%;
+    > div {
+      width: 100%;
+      > img {
+        max-width: 100%;
+      }
+    }
+  }
 }
 @keyframes firstrotate {
   0% {

+ 11 - 4
src/components/Adult/preview/components/Notecard.vue

@@ -12,11 +12,9 @@
       <div class="NPC-notes-trans">
         {{ item.interpret }}
       </div>
-      <div class="NPC-notes-note" v-if="item.note">
-        {{ item.note }}
-      </div>
+      <div class="NPC-notes-note" v-if="item.note" v-html="item.note"></div>
       <div
-        class="NPC-notes-note"
+        class="NPC-notes-note-img"
         v-if="item.img_list && item.img_list.length > 0"
       >
         <div
@@ -120,5 +118,14 @@ export default {
       cursor: pointer;
     }
   }
+  .NPC-notes-note-img {
+    width: 100%;
+    > div {
+      width: 100%;
+      > img {
+        max-width: 100%;
+      }
+    }
+  }
 }
 </style>