Ver Fonte

标题字体大小统一

cxmo há 1 ano atrás
pai
commit
1c516f0ed2
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/ppt_manage/mixins/pptMixins.js

+ 2 - 2
src/views/ppt_manage/mixins/pptMixins.js

@@ -432,7 +432,7 @@ export default {
         let {total,newStr} = getStrSize(options.MyChartTitle,count)
         let {total,newStr} = getStrSize(options.MyChartTitle,count)
         const isPublish = this.$route.path==='/pptpublish'||this.$route.path==='/pptenpublish'
         const isPublish = this.$route.path==='/pptpublish'||this.$route.path==='/pptenpublish'
         if(isShowTitle){
         if(isShowTitle){
-          titleHTML = `<div style="white-space: normal;">${options.MyChartTitle}</div>`
+          titleHTML = `<div style="white-space: normal;font-size:18px;">${options.MyChartTitle}</div>`
         }
         }
         let SpecialOption = {
         let SpecialOption = {
           chart: {
           chart: {
@@ -443,7 +443,7 @@ export default {
           title: isPublish?{
           title: isPublish?{
             text: isShowTitle?newStr:null,
             text: isShowTitle?newStr:null,
             useHTML:false,
             useHTML:false,
-            style:{},
+            style:{fontSize:'18px'},
             align:total>count?'left':'center',
             align:total>count?'left':'center',
           }:{
           }:{
             text: titleHTML,
             text: titleHTML,