+
+
+
+
+
+
+ 上传文件
+
+
+ {{ col.uploadTips || '只能上传jpg/png文件, 大小不超过2MB' }}
+
+
+
+
+
@@ -83,6 +103,9 @@
@@ -309,4 +379,52 @@ export default {
.el-select {
width: 100%;
}
+
+.upload-area {
+ // background: #ccc;
+ // display: grid;
+ // grid-auto-rows: 34px;
+ // grid-template-columns: repeat(6, minmax(32px, max-content));
+ // gap: 8px;
+ // align-items: center;
+ position: relative;
+ overflow: hidden;
+ transition: height 0.3s ease-out;
+}
+
+.upload-in-dialog {
+ // display: inline-block;
+ margin-right: 24px;
+ // background: #ccc;
+ position: relative;
+ // top: -13px;
+ float: left;
+}
+
+.close-icon {
+ // background: #ccc;
+ position: absolute;
+ top: 0;
+ right: 12px;
+ z-index: 100;
+ transition: transform 0.3s ease-out;
+}
+
+.close-icon.open {
+ transform: rotateZ(90deg);
+}
+
+
+
diff --git a/src/views/core/base/equipment/components/AssetsUpload.vue b/src/views/core/base/equipment/components/AssetsUpload.vue
index c6453eac..c6d410e5 100644
--- a/src/views/core/base/equipment/components/AssetsUpload.vue
+++ b/src/views/core/base/equipment/components/AssetsUpload.vue
@@ -13,21 +13,31 @@