dev_aliyun
杨树明 6 years ago
parent bb46816f4f
commit 5c0ec62030

@ -229,8 +229,8 @@ class PackageIndexNEITaskDetails extends Component {
render() { render() {
let {overtype,data}=this.state; let {overtype,data}=this.state;
console.log(data&&data.creator) console.log(data&&data.creator.login)
// console.log(this.props) console.log(this.props.current_user.login)
return ( return (
<div> <div>
<div className="clearfix"> <div className="clearfix">
@ -277,12 +277,11 @@ class PackageIndexNEITaskDetails extends Component {
<img alt="头像" className="radius mt10 ml5" height="70" id="nh_user_logo" name="avatar_image" <img alt="头像" className="radius mt10 ml5" height="70" id="nh_user_logo" name="avatar_image"
src={data&&data.creator.avatar_url} width="70"/> src={data&&data.creator.avatar_url} width="70"/>
</a> </a>
<div className=" edu-back-white ml28 mt10 "> <div className=" edu-back-white pagemancenter mt10 ">
{data&&data.creator.name} {data&&data.creator.name}
</div> </div>
{/*{data&&data.creator?this.props.current_user.login===data&&data.creator.login?"":*/} {data&&data.creator.login===this.props.current_user.login?"":<div className=" edu-back-white ml5 mt10 "
{data&&data.operation.can_bidding===true?<div className=" edu-back-white ml5 mt10 "
onMouseOver={this.setover} onMouseOver={this.setover}
onMouseOut={this.setout} onMouseOut={this.setout}
> >

@ -415,7 +415,7 @@ class PackageIndexNEIBannerConcent extends Component {
min_price:parseInt(min_price), min_price:parseInt(min_price),
max_price:parseInt(max_price), max_price:parseInt(max_price),
contact_name: contact_name, contact_name: contact_name,
contact_phone: contact_phone, contact_phone: contact_phone===undefined?this.props.current_user.phone:contact_phone,
code:code, code:code,
publish:types publish:types
} }
@ -463,7 +463,7 @@ class PackageIndexNEIBannerConcent extends Component {
min_price:parseInt(min_price), min_price:parseInt(min_price),
max_price:parseInt(max_price), max_price:parseInt(max_price),
contact_name: contact_name, contact_name: contact_name,
contact_phone: contact_phone, contact_phone: contact_phone===undefined?this.props.current_user.phone:contact_phone,
code:code, code:code,
publish:types publish:types
} }

@ -304,4 +304,8 @@
.pagenoedits{ .pagenoedits{
margin-left: 20px; margin-left: 20px;
color: #ccc; color: #ccc;
}
.pagemancenter{
text-align: center;
} }
Loading…
Cancel
Save