|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="main-layout">
|
|
|
+ <div class="main-layout" :class="{ [routeName]: true }">
|
|
|
<div class="header" :class="{ [name]: true }">
|
|
|
<span class="title-span">
|
|
|
<el-button
|
|
@@ -131,6 +131,18 @@ const showBack = computed(() => {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
height: 100%;
|
|
|
+ &.scene,
|
|
|
+ &.relics,
|
|
|
+ &.device,
|
|
|
+ &.organization,
|
|
|
+ &.users {
|
|
|
+ .content {
|
|
|
+ .view {
|
|
|
+ margin-left: 8px;
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.header {
|
|
@@ -205,8 +217,6 @@ const showBack = computed(() => {
|
|
|
|
|
|
.view {
|
|
|
flex: 1;
|
|
|
- margin-left: 8px;
|
|
|
- margin-top: 8px;
|
|
|
overflow: hidden;
|
|
|
background-color: var(--bgColor);
|
|
|
flex-direction: column;
|