From bde62ab8f0de2c0bd6dbf0c4c15f043dbe2ad8de Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期三, 09 九月 2020 19:07:10 +0800
Subject: [PATCH] 样式调整,区域比例修改
---
src/components/subComponents/SystemInfo.vue | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue
index 26f5206..cac0567 100644
--- a/src/components/subComponents/SystemInfo.vue
+++ b/src/components/subComponents/SystemInfo.vue
@@ -125,8 +125,10 @@
initCpuCharts() {
this.$forceUpdate();
}
+ },
+ mounted(){
+ console.log('PollData.RealTimeValidCount',this.PollData.RealTimeValidCount)
}
-
}
</script>
<style lang="scss">
@@ -179,17 +181,18 @@
}
}
.eCharts-box {
- width: 28%;
- float: right;
+ width: 46%;
+ float: left;
box-sizing: border-box;
height: 100%;
- margin-left: 5px;
- @media screen and (min-width: 1280px) and (max-width: 1440px) {
- width: 35%;
- }
- @media screen and (max-width: 1279px) {
- width: 30%;
- }
+ padding-left: 10px;
+ //margin-left: 10px;
+ // @media screen and (min-width: 1280px) and (max-width: 1440px) {
+ // width: 35%;
+ // }
+ // @media screen and (max-width: 1279px) {
+ // width: 30%;
+ // }
}
.chart-box {
float: left;
--
Gitblit v1.8.0