添加页面,修改文件名
This commit is contained in:
parent
67af8e3c2b
commit
1c85a641e4
11
pages.json
11
pages.json
@ -7,6 +7,12 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"pages": [
|
"pages": [
|
||||||
|
{
|
||||||
|
"path": "pages/patient/patientList",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "患者列表"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
@ -14,11 +20,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/patient/patient",
|
"path": "pages/patient/addTask.vue",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "患者列表"
|
"navigationBarTitleText": "新增任务"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
|
|||||||
@ -29,7 +29,7 @@ const clickMenu = (value) => {
|
|||||||
switch (value) {
|
switch (value) {
|
||||||
case 0:
|
case 0:
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url:"/pages/patient/patient"
|
url:"/pages/patient/patientList"
|
||||||
})
|
})
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
5
pages/patient/addTask.vue
Normal file
5
pages/patient/addTask.vue
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<script setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<template></template>
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
Loading…
x
Reference in New Issue
Block a user