关卡数描述

dev_cs
杨树明 6 years ago
parent d9badc2d95
commit 19e7e34911

@ -362,6 +362,9 @@ class PathDetailIndex extends Component{
.head-right{ .head-right{
line-height: 30px; line-height: 30px;
} }
.padding40-20-30{
padding:40px 20px 30px;
}
` `
} }
</style> </style>
@ -457,7 +460,7 @@ class PathDetailIndex extends Component{
} }
{ {
this.props.checkIfLogin()===false?"":progress === undefined ? "" : progress === null ? "" : this.props.checkIfLogin()===false?"":progress === undefined ? "" : progress === null ? "" :
<div className="edu-back-white myProgress padding40-20 mb10"> <div className="edu-back-white myProgress padding40-20-30 mb10">
<p className="mb20"> <p className="mb20">
<span className="font-16 mr10">关卡数</span> <span className="font-16 mr10">关卡数</span>
<Tooltip placement="bottom" title="已通关数/关卡总数"> <Tooltip placement="bottom" title="已通关数/关卡总数">
@ -468,7 +471,8 @@ class PathDetailIndex extends Component{
<span className="fl color-green">已学 {progress.learned}%</span> <span className="fl color-green">已学 {progress.learned}%</span>
<span className="fr color-grey-9" id="time-consuming">学习耗时{this.timeStamp(progress.time)} </span> <span className="fr color-grey-9" id="time-consuming">学习耗时{this.timeStamp(progress.time)} </span>
</p> </p>
<div className="myProgressNav"><div className="myProgressGreen" style={{"width":`${progress.learned+"%"}`}}></div></div> <div className="myProgressNav mb20"><div className="myProgressGreen" style={{"width":`${progress.learned+"%"}`}}></div></div>
<span className="font-14 color-grey-8">: 我的进展以已发布的实训详情关卡数为准</span>
</div> </div>
} }

Loading…
Cancel
Save