+
-
+
+ />
+
-
{{ label }}
+
{{ label }}
+
+ 已上传文件
@@ -39,7 +43,7 @@ export default {
props: {
label: {
type: String,
- default: "文件列表",
+ default: "",
},
title: {
type: String,
@@ -86,4 +90,42 @@ export default {
.fade-leave-active {
transition: opacity 100ms linear;
}
+
+.mt-2 {
+ margin-top: 16px;
+}
+
+button {
+ background: none;
+ border: none;
+}
+
+ul,
+li {
+ padding: 0;
+ margin: 0;
+ list-style: none;
+}
+
+.filelist > li {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 6px 0;
+}
+
+.top-search {
+ position: absolute;
+ top: 0;
+ right: 0;
+ margin-top: 6px;
+ margin-right: 6px;
+ cursor: pointer;
+}
+
+.search-btn {
+ display: inline-block;
+ width: 24px;
+ height: 24px;
+}
diff --git a/src/components/uploadBtn/index.vue b/src/components/uploadBtn/index.vue
index d6f9a53..ee9b4f4 100644
--- a/src/components/uploadBtn/index.vue
+++ b/src/components/uploadBtn/index.vue
@@ -1,28 +1,28 @@
-
-
- {{
- buttonText
- }}
-
-
-
- {{ tips }}
-
- 上传成功!
-
-
-
+
+
+ {{ buttonText }}
+
+
+
+ {{ tips.hint }}
+
+ {{ tips.success }}
+
+
-
-
+
+
+
+