LIJU 3 weeks ago
parent
commit
9bce433e7e
1 changed files with 21 additions and 0 deletions
  1. 21 0
      src/components/medical-advice/temperature/graphics.vue

+ 21 - 0
src/components/medical-advice/temperature/graphics.vue

@@ -1767,6 +1767,26 @@ export default {
                 marginTop:  (this.marginTop + 14) + 'px',
               };
           }else {
+            if(window.devicePixelRatio < 1) {
+              pulseStyle = {
+                titleMarginTop: '0px',
+                firstRowMarginTop: '32px',
+                normalRowMarginTop: '55px',
+                lastRowMarginTop: '56px'
+              };
+              temperatureStyle = {
+                titleMarginTop: '0px',
+                firstRowMarginTop: '32px',
+                normalRowMarginTop: '55px',
+                lastRowMarginTop: '56px'
+              };
+              legendStyle = {
+                marginTop: '476px'
+              };
+              containerStyle = {
+                marginTop:  (this.marginTop - 3)  + 'px',
+              };        
+            }else {
               pulseStyle = {
                 titleMarginTop: '0px',
                 firstRowMarginTop: '32px',
@@ -1785,6 +1805,7 @@ export default {
               containerStyle = {
                 marginTop:  this.marginTop + 'px',
               };            
+            }    
           }
         }else {
           if(window.devicePixelRatio < 1) {