提交 19c2f90a authored 作者: lidongxu's avatar lidongxu

style(all): 样式修复

右下角默认高度不再占满整个屏幕了
上级 103c01cc
...@@ -122,7 +122,8 @@ aside { ...@@ -122,7 +122,8 @@ aside {
} }
} }
// main-container全局样式 // 全局样式
// 容器
.app-container { .app-container {
flex: 1; flex: 1;
display: flex; display: flex;
...@@ -130,13 +131,11 @@ aside { ...@@ -130,13 +131,11 @@ aside {
align-items: center; align-items: center;
padding: 20px; padding: 20px;
// 内容区域
>.container { >.container {
flex: 1;
width: 100%; width: 100%;
padding: 20px;
background-color: var(--el-bg-color-overlay); background-color: var(--el-bg-color-overlay);
display: flex; padding: 20px;
flex-direction: column;
} }
} }
......
...@@ -42,8 +42,6 @@ function addIframe() { ...@@ -42,8 +42,6 @@ function addIframe() {
/* 50= navbar 50 */ /* 50= navbar 50 */
min-height: calc(100vh - 50px); min-height: calc(100vh - 50px);
width: 100%; width: 100%;
position: relative;
overflow: hidden;
background-color: var(--el-bg-color); background-color: var(--el-bg-color);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
...@@ -32,6 +32,11 @@ provide('activeName', activeName); ...@@ -32,6 +32,11 @@ provide('activeName', activeName);
lang="scss"> lang="scss">
.app-container { .app-container {
.container{
display: flex;
flex-direction: column;
}
.tabs { .tabs {
display: flex; display: flex;
flex-direction: column-reverse; flex-direction: column-reverse;
......
...@@ -171,8 +171,7 @@ getProductList() ...@@ -171,8 +171,7 @@ getProductList()
<style scoped <style scoped
lang="scss"> lang="scss">
.app-container { .app-container {
>.el-row { .container {
display: flex;
.right_col { .right_col {
flex: 1 !important; flex: 1 !important;
......
...@@ -77,6 +77,9 @@ const handleSetLineChartData = (type) => { ...@@ -77,6 +77,9 @@ const handleSetLineChartData = (type) => {
>div { >div {
padding: 0; padding: 0;
background-color: transparent; background-color: transparent;
display: flex;
flex-direction: column;
align-items: center;
} }
.chart-wrapper { .chart-wrapper {
......
...@@ -490,7 +490,6 @@ ...@@ -490,7 +490,6 @@
deptOptions.value = response.data; deptOptions.value = response.data;
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(response.data))); enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(response.data)));
defaultExpandedKeys.value = [response.data[0].id]; defaultExpandedKeys.value = [response.data[0].id];
queryParams.value.deptId = response.data[0].id;
}); });
}; };
...@@ -728,7 +727,6 @@ ...@@ -728,7 +727,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
overflow-y: scroll;
padding-left: 20px !important; padding-left: 20px !important;
.pagination { .pagination {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论