diff --git a/src/components/cards/SiteCard.vue b/src/components/cards/SiteCard.vue index d5e95471..b6858f00 100644 --- a/src/components/cards/SiteCard.vue +++ b/src/components/cards/SiteCard.vue @@ -26,7 +26,7 @@ const siteIcon = ref('') const $toast = useToast() // 测试按钮文字 -const testButtonText = ref('测试') +const testButtonText = ref('连通性测试') // 测试按钮可用性 const testButtonDisable = ref(false) @@ -43,9 +43,6 @@ const resourceDialog = ref(false) // 用户数据弹窗 const siteUserDataDialog = ref(false) -// 站点操作显示 -const siteActionShow = ref(false) - // 站点使用统计 const siteStats = ref({}) @@ -68,7 +65,7 @@ async function testSite() { if (result.success) $toast.success(`${cardProps.site?.name} 连通性测试成功,可正常使用!`) else $toast.error(`${cardProps.site?.name} 连通性测试失败:${result.message}`) - testButtonText.value = '测试' + testButtonText.value = '连通性测试' testButtonDisable.value = false getSiteStats() @@ -194,46 +191,42 @@ onMounted(() => { - + + + + + + + 更新 Cookie & UA + + + + {{ testButtonText }} + + + + 资源预览 + + + + 站点数据 + + + + ↑ {{ formatFileSize(cardProps.data?.upload || 0) }} / ↓ {{ formatFileSize(cardProps.data?.download || 0) }} - -
- -
- - - 更新 - - - - {{ testButtonText }} - - - - 浏览 - - - - 数据 - -
-
-
mdi-drag