瀏覽代碼

3楼三测单01

LIJU 3 周之前
父節點
當前提交
81e2e96741
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      src/components/medical-advice/temperature/graphics.vue

+ 9 - 3
src/components/medical-advice/temperature/graphics.vue

@@ -1625,9 +1625,15 @@ export default {
               marginTop:  this.marginTop + 'px',
             };  
           }else {
-            containerStyle = {
-              marginTop:  (this.marginTop + 14) + 'px',
-            };              
+            if((this.marginTop == 48) && (window.devicePixelRatio == 1) && (window.innerHeight == 969)){//三楼左➡️右第一台
+                containerStyle = {
+                  marginTop:  this.marginTop + 'px',
+                };              
+            }else {
+              containerStyle = {
+                marginTop:  (this.marginTop + 14) + 'px', //还有一个病区的电脑是相同的配置,但不知为何出现不一样的效果
+              };     
+            }  
           }
         }else {//marginTop:-2
           pulseStyle = {