This commit is contained in:
张成
2025-11-15 11:52:33 +08:00
parent 30857c131a
commit 3c789e5400

View File

@@ -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<TransactionSubType>[] = [
];
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 = () => {
}}
/>
{/* 钱包主卡片 */}
<View className="wallet_main_card">
<View
className="wallet_main_card"
style={{ marginTop: `${totalHeight}px` }}
>
{/* 头部信息 */}
<View className="card_header">
<Text className="header_title"></Text>