From 2ddc0269eaec2db2fa79f0d1afddc56b18311e17 Mon Sep 17 00:00:00 2001 From: thofx Date: Sat, 12 Aug 2023 20:16:08 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix:=20=E7=A9=BA=E7=99=BD=E6=97=B6=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/@layouts/styles/_default-layout.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@layouts/styles/_default-layout.scss b/src/@layouts/styles/_default-layout.scss index 38879086..e2d2c072 100644 --- a/src/@layouts/styles/_default-layout.scss +++ b/src/@layouts/styles/_default-layout.scss @@ -38,7 +38,7 @@ body, overflow: hidden; // TODO: Use grid gutter variable here padding-block: 1.5rem; - padding-top: calc(env(safe-area-inset-top) + 70px); + padding-top: calc(env(safe-area-inset-top) + 65px); // display: flex; From 882bc6bd0f9621f40803fdd4db37f42f0ce09ba9 Mon Sep 17 00:00:00 2001 From: thofx Date: Sat, 12 Aug 2023 20:16:46 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E8=A6=86=E7=9B=96=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/styles.scss | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/styles/styles.scss b/src/styles/styles.scss index 1089fbca..c652cf57 100644 --- a/src/styles/styles.scss +++ b/src/styles/styles.scss @@ -88,11 +88,25 @@ } @media (min-width: 640px){ -.slider-title { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - font-size: 1.5rem; - line-height: 2.25rem; + .slider-title { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 1.5rem; + line-height: 2.25rem; + } } + +// 美化滚动条 +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-thumb { + border-radius: 3px; + background: rgb(var(--v-theme-perfect-scrollbar-thumb)); + -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.2); + &:hover{ + background: #a1a1a1; + } } From e14ce862c7fdb1e1b49f945ea89333294463f6f0 Mon Sep 17 00:00:00 2001 From: thofx Date: Sat, 12 Aug 2023 20:17:35 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E7=AB=99=E7=82=B9=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/setting/AccountSettingSite.vue | 31 ++++++------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/src/views/setting/AccountSettingSite.vue b/src/views/setting/AccountSettingSite.vue index 16622e43..e7678ad3 100644 --- a/src/views/setting/AccountSettingSite.vue +++ b/src/views/setting/AccountSettingSite.vue @@ -51,10 +51,7 @@ async function querySelectedSites() { async function saveSelectedSites() { try { // 用户名密码 - const result: { [key: string]: any } = await api.post( - 'system/setting/IndexerSites', - selectedSites.value, - ) + const result: { [key: string]: any } = await api.post('system/setting/IndexerSites', selectedSites.value) if (result.success) $toast.success('索引站点保存成功') @@ -97,17 +94,14 @@ onMounted(() => { - 只有选中的站点才会在搜索和订阅中使用 + 只有选中的站点才会在搜索和订阅中使用 - + { - + 保存 @@ -131,18 +122,10 @@ onMounted(() => {
- +
- + {{ resetSitesText }}
From 6d3aa3f0526832ec5132b1d3b91d122f69fbe96f Mon Sep 17 00:00:00 2001 From: thofx Date: Sat, 12 Aug 2023 20:17:54 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/discover/TorrentCardListView.vue | 370 +++++++-------------- 1 file changed, 115 insertions(+), 255 deletions(-) diff --git a/src/views/discover/TorrentCardListView.vue b/src/views/discover/TorrentCardListView.vue index 439e6f7f..420a17d8 100644 --- a/src/views/discover/TorrentCardListView.vue +++ b/src/views/discover/TorrentCardListView.vue @@ -1,5 +1,5 @@