jxdnsong
2022-10-25 bf5ba56e8a82f0ef699f2eae413d0dc2c4e4f67d
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
<template>
    <div class="container">
        <div class="title">
            <i></i>物联设备
        </div>
        <div class="devices-container">
            <div class="online">
                <span>
                    <i>964</i> 台
                </span>
                <img src="/zhjg/img/home/在线.png" alt />在线
            </div>
            <div class="offline">
                <span>
                    <i>86</i> 台
                </span>
                <img src="/zhjg/img/home/离线.png" alt />离线
            </div>
        </div>
    </div>
</template>
 
<script>
export default {
    data () {
        return {
        }
    },
 
 
}
</script>
 
<style lang="scss" scoped>
.container {
    position: relative;
    width: 400px;
    height: 100%;
    background: url(/zhjg/img/home/juxing2.png) no-repeat;
    background-size: 100% 100%;
    .title {
        position: absolute;
        display: flex;
        top: 16px;
        left: 16px;
        width: 78px;
        height: 18px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 400;
        vertical-align: middle;
        justify-content: space-between;
        align-items: center;
        i {
            display: inline-block;
            width: 3px;
            height: 16px;
            background-color: #28f2ff;
        }
    }
    .devices-container {
        padding-top: 50px;
        display: flex;
        height: calc(100% - 50px);
        justify-content: space-around;
        div {
            position: relative;
            text-align: center;
            color: #e9f2f3;
            font-size: 16px;
            display: flex;
            flex-direction: column;
            span {
                position: absolute;
                left: 50%;
                top: 93px;
                transform: translateX(-50%);
                i {
                    font-size: 22px;
                    font-weight: bold;
                }
            }
        }
        .online i {
            color: #30ffd1;
        }
        .offline i {
            color: #ffcf29;
        }
    }
}
</style>