+
- ©{`${copyrightDate}`} {siteConfig('AUTHOR')}.
+ ©{`${copyrightDate}`} {siteConfig('AUTHOR')}.
All rights reserved.
diff --git a/themes/typography/index.js b/themes/typography/index.js
index d95017cc..7e083473 100644
--- a/themes/typography/index.js
+++ b/themes/typography/index.js
@@ -63,11 +63,10 @@ export const useSimpleGlobal = () => useContext(ThemeGlobalSimple)
*/
const LayoutBase = props => {
const { children, slotTop } = props
- // const { onLoading, fullWidth } = useGlobal()
- const onLoading = true
+ const { onLoading, fullWidth } = useGlobal()
+ // const onLoading = true
const searchModal = useRef(null)
- console.log('aa', props)
return (
{
{siteConfig('SIMPLE_TOP_BAR', null, CONFIG) &&
}
-
+
{/* 主体 - 使用 flex 布局 */}
{/* 文章详情才显示 */}
- {props.post && (
-
+ {/* {props.post && (
+
- )}
-
+ )} */}
+
{/* 左侧内容区域 - 可滚动 */}
+ className='h-full w-full md:px-24 overflow-y-auto scroll-hidden relative'>
{/* 移动端导航 - 显示在顶部 */}
-
- {slotTop}
-
- {children}
-
-
- {onLoading && (
-
-
-
别着急,坐和放宽
+ {onLoading ? (
+ // loading 时显示 spinner
+
+ ) : (
+ <>
+ {slotTop}
+ {children}
+ >
)}
{/* 移动端页脚 - 显示在底部 */}
@@ -206,7 +191,7 @@ const LayoutArchive = props => {
const { archivePosts } = props
return (
<>
-
+
{Object.keys(archivePosts).map(archiveTitle => (