feat: 注册步骤条

This commit is contained in:
eric
2022-11-20 10:28:26 +08:00
parent dd54abf0b9
commit bd237b2ff9
3 changed files with 30 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,32 @@
import { View } from "@tarojs/components";
import react from "react";
import { Steps } from "@antmjs/vantui";
const formSubmit=()=>{
return <View>formSubmit</View>
}
const formSubmit = () => {
const steps = [
{
text: "步骤一",
desc: "描述信息",
},
{
text: "步骤二",
desc: "描述信息",
},
{
text: "步骤三",
desc: "描述信息",
},
{
text: "步骤四",
desc: "描述信息",
},
];
export default formSubmit
return (
<View>
<Steps steps={steps} active={2} />
</View>
);
};
export default formSubmit;

View File

@@ -52,6 +52,7 @@ const my = (props: any) => {
</View>
<View className="cellArr">
<Cell icon="manager" title="打卡记录" isLink />
<Cell icon="manager" title="个人资料" isLink />
{/* <Cell title="收藏" isLink /> */}
<Cell