|
@@ -28,7 +28,7 @@ class MedicalInfo extends Component {
|
|
|
const that = this;
|
|
|
if(searchResult&&searchResult.length>0){
|
|
|
setTimeout(function(){
|
|
|
- that.$ul.current.style.height = getWindowInnerHeight()-248+'px';
|
|
|
+ that.$ul.current.style.height = getWindowInnerHeight()-278+'px';
|
|
|
},100);
|
|
|
}
|
|
|
return searchResult && searchResult.map((item) => {
|
|
@@ -115,7 +115,7 @@ class MedicalInfo extends Component {
|
|
|
this.$cont.current.style.height = height+"px";
|
|
|
}
|
|
|
if(this.$ul.current){
|
|
|
- const height = getWindowInnerHeight()-248;
|
|
|
+ const height = getWindowInnerHeight()-278;
|
|
|
this.$ul.current.style.height = height+"px";
|
|
|
}
|
|
|
});
|