Ver Fonte

mod:去掉 svg 文字 调整

panqiuyao há 6 meses atrás
pai
commit
1ac1dbfd9a

+ 3 - 5
frontend/src/views/components/PictureEditor/mixin/edit/module/textbox.js

@@ -33,7 +33,7 @@ const textbox = () => {
 
 
           <div class="flex left mar-top-10">
-            <div class="edit-font-size flex left position-r">
+            <div class="edit-font-size flex left position-r" style="margin-right: 10px">
                 <el-select :value="editLayer.fontSize" :clearable="false"
                      style="width: 80px"
                  @change="(val)=>editObj({label:'fontSize',value:val})">
@@ -42,22 +42,20 @@ const textbox = () => {
                  <div class="bq fs-14 c-999">px</div>
              </div>
               <el-color-picker class="mar-left-10" :value="editLayer.fill"
-                     size="small"
                @change="(val)=>editObj({label:'fill',value:val})"></el-color-picker>
           </div>
           <div class="flex left">
                <div class="label title_two">行高</div>
                  <el-input-number
                  v-model="editLayer.lineHeight"
-                   style="width:80px"
                   controls-position="right"
                   :precision="2"
                   :step="0.01"
                   class="mar-left-10"
+                  style="width: 100px"
                    @change="(val)=>editObj({label:'lineHeight',value:val} )"
                   :min="0.01"
                    :max="100"/>
-            </div>
           </div>
 
           <div class="flex left">
@@ -65,7 +63,7 @@ const textbox = () => {
 
                  <el-input-number
                  :value="editLayer.charSpacing"
-                   style="width:80px"
+                  style="width: 100px"
                   class="mar-left-10"
                   controls-position="right"
                   :precision="1"

+ 1 - 1
frontend/src/views/components/PictureEditor/mixin/edit/module/tools.js

@@ -46,7 +46,7 @@ cutout(){
         <el-option label="无" value=""></el-option>
         <el-option label="矩形" value="rect"></el-option>
         <el-option label="圆形" value="circle"></el-option>
-        <el-option label="SVG" value="svg"></el-option>
+  <!--      <el-option label="SVG" value="svg"></el-option>-->
       </el-select>
     </div>
       <div v-if="clipSettings.shape === 'svg'" class="flex left" style="margin-left:10px">