|
|
|
@ -785,7 +785,7 @@ class TPMBanner extends Component {
|
|
|
|
|
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
|
|
|
|
|
const MyRate = ({ defaultValue, ...rest }) => {
|
|
|
|
|
let myValue = defaultValue;
|
|
|
|
|
return <Rate {...rest} value={myValue} />;
|
|
|
|
|
return <Rate {...rest} value={myValue} style={{ fontSize: 14 }} />;
|
|
|
|
|
};
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
|
@ -878,35 +878,35 @@ class TPMBanner extends Component {
|
|
|
|
|
<div className="rateYo fl mt3">
|
|
|
|
|
<MyRate allowHalf defaultValue={5} disabled />
|
|
|
|
|
</div>
|
|
|
|
|
<Progress percent={star_infos[1]} showInfo={false}></Progress>
|
|
|
|
|
<Progress percent={star_infos[1]} size='small' showInfo={false}></Progress>
|
|
|
|
|
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[1]}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<div className="rateYo fl mt3">
|
|
|
|
|
<MyRate allowHalf defaultValue={4} disabled />
|
|
|
|
|
</div>
|
|
|
|
|
<Progress percent={star_infos[2]} showInfo={false}></Progress>
|
|
|
|
|
<Progress percent={star_infos[2]} size='small' showInfo={false}></Progress>
|
|
|
|
|
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[2]}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<div className="rateYo fl mt3">
|
|
|
|
|
<MyRate allowHalf defaultValue={3} disabled />
|
|
|
|
|
</div>
|
|
|
|
|
<Progress percent={star_infos[3]} showInfo={false}></Progress>
|
|
|
|
|
<Progress percent={star_infos[3]} size='small' showInfo={false}></Progress>
|
|
|
|
|
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[3]}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<div className="rateYo fl mt3">
|
|
|
|
|
<MyRate allowHalf defaultValue={2} disabled />
|
|
|
|
|
</div>
|
|
|
|
|
<Progress percent={star_infos[4]} showInfo={false}></Progress>
|
|
|
|
|
<Progress percent={star_infos[4]} size='small' showInfo={false}></Progress>
|
|
|
|
|
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[4]}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<div className="rateYo fl mt3">
|
|
|
|
|
<MyRate allowHalf defaultValue={1} disabled />
|
|
|
|
|
</div>
|
|
|
|
|
<Progress percent={star_infos[5]} showInfo={false}></Progress>
|
|
|
|
|
<Progress percent={star_infos[5]} size='small' showInfo={false}></Progress>
|
|
|
|
|
<span className="fr ml10 color-grey-6 font-12 mt4">{star_infos[5]}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|