|
|
@@ -1625,15 +1625,9 @@ export default {
|
|
|
marginTop: this.marginTop + 'px',
|
|
|
};
|
|
|
}else {
|
|
|
- if((this.marginTop == 48) && (window.devicePixelRatio == 1) && (window.innerHeight == 969)){//三楼左➡️右第一台 和 第四台
|
|
|
- containerStyle = {
|
|
|
- marginTop: this.marginTop + 'px',
|
|
|
- };
|
|
|
- }else {
|
|
|
- containerStyle = {
|
|
|
- marginTop: (this.marginTop + 14) + 'px', //还有一个病区的电脑是相同的配置,但不知为何出现不一样的效果
|
|
|
- };
|
|
|
- }
|
|
|
+ containerStyle = {
|
|
|
+ marginTop: (this.marginTop + 14) + 'px',
|
|
|
+ };
|
|
|
}
|
|
|
}else {//marginTop:-2
|
|
|
pulseStyle = {
|
|
|
@@ -1675,15 +1669,9 @@ export default {
|
|
|
};
|
|
|
if(this.marginTop > 38) {
|
|
|
if(this.marginTop < 58) {
|
|
|
- if((this.marginTop == 48) && (window.devicePixelRatio == 1) && (window.innerHeight == 657)){//十楼左➡️右第二台
|
|
|
- containerStyle = {
|
|
|
- marginTop: this.marginTop + 'px',
|
|
|
- };
|
|
|
- }else {
|
|
|
- containerStyle = {
|
|
|
- marginTop: (this.marginTop + 15) + 'px',// 这个病区跟上面数值好像都一样,但不知道是什么原因,导致差异
|
|
|
- };
|
|
|
- }
|
|
|
+ containerStyle = {
|
|
|
+ marginTop: (this.marginTop + 15) + 'px',
|
|
|
+ };
|
|
|
}else {
|
|
|
if(window.devicePixelRatio < 1) {
|
|
|
containerStyle = {
|
|
|
@@ -1760,27 +1748,6 @@ export default {
|
|
|
else if (screenWidth === 1440 && screenHeight === 900) {
|
|
|
if(this.marginTop > 38) {
|
|
|
if(this.marginTop < 58) {
|
|
|
- if(window.innerHeight == 712) {//九楼
|
|
|
- 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 + 'px',
|
|
|
- };
|
|
|
- console.log("window.innerHeight11111111111",window.innerHeight);
|
|
|
- }else {
|
|
|
pulseStyle = {
|
|
|
titleMarginTop: '0px',
|
|
|
firstRowMarginTop: '32px',
|
|
|
@@ -1799,8 +1766,6 @@ export default {
|
|
|
containerStyle = {
|
|
|
marginTop: (this.marginTop + 14) + 'px',
|
|
|
};
|
|
|
- console.log("window.innerHeight2222222222",window.innerHeight);
|
|
|
- }
|
|
|
}else {
|
|
|
pulseStyle = {
|
|
|
titleMarginTop: '0px',
|
|
|
@@ -1823,26 +1788,6 @@ export default {
|
|
|
}
|
|
|
}else {
|
|
|
if(window.devicePixelRatio < 1) {
|
|
|
- if(window.innerHeight == 876) {//十楼左第一台 三楼左➡️右第五台
|
|
|
- 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 + 10) + 'px',
|
|
|
- };
|
|
|
- }else {
|
|
|
pulseStyle = {
|
|
|
titleMarginTop: '0px',
|
|
|
firstRowMarginTop: '32px',
|
|
|
@@ -1861,7 +1806,6 @@ export default {
|
|
|
containerStyle = {
|
|
|
marginTop: (this.marginTop + 7) + 'px',
|
|
|
};
|
|
|
- }
|
|
|
}else {
|
|
|
pulseStyle = {
|
|
|
titleMarginTop: '0px',
|