|
|
|
@ -427,10 +427,10 @@ class Fileslistitem extends Component {
|
|
|
|
|
{discussMessage.publish_time === null ? "" : discussMessage.is_publish === true ? moment(discussMessage.publish_time).fromNow() : moment(discussMessage.publish_time).format('YYYY-MM-DD HH:mm')}
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
{discussMessage && discussMessage.category_name === null ? "" : this.props.child === false ?
|
|
|
|
|
{discussMessage && discussMessage.category_name === undefined||discussMessage && discussMessage.category_name === null ? "" :
|
|
|
|
|
<div className="color-grey9 task-hide fr mr30" title={discussMessage && discussMessage.category_name}
|
|
|
|
|
style={{display:'flex',"max-width": "268px"}}>所属目录:<div style={{display:discussMessage && discussMessage.parent_category_name === null ? "none":'block',"max-width": "80px",overflow: 'hidden',textOverflow:'ellipsis',whiteSpace: 'nowrap'}}>{discussMessage && discussMessage. parent_category_name}</div><div style={{display:discussMessage && discussMessage.parent_category_name === null ? "none":'block'}}>/</div><div style={{"max-width": "60px",overflow: 'hidden',textOverflow:'ellipsis',whiteSpace: 'nowrap'}}>{discussMessage && discussMessage.category_name}</div>
|
|
|
|
|
</div> : ""}
|
|
|
|
|
style={{display:'flex',"max-width": "300px"}}>所属目录:<div style={{display:discussMessage && discussMessage.parent_category_name === null ? "none":'block',"max-width": "168px",overflow: 'hidden',textOverflow:'ellipsis',whiteSpace: 'nowrap'}}>{discussMessage && discussMessage. parent_category_name}</div><div style={{display:discussMessage && discussMessage.parent_category_name === null ? "none":'block'}}>/</div><div style={{"max-width": "60px",overflow: 'hidden',textOverflow:'ellipsis',whiteSpace: 'nowrap'}}>{discussMessage && discussMessage.category_name}</div>
|
|
|
|
|
</div>}
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|