update
This commit is contained in:
3
src/pages/group/index.config.js
Normal file
3
src/pages/group/index.config.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
navigationBarTitleText: '加入微信群'
|
||||||
|
}
|
||||||
0
src/pages/group/index.scss
Normal file
0
src/pages/group/index.scss
Normal file
32
src/pages/group/index.tsx
Normal file
32
src/pages/group/index.tsx
Normal 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;
|
||||||
@@ -265,6 +265,17 @@ const Index = () => {
|
|||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<View className="index">
|
<View className="index">
|
||||||
|
|
||||||
|
<Button onClick={()=>{
|
||||||
|
// 跳转到目的页面,在当前页面打开
|
||||||
|
Taro.navigateTo({
|
||||||
|
url: "/pages/group/index",
|
||||||
|
});
|
||||||
|
}}>
|
||||||
|
111
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
{/* 公众号 */}
|
{/* 公众号 */}
|
||||||
<View
|
<View
|
||||||
className="index-title"
|
className="index-title"
|
||||||
|
|||||||
Reference in New Issue
Block a user