diff --git a/src/main.jsx b/src/main.jsx index fcf04e0..18684ec 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -14,6 +14,7 @@ import ChatHistory from '@/views/ChatHistory' import SalesManagement from '@/views/SalesManagement' import DingdingQRCode from '@/views/DingdingQRCode' import DingdingCallbak from '@/views/DingdingCallbak' +import AccountProfile from '@/views/AccountProfile' import ErrorPage from '@/views/ErrorPage' import Conversations from '@/views/Conversations/ChatWindow'; @@ -46,6 +47,7 @@ const router = createBrowserRouter([ { path: 'chat/history', element: }, { path: 'sales/management', element: }, { path: 'order/chat', element: }, + { path: 'account/profile', element: }, ] }, { diff --git a/src/views/AccountProfile.jsx b/src/views/AccountProfile.jsx new file mode 100644 index 0000000..40dafd3 --- /dev/null +++ b/src/views/AccountProfile.jsx @@ -0,0 +1,32 @@ +import { useNavigate } from 'react-router-dom' +import { useRef, useEffect, useState } from 'react' +import { observer } from 'mobx-react' +import { + Row, Col, Divider, Table, Card, Button, Input, + Space, Segmented, Radio, Select, Descriptions, Spin, Typography, Flex, DatePicker, List, Avatar +} from 'antd' +import { + StarFilled, ZoomInOutlined, StarOutlined, BarsOutlined, AppstoreOutlined, SearchOutlined +} from '@ant-design/icons' +import { Conditional } from '@/components/Conditional' + +function AccountProfile() { + + useEffect(() => { + }, []) + + return ( + + + + ​骆梅玉​ + +86-15878301602 + christyluo@hainatravel.com + 海纳业务组-GH事业部群-GH销售 + + + + ) +} + +export default observer(AccountProfile) diff --git a/src/views/App.jsx b/src/views/App.jsx index a6af973..191f049 100644 --- a/src/views/App.jsx +++ b/src/views/App.jsx @@ -1,6 +1,6 @@ import { Outlet, Link, useHref, NavLink } from 'react-router-dom' import { useRef, useEffect, useState } from 'react' -import { Layout, Menu, ConfigProvider, theme, Empty, Row, Col, Dropdown, Space, Typography, Result, App as AntApp } from 'antd' +import { Layout, Menu, ConfigProvider, theme, Empty, Row, Col, Dropdown, Space, Typography, Result, Select, App as AntApp } from 'antd' import { DownOutlined } from "@ant-design/icons"; import zhLocale from 'antd/locale/zh_CN'; import dayjs from 'dayjs'; @@ -56,7 +56,7 @@ function App() { App logo - 聊天式销售平台 + 聊天式销售平台 @@ -76,7 +76,7 @@ function App() { menu={{ items: [ { - label: 个人资料, + label: 个人资料, key: "1", }, { @@ -97,7 +97,8 @@ function App() { - + +