|
|
|
@ -84,6 +84,7 @@ export default ({ StatusEnquiry, allUpdatashixunlist, Updatasearchlist }) => {
|
|
|
|
|
}
|
|
|
|
|
init()
|
|
|
|
|
}, [])
|
|
|
|
|
// item.id < 4 ? "bottomRight" : item.id >= 8 ? "bottomLeft" : "bottomCenter"
|
|
|
|
|
return (
|
|
|
|
|
<div className="edu-back-white shixun-search-bar" >
|
|
|
|
|
<div className="educontent">
|
|
|
|
@ -95,7 +96,7 @@ export default ({ StatusEnquiry, allUpdatashixunlist, Updatasearchlist }) => {
|
|
|
|
|
{
|
|
|
|
|
navs.map((item, key) => {
|
|
|
|
|
return (
|
|
|
|
|
<Dropdown overlay={overlayMenu(item.sub_repertoires, item.id)} key={key} placement={item.id < 4 ? "bottomRight" : item.id >= 8 ? "bottomLeft" : "bottomCenter"}>
|
|
|
|
|
<Dropdown overlay={overlayMenu(item.sub_repertoires, item.id)} key={key} placement={"bottomLeft"}>
|
|
|
|
|
<li key={item.id} className={searchValue == item.id ? "shaiItem shixun_repertoire active" : "shaiItem shixun_repertoire"} value={item.id} onClick={onSearchBranch}>
|
|
|
|
|
{item.name}
|
|
|
|
|
</li>
|
|
|
|
|