加入社群页面

This commit is contained in:
2025-11-27 17:02:51 +08:00
parent a20490f28d
commit 2ad9988120
5 changed files with 160 additions and 17 deletions

View File

@@ -415,8 +415,10 @@ const EditProfilePage: React.FC = () => {
}
};
const handleAddGroup = () => {
console.log("加入社群~");
const handleJoinGroup = () => {
Taro.navigateTo({
url: "/user_pages/joinGroup/index",
});
};
const getDefaultOption = (options) => {
@@ -715,7 +717,7 @@ const EditProfilePage: React.FC = () => {
></Image>
<Text className="logout_text"></Text>
</View>
<View className="logout_button" onClick={handleAddGroup}>
<View className="logout_button" onClick={handleJoinGroup}>
<Image src={require("@/static/userInfo/chat.svg")}></Image>
<Text className="logout_text"></Text>
</View>