From 8691febf515de1ee4865cc17b9657808160f74d1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 00:15:11 +0000 Subject: [PATCH] Add beautiful donation card to About page Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com> --- src/components/settings/AboutCard.vue | 74 +++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/src/components/settings/AboutCard.vue b/src/components/settings/AboutCard.vue index 8f1f0e9..47c1f52 100644 --- a/src/components/settings/AboutCard.vue +++ b/src/components/settings/AboutCard.vue @@ -10,6 +10,47 @@ + + + +
+
+
❤️ 支持 Classworks
+
+ 您的捐赠将帮助项目持续发展 +
+
+
+
+ +

+ Classworks 是一个完全开源免费的项目,由社区开发者们利用业余时间维护。 + 如果这个工具对您有帮助,您可以考虑通过爱发电支持开发者。 +

+
+ + 前往爱发电支持开发者 + +
+
+
+
{ + window.open('https://afdian.com/a/wydev', '_blank'); + }; + onMounted(() => { loadDependencies(); }); @@ -396,6 +441,7 @@ export default { openReportDialog, copyEnvInfo, openFeedback, + openDonationLink, envBoxText, envInfo, reportBody, @@ -405,3 +451,31 @@ export default { }, }; + +