diff --git a/src/components/layout/AppHeader.vue b/src/components/layout/AppHeader.vue index f50bbce..414e90b 100644 --- a/src/components/layout/AppHeader.vue +++ b/src/components/layout/AppHeader.vue @@ -1,19 +1,26 @@ @@ -155,25 +193,92 @@ onMounted(() => { - - - @{{ authStore.profile?.username }} - - - - 登出 - + + + + @{{ displayUsername }} + + + + + + + + {{ displayUsername.slice(0, 1).toUpperCase() }} + + + @{{ displayUsername }} + {{ userEmail }} + + + + + {{ authStore.isAdmin ? '管理员' : '观测者' }} + + OpenCloud 账号 + + + + + + + 个人中心 + + + + 账号设置 + + + + 管理后台 + + + + + + + 登出 + + + + + @@ -181,13 +286,23 @@ onMounted(() => { to="/login" class="no-underline" > - 登录 + + 登录 + - 注册 + + 注册 + diff --git a/src/views/gallery/GalleryView.vue b/src/views/gallery/GalleryView.vue index c125275..d35b73c 100644 --- a/src/views/gallery/GalleryView.vue +++ b/src/views/gallery/GalleryView.vue @@ -1,7 +1,7 @@ @@ -386,6 +457,40 @@ onUnmounted(() => { + + + + + + + + + + + + + + + 正在按上传者搜索:{{ normalizedSearch.slice(1) || '请输入用户名' }} + + + 正在匹配云型名称和自定义云型:{{ normalizedSearch }} + + + +
@{{ displayUsername }}
{{ userEmail }}
+ + 正在按上传者搜索:{{ normalizedSearch.slice(1) || '请输入用户名' }} + + + 正在匹配云型名称和自定义云型:{{ normalizedSearch }} + +