From ac3b12a1ea555d29b82221b777db6060511acd6c Mon Sep 17 00:00:00 2001 From: yhlee Date: Fri, 19 Jul 2024 22:52:17 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EC=B2=9C=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80,=20=EC=9E=90=EC=8B=A0=EC=9D=B4=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1=ED=95=9C=20=EA=B2=8C=EC=8B=9C=EA=B8=80,=20=EB=8C=93?= =?UTF-8?q?=EA=B8=80=EC=97=90=20=ED=95=9C=ED=95=B4=20=EC=88=98=EC=A0=95,?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C=20=EA=B8=B0=EB=8A=A5=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=20=EB=85=B8=EC=B6=9C,=20=ED=9A=8C=EC=9B=90=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=A1=B0=ED=9A=8C=EC=8B=9C=20=EC=B6=94=EC=B2=9C?= =?UTF-8?q?=ED=95=9C=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EB=AA=A9=EB=A1=9D=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80,?= =?UTF-8?q?=20=EA=B2=80=EC=83=89=20=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/admin/user.css | 3 +- src/assets/css/fragments.css | 7 +- src/assets/css/main.css | 12 +- src/components/admin/AdminBoardComponent.vue | 26 +++ src/components/admin/AdminNoticeComponent.vue | 13 ++ .../admin/AdminUserBoardComponent.vue | 6 +- .../AdminUserBoardRecommendedComponent.vue | 5 +- .../admin/AdminUserCommentComponent.vue | 6 +- src/components/admin/AdminUserComponent.vue | 178 +++++++++--------- .../admin/AdminUserDetailComponent.vue | 3 + .../admin/AdminUserLoginLogsComponent.vue | 12 +- .../admin/AdminUserNoticeComponent.vue | 6 +- src/components/board/BoardItemComponent.vue | 54 +++--- src/components/fragment/HeaderComponent.vue | 4 +- .../icon/NoProfileImageComponent.vue | 14 ++ src/components/icon/UserImageComponent.vue | 25 +-- src/components/sub/PagenationComponent.vue | 7 +- src/router/index.js | 14 ++ src/stores/board.js | 2 +- src/stores/user.js | 53 ++++-- 20 files changed, 278 insertions(+), 172 deletions(-) create mode 100644 src/components/admin/AdminBoardComponent.vue create mode 100644 src/components/admin/AdminNoticeComponent.vue create mode 100644 src/components/icon/NoProfileImageComponent.vue diff --git a/src/assets/css/admin/user.css b/src/assets/css/admin/user.css index e23c996..8a235f6 100644 --- a/src/assets/css/admin/user.css +++ b/src/assets/css/admin/user.css @@ -78,8 +78,7 @@ } #userList .user-list-checkbox { - display: flex; - justify-content: center; + text-align: center; align-content: center; } diff --git a/src/assets/css/fragments.css b/src/assets/css/fragments.css index b57b23a..bd43253 100644 --- a/src/assets/css/fragments.css +++ b/src/assets/css/fragments.css @@ -122,12 +122,15 @@ align-items: center; } -.nav > .user-box > .user-image-box > img.profile_image { +img.profile_image { width: 3em; height: 3em; border-radius: 3rem; line-height: 1.5em; - margin-right:1rem; +} + +.nav > .user-box > .user-image-box > img.profile_image { + margin-right: 0.4rem; } .nav > .user-box .userbox-text { diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 755bc5c..ac6cb33 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -299,19 +299,11 @@ input[readonly] { } /* Profile Image */ -div.admin_no_image { - background-image: url("@/assets/images/icons/icons8-female-user-100.png") !important; +img.admin_no_image, +img.user_no_image { background-position: center !important; background-repeat: no-repeat !important; - /*background-size: 2rem !important;*/ background-size: 100% !important; width: 2rem; height: 2rem; -} - -div.user_no_image { - background-image: url("@/assets/images/icons/icons8-customer-100.png") !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: 100% !important; } \ No newline at end of file diff --git a/src/components/admin/AdminBoardComponent.vue b/src/components/admin/AdminBoardComponent.vue new file mode 100644 index 0000000..20e3c56 --- /dev/null +++ b/src/components/admin/AdminBoardComponent.vue @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file diff --git a/src/components/admin/AdminNoticeComponent.vue b/src/components/admin/AdminNoticeComponent.vue new file mode 100644 index 0000000..5762a82 --- /dev/null +++ b/src/components/admin/AdminNoticeComponent.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/components/admin/AdminUserBoardComponent.vue b/src/components/admin/AdminUserBoardComponent.vue index dc7935e..d841eac 100644 --- a/src/components/admin/AdminUserBoardComponent.vue +++ b/src/components/admin/AdminUserBoardComponent.vue @@ -62,7 +62,9 @@ function goBoardPage(id) {