forked from Gitlink/forgeplus-react
组织详情显示nickname
This commit is contained in:
parent
5477c41f78
commit
f12228aa51
|
@ -78,7 +78,7 @@ function Detail(props){
|
|||
detail &&
|
||||
<Cards
|
||||
src={`/organize/${detail.name}`}
|
||||
title={detail.name}
|
||||
title={detail.nickname}
|
||||
desc={!buttonflag && detail.description}
|
||||
img={detail.avatar_url}
|
||||
rightBtn={
|
||||
|
|
|
@ -1,34 +1,14 @@
|
|||
import React, {Component} from "react";
|
||||
import moment from 'moment';
|
||||
import { SnackbarHOC,getImageUrl } from 'educoder';
|
||||
import { getImageUrl } from 'educoder';
|
||||
import '../courses/css/members.css';
|
||||
import "../courses/common/formCommon.css"
|
||||
import "../courses/common/formCommon.css";
|
||||
import '../courses/css/Courses.css';
|
||||
import beijintulogontwo from '../../../src/images/login/beijintulogontwo.png';
|
||||
import educodernet from '../../../src/images/login/educodernet.png';
|
||||
import LoginRegisterComponent from '../user/LoginRegisterComponent';
|
||||
import FindPasswordComponent from '../user/FindPasswordComponent';
|
||||
import passopen from "../../images/login/passopen.png";
|
||||
//educoder登入页面
|
||||
var sectionStyle = {
|
||||
"height": "100%",
|
||||
"width": "100%",
|
||||
"min-width": "1000px",
|
||||
// makesure here is String确保这里是一个字符串,以下是es6写法
|
||||
|
||||
|
||||
};
|
||||
var imgback = {
|
||||
" background-size":"cover",
|
||||
"background-repeat":"no-repeat",
|
||||
backgroundImage: `url(${beijintulogontwo})`,
|
||||
}
|
||||
var imgmian ={
|
||||
width: "100%",
|
||||
background: `url(${beijintulogontwo})`,
|
||||
position: "relative",
|
||||
|
||||
}
|
||||
|
||||
var newContainer={
|
||||
background: `url(${beijintulogontwo})`,
|
||||
|
@ -89,11 +69,6 @@ class EducoderLogin extends Component {
|
|||
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
// console.log("EducoderLogin");
|
||||
// console.log(this.props);
|
||||
}
|
||||
|
||||
Setlogins=(i)=>{
|
||||
console.log("96ye");
|
||||
console.log(i)
|
||||
|
@ -120,9 +95,6 @@ class EducoderLogin extends Component {
|
|||
|
||||
render() {
|
||||
let {showbool,loginstatus,logini} = this.state;
|
||||
// console.log("EducoderLogingetHelmetapi");
|
||||
// console.log(this.props);
|
||||
// console.log(this.props.mygetHelmetapi);
|
||||
return (
|
||||
<div style={newContainer} className=" clearfix" >
|
||||
|
||||
|
|
Loading…
Reference in New Issue