dev_cs_new
杨树明 6 years ago
parent 777a8f895a
commit 3aa11b0070

@ -526,7 +526,7 @@ class ExerciseReviewAndAnswer extends Component{
height: 28px; height: 28px;
} }
`}</style> `}</style>
<p style={{height:"60px"}}></p> {/*<p style={{height:"60px"}}></p>*/}
<Modals <Modals
modalsType={Modalstype} modalsType={Modalstype}
modalsTopval={Modalstopval} modalsTopval={Modalstopval}

@ -305,7 +305,7 @@ class PollInfo extends Component{
let isStudent=this.props.isStudent(); let isStudent=this.props.isStudent();
return( return(
<div className="newMain" style={{paddingTop:"0px"}}> <div className="newMain" style={{paddingTop:"0px"}}>
<p style={{height:"60px"}}></p> {/*<p style={{height:"60px"}}></p>*/}
<Modals <Modals
modalsType={modalsType} modalsType={modalsType}
modalsTopval={modalsTopval} modalsTopval={modalsTopval}

@ -64,9 +64,9 @@ class ShixunCardList extends Component {
let type; let type;
if(id==="all"){ // if(id==="all"){
type="publish_time"; // type="publish_time";
} // }
if(id==="hot"){ if(id==="hot"){
type="hot"; type="hot";
}else if(id==="new"){ }else if(id==="new"){

@ -115,10 +115,9 @@ class ShixunsIndex extends Component {
} }
allUpdatashixunlist=()=>{ allUpdatashixunlist=()=>{
let{sort}=this.state; let{sort,order_by}=this.state;
this.setState({ this.setState({
order_by: 'publish_time',
tag_level: 1, tag_level: 1,
tag_id:'', tag_id:'',
page: 1, page: 1,
@ -129,7 +128,7 @@ class ShixunsIndex extends Component {
}) })
let params={ let params={
order_by: 'publish_time', order_by:order_by,
tag_level: 1, tag_level: 1,
tag_id:'', tag_id:'',
page: 1, page: 1,

Loading…
Cancel
Save