1
This commit is contained in:
@@ -7,6 +7,7 @@ import httpService from "@/services/httpService";
|
|||||||
import { withAuth, GeneralNavbar } from "@/components";
|
import { withAuth, GeneralNavbar } from "@/components";
|
||||||
import { PopupPicker } from "@/components/Picker/index";
|
import { PopupPicker } from "@/components/Picker/index";
|
||||||
import { handleCustomerService } from "@/services/userService";
|
import { handleCustomerService } from "@/services/userService";
|
||||||
|
import { useGlobalState } from "@/store/global";
|
||||||
import img from "@/config/images";
|
import img from "@/config/images";
|
||||||
|
|
||||||
// 交易记录类型
|
// 交易记录类型
|
||||||
@@ -99,6 +100,10 @@ const transaction_type_options: Option<TransactionSubType>[] = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
const WalletPage: React.FC = () => {
|
const WalletPage: React.FC = () => {
|
||||||
|
// 获取导航栏高度信息
|
||||||
|
const { statusNavbarHeightInfo } = useGlobalState() || {};
|
||||||
|
const { totalHeight = 98 } = statusNavbarHeightInfo || {};
|
||||||
|
|
||||||
// 获取当前页面的配置
|
// 获取当前页面的配置
|
||||||
const currentPage = Taro.getCurrentInstance();
|
const currentPage = Taro.getCurrentInstance();
|
||||||
const pageConfig = currentPage.page?.config;
|
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">
|
<View className="card_header">
|
||||||
<Text className="header_title">我的现金</Text>
|
<Text className="header_title">我的现金</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user