feat: 招募-表单页面
This commit is contained in:
2
dist/app.json
vendored
2
dist/app.json
vendored
@@ -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"}}
|
||||
2
dist/pages/home/index.js
vendored
2
dist/pages/home/index.js
vendored
File diff suppressed because one or more lines are too long
16
dist/project.private.config.json
vendored
16
dist/project.private.config.json
vendored
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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,9 +130,9 @@ const Home = () => {
|
||||
icon="photo-o"
|
||||
text="招募"
|
||||
onClick={() => {
|
||||
Toast.fail({
|
||||
message: "暂未开放",
|
||||
selector: "#vanToast-demo2",
|
||||
// 跳转到目的页面,打开新页面
|
||||
Taro.navigateTo({
|
||||
url: "/pages/formSubmit/index",
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user