suerprisePlus
2024-05-30 d4c810f9803aa13d806724a5f4f71fe85abac38e
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
<template>
<div class="contents">
    <div class="contetn_left">
        <div class="pagetab">
            <dv-decoration-12 style="width:30px;height:30px;" />
            <div class="item">实时监测数据</div>
        </div>
        <ItemWrap class="contetn_left-top contetn_lr-item" title="设备总览">
            <LeftTop />
 
        </ItemWrap>
        <ItemWrap class="contetn_left-center contetn_lr-item" title="Mqtt统计">
            <LeftCenter />
        </ItemWrap>
        <ItemWrap class="contetn_left-bottom contetn_lr-item" title="监测数据" style="padding: 0 10px 16px 10px">
            <LeftBottom />
        </ItemWrap>
    </div>
    <div class="contetn_center">
        <CenterMap class="contetn_center_top" />
        <ItemWrap class="contetn_center-bottom" title="服务器信息">
            <CenterBottom />
        </ItemWrap>
    </div>
    <div class="contetn_right">
        <ItemWrap class="contetn_left-bottom contetn_lr-item" title="Mqtt状态">
            <RightTop />
        </ItemWrap>
        <ItemWrap class="contetn_left-bottom contetn_lr-item" title="Mqtt消息" style="padding: 0 10px 16px 10px">
            <RightCenter />
        </ItemWrap>
        <ItemWrap class="contetn_left-bottom contetn_lr-item" title="设备提醒 ">
            <RightBottom />
        </ItemWrap>
    </div>
</div>
</template>
 
<script>
import LeftTop from './left-top.vue'
import LeftCenter from "./left-center.vue";
import LeftBottom from "./left-bottom.vue";
import CenterMap from "./center-map.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightCenter from "./right-center.vue";
import RightBottom from "./right-bottom.vue";
 
export default {
    components: {
        LeftTop,
        LeftCenter,
        LeftBottom,
        CenterMap,
        RightTop,
        RightCenter,
        RightBottom,
        CenterBottom,
    },
    data() {
        return {
 
        };
    },
    filters: {
        numsFilter(msg) {
            return msg || 0;
        },
    },
    created() {},
 
    mounted() {},
    methods: {
 
    },
};
</script>
 
<style lang="scss" scoped>
// 内容
.contents {
 
    .contetn_left,
    .contetn_right {
        width: 500px;
        box-sizing: border-box;
        // padding: 16px 0;
    }
 
    .contetn_center {
        width: 800px;
    }
 
    //左右两侧 三个块
    .contetn_lr-item {
        height: 310px;
    }
 
    .contetn_center_top {
        width: 100%;
    }
 
    // 中间
    .contetn_center {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
 
    .contetn_center-bottom {
        height: 255px;
    }
 
    //左边 右边 结构一样
    .contetn_left,
    .contetn_right {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
 
    }
}
 
@keyframes rotating {
    0% {
        -webkit-transform: rotate(0) scale(1);
        transform: rotate(0) scale(1);
    }
 
    50% {
        -webkit-transform: rotate(180deg) scale(1.1);
        transform: rotate(180deg) scale(1.1);
    }
 
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}
</style>