cxmo 5 kuukautta sitten
vanhempi
commit
faf0064622

+ 2 - 1
src/views/ppt_manage/mixins/pptEditorMixins.js

@@ -194,7 +194,7 @@ export default{
         this.titleSetting = detail
         const baseWidth = 900
         const baseHeight = 630
-        this.pageList.forEach(page=>{
+        this.pageList.forEach((page,index)=>{
             const {top,left,width,height,color,fontFamily,fontSize} = detail
             page.titleDetail = {
                 top,left,width,height,
@@ -204,6 +204,7 @@ export default{
                 baseHeight:baseHeight*height/100,
                 color,fontFamily,fontSize
             }
+            this.$set(this.pageList,index,page)
         })
         this.$message.success(this.$t('MsgPrompt.set_success_msg'))
     },

+ 3 - 2
src/views/ppt_manage/newVersion/components/editor/TitleEditorTool.vue

@@ -186,12 +186,13 @@ export default {
             }
         }
         .other-setting{
-            margin-top:20px;
+            margin-top:15px;
             .setting-item{
                 display:flex;
                 justify-content:space-between;
-                align-items:center;
+                /* align-items:center; */
                 margin-bottom:10px;
+                font-weight: bold;
                 .el-select{
                     width:100px;
                 }

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

@@ -149,6 +149,7 @@ $titleColor:#333333;
             }
             .el-collapse-item__header{
               margin-bottom: 0;
+              height: 40px;
             }
             .el-collapse-item__wrap{
               overflow: visible;