src/components/page/GlobalLayout.vue
@@ -70,7 +70,7 @@ <!-- layout content --> <a-layout-content :style="{ height: '100%', paddingTop: fixedHeader ? '59px' : '0' ,background: $route.meta.title=='首页'?'#0F103A':''}"> :style="{ height: '100%', paddingTop: fixedHeader ? '59px' : '0' ,background: $route.meta.title=='首页'?'#151548':''}"> <slot></slot> </a-layout-content>