diff --git a/src/app.config.ts b/src/app.config.ts index dc3297e..b762d2b 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -72,7 +72,7 @@ export default defineAppConfig({ navigationBarTextStyle: 'black' }, tabBar: { - custom: false, + custom: false, // H5模式下暂时禁用自定义TabBar color: "#8a8a8a", selectedColor: "#d81e06", backgroundColor: "#ffffff", @@ -89,12 +89,6 @@ export default defineAppConfig({ selectedIconPath: "assets/tabbar/order-active.png", text: "AI问答", }, - // { - // pagePath: "pages/kefu/kefu", - // iconPath: "assets/tabbar/kefu.png", - // selectedIconPath: "assets/tabbar/kefu-active.png", - // text: "客服", - // }, { pagePath: "pages/user/user", iconPath: "assets/tabbar/user.png", diff --git a/src/app.scss b/src/app.scss index d46d9be..dd23cd2 100644 --- a/src/app.scss +++ b/src/app.scss @@ -11,6 +11,7 @@ page{ background-repeat: no-repeat; background-size: 100%; background-position: bottom; + padding-bottom: 40px; // 为自定义TabBar预留空间 } diff --git a/src/article/index.tsx b/src/article/index.tsx index fab8fce..fb1113a 100644 --- a/src/article/index.tsx +++ b/src/article/index.tsx @@ -48,8 +48,11 @@ const Index = () => { return ( <>