feat: 招募-表单页面

This commit is contained in:
eric
2022-11-13 22:06:36 +08:00
parent d71d7a041e
commit 354b7dcb64
6 changed files with 17 additions and 24 deletions

View File

@@ -3,6 +3,7 @@ export default {
// "pages/index/index",
"pages/home/index",
"pages/activityList/index",
"pages/formSubmit/index",
"pages/activityList/components/details/index",
"pages/mountainPeak/index",
"pages/my/index",

View File

@@ -0,0 +1,8 @@
import { View } from "@tarojs/components";
import react from "react";
const formSubmit=()=>{
return <View>formSubmit</View>
}
export default formSubmit

View File

@@ -99,8 +99,8 @@ const Home = () => {
icon="photo-o"
text="打卡"
onClick={() => {
Toast.fail({
message: "暂未开放",
Toast.success({
message: "打卡成功",
selector: "#vanToast-demo2",
});
}}
@@ -130,10 +130,10 @@ const Home = () => {
icon="photo-o"
text="招募"
onClick={() => {
Toast.fail({
message: "暂未开放",
selector: "#vanToast-demo2",
});
// 跳转到目的页面,打开新页面
Taro.navigateTo({
url: "/pages/formSubmit/index",
});
}}
/>
</Grid>