From 385d6ed25e69eca537f298b334b29b5cb6ae1f2d Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Thu, 18 Jul 2024 15:34:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=9A=84=E5=8A=9F=E8=83=BD=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/renderer/src/views/profile/index.vue | 10 ++- src/renderer/src/views/profile/userAvatar.vue | 69 ++++++++++++++++++- 3 files changed, 75 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e1d11d9..7ae26ab 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@electron-toolkit/preload": "^3.0.1", "@electron-toolkit/utils": "^3.0.0", "@element-plus/icons-vue": "^2.3.1", + "@vueuse/core": "^10.11.0", "crypto-js": "^4.2.0", "electron-dl-manager": "^3.0.0", "electron-updater": "^6.1.7", diff --git a/src/renderer/src/views/profile/index.vue b/src/renderer/src/views/profile/index.vue index bb44111..54e3ae2 100644 --- a/src/renderer/src/views/profile/index.vue +++ b/src/renderer/src/views/profile/index.vue @@ -81,7 +81,7 @@ - + - + \ No newline at end of file +.app-container{ + padding-top: 20px; + height: 100%; +} + diff --git a/src/renderer/src/views/profile/userAvatar.vue b/src/renderer/src/views/profile/userAvatar.vue index 1c289a4..a495bd6 100644 --- a/src/renderer/src/views/profile/userAvatar.vue +++ b/src/renderer/src/views/profile/userAvatar.vue @@ -26,7 +26,7 @@
- +
@@ -67,12 +67,13 @@