LIJU 1 week ago
parent
commit
5c6328ce87
1 changed files with 3 additions and 30 deletions
  1. 3 30
      src/components/medical-advice/temperature/graphics.vue

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

@@ -1669,15 +1669,9 @@ export default {
         };
         if(this.marginTop > 38) {
           if(this.marginTop < 58) {
-            if(this.marginTop == 48) {
-              containerStyle = {
-                marginTop:  this.marginTop + 'px',
-              };              
-            }else {
-              containerStyle = {
-                marginTop:  (this.marginTop + 15) + 'px',
-              };
-            }
+            containerStyle = {
+              marginTop:  (this.marginTop + 15) + 'px',
+            };
           }else {
             if(window.devicePixelRatio < 1) {
               containerStyle = {
@@ -1773,26 +1767,6 @@ 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',
@@ -1811,7 +1785,6 @@ export default {
               containerStyle = {
                 marginTop:  this.marginTop + 'px',
               };            
-            }    
           }
         }else {
           if(window.devicePixelRatio < 1) {