From 0b88c70ed5e4c8fdcef07909ab6eeae2f8d9e26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Thu, 13 Oct 2022 16:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E8=BF=91=E6=8A=A4=E7=90=86=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 25 ++++-- pages/site/site.vue | 215 ++++++++++++++++++++++++-------------------- 2 files changed, 133 insertions(+), 107 deletions(-) diff --git a/pages.json b/pages.json index 6b2fed3..a51d0b0 100644 --- a/pages.json +++ b/pages.json @@ -3,16 +3,23 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { - "path" : "pages/site/site", - "style" : - { - "navigationBarTitleText": "附近护理站", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff"//背景颜色 - } - + "path": "pages/detail/detail", + "style": { + "navigationBarTitleText": "护理站简介", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + },{ + "path": "pages/site/site", + "style": { + "navigationBarTitleText": "附近护理站", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } }, + { "path": "pages/homepage/homepage", "style": { @@ -26,7 +33,7 @@ "navigationBarTitleText": "", "enablePullDownRefresh": false } - }, { + }, { "path": "pages/Personal/Personal", "style": { "navigationBarTitleText": "个人中心", diff --git a/pages/site/site.vue b/pages/site/site.vue index 290b0b6..dbe7fc2 100644 --- a/pages/site/site.vue +++ b/pages/site/site.vue @@ -1,30 +1,32 @@ -