merge
This commit is contained in:
parent
44f06b7305
commit
254b3173d1
|
@ -19,10 +19,11 @@ function Footer(){
|
||||||
|
|
||||||
return(
|
return(
|
||||||
<div>
|
<div>
|
||||||
{value && showhtml(value)}
|
{/* {value && showhtml(value)} */}
|
||||||
{/* <div style={{height:"443px"}}></div>
|
<div style={{height:"483px"}}></div>
|
||||||
<div className="newFooter edu-txt-center">
|
<div className="newFooter edu-txt-center">
|
||||||
<div className="footEdition">
|
{value && showhtml(value)}
|
||||||
|
{/* <div className="footEdition">
|
||||||
<div className="footContent">
|
<div className="footContent">
|
||||||
<ul className="center">
|
<ul className="center">
|
||||||
<img src={""} alt="Gitlink(确实开源)" height="29px"/>
|
<img src={""} alt="Gitlink(确实开源)" height="29px"/>
|
||||||
|
@ -57,9 +58,9 @@ function Footer(){
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<p className="copyrightDesc">©Copyright 2007~2021 国防科技大学Gitlink团队 & IntelliDE <br/>湘ICP备 17009477号</p>
|
<p className="copyrightDesc">©Copyright 2007~2021 国防科技大学Gitlink团队 & IntelliDE <br/>湘ICP备 17009477号</p>
|
||||||
</div>
|
|
||||||
</div> */}
|
</div> */}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
export default Footer;
|
export default Footer;
|
||||||
|
|
|
@ -60,12 +60,6 @@ class Index extends Component {
|
||||||
<ProjectNew {...this.props} {...props} />
|
<ProjectNew {...this.props} {...props} />
|
||||||
)}
|
)}
|
||||||
></Route>
|
></Route>
|
||||||
{/* <Route
|
|
||||||
path="/:owner/:projectsId"
|
|
||||||
render={(props) => (
|
|
||||||
<ProjectDetail {...this.props} {...props} />
|
|
||||||
)}
|
|
||||||
></Route> */}
|
|
||||||
<Route
|
<Route
|
||||||
path="/explore"
|
path="/explore"
|
||||||
render={(props) => (
|
render={(props) => (
|
||||||
|
@ -73,12 +67,12 @@ class Index extends Component {
|
||||||
)}
|
)}
|
||||||
></Route>
|
></Route>
|
||||||
|
|
||||||
<Route
|
{/* <Route
|
||||||
path="/"
|
path="/"
|
||||||
render={(props) => (
|
render={(props) => (
|
||||||
<ProjectIndex {...this.props} {...props} />
|
<ProjectIndex {...this.props} {...props} />
|
||||||
)}
|
)}
|
||||||
></Route>
|
></Route> */}
|
||||||
</Switch>
|
</Switch>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -90,10 +84,3 @@ export default withRouter(
|
||||||
parentSelector: ".newMain",
|
parentSelector: ".newMain",
|
||||||
})(CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(Index))))
|
})(CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(Index))))
|
||||||
);
|
);
|
||||||
|
|
||||||
// export default withRouter(
|
|
||||||
// ImageLayerOfCommentHOC({
|
|
||||||
// imgSelector: ".imageLayerParent img, .imageLayerParent .imageTarget",
|
|
||||||
// parentSelector: ".newMain",
|
|
||||||
// })(Index)
|
|
||||||
// );
|
|
||||||
|
|
|
@ -150,10 +150,15 @@ export function TPMIndexHOC(WrappedComponent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fetchUsers = () => {
|
fetchUsers = () => {
|
||||||
|
console.log(this.props.match)
|
||||||
if (this.props.match.path === "/") {
|
if (this.props.match.path === "/") {
|
||||||
this.setState({
|
this.setState({
|
||||||
publicNav:false
|
publicNav:false
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
this.setState({
|
||||||
|
publicNav:true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
let url = `/users/get_user_info.json`;
|
let url = `/users/get_user_info.json`;
|
||||||
axios.get(url).then((response) => {
|
axios.get(url).then((response) => {
|
||||||
|
|
Loading…
Reference in New Issue