|
|
|
@ -442,6 +442,28 @@ class CoursesBanner extends Component {
|
|
|
|
|
{/*私有:私有课堂,非课堂成员不能访问
|
|
|
|
|
|
|
|
|
|
公开:公开课堂,非课堂成员可以访问*/}
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.tag-orange .tag-name{
|
|
|
|
|
display: block;
|
|
|
|
|
width: auto;
|
|
|
|
|
background-color: #FF6800;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
padding: 0px 4px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
float: left;
|
|
|
|
|
height: 28px;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{excellent===true?
|
|
|
|
|
<span className="tag-orange fl"><span className="tag-name mt10 ml10">国家精品</span></span>
|
|
|
|
|
:""}
|
|
|
|
|
<span className={"TabsWarp"}>
|
|
|
|
|
<CoursesListType
|
|
|
|
|
typelist={coursedata.course_end === true ? ["已结束"] : coursedata.is_public === true ? ["公开"] : ["私有"]}
|
|
|
|
@ -539,9 +561,9 @@ class CoursesBanner extends Component {
|
|
|
|
|
<a className="fr user_default_btn user_white_btn mr20 font-18" style={{width:"130px"}}
|
|
|
|
|
onClick={() => this.myyslgradin()}>加入课堂</a>: ""}
|
|
|
|
|
|
|
|
|
|
{this.props.isStudent()?<a className="fr user_default_btn user_blue_btn mr20 font-18"
|
|
|
|
|
onClick={() => this.exitclass()}
|
|
|
|
|
> 退出课堂 </a>:""}
|
|
|
|
|
{/*{this.props.isStudent()?<a className="fr user_default_btn user_blue_btn mr20 font-18"*/}
|
|
|
|
|
{/* onClick={() => this.exitclass()}*/}
|
|
|
|
|
{/*> 退出课堂 </a>:""}*/}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|