From 0cf2375b6de4c9b65a10aa1c9d4cef9bb5936fe1 Mon Sep 17 00:00:00 2001 From: ColorWhiteDeveloper <2632970487@qq.com> Date: 星期一, 19 九月 2022 18:02:40 +0800 Subject: [PATCH] 页面重构 --- src/views/layout/components/Main/index.vue | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/views/layout/components/Main/index.vue b/src/views/layout/components/Main/index.vue index a3453d7..43c14f7 100644 --- a/src/views/layout/components/Main/index.vue +++ b/src/views/layout/components/Main/index.vue @@ -1,15 +1,32 @@ <template> <el-main> - <router-view></router-view> + <!-- <NavBar /> --> + <div class="content"> + <router-view></router-view> + <!-- 搴曢儴鍖哄煙 --> + <!-- <MyFooter/> --> + </div> </el-main> </template> <script> +import MyFooter from "../Footer" import NavBar from "../NavBar" export default { name: "Main", - components:{ + components: { + MyFooter, NavBar } }; -</script> \ No newline at end of file +</script> +<style lang="scss"> +.el-main { + min-width: 1024px; + padding: 0; + .content { + background-color: #070f22; + padding: 11px; + } +} +</style> -- Gitblit v1.8.0