From 904c44b4a2283f74e56814db0cc2e511f7a6674f Mon Sep 17 00:00:00 2001 From: ldh <996970752@qq.com> Date: Thu, 17 Feb 2022 18:09:06 +0800 Subject: [PATCH] 1:面包屑导航公共组件 --- operation/src/views/login/index.jsx | 33 +++++++++++++++++++++++++++------ 1 files changed, 27 insertions(+), 6 deletions(-) diff --git a/operation/src/views/login/index.jsx b/operation/src/views/login/index.jsx index 4a2b2f4..a42ee77 100644 --- a/operation/src/views/login/index.jsx +++ b/operation/src/views/login/index.jsx @@ -5,13 +5,34 @@ * @LastEditTime: 2022-02-17 11:20:06 * @LastEditors: ldh * @Version: 1.0.0 - * @Description: 登录页面 + * @Description: 例子 */ -import React from 'react'; -// import './index.less'; +import React, { Component } from 'react'; +import './index.less'; +import PageHead from '../../components/PageHead'; +import { Tabs } from 'antd'; -const Login = () => { - return <div>login</div>; -}; +const { TabPane } = Tabs; +class Login extends Component { + render() { + return ( + <> + <PageHead + breadcrumbData={[ + { url: '/operation/customer', title: '客户管理' }, + { url: '', title: '新增客户' }, + ]} + title="客户管理" + otherLayout={ + <Tabs defaultActiveKey="1"> + <TabPane tab="Tab 1" key="1" /> + <TabPane tab="Tab 2" key="2" /> + </Tabs> + } + /> + </> + ); + } +} export default Login; -- Gitblit v1.8.0