From caeb1192ecaa09a93b127a3b4ad5f0f419eb4fbf Mon Sep 17 00:00:00 2001 From: Lcry Date: Sun, 11 May 2025 10:11:50 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=96=B0=E5=A2=9E=20=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=20gitea=20=E4=B8=89=E6=96=B9=E5=8D=95=E7=82=B9=E7=99=BB?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/svg/gitea.svg | 31 ++++++++++++++++++++ src/lang/zh_CN.ts | 3 +- src/views/login.vue | 3 ++ src/views/system/user/profile/thirdParty.vue | 6 ++++ 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 src/assets/icons/svg/gitea.svg diff --git a/src/assets/icons/svg/gitea.svg b/src/assets/icons/svg/gitea.svg new file mode 100644 index 0000000..9df6b83 --- /dev/null +++ b/src/assets/icons/svg/gitea.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + diff --git a/src/lang/zh_CN.ts b/src/lang/zh_CN.ts index 3cc9872..a7649dd 100644 --- a/src/lang/zh_CN.ts +++ b/src/lang/zh_CN.ts @@ -33,7 +33,8 @@ export default { maxkey: 'MaxKey登录', topiam: 'TopIam登录', gitee: 'Gitee登录', - github: 'Github登录' + github: 'Github登录', + gitea: 'Gitea登录' } }, // 注册页面国际化 diff --git a/src/views/login.vue b/src/views/login.vue index f641549..b166aca 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -60,6 +60,9 @@ + + + diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index a883d84..4cc77f4 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -50,6 +50,12 @@ Github + + + Gitea +