Skip to content

Commit

Permalink
fix: logo not show
Browse files Browse the repository at this point in the history
  • Loading branch information
pumelotea committed Mar 16, 2022
1 parent b15adac commit 7c1a0b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const router = useRouter()
<n-space vertical justify="center" align="center" style="height: 100%;width: 100%;">
<n-card hoverable class="hb-card animate__animated animate__fadeIn animate__slow">
<n-space justify="center" style="margin-bottom: 20px;">
<n-avatar :size="100" src="/src/assets/logo.png" style="background: transparent"></n-avatar>
<img class="hb-logo" src="/src/assets/logo.png"/>
</n-space>
<n-form class="hb-form">
<n-form-item label="账号">
Expand Down Expand Up @@ -71,4 +71,9 @@ const router = useRouter()
.hb-form{
width: 340px;
}
.hb-logo{
width: 100px;
height: 100px;
}
</style>

0 comments on commit 7c1a0b7

Please sign in to comment.