From 94ef0934a51b5f01bf27adbaf8d13198b2c8d919 Mon Sep 17 00:00:00 2001 From: qier222 Date: Sat, 6 Mar 2021 17:02:06 +0800 Subject: [PATCH] fix: revert some code --- public/index.html | 38 +++++----- src/App.vue | 24 +++--- src/components/CoverRow.vue | 26 +------ src/components/Navbar.vue | 78 +------------------- src/components/Player.vue | 33 +-------- src/components/TrackList.vue | 47 ++---------- src/components/TrackListItem.vue | 13 +--- src/views/album.vue | 26 ------- src/views/artist.vue | 34 +-------- src/views/artistMV.vue | 1 - src/views/explore.vue | 34 +-------- src/views/home.vue | 1 - src/views/library.vue | 14 ---- src/views/loginUsername.vue | 1 - src/views/mv.vue | 4 - src/views/playlist.vue | 122 +------------------------------ src/views/search.vue | 11 +-- src/views/searchType.vue | 1 - src/views/settings.vue | 1 - 19 files changed, 54 insertions(+), 455 deletions(-) diff --git a/public/index.html b/public/index.html index dd20039..ca6d1ad 100644 --- a/public/index.html +++ b/public/index.html @@ -1,23 +1,25 @@ - - - - - - - <%= htmlWebpackPlugin.options.title %> - - - +
+ + + diff --git a/src/App.vue b/src/App.vue index b5aa31c..2e7509a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -91,15 +91,6 @@ export default { --color-navbar-bg: rgba(255, 255, 255, 0.86); --color-primary-bg-for-transparent: rgba(189, 207, 255, 0.28); --color-secondary-bg-for-transparent: rgba(209, 209, 214, 0.28); - - --main-content-padding-x: 10vw; - --main-content-padding: 0 var(--main-content-padding-x); -} - -@media (max-width: 1336px) { - :root { - --main-content-padding-x: 5vw; - } } [data-theme="dark"] { @@ -126,18 +117,27 @@ input { } body { background-color: var(--color-body-bg); - margin: 0; } html { overflow-y: overlay; - min-width: 340px; + min-width: 768px; + overscroll-behavior: none; } main { - max-width: 100vw; margin-top: 84px; margin-bottom: 96px; + padding: { + right: 10vw; + left: 10vw; + } +} + +@media (max-width: 1336px) { + main { + padding: 0 5vw; + } } select, diff --git a/src/components/CoverRow.vue b/src/components/CoverRow.vue index f9ea4de..7270c3d 100644 --- a/src/components/CoverRow.vue +++ b/src/components/CoverRow.vue @@ -1,9 +1,5 @@