Skip to content

Commit

Permalink
优化图片上传表单样式
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Apr 17, 2020
1 parent 605ba54 commit ed1b9ce
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions resources/assets/dcat/extra/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>";

Expand Down Expand Up @@ -752,7 +752,7 @@
$queue.append(html);

if (showImg) {
setTimeout(function () { html.css('margin', '5px');}, 80);
setTimeout(function () { html.css('margin', '5px');}, 400);
}
}

Expand Down
8 changes: 7 additions & 1 deletion resources/assets/dcat/extra/upload.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion resources/dist/dcat/extra/upload-blue-light.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ed1b9ce

Please sign in to comment.