|
|
@ -119,6 +119,8 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
}).then((response) => {
|
|
|
|
}).then((response) => {
|
|
|
|
if(response.data.status===0){
|
|
|
|
if(response.data.status===0){
|
|
|
|
this.props.showSnackbar("提交成功");
|
|
|
|
this.props.showSnackbar("提交成功");
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.props.showSnackbar(response.data.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
console.log(error)
|
|
|
|
console.log(error)
|
|
|
@ -213,6 +215,8 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
if(response.data.status===0){
|
|
|
|
if(response.data.status===0){
|
|
|
|
this.props.showSnackbar("报名成功");
|
|
|
|
this.props.showSnackbar("报名成功");
|
|
|
|
this.getdatas()
|
|
|
|
this.getdatas()
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.props.showSnackbar(response.data.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
console.log(error)
|
|
|
|
console.log(error)
|
|
|
@ -302,9 +306,10 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className=" item-head-price mtf7">
|
|
|
|
<div className=" item-head-price mtf7">
|
|
|
|
<span>¥<span className={"font-24"}>{data&&data.min_price}</span></span>
|
|
|
|
{data&&data.min_price===null?<span>¥<span className={"font-24"}>{data&&data.min_price}</span></span>:""}
|
|
|
|
{data&&data.max_price===null?<span>~</span>:""}
|
|
|
|
{data&&data.max_price===null||data&&data.min_price===null?<span>~</span>:""}
|
|
|
|
{data&&data.max_price===null?<span>¥<span className={"font-24"}>{data&&data.max_price}</span></span>:""}
|
|
|
|
{data&&data.max_price===null?<span>¥<span className={"font-24"}>{data&&data.max_price}</span></span>:""}
|
|
|
|
|
|
|
|
{data&&data.min_price===null&&data&&data.max_price===null?<span>可议价</span>:""}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -389,7 +394,7 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
<div className="ysldivhomediv1 homehove">
|
|
|
|
<div className="ysldivhomediv1 homehove">
|
|
|
|
<a href={`/users/${item.login}`}><img className="div1img" src={item.avatar_url}/></a>
|
|
|
|
<a href={`/users/${item.login}`}><img className="div1img" src={item.avatar_url}/></a>
|
|
|
|
<div className="textall mt10" title={item.name}> <p className="ptext">{item.name}</p></div>
|
|
|
|
<div className="textall mt10" title={item.name}> <p className="ptext">{item.name}</p></div>
|
|
|
|
{this.props.current_user.login!=item.login?<a className="ContacttheTAs fl none" href={`/users/${item.login}/private_messages`}>
|
|
|
|
{this.props.current_user.login!=item.login?<a className="ContacttheTAs fl none" href={`/users/${this.props.current_user.login}/private_messages`}>
|
|
|
|
<img alt="头像" className="mr5" src={require('./newstwo.png')}/>联系TA
|
|
|
|
<img alt="头像" className="mr5" src={require('./newstwo.png')}/>联系TA
|
|
|
|
</a>:""}
|
|
|
|
</a>:""}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|