feat: 招募-表单页面
This commit is contained in:
@@ -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",
|
||||
|
||||
8
src/pages/formSubmit/index.tsx
Normal file
8
src/pages/formSubmit/index.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { View } from "@tarojs/components";
|
||||
import react from "react";
|
||||
|
||||
const formSubmit=()=>{
|
||||
return <View>formSubmit</View>
|
||||
}
|
||||
|
||||
export default formSubmit
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user