From 5676354a3f5c8a59e623d1df19abbbde2647eaac Mon Sep 17 00:00:00 2001 From: hackrobot Date: Sun, 21 Jul 2024 16:26:30 +0800 Subject: [PATCH] update --- src/pages/group/index.config.js | 3 +++ src/pages/group/index.scss | 0 src/pages/group/index.tsx | 32 ++++++++++++++++++++++++++++++++ src/pages/index/index.jsx | 11 +++++++++++ 4 files changed, 46 insertions(+) create mode 100644 src/pages/group/index.config.js create mode 100644 src/pages/group/index.scss create mode 100644 src/pages/group/index.tsx diff --git a/src/pages/group/index.config.js b/src/pages/group/index.config.js new file mode 100644 index 0000000..fe39c37 --- /dev/null +++ b/src/pages/group/index.config.js @@ -0,0 +1,3 @@ +export default { + navigationBarTitleText: '加入微信群' +} diff --git a/src/pages/group/index.scss b/src/pages/group/index.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/group/index.tsx b/src/pages/group/index.tsx new file mode 100644 index 0000000..2085adf --- /dev/null +++ b/src/pages/group/index.tsx @@ -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 qqq; +}; + +export default Group; diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index f39eb0f..88f93e7 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -265,6 +265,17 @@ const Index = () => { }; return ( + + + + {/* 公众号 */}