From 1f5351382a6f54d3ed23e197bc3fd12a40ebba05 Mon Sep 17 00:00:00 2001
From: sws <1141121512@qq.com>
Date: Tue, 27 Aug 2024 13:43:44 +0800
Subject: [PATCH 1/3] =?UTF-8?q?1.=E4=BB=A3=E7=A0=81=E6=B5=8B=E8=AF=95?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=20sws=202024-08-26?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/common/upload/index.scss | 24 ++
src/components/common/upload/index.vue | 342 +++++++++++-------
src/components/common/upload/upload-icon.vue | 36 ++
src/components/model-user-info/index.vue | 27 +-
.../model-user-info-content.vue | 13 +-
.../components/main/default/user-info.ts | 11 +-
src/layout/components/navbar/index.vue | 1 +
7 files changed, 294 insertions(+), 160 deletions(-)
create mode 100644 src/components/common/upload/upload-icon.vue
diff --git a/src/components/common/upload/index.scss b/src/components/common/upload/index.scss
index b329c84c..20d12d50 100644
--- a/src/components/common/upload/index.scss
+++ b/src/components/common/upload/index.scss
@@ -114,6 +114,30 @@
}
}
}
+ .icon-container {
+ .search-text {
+ width: 22.5rem;
+ }
+ .icon-content {
+ margin: 0 -1rem;
+ width: calc(100% + 2rem);
+ .item {
+ transition: all 0.3s ease-in-out;
+ &:hover {
+ color: $cr-primary;
+ border-color: $cr-primary;
+ position: relative;
+ scale: 1.1;
+ }
+ &.active {
+ color: $cr-primary;
+ border-color: $cr-primary;
+ position: relative;
+ scale: 1.1;
+ }
+ }
+ }
+ }
}
.upload-btn {
cursor: pointer;
diff --git a/src/components/common/upload/index.vue b/src/components/common/upload/index.vue
index 2f5e7289..b21f3061 100644
--- a/src/components/common/upload/index.vue
+++ b/src/components/common/upload/index.vue
@@ -4,136 +4,161 @@