添加钱包测试功能

This commit is contained in:
张成
2025-09-21 13:26:38 +08:00
parent 29bc03f242
commit 535b647165
14 changed files with 912 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ const MyselfPage: React.FC = () => {
participated: 0,
},
bio: "加载中...",
location: "加载中...",
city: "加载中...",
occupation: "加载中...",
ntrp_level: "NTRP 3.0",
personal_profile: "加载中...",
@@ -143,10 +143,10 @@ const MyselfPage: React.FC = () => {
});
};
// 处理收藏
const handle_favorites = () => {
// 处理钱包
const handle_wallet = () => {
Taro.navigateTo({
url: "/other_pages/favorites/index",
url: "/user_pages/wallet/index",
});
};
@@ -180,7 +180,7 @@ const MyselfPage: React.FC = () => {
<Text className="action_text"></Text>
</View>
<View className="action_divider"></View>
<View className="action_content" onClick={handle_favorites}>
<View className="action_content" onClick={handle_wallet}>
<Image
className="action_icon"
src={require("@/static/userInfo/wallet.svg")}