dev_forum
hjm 6 years ago
parent 688d44314b
commit ed7acee3ec

@ -158,7 +158,7 @@ class GraduationTasksappraiseReply extends Component{
return(
<React.Fragment>
{comment_scores.length===0&&isStudent===true||comment_scores.length===0&&isNotMember===true? "": <div className="edu-back-white padding20-30" style={{marginTop: '16px'}}>
{comment_scores.length===0&&isStudent===true||comment_scores.length===0&&isNotMember===true? "": <div className="edu-back-white" style={{marginTop: '16px'}}>
{isStudent===true?
<GraduationTasksappraiseReplyChild
{...this.props}

@ -30,7 +30,7 @@ class GraduationTasksappraiseReplyChild extends Component{
return(
<React.Fragment>
<div className={"stud-class-set pd20 edu-back-white mb10"} style={{height:"100%"}}>
<div className={`${comment_scores && comment_scores.length && 'bor-bottom-greyE'} stud-class-set edu-back-white mb10 padding20-30`} style={{height:"100%"}}>
<Modals
modalsType={this.props.Modalstype}
@ -70,32 +70,31 @@ class GraduationTasksappraiseReplyChild extends Component{
{this.props.ultimate===true?"":<div className={"color-grey-6 mb10"}>
<span className="labal">全部评阅</span>
{ !!comment_scores.length && <span className="count">
{comment_scores.length===0?"":(comment_scores.length)}
{comment_scores.length===0?"":`(${comment_scores.length})`}
</span> }
</div>}
<div className="padding20 bor-bottom-greyE memoReplies commentsDelegateParent course-message"
style={{ paddingTop: '0px', paddingBottom: '0px' }}
>
{/* style={{ display: (comments && !!comments.length) ? 'block' : 'none' }} */}
{/* <div className="replies_count">
</div> */}
{this.props.ultimate===true?"": isAdmin && <GraduationTasksappraiseMainEditor {...this.props}
{this.props.ultimate===true ? "": isAdmin && <GraduationTasksappraiseMainEditor {...this.props}
addSuccess={() => this.props.addSuccess()}
></GraduationTasksappraiseMainEditor> }
<style>{`
</div>
<div className={"stud-class-set edu-back-white mb10"} style={{height:"100%"}}>
`}</style>
<div className="panel-comment_item">
{ comment_scores.map(item => {
return <Graduationtaskitem item={item} onDelete={this.props.onDelete} {...this.props}></Graduationtaskitem>
}) }
</div>
<div className="padding20 memoReplies commentsDelegateParent course-message"
style={{ paddingTop: '0px', paddingBottom: '0px' }}
>
<style>{`
`}</style>
<div className="panel-comment_item">
{ comment_scores.map(item => {
return <Graduationtaskitem item={item} onDelete={this.props.onDelete} {...this.props}></Graduationtaskitem>
}) }
</div>
</div>
</div>
</React.Fragment>
)
}

Loading…
Cancel
Save