dsy 3 недель назад
Родитель
Сommit
7cf8fb2479

+ 1 - 1
.env

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

+ 1 - 1
package.json

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

+ 1 - 0
src/styles/mixin.scss

@@ -41,6 +41,7 @@
 @mixin preview-base {
   display: grid;
   gap: 6px;
+  max-width: $courseware-width;
 
   :deep .rich-text {
     @include rich-text;

+ 2 - 2
src/views/book/courseware/create/components/base/common/UploadFile.vue

@@ -40,7 +40,7 @@
             <span v-else>{{
               canEditName && file.file_id
                 ? content.file_info[file.file_id].xuhao + content.file_info[file.file_id].file_name
-                : file.file_name ?? file.name
+                : (file.file_name ?? file.name)
             }}</span>
             <!-- <span>({{ file.size }})</span> -->
           </span>
@@ -475,7 +475,7 @@ export default {
       file.isEdit = !file.isEdit;
     },
 
-    //提交到资源库
+    // 提交到资源库
     addResource(file) {
       let data = {
         project_id: this.project_id,

+ 1 - 1
src/views/book/courseware/preview/CoursewarePreview.vue

@@ -356,7 +356,7 @@ export default {
       const projectCover = this.project?.cover_image_file_url || '';
 
       // 优先在空行时使用背景图或项目封面
-      const backgroundImage = hasNoRows ? bcImgUrl || projectCover : '';
+      const backgroundImage = hasNoRows ? bcImgUrl || projectCover : bcImgUrl;
 
       // 保护性读取位置/大小值,避免 undefined 导致字符串 "undefined%"
       const widthPct = typeof pos.width === 'undefined' ? '' : pos.width;