diff --git a/themes/game/index.js b/themes/game/index.js index cb0fc1a5185..718f6a92a8c 100644 --- a/themes/game/index.js +++ b/themes/game/index.js @@ -44,7 +44,15 @@ export const useGameGlobal = () => useContext(ThemeGlobalGame) * @constructor */ const LayoutBase = props => { - const { allNavPages, children, siteInfo } = props + const { + allNavPages, + children, + siteInfo, + tagOptions, + currentTag, + categoryOptions, + currentCategory + } = props const searchModal = useRef(null) // 在列表中进行实时过滤 const [filterKey, setFilterKey] = useState('') @@ -107,6 +115,23 @@ const LayoutBase = props => { {/* 右侧 */}
{children}
+ {/* 广告 */} +
+ +
+ + {/* 主区域下方 导览 */} +
+ {/* 标签汇总 */} + +
+ + {/* 站点公告信息 */} + +
@@ -130,8 +155,7 @@ const LayoutBase = props => { * @returns */ const LayoutIndex = props => { - const { tagOptions, currentTag, categoryOptions, currentCategory, siteInfo } = - props + const { siteInfo } = props return ( <> {/* 首页移动端顶部导航 */} @@ -142,24 +166,6 @@ const LayoutIndex = props => { {/* 游戏列表 */} - - {/* 广告 */} -
- -
- - {/* 主区域下方 导览 */} -
- {/* 标签汇总 */} - -
- - {/* 站点公告信息 */} - -
) }