feat: 新增入群确认页面

This commit is contained in:
hackrobot
2024-03-24 18:45:08 +08:00
parent b173a694ee
commit 36ab69bbf6
4 changed files with 63 additions and 2 deletions

View File

@@ -1,10 +1,9 @@
export default defineAppConfig({
pages: [
'pages/index/index',
'pages/index/componments/KeywordJoin/index',
'pages/my/index',
'pages/my/componments/Log/index',
],
permission: {
"scope.userLocation": {

View File

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

View File

@@ -0,0 +1,59 @@
import { View, Text, Image, Button, Icon } from "@tarojs/components";
import { useLoad } from "@tarojs/taro";
import Taro from "@tarojs/taro";
import {
AtAvatar,
AtTag,
AtIcon,
AtTabBar,
AtButton,
AtAccordion,
AtList,
AtListItem,
AtSteps,
AtForm,
AtInput,
} from "taro-ui";
import "./index.scss";
import beijing from "@/images/city/beijing.jpg";
import guangzhou from "@/images/city/guangzhou.jpg";
import shanghai from "@/images/city/shanghai.jpg";
import shenzhen from "@/images/city/shenzhen.jpg";
import touxiang from "@/images/index/touxiang.jpg";
import TabbarCom from "@/componments/TabbarCom";
import { useEffect, useState } from "react";
const KeywordJoin = () => {
const [current, setcurrent] = useState(0);
const [value, setvalue] = useState(null);
return (
<View className="KeywordJoin">
{/* 步骤栏 */}
<AtSteps
items={[
{
title: "人群公告",
// desc: "这里是额外的信息,最多两行",
// status: "success",
},
{
title: "声明",
// desc: "这里是额外的信息,最多两行",
},
{
title: "再次确认",
// desc: "这里是额外的信息,最多两行",
// status: "error",
},
]}
current={current}
onChange={(target) => {
console.log("target", target);
setcurrent(target);
}}
/>
</View>
);
};
export default KeywordJoin;