From 5fceb709719f1733b5fdd48eaa4a429d553ce26d Mon Sep 17 00:00:00 2001 From: Sma11X <540351143@qq.com> Date: Mon, 23 Oct 2023 00:11:00 +0800 Subject: [PATCH] feat: handle follow request (#2339) --- components/account/AccountCard.vue | 8 ++- .../account/AccountFollowRequestButton.vue | 68 +++++++++++++++++++ components/account/AccountHeader.vue | 4 ++ components/notification/NotificationCard.vue | 17 +++-- locales/en.json | 5 ++ locales/zh-CN.json | 5 ++ 6 files changed, 99 insertions(+), 8 deletions(-) create mode 100644 components/account/AccountFollowRequestButton.vue diff --git a/components/account/AccountCard.vue b/components/account/AccountCard.vue index eae4f11e..46b0a22d 100644 --- a/components/account/AccountCard.vue +++ b/components/account/AccountCard.vue @@ -19,8 +19,10 @@ cacheAccount(account) overflow-hidden :to="getAccountRoute(account)" /> -
- -
+ +
+ +
+
diff --git a/components/account/AccountFollowRequestButton.vue b/components/account/AccountFollowRequestButton.vue new file mode 100644 index 00000000..61cab918 --- /dev/null +++ b/components/account/AccountFollowRequestButton.vue @@ -0,0 +1,68 @@ + + + diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index 471e4458..b9534fbd 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -109,6 +109,10 @@ const personalNoteMaxLength = 2000