Merge branches 'dev_aliyun' and 'develop' of https://bdgit.educoder.net/Hjqreturn/educoder into develop

dev_home
杨树林 5 years ago
commit ec2b0f1cbc

@ -293,7 +293,7 @@ class Shixun < ApplicationRecord
# 所属实践课程 # 所属实践课程
def relation_path def relation_path
subjects.published.unhidden.uniq subjects.visible.unhidden.uniq
end end
private private

@ -245,6 +245,7 @@
height: 60px; height: 60px;
border-radius: 50% !important; border-radius: 50% !important;
box-shadow: 0px 0px 12px rgba(0,0,0,0.2); box-shadow: 0px 0px 12px rgba(0,0,0,0.2);
border: 2px solid #459BE5;
} }
.Competitioncenter{ .Competitioncenter{
@ -308,6 +309,7 @@
width: 64px; width: 64px;
height: 63px; height: 63px;
border-radius: 50%; border-radius: 50%;
border: 2px solid #459BE5;
} }
.CompetitionsListzhezhao{ .CompetitionsListzhezhao{
@ -418,4 +420,10 @@
cursor: default; cursor: default;
max-width: 100px; max-width: 100px;
display: inherit; display: inherit;
}
.competimgabsolute{
position: absolute;
left: 106px;
bottom: -10px;
} }

@ -201,7 +201,10 @@ class CompetitionContents extends Component{
<img src={getImageUrl("images/educoder/huangguan-two.png")}/> <img src={getImageUrl("images/educoder/huangguan-two.png")}/>
<div className={"mt10"}> <div className={"mt10"}>
<a href={`/users/${item.user_login}`} target={"_blank"} className="color-dark"> <a href={`/users/${item.user_login}`} target={"_blank"} className="color-dark">
<img className={"rankingimg"} src={getImageUrl(`images/${item.user_image===null?`avatars/User/0?1442652658`:item.user_image}`)} /> <div>
<img className={"rankingimg"} src={getImageUrl(`images/${item.user_image===null?`avatars/User/0?1442652658`:item.user_image}`)} />
<div className={"competimgabsolute"}>123</div>
</div>
<p className="task-hide rankName mt5 jinshaifont">{personal===undefined||personal===null?item.record_user_name:personal===true?item.record_user_name:item.team_name}</p> <p className="task-hide rankName mt5 jinshaifont">{personal===undefined||personal===null?item.record_user_name:personal===true?item.record_user_name:item.team_name}</p>
</a> </a>
</div> </div>

@ -210,12 +210,11 @@ function CourseGroupList(props) {
onPressEnter={onPressEnter} onPressEnter={onPressEnter}
></Titlesearchsection> ></Titlesearchsection>
{!!none_group_member_count && <div className="mt20 edu-back-white padding20-30 "> {!!none_group_member_count && <div className="mt20 E9F8FF padding20-30 pointer" onClick={() => {props.history.push(`/courses/${courseId}/course_groups/0`)}}>
<span>未分班</span> <span>未分班</span>
<span style={{color: '#999999'}}>{none_group_member_count}个学生</span> <span style={{color: '#999999'}}>{none_group_member_count}个学生</span>
<WordsBtn style="blue" className="fr " <WordsBtn style="blue" className="fr">查看</WordsBtn>
onClick={() => {props.history.push(`/courses/${courseId}/course_groups/0`)}}>查看</WordsBtn>
</div>} </div>}
<Spin size="large" spinning={isSpin}> <Spin size="large" spinning={isSpin}>

@ -1,4 +1,8 @@
.stu_table .ant-table-thead > tr > th, .stu_table .ant-table-tbody > tr > td, .stu_table .ant-table-thead > tr > th, .stu_table .ant-table-tbody > tr > td,
.courseGroupList .ant-table-thead > tr > th, .courseGroupList .ant-table-tbody > tr > td { .courseGroupList .ant-table-thead > tr > th, .courseGroupList .ant-table-tbody > tr > td {
padding: 14px 6px; padding: 14px 6px;
}
.E9F8FF{
background-color: #E9F8FF;
} }
Loading…
Cancel
Save