From ecd31158cb08c8e50cbb4e31e04b8368bf4db823 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 06 十一月 2023 16:38:41 +0800 Subject: [PATCH] 销售明细单改为上下结构,增加产品信息、库存信息、制造信息页面 --- src/components/layout/components/AppMain.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/layout/components/AppMain.vue b/src/components/layout/components/AppMain.vue index 4facd3d..f14d709 100644 --- a/src/components/layout/components/AppMain.vue +++ b/src/components/layout/components/AppMain.vue @@ -1,9 +1,9 @@ <template> <div class="app-main"> <AppHeader :headerTitle="$route.meta.title" /> - <transition> + <div class="app-main-content"> <router-view :key="key" /> - </transition> + </div> </div> </template> @@ -24,12 +24,17 @@ <!-- Add "scoped" attribute to limit CSS to this component only --> <style lang="scss" scoped> .app-main { - margin-left: 10px; box-sizing: border-box; display: flex; flex: 1; flex-direction: column; + background-color: $color-bg; // height: 100%; - width: 100%; + width: calc(100% - 200px); + .app-main-content { + width: 100%; + overflow-y: hidden; + height: calc(100% - 50px); + } } </style> -- Gitblit v1.8.0