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

@@ -9,6 +9,7 @@ import { DialogCalendarCard } from "@/components/index";
import { CommonPopup, GeneralNavbar } from "@/components";
import httpService from "@/services/httpService";
import img from "@/config/images";
import { useGlobalState } from "@/store/global";
export enum TransactionSubType {
All = "",
@@ -31,6 +32,9 @@ interface TransactionLoadParams {
date_range?: string[];
}
const DownloadBill: React.FC = () => {
// 获取导航栏高度信息
const { statusNavbarHeightInfo } = useGlobalState() || {};
const { totalHeight = 98 } = statusNavbarHeightInfo || {};
// 获取当前页面的配置
const currentPage = Taro.getCurrentInstance();
const pageConfig = currentPage.page?.config;
@@ -271,7 +275,10 @@ const DownloadBill: React.FC = () => {
Taro.navigateBack();
}}
/>
<View className="hint_content">
<View
className="hint_content"
style={{ marginTop: `${totalHeight}px` }}
>
<Text> </Text>
<Text className="button_text" onClick={downloadExample}>