新建下载账单、查询交易页面
This commit is contained in:
@@ -26,6 +26,8 @@ export default defineAppConfig({
|
|||||||
"other/index", // 他人个人主页
|
"other/index", // 他人个人主页
|
||||||
"follow/index", // 球友关注页
|
"follow/index", // 球友关注页
|
||||||
"wallet/index", // 钱包页
|
"wallet/index", // 钱包页
|
||||||
|
"queryTransactions/index", // 查询交易
|
||||||
|
"downloadBill/index", // 下载账单
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
3
src/user_pages/downloadBill/index.config.ts
Normal file
3
src/user_pages/downloadBill/index.config.ts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export default definePageConfig({
|
||||||
|
navigationBarTitleText: '下载账单',
|
||||||
|
})
|
||||||
0
src/user_pages/downloadBill/index.scss
Normal file
0
src/user_pages/downloadBill/index.scss
Normal file
10
src/user_pages/downloadBill/index.tsx
Normal file
10
src/user_pages/downloadBill/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import React, { useState, useEffect } from "react";
|
||||||
|
import { View } from "@tarojs/components";
|
||||||
|
|
||||||
|
const DownloadBill: React.FC = () => {
|
||||||
|
return (
|
||||||
|
<View>下载账单</View>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default DownloadBill;
|
||||||
3
src/user_pages/queryTransactions/index.config.ts
Normal file
3
src/user_pages/queryTransactions/index.config.ts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export default definePageConfig({
|
||||||
|
navigationBarTitleText: '查找交易',
|
||||||
|
})
|
||||||
0
src/user_pages/queryTransactions/index.scss
Normal file
0
src/user_pages/queryTransactions/index.scss
Normal file
10
src/user_pages/queryTransactions/index.tsx
Normal file
10
src/user_pages/queryTransactions/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import React, { useState, useEffect } from "react";
|
||||||
|
import { View } from "@tarojs/components";
|
||||||
|
|
||||||
|
const QueryTransactions: React.FC = () => {
|
||||||
|
return (
|
||||||
|
<View>查询交易</View>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default QueryTransactions;
|
||||||
@@ -287,11 +287,11 @@ const WalletPage: React.FC = () => {
|
|||||||
<Text className="function_text">全部账单</Text>
|
<Text className="function_text">全部账单</Text>
|
||||||
<Image className="function_icon" src={require("@/static/wallet/arrow-down.svg")} />
|
<Image className="function_icon" src={require("@/static/wallet/arrow-down.svg")} />
|
||||||
</View>
|
</View>
|
||||||
<View className="function_item">
|
<View className="function_item" onClick={() => Taro.navigateTo({ url: "/user_pages/queryTransactions/index" })}>
|
||||||
<Image className="function_icon" src={require("@/static/wallet/search.svg")} />
|
<Image className="function_icon" src={require("@/static/wallet/search.svg")} />
|
||||||
<Text className="function_text">查询交易</Text>
|
<Text className="function_text">查询交易</Text>
|
||||||
</View>
|
</View>
|
||||||
<View className="function_item">
|
<View className="function_item" onClick={() => Taro.navigateTo({ url: "/user_pages/downloadBill/index" })}>
|
||||||
<Image className="function_icon" src={require("@/static/wallet/download.svg")} />
|
<Image className="function_icon" src={require("@/static/wallet/download.svg")} />
|
||||||
<Text className="function_text">下载账单</Text>
|
<Text className="function_text">下载账单</Text>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user