智慧农业大数据平台
xiebin
2022-11-16 3dc278f10a4c3e3db7ce3a445bed710bdc88916e
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
/*
 * @Author: Morpheus
 * @Date: 2022-05-11 15:00:23
 * @Last Modified by: Morpheus
 * @Last Modified time: 2022-07-07 16:41:07
 * 农产品监管
 */
<template>
    <div class="container">
        <remote ref="modalForm" />
 
        <!-- <div class="l-echarts">
            <div class="t-box">
                <div class="title">
                    <div class="text">占位</div>
                </div>
                <div class="content" id="LTBOX"></div>
            </div>
            <div class="b-box">
                <div class="title">
                    <div class="text">占位</div>
                </div>
                <div class="content" id="LBBOX"></div>
            </div>
        </div>
        <div class="r-echarts">
            <div class="t-box">
                <div class="title">
                    <div class="text">占位</div>
                </div>
                <div class="content" id="RTBOX"></div>
            </div>
            <div class="b-box">
                <div class="title">
                    <div class="text">占位</div>
                </div>
                <div class="content" id="RBBOX"></div>
            </div>
        </div>-->
    </div>
</template>
 
<script>
export default {
 
}
</script>
 
<style scoped lang="scss">
.container {
    position: relative;
    width: 100%;
    height: 100%;
 
    .popup {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
 
        img {
            width: 100%;
            height: 100%;
        }
    }
 
    .l-echarts {
        left: 0;
    }
 
    .r-echarts {
        right: 0;
    }
 
    .l-echarts,
    .r-echarts {
        top: 0;
        display: flex;
        flex-direction: column;
        position: absolute;
        width: 24%;
        height: 100%;
 
        & > div {
            flex: 1;
            margin: 5px 0;
        }
    }
 
    .l-echarts,
    .r-echarts {
        div {
            .title {
                position: relative;
                height: 40px;
                background: url('/img/bg/echarts-title.png');
                background-size: 100% 100%;
                color: #fff;
 
                .text {
                    position: absolute;
                    top: 0;
                    left: 20px;
                    right: auto;
                    bottom: 0;
                    margin: auto;
                    font-size: 18px;
                    line-height: 40px;
                    font-weight: 700;
                    font-style: italic;
                    letter-spacing: 2px;
                }
            }
 
            .content {
                height: calc(100% - 40px);
                background: url('/img/bg/echarts-content.png');
                background-size: 100% 100%;
            }
        }
    }
 
    .map {
        padding: 5px 10px;
        display: flex;
        position: absolute;
        top: 0;
        left: 24%;
        width: 52%;
        height: calc(100%);
        box-sizing: border-box;
        background: red;
    }
}
</style>