dev_hss
杨树林 6 years ago
parent fd4e6e4177
commit 0f162b7e88

@ -2598,29 +2598,31 @@ class Listofworksstudentone extends Component {
color:rgba(255,104,0,1); color:rgba(255,104,0,1);
} }
.computeTime{ .computeTime {
width: 73px; width: 122px;
height: 24px; height: 31px;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
line-height: 13px; line-height: 20px;
color: #4CACFF; color: #FE6B21;
border: 1px solid #4CACFF; border: 1px solid #FE6B21;
cursor: pointer; cursor: pointer;
} border-radius: 4px;
}
.computeTimes{ .computeTimes{
width: 73px; width: 122px;
height: 24px; height: 31px;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
line-height: 13px; line-height: 20px;
color: #C5C5C5; color: #C5C5C5;
border: 1px solid #EDEDED; border: 1px solid #EDEDED;
background:#EDEDED; background:#EDEDED;
cursor: pointer; cursor: pointer;
border-radius: 4px;
} }
.shixunSpin{ .shixunSpin{
color:#FF6801; color:#FF6801;
@ -2641,12 +2643,12 @@ class Listofworksstudentone extends Component {
<span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span> <span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>
<span> <span>
{teacherdata&&teacherdata.publish_immediately===false&&computeTimetype===true? {teacherdata&&teacherdata.publish_immediately===false&&computeTimetype===true?
(this.props.isNotMember()===false?<div className={"computeTime font-13"} onClick={this.setComputeTimet}> (this.props.isNotMember()===false?<div className={"computeTime font-16"} onClick={this.setComputeTimet}>
计算成绩 查看最新成绩
</div>:""): </div>:""):
teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "": teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
(this.props.isNotMember()===false?<div className={"computeTimes font-13"}> (this.props.isNotMember()===false?<div className={"computeTimes font-16"}>
计算成绩 查看最新成绩
</div>:"") </div>:"")
} }
</span> </span>
@ -2840,30 +2842,32 @@ class Listofworksstudentone extends Component {
font-weight:400; font-weight:400;
color:rgba(255,104,0,1); color:rgba(255,104,0,1);
} }
.computeTime{ .computeTime {
width: 73px; width: 122px;
height: 24px; height: 31px;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
line-height: 13px; line-height: 20px;
color: #4CACFF; color: #FE6B21;
border: 1px solid #4CACFF; border: 1px solid #FE6B21;
cursor: pointer; cursor: pointer;
} border-radius: 4px;
}
.computeTimes{ .computeTimes{
width: 73px; width: 122px;
height: 24px; height: 31px;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
line-height: 13px; line-height: 20px;
color: #C5C5C5; color: #C5C5C5;
border: 1px solid #EDEDED; border: 1px solid #EDEDED;
background:#EDEDED; background:#EDEDED;
cursor: pointer; cursor: pointer;
} border-radius: 4px;
}
`} `}
</style> </style>
{visibles === true ? {visibles === true ?
@ -2947,15 +2951,15 @@ class Listofworksstudentone extends Component {
{teacherdata&&teacherdata.task_operation[0]==="开启挑战"?"":<span> {teacherdata&&teacherdata.task_operation[0]==="开启挑战"?"":<span>
{computeTimetype===true? {computeTimetype===true?
(this.props.isNotMember()===false? (this.props.isNotMember()===false?
<div className={"computeTime font-13"} onClick={this.setComputeTime}> <div className={"computeTime font-16"} onClick={this.setComputeTime}>
计算成绩 查看最新成绩
</div> </div>
:"") :"")
: :
(teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "": (teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
this.props.isNotMember()===false? this.props.isNotMember()===false?
<div className={"computeTimes font-13"}> <div className={"computeTimes font-16"}>
计算成绩 查看最新成绩
</div> </div>
:"") :"")
} }
@ -3125,29 +3129,31 @@ class Listofworksstudentone extends Component {
font-weight:400; font-weight:400;
color:rgba(255,104,0,1); color:rgba(255,104,0,1);
} }
.computeTime{ .computeTime {
width: 73px; width: 122px;
height: 24px; height: 31px;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
line-height: 13px; line-height: 20px;
color: #4CACFF; color: #FE6B21;
border: 1px solid #4CACFF; border: 1px solid #FE6B21;
cursor: pointer; cursor: pointer;
} border-radius: 4px;
}
.computeTimes{ .computeTimes{
width: 73px; width: 122px;
height: 24px; height: 31px;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
line-height: 13px; line-height: 20px;
color: #C5C5C5; color: #C5C5C5;
border: 1px solid #EDEDED; border: 1px solid #EDEDED;
background:#EDEDED; background:#EDEDED;
cursor: pointer; cursor: pointer;
border-radius: 4px;
} }
`} `}
</style> </style>
@ -3156,12 +3162,12 @@ class Listofworksstudentone extends Component {
<span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span> <span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>
{teacherdata&&teacherdata.task_operation&&teacherdata.task_operation[0]==="开启挑战"?"":<span> {teacherdata&&teacherdata.task_operation&&teacherdata.task_operation[0]==="开启挑战"?"":<span>
{computeTimetype===true? {computeTimetype===true?
(this.props.isNotMember()===false?<div className={"computeTime font-13"} onClick={this.setComputeTime}> (this.props.isNotMember()===false?<div className={"computeTime font-16"} onClick={this.setComputeTime}>
计算成绩 查看最新成绩
</div>:""): </div>:""):
teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "": teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
(this.props.isNotMember()===false?<div className={"computeTimes font-13"}> (this.props.isNotMember()===false?<div className="computeTimes font-16">
计算成绩 查看最新成绩
</div>:"") </div>:"")
} }
</span>} </span>}

Loading…
Cancel
Save