Commit 51a9386c by liguokang

feat:

parent 59f198f0
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"@types/react": "^17.0.9", "@types/react": "^17.0.9",
"typescript": "^4.3.2", "typescript": "^4.3.2",
"webpack": "^4.37.0" "webpack": "^4.37.0",
"webpack-bundle-analyzer": "^3.3.2"
}, },
"husky": { "husky": {
"hooks": { "hooks": {
......
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
* @Author: liguokang * @Author: liguokang
* @Date: 2021-07-14 20:36:28 * @Date: 2021-07-14 20:36:28
* @LastEditors: liguokang * @LastEditors: liguokang
* @LastEditTime: 2021-07-15 10:23:42 * @LastEditTime: 2021-07-15 11:23:23
* @Description: * @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有 * @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/ */
import { useState, useLayoutEffect } from 'react'; import { useState, useLayoutEffect } from 'react';
import { getJobs } from "../data-source/join-us/request-apis"; // import { getJobs } from "../data-source/join-us/request-apis";
import Header from '../components/Header'; // import Header from '../components/Header';
import Footer from '../components/Footer'; // import Footer from '../components/Footer';
import SiderBar from '../components/SiderBar'; // import SiderBar from '../components/SiderBar';
import "./joinUs.less"; // import "./joinUs.less";
export default function JoinUs() { export default function JoinUs() {
const [jobs, setJobs] = useState([]); const [jobs, setJobs] = useState([]);
...@@ -27,9 +27,9 @@ export default function JoinUs() { ...@@ -27,9 +27,9 @@ export default function JoinUs() {
// 获取数据 // 获取数据
async function getData() { async function getData() {
const { data } = await getJobs(); // const { data } = await getJobs();
setJobs(data); // setJobs(data);
setSelectJobs(data); // setSelectJobs(data);
} }
function handSelectNature(type, flag) { function handSelectNature(type, flag) {
...@@ -52,7 +52,7 @@ export default function JoinUs() { ...@@ -52,7 +52,7 @@ export default function JoinUs() {
return ( return (
<div className="" style={{ background: "#fff" }}> <div className="" style={{ background: "#fff" }}>
<Header active={"aboutUs"} /> {/* <Header active={"aboutUs"} /> */}
<div className="join-us"> <div className="join-us">
<div className="center" style={{ textAlign: "center" }}> <div className="center" style={{ textAlign: "center" }}>
<p>加入我们,麦向美好未来</p> <p>加入我们,麦向美好未来</p>
...@@ -285,8 +285,8 @@ export default function JoinUs() { ...@@ -285,8 +285,8 @@ export default function JoinUs() {
</div> </div>
</div> </div>
</div> </div>
<Footer></Footer> {/* <Footer></Footer> */}
<SiderBar /> {/* <SiderBar /> */}
</div> </div>
); );
} }
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