hanbaoshan
2020-08-01 84f11d4ca59f9580a7e7de5471e3eb86ea14c16b
src/components/subComponents/SystemInfo.vue
@@ -75,7 +75,7 @@
        </li> 
      </ul>
    </div>-->
    <div class="eCharts-box" :style="`width:${liquidWidth}`">
    <div class="eCharts-box" v-if="PollData.barCharts.length>0">
      <eChartsBar ref="cpuMeneryCharts" :xAxisData="PollData.barCharts"></eChartsBar>
    </div>
  </div>
@@ -125,7 +125,8 @@
    initCpuCharts() {
      this.$forceUpdate();
    }
  },
  }
}
</script>
<style lang="scss">
@@ -133,6 +134,7 @@
  height: 100%;
  .card-box {
    width: 50%;
    float: left;
    @media screen and (min-width: 1280px) and (max-width: 1440px) {
      width: 65%;
    }
@@ -172,9 +174,14 @@
        font-weight: 700;
      }
    }
    ul{
      padding-left: 0;
    }
  }
  .eCharts-box {
    width: 50%;
    width: 28%;
    float: right;
    box-sizing: border-box;
    height: 100%;
    margin-left: 5px;
    @media screen and (min-width: 1280px) and (max-width: 1440px) {