diff --git a/src/renderer/src/App.vue b/src/renderer/src/App.vue
index 0f33ba6..fe4154b 100644
--- a/src/renderer/src/App.vue
+++ b/src/renderer/src/App.vue
@@ -18,6 +18,5 @@ const size = ref('default')
text-align: center;
color: #2c3e50;
width: 100%;
- /* height: 100vh; */
}
diff --git a/src/renderer/src/layout/components/Aside.vue b/src/renderer/src/layout/components/Aside.vue
index 0ecd8c2..d2188a0 100644
--- a/src/renderer/src/layout/components/Aside.vue
+++ b/src/renderer/src/layout/components/Aside.vue
@@ -4,7 +4,10 @@
-
+
+
+ {{ userStore.user.nickName }}
+
@@ -15,7 +18,7 @@
- 个人中心
- 班级中心
- - 退出登录
+ - 退出登录
@@ -57,6 +60,7 @@ import pkc from "../../../../../package.json"
const { ipcRenderer } = window.electron || {}
const dev_api = ref(import.meta.env.VITE_APP_BASE_API)
const userStore = useUserStore()
+console.log(userStore,'userStore')
const router = useRouter()
const currentRoute = ref('')
const activeId = ref('/home')
@@ -199,11 +203,19 @@ const logout = () => {
display: flex;
flex-direction: column;
justify-content: space-between;
- .user-img{
- width: 56px;
- height: 56px;
- border-radius: 50%;
- cursor: pointer;
+ .user-info{
+ display: flex;
+ flex-direction: column;
+ color: #fff;
+ align-items: center;
+ font-size: 12px;
+ .user-img{
+ width: 56px;
+ height: 56px;
+ border-radius: 50%;
+ cursor: pointer;
+ margin-bottom: 10px;
+ }
}
.aside-tab {
@@ -216,12 +228,12 @@ const logout = () => {
width: 100%;
cursor: pointer;
flex-direction: column;
- padding: 5px 0;
+ padding: 8px 0;
align-items: center;
color: #fff;
.text {
- font-size: 11px;
+ font-size: 12px;
}
.iconfont {
@@ -255,6 +267,6 @@ const logout = () => {
.verson{
color: #fff;
font-size: 12px;
- margin-top: 10px;
+ margin-top: 5px;
}
\ No newline at end of file
diff --git a/src/renderer/src/layout/index.vue b/src/renderer/src/layout/index.vue
index 19546a5..9bcf801 100644
--- a/src/renderer/src/layout/index.vue
+++ b/src/renderer/src/layout/index.vue
@@ -1,14 +1,4 @@
-
@@ -30,27 +20,21 @@