فهرست منبع

支持字号,调整间距

cxmo 1 سال پیش
والد
کامیت
3e4e53d9f4
1فایلهای تغییر یافته به همراه9 افزوده شده و 7 حذف شده
  1. 9 7
      src/views/ppt_manage/newVersion/components/formatEl/SheetEl.vue

+ 9 - 7
src/views/ppt_manage/newVersion/components/formatEl/SheetEl.vue

@@ -24,6 +24,7 @@
                     <span v-for="(word,wordIndex) in col.ct.s" :key="`${rowIndex}_${colIndex}_${wordIndex}`"
                         :style="{
                             'color': word.fc,
+                            'font-size':word.fs+'px',
                             'font-weight': word.bl ? 'bold' : 'normal',
                             'font-style': word.it ? 'italic' : 'normal',
                             'text-decoration':word.un?'underline':word.cl?'line-through':'normal'
@@ -93,12 +94,13 @@ export default {
   table{
     width:100%;
     td{
-				/* min-width: 55px; */
-				white-space: nowrap;
-				border: 1px solid #747474;
-				height: 40px;
-				text-align: center;
-			}
-  }
+        /* min-width: 55px; */
+        white-space: nowrap;
+        border: 1px solid #747474;
+        height: 40px;
+        text-align: center;
+        padding:0 .2rem;
+    }
+}
 }
 </style>