|
@@ -1192,18 +1192,18 @@ export default {
|
|
|
lineHeight: '14px'
|
|
|
};
|
|
|
}
|
|
|
- // // 例如:1366x768
|
|
|
- // else if (screenWidth === 1366 && screenHeight === 768) {
|
|
|
- // style = {
|
|
|
- // width: '12px',
|
|
|
- // height: '10px',
|
|
|
- // color: '#ff0000',
|
|
|
- // fontSize: '8px',
|
|
|
- // position: 'relative',
|
|
|
- // top: '-1px',
|
|
|
- // lineHeight: '14px'
|
|
|
- // };
|
|
|
- // }
|
|
|
+ // 例如:1366x768
|
|
|
+ else if (screenWidth === 1366 && screenHeight === 768) {
|
|
|
+ style = {
|
|
|
+ width: '12px',
|
|
|
+ height: '10px',
|
|
|
+ color: '#ff0000',
|
|
|
+ fontSize: '8px',
|
|
|
+ position: 'relative',
|
|
|
+ top: '-1px',
|
|
|
+ lineHeight: '14px'
|
|
|
+ };
|
|
|
+ }
|
|
|
// 例如:1536x864
|
|
|
else if (screenWidth === 1536 && screenHeight === 864) {
|
|
|
style = {
|
|
@@ -1305,27 +1305,29 @@ export default {
|
|
|
marginTop: '22px'
|
|
|
};
|
|
|
}
|
|
|
- // // 例如:1366x768
|
|
|
- // else if (screenWidth === 1366 && screenHeight === 768) {
|
|
|
- // pulseStyle = {
|
|
|
- // titleMarginTop: '0px',
|
|
|
- // firstRowMarginTop: '44px',
|
|
|
- // normalRowMarginTop: '61px',
|
|
|
- // lastRowMarginTop: '61px'
|
|
|
- // };
|
|
|
- // temperatureStyle = {
|
|
|
- // titleMarginTop: '0px',
|
|
|
- // firstRowMarginTop: '44px',
|
|
|
- // normalRowMarginTop: '61px',
|
|
|
- // lastRowMarginTop: '61px'
|
|
|
- // };
|
|
|
- // legendStyle = {
|
|
|
- // marginTop: '476px'
|
|
|
- // };
|
|
|
- // containerStyle = {
|
|
|
- // marginTop: '22px'
|
|
|
- // };
|
|
|
- // }
|
|
|
+ // 例如:1366x768
|
|
|
+ else if (screenWidth === 1366 && screenHeight === 768) {
|
|
|
+ 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',
|
|
|
+ };
|
|
|
+ console.log("this.marginTop0000000000000000000000",this.marginTop)
|
|
|
+ console.log("marginTop.containerStyle",containerStyle.marginTop)
|
|
|
+ }
|
|
|
// 例如:1536x864
|
|
|
else if (screenWidth === 1536 && screenHeight === 864) {
|
|
|
pulseStyle = {
|