|
|
|
@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import {Input} from 'antd';
|
|
|
|
|
import {getImageUrl} from 'educoder';
|
|
|
|
|
import PathCard from "./ShixunPathCard.js";
|
|
|
|
|
import PathCard from "./ShixunPathCard";
|
|
|
|
|
import UpgradeModals from '../modals/UpgradeModals';
|
|
|
|
|
import Pagination from '@icedesign/base/lib/pagination';
|
|
|
|
|
import '@icedesign/base/lib/pagination/style.js';
|
|
|
|
@ -82,7 +82,7 @@ class ShixunPathSearch extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getList=(order,select,search,page )=>{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let url='/paths.json';
|
|
|
|
|
// '?order='+order+'&page='+page;
|
|
|
|
|
// if(select!=""){
|
|
|
|
@ -116,26 +116,29 @@ class ShixunPathSearch extends Component{
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let { order,sortList,search,page,total_count,select }=this.state;
|
|
|
|
|
|
|
|
|
|
// console.log()
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
{this.state.updata===undefined?"":<UpgradeModals
|
|
|
|
|
{...this.state}
|
|
|
|
|
/>}
|
|
|
|
|
{/*<style>*/}
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/*`*/}
|
|
|
|
|
{/*.pathImg{*/}
|
|
|
|
|
{/*width: 100%;*/}
|
|
|
|
|
{/*height: 300px;*/}
|
|
|
|
|
{/*background-image: url(${getImageUrl(`images/path/path.png`)});*/}
|
|
|
|
|
{/*background-color: #000a4f;*/}
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.pathImg{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 300px;
|
|
|
|
|
background-image: url(${getImageUrl(this.props.mygetHelmetapi&&this.props.mygetHelmetapi.subject_banner_url===null?`images/path/path.png`:this.props.mygetHelmetapi&&this.props.mygetHelmetapi.subject_banner_url)});
|
|
|
|
|
background-color: #000a4f;
|
|
|
|
|
/* background-size: cover; */
|
|
|
|
|
{/*background-position: center;*/}
|
|
|
|
|
{/*background-repeat: no-repeat;*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
{/*`*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
{/*</style>*/}
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div className="pr">
|
|
|
|
|
<div className="pathImg"></div>
|
|
|
|
|
<div className="edu-back-white padding20 pathIndexNav">
|
|
|
|
@ -159,7 +162,7 @@ class ShixunPathSearch extends Component{
|
|
|
|
|
{/*<div className="fr mr5 search-new">*/}
|
|
|
|
|
{/*/!* <Search*/}
|
|
|
|
|
{/*placeholder="请输入路径名称进行搜索"*/}
|
|
|
|
|
{/*id="subject_search_input"*/}
|
|
|
|
|
{/*id="subject_search_input"*/}
|
|
|
|
|
{/*value={search}*/}
|
|
|
|
|
{/*onInput={this.inputSearchValue}*/}
|
|
|
|
|
{/*onSearch={this.searchValue}*/}
|
|
|
|
|