|
|
|
@ -88,6 +88,7 @@ class Headplugselection extends Component {
|
|
|
|
|
|
|
|
|
|
{this.props.disciplinesdata&&this.props.disciplinesdata.map((objectn, index) => {
|
|
|
|
|
return (
|
|
|
|
|
titlestting==="全部"?
|
|
|
|
|
objectn.sub_disciplines&&objectn.sub_disciplines.map((object, indexs) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className={index===0&&indexs===0&&titlesttings===object.name?"titlesttingcss xiaoshou":index===0&&indexs===0&&titlesttings!==object.name?"titlesttingcssmy xiaoshou"
|
|
|
|
@ -97,6 +98,18 @@ class Headplugselection extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
:
|
|
|
|
|
objectn.name===titlestting?
|
|
|
|
|
objectn.sub_disciplines&&objectn.sub_disciplines.map((object, indexs) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className={index===0&&indexs===0&&titlesttings===object.name?"titlesttingcss xiaoshou":index===0&&indexs===0&&titlesttings!==object.name?"titlesttingcssmy xiaoshou"
|
|
|
|
|
|
|
|
|
|
:titlesttings===object.name?" titlesttingcss xiaoshou":"titlesttingcssmy xiaoshou"} onClick={()=>this.settitlesttings(object.name)}>
|
|
|
|
|
{object.name}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
: ""
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
|
|
|
|
|
@ -118,11 +131,39 @@ class Headplugselection extends Component {
|
|
|
|
|
|
|
|
|
|
<div className="sortinxdirection minleng40">
|
|
|
|
|
|
|
|
|
|
{this.props.disciplinesdata&&this.props.disciplinesdata.map((object, index) => {
|
|
|
|
|
{this.props.disciplinesdata&&this.props.disciplinesdata.map((objecta, index) => {
|
|
|
|
|
return (
|
|
|
|
|
object.sub_disciplines&&object.sub_disciplines.map((object, indexs) => {
|
|
|
|
|
return (
|
|
|
|
|
object.tag_disciplines&&object.tag_disciplines.map((object, indexss) => {
|
|
|
|
|
titlestting==="全部"?
|
|
|
|
|
objecta.sub_disciplines&&objecta.sub_disciplines.map((objectb, indexs) => {
|
|
|
|
|
console.log("知识点");
|
|
|
|
|
console.log(titlesttings);
|
|
|
|
|
console.log(objectb.name);
|
|
|
|
|
return (
|
|
|
|
|
titlesttings===objectb.name?
|
|
|
|
|
objectb.tag_disciplines&&objectb.tag_disciplines.map((object, indexss) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className={index===0&&indexs===0&&indexss===0&&titlesttingss===object.name?"titlesttingcss xiaoshou":
|
|
|
|
|
index===0&&indexs===0&&indexss===0&&titlesttingss!==object.name?"titlesttingcssmy xiaoshou"
|
|
|
|
|
:titlesttingss===object.name?" titlesttingcss xiaoshou":" titlesttingcssmy xiaoshou"} onClick={()=>this.settitlesttingss(object.name)}>
|
|
|
|
|
{object.name}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}): objectb.tag_disciplines&&objectb.tag_disciplines.map((object, indexss) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className={index===0&&indexs===0&&indexss===0&&titlesttingss===object.name?"titlesttingcss xiaoshou":
|
|
|
|
|
index===0&&indexs===0&&indexss===0&&titlesttingss!==object.name?"titlesttingcssmy xiaoshou"
|
|
|
|
|
:titlesttingss===object.name?" titlesttingcss xiaoshou":" titlesttingcssmy xiaoshou"} onClick={()=>this.settitlesttingss(object.name)}>
|
|
|
|
|
{object.name}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
:objecta.sub_disciplines&&objecta.sub_disciplines.map((objectb, indexs) => {
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
titlesttings===objectb.name?
|
|
|
|
|
objectb.tag_disciplines&&objectb.tag_disciplines.map((object, indexss) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className={index===0&&indexs===0&&indexss===0&&titlesttingss===object.name?"titlesttingcss xiaoshou":
|
|
|
|
|
index===0&&indexs===0&&indexss===0&&titlesttingss!==object.name?"titlesttingcssmy xiaoshou"
|
|
|
|
@ -131,6 +172,7 @@ class Headplugselection extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
:""
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
)
|
|
|
|
|