Skip to content

Commit

Permalink
更新UI
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyun8023 committed Aug 3, 2024
1 parent d89bcae commit 1219e5c
Show file tree
Hide file tree
Showing 23 changed files with 3,040 additions and 189 deletions.
16 changes: 8 additions & 8 deletions app/calibre-pages/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>书海拾贝</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
Binary file modified app/calibre-pages/public/favicon.ico
Binary file not shown.
20 changes: 2 additions & 18 deletions app/calibre-pages/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<Header />
</el-header>
<el-container>
<el-aside width="200px" class="sidebar" v-show="isSidebarVisible">
<Sidebar :mode="'vertical'" />
<el-aside width="200px" class="sidebar hidden-sm-and-down">
<Sidebar/>
</el-aside>
<el-container>
<el-main>
Expand All @@ -16,7 +16,6 @@
<el-footer>
<Footer />
</el-footer>
<el-button class="toggle-sidebar" @click="toggleSidebar">☰</el-button>
</el-container>
</template>

Expand Down Expand Up @@ -50,24 +49,9 @@ export default {
display: block;
}
.toggle-sidebar {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
@media (max-width: 768px) {
.sidebar {
display: none;
}
.toggle-sidebar {
display: block;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
}
</style>
Loading

0 comments on commit 1219e5c

Please sign in to comment.