From 23d808f8b1048ca09cc2c075c95d882ec3b26f44 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 12 Oct 2023 16:09:15 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E8=B5=84=E6=BA=90=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cards/SiteCard.vue | 2 +- src/components/cards/TorrentCard.vue | 2 +- src/components/cards/TorrentItem.vue | 249 +++++++++++++++++++++ src/views/discover/TorrentCardListView.vue | 4 +- src/views/discover/TorrentRowListView.vue | 241 +++++++++++++++++++- tailwind.config.js | 1 - 6 files changed, 485 insertions(+), 14 deletions(-) create mode 100644 src/components/cards/TorrentItem.vue diff --git a/src/components/cards/SiteCard.vue b/src/components/cards/SiteCard.vue index 5c9f7584..4b9781e5 100644 --- a/src/components/cards/SiteCard.vue +++ b/src/components/cards/SiteCard.vue @@ -654,7 +654,7 @@ onMounted(() => { - 下载种子 + 下载种子文件 diff --git a/src/components/cards/TorrentCard.vue b/src/components/cards/TorrentCard.vue index a9593f1d..b7e97fbd 100644 --- a/src/components/cards/TorrentCard.vue +++ b/src/components/cards/TorrentCard.vue @@ -176,7 +176,7 @@ onMounted(() => { - 下载种子 + 下载种子文件 diff --git a/src/components/cards/TorrentItem.vue b/src/components/cards/TorrentItem.vue new file mode 100644 index 00000000..238546a3 --- /dev/null +++ b/src/components/cards/TorrentItem.vue @@ -0,0 +1,249 @@ + + + diff --git a/src/views/discover/TorrentCardListView.vue b/src/views/discover/TorrentCardListView.vue index fd149660..0f6f252c 100644 --- a/src/views/discover/TorrentCardListView.vue +++ b/src/views/discover/TorrentCardListView.vue @@ -216,8 +216,8 @@ const dataList = computed(() => {
diff --git a/src/views/discover/TorrentRowListView.vue b/src/views/discover/TorrentRowListView.vue index 44be307a..65d95b58 100644 --- a/src/views/discover/TorrentRowListView.vue +++ b/src/views/discover/TorrentRowListView.vue @@ -1,20 +1,243 @@ diff --git a/tailwind.config.js b/tailwind.config.js index 35bb8a84..5b47e6d8 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -12,7 +12,6 @@ module.exports = { }, plugins: [ require('@tailwindcss/aspect-ratio'), - // ... ], }