2023西安数博会CIM演示-【前端】-Web
AdaKing88
2023-08-21 bc03b832caa49bbcd2674fe4cae3701b5059bf95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<template>
  <div class="leftChartsContainer">
    <div class="topContainer commonTitle">
      <div class="topTitle">
        <span>重点防护目标</span>
      </div>
      <div class="chartMain">
        <KeyProtectiveTargets />
      </div>
    </div>
    <div class="bottomContainer commonTitle">
      <div class="chartMain">
        <DynamicRiskAnalysis />
      </div>
    </div>
  </div>
</template>
 
<script>
import KeyProtectiveTargets from "@/components/warnAnalysis/leftCharts/KeyProtectiveTargets"
import DynamicRiskAnalysis from "@/components/warnAnalysis/leftCharts/DynamicRiskAnalysis"
export default {
  name: "leftCharts",
  components: {
    KeyProtectiveTargets,
    DynamicRiskAnalysis
  },
  data() {
    return {}
  },
  methods: {},
}
</script>
 
<style lang="scss" scoped>
.leftChartsContainer {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px 0 0 20px;
 
  .topContainer {
    width: 100%;
    height: 60%;
    .topTitle{
      .countAll{
        .all{
          overflow: hidden;
          box-sizing: border-box;
          b{
            margin: 6px 0px 0 0;
            float: left;
            font-size: 14px;
            font-family: Alimama ShuHeiTi;
            font-weight: bold;
            color: #F8FCFF;
          }
          span{
            //width: 20px;
            padding: 0 3px;
            height: 34px;
            line-height: 34px;
            text-align: center;
            float: left;
            font-size: 12px;
            font-family: DIN Alternate;
            font-weight: bold;
            color: #FFFFFF;
            background: url('~@/assets/img/warnAnalysis/countBg.png') no-repeat;
            background-size: 100% 100%;
          }
        }
      }
    }
    .chartMain {
      width: 100%;
      height: 100%;
    }
  }
  .bottomContainer {
    width: 100%;
    height: 40%;
 
    .chartMain {
      width: 100%;
      height: 100%;
    }
  }
}
</style>