Browse Source

修改预览问题

dsy 3 weeks ago
parent
commit
eb0fe9a363

+ 1 - 1
.env

@@ -11,4 +11,4 @@ VUE_APP_BookWebSI = '/GCLSBookWebSI/ServiceInterface'
 VUE_APP_EepServer = '/EEPServer/SI'
 
 #version
-VUE_APP_VERSION = '2025.10.27'
+VUE_APP_VERSION = '2025.10.28'

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "eep_page",
-  "version": "2025.10.27",
+  "version": "2025.10.28",
   "private": true,
   "main": "main.js",
   "description": "智慧梧桐数字教材编辑器",

+ 1 - 0
src/views/book/courseware/preview/components/common/PreviewMixin.js

@@ -47,6 +47,7 @@ const mixin = {
     content: {
       handler(newVal) {
         if (this.type === 'edit') return;
+        if (!newVal) return;
         this.data = JSON.parse(newVal);
       },
       immediate: true,

+ 12 - 0
src/views/book/courseware/preview/components/fill/FillPreview.vue

@@ -436,6 +436,18 @@ export default {
         border-radius: 0;
       }
     }
+
+    .popper-list {
+      & + .right-answer {
+        position: relative;
+        left: -4px;
+        display: inline-block;
+        height: 32px;
+        line-height: 28px;
+        vertical-align: bottom;
+        border-bottom: 1px solid $font-color;
+      }
+    }
   }
 
   .record-box {

+ 2 - 0
src/views/book/courseware/preview/components/matching/MatchingPreview.vue

@@ -474,6 +474,8 @@ export default {
 .matching-preview {
   @include preview-base;
 
+  overflow: auto;
+
   .option-list {
     position: relative;
     display: flex;