centercard.vue
959 Bytes
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
<template>
<div class="centercard">
<div class="card1 bg-shadow">
<maps class="map" />
</div>
<div class="card2 bg-shadow">
<Brokenline class="Brokenline" />
</div>
</div>
</template>
<script>
import maps from "@/components/echart/map";
import Brokenline from "@/components/echart/Brokenline";
export default {
data() {
return {};
},
components: { maps,Brokenline },
mounted() {},
beforeDestroy() {},
methods: {},
};
</script>
<style lang="scss" scoped>
.centercard{
width: 50%;
height: 100%;
.card1{
width: 100%;
height: 600px;
.map{
margin: auto;
width: 95%;
height: 600px;
}
}
.card2{
width: 100%;
height: 300px;
.Brokenline{
margin: auto;
width: 100%;
height: 300px;
}
}
}
</style>