Home.vue 1.23 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>
    <el-container>
        <el-header style="height: 50px;">
            <i class="el-icon-s-opportunity"></i>&nbsp;&nbsp;三维地理信息系统
        </el-header>
        <el-main style="padding: 0px;">
            <viewer></viewer>
        </el-main>
        <el-footer style="height: 22px;">Footer</el-footer>
    </el-container>
</template>

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

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

<style scoped>
.el-header {
    height: 50px;
    top: 0px;
    position: absolute;
    width: 100%;
    background-color: #2d8cf0;
    color: white;
    text-align: left;
    padding: 10px 0px;
    padding-left: 10px;
    z-index: 99;
    font-size: 20pt;
}
.el-footer {
    height: 22px;
    bottom: 0px;
    position: absolute;
    width: 100%;
    background-color: rgba(19, 17, 17, 0.5);
    color: white;
    text-align: left;
    padding-top: 2px;
    padding-left: 10px;
}
</style>