Skip to content

Commit

Permalink
style(logo): change logo file 💄
Browse files Browse the repository at this point in the history
  • Loading branch information
CharleeWa committed Jun 22, 2022
1 parent 07befe1 commit 7d9abaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Binary file modified src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion src/views/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div class="container">
<div class="logo"></div>
<van-cell-group title="Do more difficult things" inset>
<van-cell center title="🌗 暗黑模式">
<template #right-icon>
Expand Down Expand Up @@ -43,9 +44,18 @@ watch(checked,(val) => {
.container {
width: 100vw;
height: 100vh;
padding-top: 80px;
padding-top: 30px;
position: relative;
.logo {
width: 150px;
height: 150px;
background-image: url('@/assets/logo.png');
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center;
}
.custom-title {
margin-right: 4px;
vertical-align: middle;
Expand Down

0 comments on commit 7d9abaf

Please sign in to comment.