shanbinzhang 4 сар өмнө
parent
commit
a11e2dfa7e

+ 2 - 2
src/views/ppt_manage/newVersion/components/formatPage/FormatEle.vue

@@ -28,7 +28,7 @@
                     @getText="getText($event,4)" />
             </div>
         </div>
-        <div class="wrap-full-bottom bottom-15 flex-center"
+        <div class="wrap-full-bottom bottom-ele-15 flex-center"
             :style="pageItem.layers&&!isLayerShow()?TypeName(5)==='ChartEl'?'z-index:5':'z-index:3':''">
             <component :data-position="5" :is="TypeName(5)" :ref="RefName(5)" :index="pageIndex" :position="5"
                 :item="Item(5)" @dragstart.native="onDragStart" @dragover.native="onDragOver" @drop.native="onDrop"
@@ -73,7 +73,7 @@
 <style scoped lang="scss">
 .format-ele{
     .line{
-        height: 41%;
+        height: 35%;
         .line-item{
             width: 50%;
         }

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

@@ -14,7 +14,7 @@ $titleColor:#333333;
     .mce-content-body{
         width: 100%;
         height: 100%;
-        padding: 10px;
+        padding: 5px;
         box-sizing: border-box;
         font-size: 16px;
         &:focus-visible{

+ 11 - 0
src/views/ppt_manage/newVersion/css/format.scss

@@ -572,6 +572,17 @@ $marginTop:14%;
                 top:80%;
             }
         }
+
+        //十一板式底部加高
+        .bottom-ele-15{
+            height: 28%;
+            .chart-bottom-insruction-info,.chart-source{
+                top:80%;
+            }
+            .editor-wrap {
+              width: 95%;
+            }
+        }
     }
 
 }

+ 3 - 0
src/views/ppt_manage/newVersion/pptPublish.vue

@@ -132,6 +132,9 @@ export default {
         return this.LayoutType===2?2:3
     },
 
+    isTestLocal() {
+      return process.env.NODE_ENV==='development'
+    }
   },
   methods: {
     /* 提交 */

+ 1 - 1
src/views/ppt_manage/newVersion/utils/config.js

@@ -468,7 +468,7 @@ export const modelConfig = [{
             y:38
         },{
             position:5,
-            width:100*0.9,
+            width:100*0.95,
             height:(restHeight)*0.18*0.8,
             x:0,
             y:74