dev_aliyun_beta
杨树明 6 years ago
parent adee752481
commit 9b897c6399

@ -59,7 +59,7 @@ class ExerciseListItem extends Component{
// console.log(this.props.current_user.user_id)
return(
<div className="workList_Item" style={{cursor : IsAdmin ? "pointer" : "default",padding:"30px" }} onClick={() => this.props.onItemClick(this.props.item)}>
<div className="workList_Item" style={{cursor : IsAdmin ? "pointer" : "default",padding:"30px" }} onClick={() => window.$(`.exerciseitem${index} input`).click() }>
{
IsAdmin &&
<span className={`exerciseitem${index} fl mr12`}>

@ -31,7 +31,7 @@ class GraduateTopicItem extends Component{
return '';
}
return(
<div onClick={() => this.props.onItemClick(discussMessage)}>
<div>
<style>
{
`

@ -28,7 +28,7 @@ class PollListItem extends Component{
let canNotLink = !isAdminOrStudent && item.lock_status == 0
return(
<div className="workList_Item polllisthover" style={{cursor : IsAdmin ? "pointer" : "default",padding:"30px" }} onClick={() => this.props.onItemClick(this.props.item)}>
<div className="workList_Item polllisthover" style={{cursor : IsAdmin ? "pointer" : "default",padding:"30px" }} onClick={() => window.$(`.pollitem${index} input`).click() }>
{
IsAdmin &&
<span className={`pollitem${index} fl mr12`}>

@ -1166,7 +1166,7 @@ class ShixunHomework extends Component{
// console.log("++++++++++++++++++++++++++++++++++++++++++")
// console.log(JSON.stringify(this.props))
return (
<div className="mt20 edu-back-white padding02010" key={index} onClick={() => this.onItemClick(item)}>
<div className="mt20 edu-back-white padding02010" key={index} >
<div className="clearfix">
<ShixunhomeWorkItem
{...this.props}

Loading…
Cancel
Save