添加页面,修改文件名

This commit is contained in:
chenhaizhao 2025-12-26 10:05:06 +08:00
parent 67af8e3c2b
commit 1c85a641e4
4 changed files with 15 additions and 3 deletions

View File

@ -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",

View File

@ -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;

View File

@ -0,0 +1,5 @@
<script setup>
</script>
<template></template>
<style lang="scss" scoped></style>