From 236928f1da4161ac1d4e6cf9d63afec002824d9a Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Fri, 14 Mar 2025 13:58:15 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B6=8C=ED=95=9C=EB=B6=80=EC=97=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/vacation/ProfileList.vue | 21 --- src/layouts/TheMenu.vue | 6 + src/router/index.js | 5 +- src/views/admin/TheAuthorization.vue | 162 ++++++++++++++++++++++++ 4 files changed, 170 insertions(+), 24 deletions(-) create mode 100644 src/views/admin/TheAuthorization.vue diff --git a/src/components/vacation/ProfileList.vue b/src/components/vacation/ProfileList.vue index fcab2a4..2ed4a88 100644 --- a/src/components/vacation/ProfileList.vue +++ b/src/components/vacation/ProfileList.vue @@ -87,27 +87,6 @@ profilePath && profilePath.trim() ? `${baseUrl}upload/img/profile/${profilePath} const setDefaultImage = (event) => (event.target.src = defaultProfile); const showImage = (event) => (event.target.style.visibility = "visible"); -// 화면 크기에 따라 프로필 크기 동적 조정 -const profileSize = computed(() => { -const totalUsers = userList.value.length; - -if (windowWidth.value >= 1850) { - if (totalUsers <= 10) return "80px"; - if (totalUsers <= 15) return "60px"; - return "45px"; -} else if (windowWidth.value >= 1500) { - if (totalUsers <= 10) return "60px"; - if (totalUsers <= 15) return "40px"; - return "30px"; -} else if (windowWidth.value >= 900) { - if (totalUsers <= 10) return "48px"; - if (totalUsers <= 15) return "30px"; - return "20px"; -} else { - return "35px"; -} -}); - const getDynamicStyle = (user) => ({ borderWidth: "3px", borderColor: user.usercolor || "#ccc", diff --git a/src/layouts/TheMenu.vue b/src/layouts/TheMenu.vue index 6c5c44c..13edc90 100644 --- a/src/layouts/TheMenu.vue +++ b/src/layouts/TheMenu.vue @@ -74,6 +74,12 @@
Commuters
+ + 프로필 사진 + +
+
{{ user.name }}
+
+ + + + + + + + + + + +