dev_static
杨树明 5 years ago
parent 922f355eda
commit bf20a76bf7

@ -386,7 +386,7 @@ label.infolabel{display: block;float: left;width: 56px;text-align: right;margin-
.task-item{margin-top: 30px;padding-bottom: 30px;border-bottom: 1px solid #eee}
.task-item:last-child{border-bottom: none;}
.challengeNav a.active{color: #4CACFF;}
.recomments{margin-bottom: 30px;padding-bottom:30px;margin-top: 30px;border-bottom: 1px solid #eee}
.recomments{ margin-bottom: 20px;}
.recomments:first-child{margin-top: 0px;}
.recomments:last-child{margin-bottom: 0px;border:none;padding-bottom: 0px;}
.url-input{border: none;padding: 0px;font-size: 12px;color:#999;outline: none}
@ -3496,4 +3496,9 @@ a.singlepublishtwo{
.RightPaneDrawer .jupyter_data_list{
max-height: 340px;
}
}
.ant-btn-primary{
text-shadow: none !important;
box-shadow: none !important;
}

@ -67,6 +67,18 @@ class TPMRightSection extends Component {
return (
<div>
<style>
{
`
.altimgs{
border-radius: 4px;
width: 100px;
height: 60px;
}
`
}
</style>
{
TPMRightSectionData === undefined ? "" :
<div>
@ -180,7 +192,8 @@ class TPMRightSection extends Component {
<div className="recomments clearfix df" key={k}>
<a href={"/paths/" + i.id} height="96" width="128" target="_blank">
<img alt="实训" height="96" src={"/" + i.image_url} width="128"/>
<img alt="实训" height="96" src={"/" + i.image_url} width="128" className={"altimgs"}/>
</a>
<div className="ml10 flex1">
@ -232,7 +245,7 @@ class TPMRightSection extends Component {
return (
<div className="recomments clearfix df" key={key}>
<a href={"/shixuns/" + item.identifier + "/challenges"} target="_blank">
<img alt="69?1526971094" height="96" src={"/" + item.pic} width="128"/>
<img alt="69?1526971094" height="96" src={"/" + item.pic} width="128" className={"altimgs"}/>
</a>
<div className="ml10 flex1">
<Tooltip placement="bottom" title={item.name}>
@ -240,9 +253,10 @@ class TPMRightSection extends Component {
className="color-grey-6 task-hide mb12 recomment-name">{item.name}</a>
</Tooltip>
<p className="clearfix mt8 font-12 color-grey-B4">
{item.stu_num} 人学习
<span className="fl">{item.stu_num} 人学习</span>
<span className="fr color-orange pr10">{item.level}</span>
</p>
<p className="edu-txt-right color-orange pr10">{item.level}</p>
</div>
</div>
)

@ -498,7 +498,18 @@ class Challenges extends Component {
</p>}
</div>
</div>
<style>
{
`
.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed::before{
border: none !important
}
.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed::after{
border: none !important
}
`
}
</style>
{this.state.isopentitletype==="Less"?"":this.state.opentitletype===true?<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>
<a className={"font-14 color-grey-9"}>阅读全文 <i className={"iconfont icon-jiantou9 font-14"}></i></a>
</Divider>:<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>
@ -508,7 +519,7 @@ class Challenges extends Component {
</div>
</p>
<div className={"shixunjianjiecballenges edu-back-white"}>
<div className={"shixunjianjiecballenges edu-back-white boreee"}>
<span className="font-16 fl">全部任务</span>
<span className="fr mt5">
{/* <img src={getImageUrl("images/educoder/icon/addsmallgreen.svg")}
@ -718,7 +729,7 @@ class Challenges extends Component {
{
`
.task-colspan {
min-width: 20% !important;
min-width: 18% !important;
}
`
}

@ -623,7 +623,18 @@ class Challengesjupyter extends Component {
</p>
</div>
<style>
{
`
.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed::before{
border: none !important
}
.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed::after{
border: none !important
}
`
}
</style>
{this.state.isopentitletype==="Less"?"":this.state.opentitletype===true?<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>
<a className={"font-14 color-grey-9"}>阅读全文 <i className={"iconfont icon-jiantou9 font-14"}></i></a>
</Divider>:<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>

@ -258,4 +258,8 @@
.Countdownfonttpm .ant-statistic-content-value{
font-size: 14px;
}
.boreee{
border-bottom: 1px solid #F4F4F4;
}

@ -390,7 +390,7 @@ label.infolabel{display: block;float: left;width: 56px;text-align: right;margin-
.task-item{margin-top: 30px;padding-bottom: 30px;border-bottom: 1px solid #eee}
.task-item:last-child{border-bottom: none;}
.challengeNav a.active{color: #4CACFF;}
.recomments{margin-bottom: 30px;padding-bottom:30px;margin-top: 30px;border-bottom: 1px solid #eee}
.recomments{ margin-bottom: 20px;}
.recomments:first-child{margin-top: 0px;}
.recomments:last-child{margin-bottom: 0px;border:none;padding-bottom: 0px;}
.url-input{border: none;padding: 0px;font-size: 12px;color:#999;outline: none}
@ -3816,4 +3816,9 @@ a.singlepublishtwo{
.RightPaneDrawer .jupyter_data_list{
max-height: 340px;
}
}
.ant-btn-primary{
text-shadow: none !important;
box-shadow: none !important;
}

Loading…
Cancel
Save