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/index/index",
|
||||||
"pages/home/index",
|
"pages/home/index",
|
||||||
"pages/activityList/index",
|
"pages/activityList/index",
|
||||||
|
"pages/formSubmit/index",
|
||||||
"pages/activityList/components/details/index",
|
"pages/activityList/components/details/index",
|
||||||
"pages/mountainPeak/index",
|
"pages/mountainPeak/index",
|
||||||
"pages/my/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"
|
icon="photo-o"
|
||||||
text="打卡"
|
text="打卡"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
Toast.fail({
|
Toast.success({
|
||||||
message: "暂未开放",
|
message: "打卡成功",
|
||||||
selector: "#vanToast-demo2",
|
selector: "#vanToast-demo2",
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
@@ -130,10 +130,10 @@ const Home = () => {
|
|||||||
icon="photo-o"
|
icon="photo-o"
|
||||||
text="招募"
|
text="招募"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
Toast.fail({
|
// 跳转到目的页面,打开新页面
|
||||||
message: "暂未开放",
|
Taro.navigateTo({
|
||||||
selector: "#vanToast-demo2",
|
url: "/pages/formSubmit/index",
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user