|  |  |  | @ -20,6 +20,7 @@ class Osshackathon extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 			hackathonedit:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			Osshackathonmodeltype:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			spinning:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			opentitletype:true | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -218,8 +219,14 @@ class Osshackathon extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 			search:e.target.value | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	opentitle=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			opentitletype:false | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	render() { | 
			
		
	
		
			
				
					|  |  |  |  | 		let {page,data,hackathonedit}=this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 		let {page,data,hackathonedit,opentitletype}=this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		return ( | 
			
		
	
	
		
			
				
					|  |  |  | @ -288,11 +295,23 @@ class Osshackathon extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					{hackathonedit===true?"":<Divider />} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						{opentitletype===true?<style> | 
			
		
	
		
			
				
					|  |  |  |  | 							{ | 
			
		
	
		
			
				
					|  |  |  |  | 									` | 
			
		
	
		
			
				
					|  |  |  |  | 									.Osshackathonfontlist{ | 
			
		
	
		
			
				
					|  |  |  |  | 								    	height: 180px; | 
			
		
	
		
			
				
					|  |  |  |  | 									    overflow: hidden; | 
			
		
	
		
			
				
					|  |  |  |  | 									} | 
			
		
	
		
			
				
					|  |  |  |  | 									` | 
			
		
	
		
			
				
					|  |  |  |  | 							} | 
			
		
	
		
			
				
					|  |  |  |  | 						</style>:""} | 
			
		
	
		
			
				
					|  |  |  |  | 					{hackathonedit===true?"":<p className={"Osshackathonfontlist mb30"}> | 
			
		
	
		
			
				
					|  |  |  |  | 						{data&&data.hackathon.description===null?"":<div className={"markdown-body"} | 
			
		
	
		
			
				
					|  |  |  |  | 									dangerouslySetInnerHTML={{__html: markdownToHTML(data&&data.hackathon.description).replace(/▁/g, "▁▁▁")}}></div>} | 
			
		
	
		
			
				
					|  |  |  |  | 					</p>} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						{opentitletype===true?<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer"}>展开阅读全文<Icon type="down" /></Divider>:""} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					{hackathonedit===true?<Osshackathonmd | 
			
		
	
		
			
				
					|  |  |  |  | 						getosshackathon={()=>this.getosshackathonlist()} | 
			
		
	
		
			
				
					|  |  |  |  | 						hidehackathonedit={()=>this.hidehackathonedit()} | 
			
		
	
	
		
			
				
					|  |  |  | @ -305,7 +324,7 @@ class Osshackathon extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 						{...this.props} | 
			
		
	
		
			
				
					|  |  |  |  | 						{...this.state} | 
			
		
	
		
			
				
					|  |  |  |  | 					/>:""} | 
			
		
	
		
			
				
					|  |  |  |  | 					{this.props.user&&this.props.user.admin===true?<Row className={"mb20"}> | 
			
		
	
		
			
				
					|  |  |  |  | 					{this.props.user&&this.props.user.admin===true?<Row className={"mb20 mt30"}> | 
			
		
	
		
			
				
					|  |  |  |  | 						<Col span={8}></Col> | 
			
		
	
		
			
				
					|  |  |  |  | 						<Col span={8}><Button type="primary" className={"OsshackprimaryButton OsshackprimaryButtonsyle"} onClick={()=>this.editSignupentry()}><Icon type="plus" />新建项目</Button></Col> | 
			
		
	
		
			
				
					|  |  |  |  | 						<Col span={8}></Col> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |