From 50f52beb0ed100105166f62027cd0b15e6b596dc Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期六, 12 十一月 2022 15:02:01 +0800 Subject: [PATCH] 重新 --- src/views/Home.vue | 41 +++++++++++++++++++++++++---------------- 1 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index be05f22..c072e13 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,13 +1,17 @@ <template> <div class="home"> <el-container> - <el-header> - <nav-menu></nav-menu> - </el-header> - <el-main> - <router-view /> - </el-main> + <el-container> + <el-aside> + <nav-menu></nav-menu> + </el-aside> + <el-main> + <!-- <synthesis class="showsynthesis" v-show="shwomMapview"></synthesis> --> + <router-view /> + </el-main> + </el-container> </el-container> + <!-- <iframe src="http://localhost/LFWeb/test.html" width="100%" height="100%"></iframe> --> </div> </template> @@ -18,30 +22,35 @@ name: "Home", components: { navMenu, + }, data() { return { shwomMapview: true, }; }, - methods: {}, + methods: { + + }, }; </script> <style lang="less"> .home { height: 100vh; position: relative; + background-color: #3b4d6e; + .el-aside { + margin: 26px 0 0 27px; + width: 249px; + // background-color: #bfa; + } .el-container { height: 100%; - .el-header { - padding: 0; - height: 160px !important; - } - .el-main { - margin: 0px; - padding: 10px; - background-color: rgb(53, 53, 57); - } + } + .el-main { + margin: 0px; + padding: 10px; + background: rgb(61, 76, 112); } } </style> -- Gitblit v1.9.3