import React, { Component } from 'react'; import { Redirect } from 'react-router'; import { BrowserRouter as Router, Route, Link, Switch } from "react-router-dom"; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { Rating ,Pagination} from "@icedesign/base"; import {getImageUrl,setImagesUrl, toPath} from 'educoder'; import { Spin,Icon,Tooltip ,Rate} from 'antd'; import './shixunCss/shixunCard.css'; // 引入业务组件样式 import axios from 'axios'; const $ = window.$; class ShixunCard extends Component { constructor(props) { super(props) this.state = { startValue:[], order_by:"", page:1, limit:16, keyword:"", status:0, diff:0, hideme:false, tag_level:3, tag_id:'' } } PaginationonChange=(pageNumber)=> { this.props.shixunsPage(pageNumber); } render() { let {middleshixundata, pagination, typepvisible, pages, totalcount} = this.props; const MyRate = ({ defaultValue, ...rest }) => { let myValue = defaultValue; // console.log(myValue-Math.floor(myValue)) // if (myValue < Math.ceil(myValue)) { // myValue = Math.floor(myValue) + 0.5; // } return ; }; return (

暂时还没有相关数据哦!

{middleshixundata === undefined || middleshixundata.length === 0?" ":middleshixundata.map((item,key)=>{ return(
{ item.tag_name === null ? "":
{item.tag_name} {/**/}
}

非试用内容,需要授权

{/**/} {/*target="_blank"*/}

{item.name}

{/*target="_blank"*/} {/**/}

{/**/} {item.score_info===null?"5分":item.score_info+"分"}

{item.challenges_count} {/**/} {/**/} {/*{item.exp}*/} {/**/} {/**/} {item.stu_num} {item.level}

) }) }
{/*totalcount*/}
{/**/} {/* 不加参数请求的时候,没返回总数了。加了个比较大的数字,让他可以翻页 */}
) } } export default ShixunCard;