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,Loading} from '@icedesign/base'; import {getImageUrl,setImagesUrl, toPath} from 'educoder'; // import { Pagination,Row,Col } from 'antd'; import 'antd/lib/pagination/style/index.css'; import './shixunCss/shixunCard.css'; import Rating from '@icedesign/base/lib/rating'; import Pagination from '@icedesign/base/lib/pagination'; // import Loading from '@icedesign/base/lib/loading'; // 引入业务组件样式 import '@icedesign/base/lib/pagination/style.js'; import '@icedesign/base/lib/rating/style.js'; import { Tooltip } from 'antd'; // import '@icedesign/base/lib/loading/style.js'; 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; return (
{/**/}

暂无数据哦~

{ middleshixundata===undefined?" ":middleshixundata.map((item,key)=>{ return(
{ item.tag_name === null ? "":
{item.tag_name}
}

非试用内容,需要授权

{/**/}

{item.name}

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

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

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