|
@@ -1738,24 +1738,45 @@ export default {
|
|
|
// 例如:1440x900
|
|
|
else if (screenWidth === 1440 && screenHeight === 900) {
|
|
|
if(this.marginTop > 38) {
|
|
|
- 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 + 14) + 'px',
|
|
|
- };
|
|
|
+ if(this.marginTop < 58) {
|
|
|
+ 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 + 14) + 'px',
|
|
|
+ };
|
|
|
+ }else {
|
|
|
+ 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',
|
|
|
+ };
|
|
|
+ }
|
|
|
}else {
|
|
|
if(window.devicePixelRatio < 1) {
|
|
|
pulseStyle = {
|