From 6237280bed0832babd48694e3d3598076fa1c467 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期四, 22 九月 2022 17:53:09 +0800 Subject: [PATCH] 搭建信息失败提示页面 --- src/views/layout/components/Main/index.vue | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/views/layout/components/Main/index.vue b/src/views/layout/components/Main/index.vue index e7674a4..3de4d9c 100644 --- a/src/views/layout/components/Main/index.vue +++ b/src/views/layout/components/Main/index.vue @@ -1,15 +1,31 @@ <template> <el-main> - <router-view></router-view> + <!-- <NavBar /> --> + <div class="content"> + <router-view></router-view> + <!-- 搴曢儴鍖哄煙 --> + <!-- <MyFooter/> --> + </div> </el-main> </template> <script> -// import NavBar from "../NavBar" +import MyFooter from "../Footer" +import NavBar from "../NavBar" export default { name: "Main", - components:{ - // NavBar + components: { + MyFooter, + NavBar } }; -</script> \ No newline at end of file +</script> +<style lang="scss"> +.el-main { + min-width: 1024px; + padding: 0; + .content { + padding: 11px; + } +} +</style> -- Gitblit v1.8.0