From 7e22486d44914767993e7f3bc844361d8f3a1dad Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 12 Jul 2023 13:00:22 +0800 Subject: [PATCH] fix --- src/components/cards/TorrentCard.vue | 37 ++++++--- .../account-setting/AccountSettingSystem.vue | 30 ++++++-- src/views/reorganize/TransferHistoryView.vue | 76 ++++++++++++++----- 3 files changed, 106 insertions(+), 37 deletions(-) diff --git a/src/components/cards/TorrentCard.vue b/src/components/cards/TorrentCard.vue index 4881010f..130f72ae 100644 --- a/src/components/cards/TorrentCard.vue +++ b/src/components/cards/TorrentCard.vue @@ -116,6 +116,26 @@ const getVolumeFactorColor = (downloadVolume: number, uploadVolume: number) => { onMounted(() => { getSiteIcon(); }); + +// 弹出菜单 +const dropdownItems = ref([ + { + title: "查看详情", + value: 1, + props: { + prependIcon: "mdi-information", + click: openTorrentDetail, + }, + }, + { + title: "下载种子", + value: 2, + props: { + prependIcon: "mdi-download", + click: downloadTorrentFile, + }, + }, +]);