{this.props.disciplinesdata&&this.props.disciplinesdata.map((object, index) => {
return (
-
this.settitlestting(object.name)}>
+
this.settitlestting(object.name,object.id)}>
{object.name}
)
@@ -93,7 +124,7 @@ class Headplugselection extends Component {
return (
this.settitlesttings(object.name)}>
+ :titlesttings===object.name?" titlesttingcss xiaoshou":"titlesttingcssmy xiaoshou"} onClick={()=>this.settitlesttings(object.name,object.id)}>
{object.name}
)
@@ -104,7 +135,7 @@ class Headplugselection extends Component {
return (
this.settitlesttings(object.name)}>
+ :titlesttings===object.name?" titlesttingcss xiaoshou":"titlesttingcssmy xiaoshou"} onClick={()=>this.settitlesttings(object.name,object.id)}>
{object.name}
)
@@ -162,22 +193,40 @@ class Headplugselection extends Component {
}):""
)
})
- :
- objecta.sub_disciplines&&objecta.sub_disciplines.map((objectb, indexs) => {
- return (
- titlesttings===objectb.name?
- objectb.tag_disciplines&&objectb.tag_disciplines.map((object, indexss) => {
- return (
-
this.settitlesttingss(object.name)}>
- {object.name}
-
- )
- })
+ : titlestting!=="全部"&&titlesttings!==null?
+ titlestting===objecta.name?
+ objecta.sub_disciplines&&objecta.sub_disciplines.map((objectb, indexs) => {
+ return (
+ titlesttings===objectb.name?
+ objectb.tag_disciplines&&objectb.tag_disciplines.map((object, indexss) => {
+ return (
+
this.settitlesttingss(object.name)}>
+ {object.name}
+
+ )
+ }):""
+ )
+ })
:""
- )
- })
+ : titlestting!=="全部"&&titlesttings===null?
+ titlestting===objecta.name?
+ objecta.sub_disciplines&&objecta.sub_disciplines.map((objectb, indexs) => {
+ return (
+ objectb.tag_disciplines&&objectb.tag_disciplines.map((object, indexss) => {
+ return (
+
this.settitlesttingss(object.name)}>
+ {object.name}
+
+ )
+ })
+ )
+ })
+ :""
+ :""
)
})}
diff --git a/public/react/src/modules/question/questioncss/questioncom.css b/public/react/src/modules/question/questioncss/questioncom.css
index 6120a6fdc..73acb3eb5 100644
--- a/public/react/src/modules/question/questioncss/questioncom.css
+++ b/public/react/src/modules/question/questioncss/questioncom.css
@@ -111,6 +111,11 @@
padding-left: 26px;
padding-right: 26px;
}
+.tophoms{
+ padding-top: 15px;
+ padding-left: 26px;
+ padding-right: 26px;
+}
.borderwd{
border: 1px solid #000000;
}
@@ -589,3 +594,6 @@
width: 60px !important;
}
+.h30{
+ min-height: 30px !important;
+}