This commit is contained in:
hackrobot
2024-07-21 16:26:30 +08:00
parent 29ab494d4d
commit 5676354a3f
4 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export default {
navigationBarTitleText: '加入微信群'
}

View File

32
src/pages/group/index.tsx Normal file
View File

@@ -0,0 +1,32 @@
import { Component } from "react";
import { View, Text, Image } from "@tarojs/components";
import "./index.scss";
import { AtTabBar } from "taro-ui";
import React, { useCallback, useEffect, useState } from "react";
import { AtGrid } from "taro-ui";
import { Swiper, SwiperItem } from "@tarojs/components";
import { AtCard } from "taro-ui";
import { AtImagePicker } from "taro-ui";
import Taro from "@tarojs/taro";
import { AtAvatar } from "taro-ui";
import { AtTag } from "taro-ui";
import { AtList, AtListItem } from "taro-ui";
// export default class Index extends Component {
const Group = () => {
const [current, setcurrent] = useState(2);
const [wxid, setwxid] = useState(null);
useEffect(() => {}, []);
const handleClick = (value) => {
// 跳转到目的页面,在当前页面打开
Taro.navigateTo({
url: "/pages/index/index",
});
};
return <View className="group">qqq</View>;
};
export default Group;

View File

@@ -265,6 +265,17 @@ const Index = () => {
};
return (
<View className="index">
<Button onClick={()=>{
// 跳转到目的页面,在当前页面打开
Taro.navigateTo({
url: "/pages/group/index",
});
}}>
111
</Button>
{/* 公众号 */}
<View
className="index-title"