Browse Source

优化图片上传表单样式

jqh 5 years ago
parent
commit
ed1b9cee87

+ 2 - 2
resources/assets/dcat/extra/upload.js

@@ -679,7 +679,7 @@
                 html += `<p class="file-action" data-file-act="delete" data-id="${file.serverId}"><i class="feather icon-trash red-dark"></i></p>`;
             }
 
-            html += "<p class='title' style=''><i class='feather icon-check text-white icon-success' style='color: #fff;'></i>";
+            html += "<p class='title' style=''><i class='feather icon-check text-white icon-success text-white'></i>";
             html += file.serverPath;
             html += "</p>";
 
@@ -752,7 +752,7 @@
             $queue.append(html);
 
             if (showImg) {
-                setTimeout(function () { html.css('margin', '5px');}, 80);
+                setTimeout(function () { html.css('margin', '5px');}, 400);
             }
         }
 

+ 7 - 1
resources/assets/dcat/extra/upload.scss

@@ -382,9 +382,15 @@
   font-size: 14px
 }
 
+.web-uploader .filelist div.file-panel a:first-child {
+  margin-left: 6px;
+}
+
 .web-uploader .filelist div.file-panel a {
   float: left;
-  margin-left: 3px
+  box-shadow: none;
+  padding-left: 8px!important;
+  padding-right: 8px!important;
 }
 
 .web-uploader .statusBar {

File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/upload-blue-light.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/upload-blue.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/upload.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/upload.js


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/upload.js.map


Some files were not shown because too many files changed in this diff