fix: 控制台首页样式问题修复

Former-commit-id: 73e0ab4f696162d175cc8e65dceb8716aeb37208
This commit is contained in:
haoxr
2023-03-01 01:08:03 +08:00
parent e720613342
commit 2ca790bc3d

View File

@@ -40,12 +40,12 @@ const greetings = computed(() => {
<el-row class="mb-8">
<el-card class="w-full">
<div class="flex justify-between flex-wrap">
<div>
<div class="flex items-center">
<img
class="user-avatar"
:src="userStore.avatar + '?imageView2/1/w/80/h/80'"
/>
<span class="ml-[5px] text-[14px]">
<span class="ml-[10px] text-[16px]">
{{ userStore.nickname }}
</span>
</div>
@@ -54,7 +54,7 @@ const greetings = computed(() => {
{{ greetings }}
</div>
<div class="space-x-2 pt-[5px]">
<div class="space-x-2 flex items-center">
<el-link
target="_blank"
type="danger"
@@ -185,7 +185,7 @@ const greetings = computed(() => {
position: relative;
.user-avatar {
height: 40px;
widows: 40px;
width: 40px;
border-radius: 50%;
}