Просмотр исходного кода

标签圆角4px,富文本默认宋体,14号字

zq 1 месяц назад
Родитель
Сommit
c40ca3af02

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

@@ -484,7 +484,7 @@ export default {
       this.selectedInfo = null;
     },
     // 定位
-    handLocation(item) {
+    handleLocation(item) {
       this.scrollToDataId(item.blockId);
     },
     getSelectionInfo() {

+ 1 - 1
src/views/book/courseware/preview/components/label/LabelPreview.vue

@@ -50,7 +50,7 @@ export default {
       color: var(--color1);
       background-color: #fff;
       border-color: var(--color1);
-      border-radius: 2px;
+      border-radius: 4px;
     }
   }
 }

+ 6 - 6
src/web_preview/index.vue

@@ -143,7 +143,7 @@
           <div v-if="curToolbarIcon === 'search'" class="resource_box">
             <h5>{{ drawerTitle }}</h5>
             <div style="height: 40px"></div>
-            <el-row :gutter="10" style="margin: 5px -5px">
+            <el-row :gutter="10" style="margin: 5px">
               <el-col :span="16">
                 <el-input v-model="searchContent" placeholder="请输入文本内容" clearable />
               </el-col>
@@ -513,7 +513,7 @@ export default {
         ({ courseware_info }) => {
           this.courseware_info = { ...this.courseware_info, ...courseware_info };
           this.getLangList();
-        }
+        },
       );
     },
     /**
@@ -561,7 +561,7 @@ export default {
       GetLanguageTypeList({ book_id: this.courseware_info.book_id, is_contain_zh: 'true' }).then(
         ({ language_type_list }) => {
           this.langList = language_type_list;
-        }
+        },
       );
     },
 
@@ -625,7 +625,7 @@ export default {
       this.$refs.courserware.handleResult(
         this.$refs.previewMain.scrollTop,
         this.$refs.previewMain.scrollLeft,
-        this.select_node
+        this.select_node,
       );
     },
 
@@ -884,7 +884,7 @@ export default {
           x.coursewareId === note.coursewareId &&
           x.blockId === note.blockId &&
           x.startIndex === note.startIndex &&
-          x.endIndex === note.endIndex
+          x.endIndex === note.endIndex,
       );
       if (old) {
         this.oldRichData = old;
@@ -978,7 +978,7 @@ export default {
           x.coursewareId === collect.coursewareId &&
           x.blockId === collect.blockId &&
           x.startIndex === collect.startIndex &&
-          x.endIndex === collect.endIndex
+          x.endIndex === collect.endIndex,
       );
       if (old) {
         this.$message({