| 9 | import styles from './UserLayout.less'; |
| 10 | |
| 11 | const UserLayout = props => { |
| 12 | const { |
| 13 | route = { |
| 14 | routes: [], |
| 15 | }, |
| 16 | } = props; |
| 17 | const { routes = [] } = route; |
| 18 | const { |
| 19 | children, |
| 20 | location = { |
| 21 | pathname: '', |
| 22 | }, |
| 23 | } = props; |
| 24 | const { breadcrumb } = getMenuData(routes); |
| 25 | const title = getPageTitle({ |
| 26 | pathname: location.pathname, |
| 27 | breadcrumb, |
| 28 | formatMessage, |
| 29 | ...props, |
| 30 | }); |
| 31 | return ( |
| 32 | <> |
| 33 | <Helmet> |
| 34 | <title>{title}</title> |
| 35 | <meta name="description" content={title} /> |
| 36 | </Helmet> |
| 37 | |
| 38 | <div className={styles.container}> |
| 39 | {/* <div className={styles.lang}> |
| 40 | <SelectLang /> |
| 41 | </div> */} |
| 42 | <div className={styles.content}> |
| 43 | <div className={styles.login}> |
| 44 | <div className={styles.top}> |
| 45 | <div className={styles.header}> |
| 46 | <Link> |
| 47 | <img alt="logo" className={styles.logo} src={logo} /> |
| 48 | <span className={styles.title}>SKY PAD(spd))</span> |
| 49 | </Link> |
| 50 | </div> |
| 51 | <div className={styles.desc}>成都新加坡工业园最佳SKY PAD(spd))</div> |
| 52 | </div> |
| 53 | |
| 54 | {children} |
| 55 | </div> |
| 56 | </div> |
| 57 | {/* <DefaultFooter /> */} |
| 58 | </div> |
| 59 | </> |
| 60 | ); |
| 61 | }; |
| 62 | |
| 63 | export default connect(({ settings }) => ({ ...settings }))(UserLayout); |
nothing calls this directly
no outgoing calls
no test coverage detected