chromesetting
杨树林 5 years ago
parent 501b8e5133
commit 36ed0e58a4

@ -748,82 +748,86 @@ class TPMBanner extends Component {
</li> </li>
</ul> </ul>
{
<div className="pr fl" id="commentsStar" onMouseOver={() => this.showonMouseOver()} is_jupyter===false?
onMouseOut={() => this.hideonMouseOut()}> <div className="pr fl" id="commentsStar" onMouseOver={() => this.showonMouseOver()}
<div className={"color-grey-c ml15"} style={{color: "#Fff", textAlign: "center"}}>学员评分</div> onMouseOut={() => this.hideonMouseOut()}>
<div className="rateYo"> <div className={"color-grey-c ml15"} style={{color: "#Fff", textAlign: "center"}}>学员评分</div>
<MyRate allowHalf defaultValue={star_info[0]} disabled/> <div className="rateYo">
</div> <MyRate allowHalf defaultValue={star_info[0]} disabled/>
<div id="ratePanel" className="showratePanel" style={{"width": "530px"}} </div>
onMouseOut={() => this.hideonMouseOut()}> <div id="ratePanel" className="showratePanel" style={{"width": "530px"}}
<div className="pr"> onMouseOut={() => this.hideonMouseOut()}>
<span className="rateTrangle"></span> <div className="pr">
<div className="pr clearfix ratePanelContent" style={{height: '177px'}}> <span className="rateTrangle"></span>
<div className="fl totalScore"> <div className="pr clearfix ratePanelContent" style={{height: '177px'}}>
<div> <div className="fl totalScore">
<div>
<span <span
className="font-24 color-yellow-ff lineh-20 mb10 ml20">{star_infos[0]}</span> className="font-24 color-yellow-ff lineh-20 mb10 ml20">{star_infos[0]}</span>
<span className="displayblock">总评分</span> <span className="displayblock">总评分</span>
<div className="rateYo"> <div className="rateYo">
{showradios === true ? {showradios === true ?
<MyRate allowHalf defaultValue={star_info[0]} disabled/> <MyRate allowHalf defaultValue={star_info[0]} disabled/>
: ""} : ""}
</div> </div>
</div> </div>
</div> </div>
<div className="fr" style={{width: '375px'}}> <div className="fr" style={{width: '375px'}}>
<div className="clearfix"> <div className="clearfix">
<div className="rateYo fl mt3"> <div className="rateYo fl mt3">
{showradios === true ? {showradios === true ?
<MyRate allowHalf defaultValue={5} disabled/> <MyRate allowHalf defaultValue={5} disabled/>
: ""} : ""}
</div> </div>
<Progress percent={star_infos[1]} showInfo={false}></Progress> <Progress percent={star_infos[1]} showInfo={false}></Progress>
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[1]}%</span> <span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[1]}%</span>
</div> </div>
<div className="clearfix"> <div className="clearfix">
<div className="rateYo fl mt3"> <div className="rateYo fl mt3">
{showradios === true ? {showradios === true ?
<MyRate allowHalf defaultValue={4} disabled/> <MyRate allowHalf defaultValue={4} disabled/>
: ""} : ""}
</div> </div>
<Progress percent={star_infos[2]} showInfo={false}></Progress> <Progress percent={star_infos[2]} showInfo={false}></Progress>
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[2]}%</span> <span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[2]}%</span>
</div> </div>
<div className="clearfix"> <div className="clearfix">
<div className="rateYo fl mt3"> <div className="rateYo fl mt3">
{showradios === true ? {showradios === true ?
<MyRate allowHalf defaultValue={3} disabled/> <MyRate allowHalf defaultValue={3} disabled/>
: ""} : ""}
</div> </div>
<Progress percent={star_infos[3]} showInfo={false}></Progress> <Progress percent={star_infos[3]} showInfo={false}></Progress>
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[3]}%</span> <span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[3]}%</span>
</div> </div>
<div className="clearfix"> <div className="clearfix">
<div className="rateYo fl mt3"> <div className="rateYo fl mt3">
{showradios === true ? {showradios === true ?
<MyRate allowHalf defaultValue={2} disabled/> <MyRate allowHalf defaultValue={2} disabled/>
: ""} : ""}
</div> </div>
<Progress percent={star_infos[4]} showInfo={false}></Progress> <Progress percent={star_infos[4]} showInfo={false}></Progress>
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[4]}%</span> <span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[4]}%</span>
</div> </div>
<div className="clearfix"> <div className="clearfix">
<div className="rateYo fl mt3"> <div className="rateYo fl mt3">
{showradios === true ? {showradios === true ?
<MyRate allowHalf defaultValue={1} disabled/> <MyRate allowHalf defaultValue={1} disabled/>
: ""} : ""}
</div> </div>
<Progress percent={star_infos[5]} showInfo={false}></Progress> <Progress percent={star_infos[5]} showInfo={false}></Progress>
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[5]}%</span> <span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[5]}%</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
:""
}
</div>
{ {
startbtn === false && shixunsDetails.shixun_status != -1 ? startbtn === false && shixunsDetails.shixun_status != -1 ?

@ -288,6 +288,7 @@ class TPMIndex extends Component {
<TPMBanner <TPMBanner
{...this.props} {...this.props}
{...this.state} {...this.state}
is_jupyter={this.state. is_jupyter}
></TPMBanner> ></TPMBanner>
} }
{/*筛选*/} {/*筛选*/}

@ -66,6 +66,8 @@
height:30px; height:30px;
background:#C4C4C4; background:#C4C4C4;
border-radius:3px; border-radius:3px;
cursor:pointer
} }
.deletebutomtext{ .deletebutomtext{
width:28px; width:28px;
@ -73,12 +75,14 @@
font-size:14px; font-size:14px;
color:#FFFFFF; color:#FFFFFF;
line-height:19px; line-height:19px;
cursor:pointer
} }
.deletebuttom{ .deletebuttom{
width:85px; width:85px;
height:30px; height:30px;
background:#29BD8B; background:#29BD8B;
border-radius:3px; border-radius:3px;
cursor:pointer
} }
.deletebuttomtest{ .deletebuttomtest{
width:56px; width:56px;
@ -86,6 +90,8 @@
font-size:14px; font-size:14px;
color:#FFFFFF; color:#FFFFFF;
line-height:19px; line-height:19px;
cursor:pointer
} }
.tpmwidth{ .tpmwidth{
width: 50%; width: 50%;
@ -111,6 +117,8 @@
height:30px; height:30px;
background:#FF5555; background:#FF5555;
border-radius:3px; border-radius:3px;
cursor:pointer
} }
.light-row{ .light-row{
background: #F7F7F8; background: #F7F7F8;

Loading…
Cancel
Save