LIJU 2 ヶ月 前
コミット
3133cb2c10
1 ファイル変更9 行追加3 行削除
  1. 9 3
      src/components/medical-advice/temperature/graphics.vue

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

@@ -1673,9 +1673,15 @@ export default {
           console.log("this.marginTop > 38",containerStyle.marginTop)
         }else {
           if(window.devicePixelRatio < 1) {
-            containerStyle = {
-              marginTop:  (this.marginTop + 10 - 14) + 'px',
-            };
+            if(this.marginTop > 18) {
+              containerStyle = {
+                marginTop:  (this.marginTop + 10 - 14) + 'px',
+              };
+            }else {
+              containerStyle = {
+                marginTop:  (this.marginTop + 10 - 28) + 'px',
+              };
+            }
           }else {
             containerStyle = {
               marginTop:  (this.marginTop + 10) + 'px',