|
|
|
@ -139,9 +139,10 @@ class CommonWorkItem extends Component{
|
|
|
|
|
}
|
|
|
|
|
<div className="flex1" onClick={() => this.props.onItemClick(Object.assign({}, item, {id: item.homework_id})) }>
|
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
|
{/* 放开点击进入,进入后弹框,canNotLink ? () => {} : */}
|
|
|
|
|
<a title={item.name}
|
|
|
|
|
className="fl font-16 font-bd mt2 comnonwidth580" style={{cursor: canNotLink ? 'normal' : 'poninter'}}
|
|
|
|
|
onClick={canNotLink ? () => {} : () => this.onItemClick(item)}
|
|
|
|
|
onClick={() => this.onItemClick(item)}
|
|
|
|
|
>{item.name}</a>
|
|
|
|
|
|
|
|
|
|
{/* 只有非课堂成员且作业是私有的情况下才会为true */}
|
|
|
|
|