|
@@ -40,6 +40,10 @@ if(mrId){
|
|
|
msg = res.data.data ||{}
|
|
|
window.msg = msg
|
|
|
renderFollowUp(msg)
|
|
|
+ setTimeout(()=>{
|
|
|
+ adjustWidth();
|
|
|
+ },200)
|
|
|
+
|
|
|
}
|
|
|
}).catch(function (err) {
|
|
|
console.log(err);
|
|
@@ -75,14 +79,11 @@ $(document).on('click',".allDis .right,.allDis .secDis",function(){
|
|
|
|
|
|
|
|
|
|
|
|
-function adjustHei(){
|
|
|
- const iframeHei = $(".bodyWrap").height()
|
|
|
- const tabHei = $(".tabList").height()
|
|
|
- $(".contentWrapper").css("height",iframeHei-tabHei-20-30+3+19+'px')
|
|
|
+function adjustWidth(){
|
|
|
+ const iframeWh = $(".bodyWrap").width();console.log(11,iframeWh)
|
|
|
+ $(".operaNameWrap").css("width",iframeWh-168+'px')
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
$(function(){
|
|
|
$.fn.extend({
|
|
|
"preventScroll":function(){
|
|
@@ -102,17 +103,8 @@ $(function(){
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- });
|
|
|
- // $(".iframeWrap").preventScroll();
|
|
|
- /*$(".iframeWrap").preventScroll();
|
|
|
- $(".recommendWrap").preventScroll();
|
|
|
- $(".infoWrap").preventScroll();
|
|
|
- $(".medicalKonwledgeWrap .staticSearchB ul").preventScroll(); */
|
|
|
- /*$(window).on("resize", function(){
|
|
|
- /*$(".iframeWrap").preventScroll();
|
|
|
- $(".recommendWrap").preventScroll();
|
|
|
-
|
|
|
- $(".medicalKonwledgeWrap .staticSearchB ul").preventScroll();
|
|
|
- adjustHei()
|
|
|
- })*/
|
|
|
+ });
|
|
|
+ $(window).on('resize', function(){
|
|
|
+ adjustWidth()
|
|
|
+ })
|
|
|
});
|