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 = () => { }} /> {/* 钱包主卡片 */} - + {/* 头部信息 */} 我的现金