forked from Gitlink/forgeplus-react
启智竞赛增加logo
This commit is contained in:
parent
b88dbfa36f
commit
ddb39a65fc
|
|
@ -63,7 +63,7 @@ export default Form.create()(({ form, match, history, current_user, showNotifica
|
|||
} else {
|
||||
zonesArr(details.zones);
|
||||
}
|
||||
setAdmin_data(details.admin_data || []);
|
||||
setAdmin_data(Array.isArray(details.admin_data)?details.admin_data:[]);
|
||||
}
|
||||
setLoading(false);
|
||||
}).catch((error) => {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import './qz2022/index.scss';
|
|||
import { Menu, Popover, Spin } from "antd";
|
||||
import banner from './qz2022/image/banner.jpg';
|
||||
import banner_local from './qz2022/image/banner_local.jpg';
|
||||
import logo from './qz2022/image/logo.png';
|
||||
import { getQz2022, userCompetitionStatus } from "./qz2022/api";
|
||||
import { paths } from "./qz2022/static";
|
||||
import Login from './components/login';
|
||||
|
|
@ -171,6 +172,9 @@ const Qz2022 = (props) => {
|
|||
<div className="qz2022">
|
||||
<div className={`qz2022-top ${fixedTop}`}>
|
||||
{paths.indexOf(active) !== -1 && <ul className="qz2022Menu mt20 qz_main">
|
||||
<li>
|
||||
<a href="/"><img src={logo} alt="" style={{width: 120}}/></a>
|
||||
</li>
|
||||
<li className={ active==='qz2022' ||active === "introduce"? "active" : ""}>
|
||||
<Link to={{ pathname: `/competition/qz2022/introduce` }}>首页</Link>
|
||||
</li>
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 162 KiB |
Loading…
Reference in New Issue