Skip to content

Commit bd33303

Browse files
wild-gooseee155TuTrenbaoshuo
authored
feat: 在「我的」页面添加好友管理入口 (#403)
--------- Co-authored-by: 155TuT <zhiyiwang155TuT@gmail.com> Co-authored-by: Baoshuo <i@baoshuo.ren> Co-authored-by: wild-gooseee <072506116@fzu.edu.cn>
1 parent 7dd9bbf commit bd33303

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

app/(tabs)/user.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import AvatarDefault from '@/assets/images/my/avatar_default.png';
1515
import CalendarIcon from '@/assets/images/my/ic_calendar.png';
1616
import EcardIcon from '@/assets/images/my/ic_ecard.png';
1717
import HelpIcon from '@/assets/images/my/ic_help.png';
18+
import FriendManageIcon from '@/assets/images/my/ic_friend_manage.png';
1819
import useApiRequest from '@/hooks/useApiRequest';
1920

2021
const defaultUserInfo: UserInfo = {
@@ -51,6 +52,11 @@ export default function UserPage() {
5152
name: '校历',
5253
link: '/common/academic-calendar' as Href,
5354
},
55+
{
56+
icon: FriendManageIcon,
57+
name: '好友管理',
58+
link: '/settings/friend/list' as Href,
59+
},
5460
{
5561
icon: HelpIcon,
5662
name: '帮助与反馈',
1.99 KB
Loading

0 commit comments

Comments
 (0)