|
|
@ -76,7 +76,8 @@ class PathModal extends Component{
|
|
|
|
shixunpath:true,
|
|
|
|
shixunpath:true,
|
|
|
|
shixunmodallist:result.data,
|
|
|
|
shixunmodallist:result.data,
|
|
|
|
newshixunmodallist:newshixunmodallists,
|
|
|
|
newshixunmodallist:newshixunmodallists,
|
|
|
|
hometypepvisible:false
|
|
|
|
hometypepvisible:false,
|
|
|
|
|
|
|
|
page:page
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -126,7 +127,7 @@ class PathModal extends Component{
|
|
|
|
let newscrollTop=parseInt(e.currentTarget.scrollTop);
|
|
|
|
let newscrollTop=parseInt(e.currentTarget.scrollTop);
|
|
|
|
let allclientHeight=e.currentTarget.clientHeight+newscrollTop;
|
|
|
|
let allclientHeight=e.currentTarget.clientHeight+newscrollTop;
|
|
|
|
|
|
|
|
|
|
|
|
if(e.currentTarget.scrollHeight-allclientHeight===0||e.currentTarget.scrollHeight-allclientHeight===1){
|
|
|
|
if(e.currentTarget.scrollHeight-allclientHeight===0||e.currentTarget.scrollHeight-allclientHeight===1||e.currentTarget.scrollHeight-allclientHeight===-1){
|
|
|
|
|
|
|
|
|
|
|
|
if(shixunmodallist.subject_list.length===0){
|
|
|
|
if(shixunmodallist.subject_list.length===0){
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -134,9 +135,7 @@ class PathModal extends Component{
|
|
|
|
let {Searchvalue,type,page,shixunpathlist}=this.state;
|
|
|
|
let {Searchvalue,type,page,shixunpathlist}=this.state;
|
|
|
|
let newpage=page+1
|
|
|
|
let newpage=page+1
|
|
|
|
this.funshixunpathlist(Searchvalue,type,true,newpage)
|
|
|
|
this.funshixunpathlist(Searchvalue,type,true,newpage)
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
page:newpage
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|