VHome.vue
1.54 KB
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
<template>
<div class="main-content">
<v-header></v-header>
<ul class="main-wrap">
<li class="main-left">
<div class="frame-wrap">
<v-parking></v-parking>
</div>
<div class="frame-wrap frame-wrap-center">
<v-toll></v-toll>
</div>
<div class="frame-wrap"></div>
</li>
<li class="main-center">
<v-map></v-map>
</li>
<li class="main-right">
<div class="frame-wrap"></div>
<div class="frame-wrap frame-wrap-center"></div>
<div class="frame-wrap"></div>
</li>
</ul>
</div>
</template>
<script>
import VHeader from '../components/VHeader'
import VMap from '../components/VMap'
import VParking from '../components/VParking'
import VToll from '../components/VToll'
export default {
name: 'VHome',
components: {
VHeader,
VMap,
VParking,
VToll
}
}
</script>
<style scoped lang="scss">
.main-content{
width: 100%;
height: 100%;
}
.main-wrap{
height: calc(100% - 65px);
padding: 10px 10px;
li{
float: left;
height: 100%;
}
}
.main-left,.main-right{
width: 25%;
}
.main-center{
width: calc(50% - 20px);
margin: 0 10px;
border:1px solid #1679de;
}
.frame-wrap-center{
margin: 10px 0;
}
.frame-wrap{
height: calc((100% - 20px)/3);
border-image-source: url("../images/content/frame-wrap.png");
border-image-slice: 3 16 11 3 fill;
border-width: 3px 18px 11px 3px;
border-style: solid;
background-clip: border-box;
}
</style>