From 3c789e54003b18b3d2165f34ce6aad13ccca9094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sat, 15 Nov 2025 11:52:33 +0800 Subject: [PATCH] 1 --- src/user_pages/wallet/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/user_pages/wallet/index.tsx b/src/user_pages/wallet/index.tsx index 98c61bf..86f0590 100644 --- a/src/user_pages/wallet/index.tsx +++ b/src/user_pages/wallet/index.tsx @@ -7,6 +7,7 @@ import httpService from "@/services/httpService"; import { withAuth, GeneralNavbar } from "@/components"; import { PopupPicker } from "@/components/Picker/index"; import { handleCustomerService } from "@/services/userService"; +import { useGlobalState } from "@/store/global"; import img from "@/config/images"; // 交易记录类型 @@ -99,6 +100,10 @@ const transaction_type_options: Option[] = [ ]; const WalletPage: React.FC = () => { + // 获取导航栏高度信息 + const { statusNavbarHeightInfo } = useGlobalState() || {}; + const { totalHeight = 98 } = statusNavbarHeightInfo || {}; + // 获取当前页面的配置 const currentPage = Taro.getCurrentInstance(); const pageConfig = currentPage.page?.config; @@ -484,7 +489,10 @@ const WalletPage: React.FC = () => { }} /> {/* 钱包主卡片 */} - + {/* 头部信息 */} 我的现金