fuliqi
2024-03-19 3f4115d10b4a5a7157ca3d0b27ba346c0391f560
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<template>
  <div class="video-container">
    <wrapper-title :title="'视频设备'"></wrapper-title>
    <div class="video-content">
      <div class="video-plane">
        <dv-border-box-13 class="panel">
          <div class="panel-container">
            <div class="top-container">
              <div class="data-item">
                <dv-decoration-9 style="width:120px;height:120px;">
                  <div class="data-num type1">1156</div>
                </dv-decoration-9>
                <div class="data-label">设备总数</div>
              </div>
              <div class="data-item">
                <dv-decoration-9 style="width:120px;height:120px;">
                  <div class="data-num type2">1000</div>
                </dv-decoration-9>
                <div class="data-label">正常数</div>
              </div>
            </div>
            <div class="bottom-container">
              <div class="data-item">
                <dv-decoration-9 style="width:120px;height:120px;">
                  <div class="data-num type3">156</div>
                </dv-decoration-9>
                <div class="data-label">异常数</div>
              </div>
              <div class="data-item">
                <dv-decoration-9 style="width:120px;height:120px;">
                  <div class="data-num type4">75</div>
                </dv-decoration-9>
                <div class="data-label">生成异常工单数</div>
              </div>
              <div class="data-item">
                <dv-decoration-9 style="width:120px;height:120px;">
                  <div class="data-num type5">91.36%</div>
                </dv-decoration-9>
                <div class="data-label">设备运行率</div>
              </div>
            </div>
 
 
          </div>
 
        </dv-border-box-13>
      </div>
    </div>
  </div>
</template>
 
<script>
import WrapperTitle from '../wrapper-title/index';
 
export default {
  name: 'ScreenVideo',
  components: {
    WrapperTitle
  }
}
</script>
 
<style lang="scss" scoped>
.video-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
 
.video-content {
  flex: 1;
  background: rgba(67, 102, 155, 0.3);
  border: 1px solid rgba(47, 91, 157, 0.8);
}
 
.panel {
  width: 100%;
  height: 100%;
}
 
.video-plane {
  width: 100%;
 
  .panel-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border;
    padding: 20px;
 
    .top-container,
    .bottom-container {
      width: 100%;
      display: flex;
 
    }
 
    .top-container {
      justify-content: center;
 
      .data-item {
        margin: 0 30px;
      }
    }
 
    .bottom-container {
      justify-content: space-around;
    }
 
    .data-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 20px;
      color: #fff;
      .data-num {
        font-weight: bold;
        font-size: 22px;
      }
    }
 
    .type1 {
      color: #0883d4;
    }
 
    .type2 {
      color: #08b108;
    }
 
    .type3 {
      color: #ff0000;
    }
 
    .type4 {
      color: #d82a64;
    }
 
    .type5 {
      color: #08b108;
    }
 
  }
 
}
</style>