调整时间显示

dev_aliyun
杨树明 5 years ago
parent c19822aad8
commit 182bb34dbf

@ -261,7 +261,8 @@ class PackageConcent extends Component {
</div>
<div className=" item-other-blank"></div>
<div className=" item-group item-other-publish-at">
<span className=" item-group-text">发布于{moment(item.published_at).format("YYYY-MM-DD HH:mm")} </span>
{item.published_at===null?<span className="item-group-text">更新于{moment(item.updated_at).format("YYYY-MM-DD HH:mm")} </span>:
<span className=" item-group-text">发布于{moment(item.published_at).format("YYYY-MM-DD HH:mm")} </span>}
</div>
</div>

@ -320,7 +320,11 @@ class PackageIndexNEITaskDetails extends Component {
<div className=" item-other">
<div>
<span className="item-group-text">发布时间{moment(data&&data.published_at).format("YYYY-MM-DD HH:mm")}</span>
{data&&data.published_at===null?<span className="item-group-text">
更新时间{moment(data&&data.updated_at).format("YYYY-MM-DD HH:mm")}
</span>:<span className="item-group-text">
发布时间{moment(data&&data.published_at).format("YYYY-MM-DD HH:mm")}
</span>}
</div>
<div className=" item-group item-other-deadline ml40">
<span className="item-group-text">竞标截止时间{moment(data&&data.deadline_at).format("YYYY-MM-DD HH:mm")}</span>

Loading…
Cancel
Save