新建课堂调整

topic_bank
杨树明 6 years ago
parent 30fe739ece
commit 3c286cd00a

@ -443,7 +443,9 @@ class CoursesNew extends Component {
}; };
handleSearchschool=(value)=>{ handleSearchschool=(value)=>{
this.setState({
smallspinning:true
})
if(value!="") { if(value!="") {
// this.props.form.setFieldsValue({ // this.props.form.setFieldsValue({
// // school: value, // // school: value,
@ -452,10 +454,13 @@ class CoursesNew extends Component {
this.setState({ this.setState({
fetching: true, fetching: true,
school: value, school: value,
smallspinning:true
}) })
this.getschool(value) this.getschool(value)
}else{
this.setState({
smallspinning:false
})
} }
}; };

@ -563,7 +563,9 @@ class Goldsubject extends Component {
}; };
handleSearchschool=(value)=>{ handleSearchschool=(value)=>{
this.setState({
smallspinning:true
})
if(value!="") { if(value!="") {
// this.props.form.setFieldsValue({ // this.props.form.setFieldsValue({
// // school: value, // // school: value,
@ -572,9 +574,12 @@ class Goldsubject extends Component {
this.setState({ this.setState({
fetching: true, fetching: true,
school: value, school: value,
smallspinning:true
}) })
this.getschool(value) this.getschool(value)
}else{
this.setState({
smallspinning:false
})
} }
}; };

@ -340,11 +340,14 @@
.topicsbtn{ .topicsbtn{
padding: 3px 15px; padding: 3px 15px;
border-radius: 2px; border-radius: 2px;
color: #4C4C4C; /*color: #4C4C4C;*/
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
background-color: #4CACFF!important; /*background-color: #4CACFF!important;*/
color: #fff!important; /*color: #fff!important;*/
border-radius: 11px;
border: 1px solid rgba(76,172,255,1);
color: rgba(76,172,255,1);
} }
.pd1323{ .pd1323{

Loading…
Cancel
Save