Quellcode durchsuchen

上传图片框样式修改

duy vor 1 Monat
Ursprung
Commit
375a0ee95a
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4 3
      src/components/plugins/table-form/hc-form-upload.vue

+ 4 - 3
src/components/plugins/table-form/hc-form-upload.vue

@@ -23,13 +23,13 @@
                 点此选择或者拖拽文件并上传
             </div>
             <div v-if="isSrc" class="hc-table-form-actions">
-                <el-link plain type="primary" size="small" @click.stop="handlePreview">
+                <el-link type="warning" size="small" @click.stop="handlePreview">
                     预览
                 </el-link>
                 
                 
               
-                <el-link plain type="danger" size="small" @click.stop="delTableFormFile">
+                <el-link type="danger" size="small" @click.stop="delTableFormFile">
                     删除
                 </el-link>
             </div>
@@ -333,7 +333,7 @@ const rotateImageAndGetBlob = (imageUrl, degrees) => {
 
     .hc-table-form-img {
         max-width: 100%;
-        max-height: 200px;
+        // max-height: 200px;
         object-fit: contain;
         margin-bottom: 10px;
     }
@@ -354,6 +354,7 @@ const rotateImageAndGetBlob = (imageUrl, degrees) => {
   display: flex;
   gap: 4px;
 
+