💄 完善上传组件

This commit is contained in:
WispX 2021-12-15 20:41:58 +08:00
parent 8040d0de1f
commit ac1b39070a
4 changed files with 1081 additions and 484 deletions

1557
package-lock.json generated

File diff suppressed because it is too large Load Diff

4
public/css/app.css vendored
View File

@ -1313,6 +1313,10 @@ select {
--tw-text-opacity: 1;
color: rgb(71 85 105 / var(--tw-text-opacity));
}
.text-green-800 {
--tw-text-opacity: 1;
color: rgb(22 101 52 / var(--tw-text-opacity));
}
.underline {
text-decoration: underline;
}

View File

@ -115,7 +115,7 @@
break;
case UPLOAD_SUCCESS:
msg = '上传成功';
$info.addClass('text-green-500');
$info.addClass('text-green-800');
break;
case UPLOAD_ERROR:
msg = '上传失败';

View File

@ -71,7 +71,7 @@
</div>
</div>
<div class="flex flex-col space-y-2 mb-5 px-5 w-full">
<div class="flex flex-col space-y-2 mb-5 px-5 w-full mt-10">
<p class="text-gray-700 text-sm">容量使用</p>
<progress class="w-full h-1.5 bg-gary-300" value="90" max="100"></progress>
<p class="text-gray-700 text-sm truncate" title="0.00 Bytes / 1.00 GB">0.00 Bytes / 1.00 GB</p>