From 5f92ffc1f79a1a73e09e894b0bc44dc421aa78cb Mon Sep 17 00:00:00 2001 From: G Date: Wed, 3 Jan 2024 01:10:31 +0800 Subject: [PATCH 01/22] =?UTF-8?q?feat:=20:sparkles:=20friends=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/user/components/friends/index.tsx | 128 ++++++++++++++---- .../views/user/components/proFile/index.tsx | 2 +- .../{proFile/styles.ts => styles/index.ts} | 5 + 3 files changed, 110 insertions(+), 25 deletions(-) rename apps/admin/src/views/user/components/{proFile/styles.ts => styles/index.ts} (64%) diff --git a/apps/admin/src/views/user/components/friends/index.tsx b/apps/admin/src/views/user/components/friends/index.tsx index 3fefb556..ce2bdb70 100644 --- a/apps/admin/src/views/user/components/friends/index.tsx +++ b/apps/admin/src/views/user/components/friends/index.tsx @@ -1,30 +1,110 @@ -import { Card, Checkbox, Col, Row, Select, Switch } from 'antd'; +import { DeleteOutlined, EditOutlined, MoreOutlined } from '@ant-design/icons'; +import { Avatar, Button, Card, Col, Dropdown, Flex, Row, Space, Typography } from 'antd'; +import { SvgIcon } from 'ui'; +import travel_3 from '@/assets/images/travel_3.jpg'; + +import useStyles from '../styles'; + +import type { MenuProps } from 'antd'; import type { FC } from 'react'; +const { Title, Text } = Typography; + +export interface PFriendsItem { + avatar: string; + name: string; + title: string; +} + export interface PFriends {} -const Friends: FC = () => ( - <> - - - - Checkbox -