Home.vue 1.03 KB
<!--
 * @Author: jiangbotao
 * @Date: 2019-12-03 22:31:08
 * @LastEditors: jiangbotao
 * @LastEditTime: 2019-12-05 21:29:53
 * @FilePath: \superglobevue\src\views\Home.vue
 -->
<template>
    <div id="map">
        <viewer></viewer>
    </div>
</template>

<script>
import viewer from "@/components/viewer_ymo.vue";

export default {
    name: "home",
    data() {
      return {
        isCollapse: true
      };
    },
    components: {
        viewer
    }
};
</script>

<style scoped>
.el-header {
    padding: 12px 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: absolute;
    z-index: 99;
    background-color: white;
    width: 100%;
    margin-top: -1px;
    border-bottom: red;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}
.el-aside {
    width: 200px;
    position: absolute;
    height: 100%;
    z-index: 98;
    margin-top: 39px;
    margin-left: -20px;
    background-color: white;
    /* background-color: rgb(238, 241, 246); */
}
</style>