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

2
dist/app.json vendored
View File

@@ -1 +1 @@
{"pages":["pages/home/index","pages/activityList/index","pages/activityList/components/details/index","pages/mountainPeak/index","pages/my/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}
{"pages":["pages/home/index","pages/activityList/index","pages/formSubmit/index","pages/activityList/components/details/index","pages/mountainPeak/index","pages/my/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}

File diff suppressed because one or more lines are too long

View File

@@ -1,16 +0,0 @@
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"condition": {
"miniprogram": {
"list": [
{
"name": "详情",
"pathName": "pages/activityList/components/details/index",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
}
}

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>