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

@ -229,8 +229,8 @@ class PackageIndexNEITaskDetails extends Component {
render() {
let {overtype,data}=this.state;
console.log(data&&data.creator)
// console.log(this.props)
console.log(data&&data.creator.login)
console.log(this.props.current_user.login)
return (
<div>
<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"
src={data&&data.creator.avatar_url} width="70"/>
</a>
<div className=" edu-back-white ml28 mt10 ">
<div className=" edu-back-white pagemancenter mt10 ">
{data&&data.creator.name}
</div>
{/*{data&&data.creator?this.props.current_user.login===data&&data.creator.login?"":*/}
{data&&data.operation.can_bidding===true?<div className=" edu-back-white ml5 mt10 "
{data&&data.creator.login===this.props.current_user.login?"":<div className=" edu-back-white ml5 mt10 "
onMouseOver={this.setover}
onMouseOut={this.setout}
>

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

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