From 9076bc149cf47846b967ab3711fec4b3047192ee Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 31 Oct 2024 17:45:15 +0800 Subject: [PATCH] =?UTF-8?q?game=20=E4=B8=BB=E9=A2=98=EF=BC=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=8A=A0=E4=B8=8A=E9=80=9A=E7=94=A8=E7=9A=84=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/game/index.js | 48 +++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/themes/game/index.js b/themes/game/index.js index cb0fc1a5..718f6a92 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 => { {/* 游戏列表 */} - - {/* 广告 */} -
- -
- - {/* 主区域下方 导览 */} -
- {/* 标签汇总 */} - -
- - {/* 站点公告信息 */} - -
) }