瀏覽代碼

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

zq 1 周之前
父節點
當前提交
a823ea23a4

+ 1 - 1
src/components/CommonPreview.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>

+ 2 - 2
src/components/RichText.vue

@@ -103,11 +103,11 @@ export default {
     },
     fontSize: {
       type: String,
-      default: '12pt',
+      default: '14pt',
     },
     fontFamily: {
       type: String,
-      default: 'Arial',
+      default: '宋体',
     },
     isHasSpace: {
       type: Boolean,

+ 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);
     },
 

+ 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;
     }
   }
 }