You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.7 KiB
93 lines
1.7 KiB
|
2 years ago
|
<template>
|
||
|
|
<div class="page">
|
||
|
|
<div class="container" ref="appRef">
|
||
|
|
<dv-loading v-if="loading">Loading...</dv-loading>
|
||
|
|
<div v-else>
|
||
|
|
<HeaderComponent></HeaderComponent>
|
||
|
|
|
||
|
|
<div class="body d-flex">
|
||
|
|
<btns></btns>
|
||
|
|
<div class="left">
|
||
|
|
<MapComponent></MapComponent>
|
||
|
|
</div>
|
||
|
|
<div class="right d-flex flex-column">
|
||
|
|
<dv-border-box-12><right1></right1></dv-border-box-12>
|
||
|
|
<dv-border-box-12><right2></right2></dv-border-box-12>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import drawMixin from "@/mixin/drawMixin";
|
||
|
|
import MapComponent from "./map.vue";
|
||
|
|
import HeaderComponent from "./header.vue";
|
||
|
|
import right1 from "./right1.vue";
|
||
|
|
import right2 from "./right2.vue";
|
||
|
|
import btns from "./btns.vue";
|
||
|
|
export default {
|
||
|
|
components: {
|
||
|
|
MapComponent,
|
||
|
|
HeaderComponent,
|
||
|
|
right1,
|
||
|
|
right2,
|
||
|
|
btns
|
||
|
|
},
|
||
|
|
mixins: [drawMixin],
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
loading: true,
|
||
|
|
}
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
|
||
|
|
},
|
||
|
|
computed: {},
|
||
|
|
mounted() {
|
||
|
|
setTimeout(() => {
|
||
|
|
this.loading = false;
|
||
|
|
},500)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped lang="scss">
|
||
|
|
@import "~@/styles/scss/style.scss";
|
||
|
|
.page {
|
||
|
|
background: #040608;
|
||
|
|
width: 100vw;
|
||
|
|
height: 100vh;
|
||
|
|
overflow: hidden;
|
||
|
|
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
.container {
|
||
|
|
width: 1920px;
|
||
|
|
height: 1080px;
|
||
|
|
transform-origin: 0 0;
|
||
|
|
|
||
|
|
position: relative;
|
||
|
|
top: 50%;
|
||
|
|
left: 50%;
|
||
|
|
|
||
|
|
.body {
|
||
|
|
padding-top: 60px;
|
||
|
|
padding-left: 16%;
|
||
|
|
.left {
|
||
|
|
flex-basis: 60%;
|
||
|
|
}
|
||
|
|
.right {
|
||
|
|
flex: 1;
|
||
|
|
padding-right: 60px;
|
||
|
|
margin-left: 40px;
|
||
|
|
|
||
|
|
div + div {
|
||
|
|
margin-top: 20px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|