This commit is contained in:
张成
2025-11-15 22:05:30 +08:00
parent 93f08d5a9f
commit 603fb16074
7 changed files with 57 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ import httpService from "@/services/httpService";
import "./index.scss";
import { CommonPopup, GeneralNavbar } from "@/components";
import { useKeyboardHeight } from "@/store/keyboardStore";
import { useGlobalState } from "@/store/global";
import img from "@/config/images";
interface WalletInfo {
@@ -17,6 +18,9 @@ interface WalletInfo {
}
const Withdrawal: React.FC = () => {
// 获取导航栏高度信息
const { statusNavbarHeightInfo } = useGlobalState() || {};
const { totalHeight = 98 } = statusNavbarHeightInfo || {};
// 获取当前页面的配置
const currentPage = Taro.getCurrentInstance();
const pageConfig = currentPage.page?.config;
@@ -311,7 +315,10 @@ const Withdrawal: React.FC = () => {
Taro.navigateBack();
}}
/>
<View className="withdrawal-container">
<View
className="withdrawal-container"
style={{ marginTop: `${totalHeight}px` }}
>
<Text className="title-text"></Text>
<View className="input-container">
<Text className="symbol">¥</Text>