提交 874609e3 编写于 作者: RedPig97's avatar RedPig97

update:更新

上级 d2ab73df
.app-index-nav-tabs {
background-color: #f0f2f5;
}
\ No newline at end of file
.app-nav-pos {
width: 100%;
height: 100%;
&.is-index-layout {
background-color: #f0f2f5;
>.app-view-layout {
padding: 0 12px;
}
>.view-container {
height: 100%;
width: 100%;
}
>.view-container {
height: 100%;
width: 100%;
}
}
\ No newline at end of file
......@@ -118,7 +118,7 @@ export default class AppNavPos extends Vue {
get curClassName() {
const currentModel = this.layoutModelDetails[this.itemName];
if (currentModel) {
return `app-nav-pos ${this.itemName} ${currentModel.sysCss} ${Object.is(currentModel.viewType, 'APPINDEXVIEW') && 'is-index-layout'}`;
return `app-nav-pos ${this.itemName} ${currentModel.sysCss}`;
}
}
......@@ -131,7 +131,11 @@ export default class AppNavPos extends Vue {
get curStyle() {
const currentModel = this.layoutModelDetails[this.itemName];
if (currentModel) {
return currentModel.getElementStyle();
const containerStyle = currentModel.getElementStyle();
if (Object.is(currentModel.viewType, 'APPINDEXVIEW')) {
Object.assign(containerStyle, { 'background-color': '#f0f2f5' });
}
return containerStyle;
}
}
......
......@@ -293,6 +293,7 @@
.app-view-layout{
width: 100%;
height: 100%;
padding: 0 12px;
background-color: #ffffff;
.container-item__pos{
display: flex;
......@@ -310,6 +311,9 @@
padding: 0;
}
}
.app-view-layout__appindexview {
padding: 0;
}
// 看板视图,卡片模式
// .view-container.appportalview,.view-container.deportalview,.view-container.deportalview9{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册