From 4183260d6b5c22a98f0130f80e098ca36a60b0a5 Mon Sep 17 00:00:00 2001 From: Ultrame <1019265060@qq.com> Date: Tue, 23 Sep 2025 22:14:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E4=B8=8B=E8=BD=BD=E8=B4=A6?= =?UTF-8?q?=E5=8D=95=E3=80=81=E6=9F=A5=E8=AF=A2=E4=BA=A4=E6=98=93=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.config.ts | 2 ++ src/user_pages/downloadBill/index.config.ts | 3 +++ src/user_pages/downloadBill/index.scss | 0 src/user_pages/downloadBill/index.tsx | 10 ++++++++++ src/user_pages/queryTransactions/index.config.ts | 3 +++ src/user_pages/queryTransactions/index.scss | 0 src/user_pages/queryTransactions/index.tsx | 10 ++++++++++ src/user_pages/wallet/index.tsx | 4 ++-- 8 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 src/user_pages/downloadBill/index.config.ts create mode 100644 src/user_pages/downloadBill/index.scss create mode 100644 src/user_pages/downloadBill/index.tsx create mode 100644 src/user_pages/queryTransactions/index.config.ts create mode 100644 src/user_pages/queryTransactions/index.scss create mode 100644 src/user_pages/queryTransactions/index.tsx diff --git a/src/app.config.ts b/src/app.config.ts index de03c8c..0198af7 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -26,6 +26,8 @@ export default defineAppConfig({ "other/index", // 他人个人主页 "follow/index", // 球友关注页 "wallet/index", // 钱包页 + "queryTransactions/index", // 查询交易 + "downloadBill/index", // 下载账单 ], }, // { diff --git a/src/user_pages/downloadBill/index.config.ts b/src/user_pages/downloadBill/index.config.ts new file mode 100644 index 0000000..3ec35fc --- /dev/null +++ b/src/user_pages/downloadBill/index.config.ts @@ -0,0 +1,3 @@ +export default definePageConfig({ + navigationBarTitleText: '下载账单', +}) \ No newline at end of file diff --git a/src/user_pages/downloadBill/index.scss b/src/user_pages/downloadBill/index.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/user_pages/downloadBill/index.tsx b/src/user_pages/downloadBill/index.tsx new file mode 100644 index 0000000..3b3caa0 --- /dev/null +++ b/src/user_pages/downloadBill/index.tsx @@ -0,0 +1,10 @@ +import React, { useState, useEffect } from "react"; +import { View } from "@tarojs/components"; + +const DownloadBill: React.FC = () => { + return ( + 下载账单 + ); +}; + +export default DownloadBill; \ No newline at end of file diff --git a/src/user_pages/queryTransactions/index.config.ts b/src/user_pages/queryTransactions/index.config.ts new file mode 100644 index 0000000..9e2c6d5 --- /dev/null +++ b/src/user_pages/queryTransactions/index.config.ts @@ -0,0 +1,3 @@ +export default definePageConfig({ + navigationBarTitleText: '查找交易', +}) \ No newline at end of file diff --git a/src/user_pages/queryTransactions/index.scss b/src/user_pages/queryTransactions/index.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/user_pages/queryTransactions/index.tsx b/src/user_pages/queryTransactions/index.tsx new file mode 100644 index 0000000..7ca533e --- /dev/null +++ b/src/user_pages/queryTransactions/index.tsx @@ -0,0 +1,10 @@ +import React, { useState, useEffect } from "react"; +import { View } from "@tarojs/components"; + +const QueryTransactions: React.FC = () => { + return ( + 查询交易 + ); +}; + +export default QueryTransactions; \ No newline at end of file diff --git a/src/user_pages/wallet/index.tsx b/src/user_pages/wallet/index.tsx index aa24bb0..c248b5f 100644 --- a/src/user_pages/wallet/index.tsx +++ b/src/user_pages/wallet/index.tsx @@ -287,11 +287,11 @@ const WalletPage: React.FC = () => { 全部账单 - + Taro.navigateTo({ url: "/user_pages/queryTransactions/index" })}> 查询交易 - + Taro.navigateTo({ url: "/user_pages/downloadBill/index" })}> 下载账单