-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
107 lines (91 loc) · 1.35 KB
/
App.vue
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
<template>
<div id="app">
<div class="left-panel">
<JobList id="job-list" />
</div>
<div class="right">
<div class="top-panel columns is-gapless">
<Search id="search" class="column" />
<Credits id="credits" class="column is-narrow" />
</div>
<WKMap id="map" />
</div>
</div>
</template>
<script>
import Credits from './components/Credits';
import JobList from './components/JobList';
import Search from './components/Search';
import WKMap from './components/WKMap';
export default {
name: 'App',
components: {
Credits,
JobList,
Search,
WKMap,
},
computed: {
},
methods: {
},
};
</script>
<style>
html {
overflow-y: unset;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
}
.left-panel,
.right {
height: 100%;
position: absolute;
top: 0;
}
.left-panel {
left: 0;
width: 25%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.right {
right: 0;
width: 75%;
}
.top-panel {
top: 0;
}
#app {
}
#credits {
z-index: 1000;
background-color: #fff;
height: 60px;
}
#map {
position: absolute;
top: 0;
left: 0;
right: 0;
}
ul.list-inline li {
display: inline-block;
}
@media (max-width: 576px) {
.left-panel {
display: none;
}
.right {
width: 100%;
left: 0;
}
#credits {
display: none;
}
}
</style>