From 2b6c61d26e63b1ed0c92f9d99120d7b5b387dca9 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期二, 12 十月 2021 16:31:51 +0800
Subject: [PATCH] jiankong
---
src/components/subComponents/SystemInfo.vue | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue
index 26f5206..6fa2b5f 100644
--- a/src/components/subComponents/SystemInfo.vue
+++ b/src/components/subComponents/SystemInfo.vue
@@ -1,6 +1,6 @@
<template>
<div :class="showClass">
- <div class="card-box" :style="`width:${borderWidth}`">
+ <div class="card-box" :style="`width:${borderWidth};min-width:456px`" >
<ul>
<li style="max-width:30px;" v-if="ShowLocalVedio">
<div class="total-box">
@@ -125,8 +125,11 @@
initCpuCharts() {
this.$forceUpdate();
}
+ },
+ mounted(){
+ console.log(this.PollData);
+ // console.log('PollData.RealTimeValidCount',this.PollData.RealTimeValidCount)
}
-
}
</script>
<style lang="scss">
@@ -179,17 +182,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