Sfoglia il codice sorgente

样式,字体预设

cxmo 5 mesi fa
parent
commit
78289f9438

+ 1 - 1
src/views/ppt_manage/newVersion/css/common.scss

@@ -97,7 +97,7 @@ $titleColor:#333333;
         position: absolute;
         transform-origin: 0 0;
         &.editor-model{
-            background-color: #99999946;
+            //background-color: #99999946;
         }
         &.ppt-editor-title{
             border:1px dashed #999;

+ 3 - 1
src/views/ppt_manage/newVersion/pptEnEditor.vue

@@ -1646,10 +1646,12 @@ $titleColor:#333333;
               }
             }
             .title-edit-box{
+                display:flex;
+                flex-direction: column;
+                padding:20px;
                 p{
                     font-size: 16px;
                     font-weight: bold;
-                    margin-top:16px;
                 }
             }
        }

+ 12 - 12
src/views/ppt_manage/newVersion/utils/tinymceSetting.js

@@ -112,32 +112,32 @@ export const fontFamily = [
         value:'arial,helvetica,sans-serif',
     },
     {
-        label:'Black',
-        value:'arial black,avant garde',
+        label:'Georgia',
+        value:'Georgia,serif',
     },
     {
         label:'Impact',
         value:'impact,chicago',
     },
     {
-        label:'Georgia',
-        value:'georgia,palatino',
+        label:'Tahoma',
+        value:'Tahoma,Geneva,sans-serif',
     },
     {
-        label:'Courier New',
-        value:'courier new',
+        label:'Times New Roman',
+        value:"Times New Roman',Times,serif",
     },
     {
-        label:'Comic Sans MS',
-        value:'comic sans ms,sans-serif',
+        label:'Verdana',
+        value:'Verdana,Geneva,sans-serif',
     },
     {
-        label:'Book Antiqua',
-        value:'book antiqua,palatino'
+        label:'思源宋体',
+        value:'思源宋体'
     },
     {
-        label:'Andale Mono',
-        value:'andale mono,times'
+        label:'思源黑体',
+        value:'思源黑体'
     }
 ]
 export const titleDefault = {