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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<template>
  <div class="manholeCoverWarning">
    <div class="header">
      <span class="title1">风险点位监测</span>
    </div>
    <div class="content" v-if="conshow === 0">
      <dv-scroll-board :config="config" style="width:100%;height:100%" />
    </div>
  </div>
</template>
 
<script>
  export default {
    name: "RiskPoints",
    data() {
      return {
        config: {
          align: ['center', 'center', 'center'],
          header: ['监测区域', '监测状态', '区域状态'],
          headerBGC: 'rgba(5,32,74,0.64)',
          oddRowBGC: 'rgba(35,96,166,0.45)',
          evenRowBGC: 'rgba(0,0,0,0)',
          data: [
            [
              "大唐芙蓉园南门",
              "开启",
              "区域正常",
            ],
            [
              "大雁塔北广场",
              "关闭",
              "区域未知",
            ],
            [
              "小寨十字天桥",
              "开启",
              "区域正常",
            ],
            [
              "钟楼盘道",
              "开启",
              "区域异常",
            ],
            [
              "回民街百盛",
              "开启",
              "区域正常",
            ],
            [
              "大唐芙蓉园中心湖",
              "开启",
              "区域正常",
            ],
            [
              "兵马俑正门",
              "关闭",
              "区域正常",
            ],
          ]
        },
        conshow: 0,
      }
    },
    methods: {
    },
    watch: {
      "$store.state.echartsUpdata": function (newValue, oldValue) {
        this.conshow = 1
        setTimeout(() => {
          this.conshow = 0
        }, 100);
      }
    },
  }
 
 
 
</script>
 
<style lang="scss" scoped>
  .manholeCoverWarning {
    width: 100%;
    height: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
 
    .header {
      width: 304px;
      height: 27.5px;
      margin-left: 20px;
      margin-top: 20px;
      background-image: url("~@/assets/img/menuTitle1.png");
      background-repeat: no-repeat;
      background-size: 100% 100%;
      font-family: PangMenZhengDao;
      text-shadow: 0px 6px 9px #20618e;
      display: flex;
      flex-direction: row;
      align-items: center;
      flex-shrink: 0;
      align-self: flex-start;
 
      .title1 {
        margin-left: 30px;
        font-size: 15px;
        color: #ffffff;
      }
    }
 
    .content {
      width: calc(100% - 40px);
      height: 100%;
      margin-top: 20px;
    }
  }
</style>