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