{onLoading ? : children}
diff --git a/themes/matery/LayoutBase.js b/themes/matery/LayoutBase.js
index 5e699117..6dbac0d6 100644
--- a/themes/matery/LayoutBase.js
+++ b/themes/matery/LayoutBase.js
@@ -12,6 +12,7 @@ import FloatDarkModeButton from './components/FloatDarkModeButton'
import throttle from 'lodash.throttle'
import { isBrowser, loadExternalResource } from '@/lib/utils'
import SocialButton from './components/SocialButton'
+import CONFIG_MATERY from './config_matery'
/**
* 基础布局 采用左右两侧布局,移动端使用顶部导航栏
@@ -41,6 +42,7 @@ const LayoutBase = props => {
if (isBrowser()) {
loadExternalResource('/css/theme-matery.css', 'css')
}
+ const fixStyleObject = !CONFIG_MATERY.HOME_BANNER_ENABLE ? { paddingTop: '4rem' } : {}
return (
@@ -51,7 +53,7 @@ const LayoutBase = props => {
{headerSlot}
-
+
{/* 嵌入区域 */}
{props.containerSlot}