|
|
|
@ -170,7 +170,7 @@ class ShixunPathSearch extends Component {
|
|
|
|
|
<div className="sub-Item clearfix">
|
|
|
|
|
{
|
|
|
|
|
list.map((tag, e) => {
|
|
|
|
|
return (
|
|
|
|
|
return (
|
|
|
|
|
<a className={parseInt(this.state.sub_discipline_id) === tag.id ? "shixun_repertoire mr20 color-blue" : "shixun_repertoire mr20"}
|
|
|
|
|
key={e} id={tag.id} name={tag.id} rel="subshaicontent" onClick={(e) => this.getshixunchildValues(e, tag.id, item)}>{tag.name}</a>
|
|
|
|
|
)
|
|
|
|
@ -242,7 +242,7 @@ class ShixunPathSearch extends Component {
|
|
|
|
|
sortList && sortList.map((item, key) => {
|
|
|
|
|
return (
|
|
|
|
|
<li className={discipline_id == `${item.id}` ? "active" : ""} onClick={(e) => this.changeSelect(e, `${item.id}`, item.sub_disciplines.length)} key={key}>
|
|
|
|
|
<Dropdown disabled={item.sub_disciplines.length === 0} overlay={() => this.getmenu(item.sub_disciplines, item)} placement="bottomCenter">
|
|
|
|
|
<Dropdown disabled={item.sub_disciplines.length === 0} overlay={() => this.getmenu(item.sub_disciplines, item)} placement="bottomLeft">
|
|
|
|
|
<a value={item.id}>{item.name}</a>
|
|
|
|
|
</Dropdown>
|
|
|
|
|
</li>
|
|
|
|
|