Commit 2367ea5f by liguokang

feat:

parent 4562fb01
/*
* @Author: liguokang
* @Date: 2021-07-15 10:28:10
* @LastEditors: liguokang
* @LastEditTime: 2021-07-27 21:24:21
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
import React from 'react';
import cookies from 'react-cookies';
import { connect } from 'react-redux';
import Link from 'next/link';
import { withRouter } from 'next/router';
import { StaticImg } from '@/api/interfaces';
import style from './laHeader.less';
import { Button } from 'antd';
class LaHeader extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<header>
<nav>
<div className={style.title_con}>
<Link href="/">
<div className={style.title_item}>
<span>头部头部头部头部</span>
<Button>头部头部头部头部</Button>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
<Link href="/">
<div className={style.title_item}>
<span>头部头部头2222部头部</span>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
<Link href="/">
<div className={style.title_item}>
<span>头部头部头部头部</span>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
<Link href="/">
<div className={style.title_item}>
<span>头部头部头部头部</span>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
<Link href="/">
<div className={style.title_item}>
<span>头部头部头部头部</span>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
<Link href="/">
<div className={style.title_item}>
<span>头部头部头部头部</span>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
</div>
</nav>
</header>
);
}
}
// export default withRouter(LaHeader);
const mapStateToProps = ({ city, cityMap }) => ({ city, cityMap });
export default LaHeader;
<!--
* @Author: liguokang
* @Date: 2021-07-14 20:36:28
* @LastEditors: liguokang
* @LastEditTime: 2021-07-28 11:17:40
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
-->
## 描述
此处为 git 相关文件
......@@ -29,6 +29,7 @@
"@types/react": "^17.0.9",
"cross-env": "^5.2.0",
"husky": "^4.3.0",
"prettier": "2.3.2",
"typescript": "^4.3.2",
"webpack": "^4.37.0",
"webpack-bundle-analyzer": "^3.3.2"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment