1
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user