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" })}> 下载账单