From 78d2c1a2f7d57500b70e86d6138f2a5e62d0f0fd Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期三, 26 六月 2024 20:19:26 +0800 Subject: [PATCH] 1 --- pages.json | 135 +++++++++++++++++++++++++++++--------------- 1 files changed, 88 insertions(+), 47 deletions(-) diff --git a/pages.json b/pages.json index 36c06da..65fcb7f 100644 --- a/pages.json +++ b/pages.json @@ -1,12 +1,16 @@ { + // 如果您是通过uni_modules形式引入uView,可以忽略此配置 + "easycom": { + "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" + }, "pages": [{ - "path" : "pages/home/login/farmer-login", - "style" : - { - "navigationBarTitleText" : "登录", - "enablePullDownRefresh" : false + "path": "pages/login/farmer-login", + "style": { + "navigationBarTitleText": "登录", + "enablePullDownRefresh": false, + "navigationStyle": "custom" } - },{ + }, { "path": "pages/home/farmer-home", "style": { "navigationBarTitleText": "首页", @@ -14,7 +18,7 @@ "navigationStyle": "custom" } - } , { + }, { "path": "pages/user/farmer-user", "style": { "navigationBarTitleText": "我的", @@ -40,51 +44,90 @@ "path": "pages/order/order", "style": { "navigationBarTitleText": "我的订单", + "enablePullDownRefresh": true + } + }, + + { + "path": "pages/notice/notice", + "style": { + "navigationBarTitleText": "通知公告", "enablePullDownRefresh": false } }, - { - "path" : "pages/home/login/farmer-reg", - "style" : - { - "navigationBarTitleText" : "注册", - "enablePullDownRefresh" : false + "path": "pages/notice/list", + "style": { + "navigationBarTitleText": "通知公告", + "enablePullDownRefresh": true } }, { - "path" : "pages/farmer/manage/order-settlement/order-settlement", + "path" : "pages/user/user-pwd/user-pwd", "style" : { - "navigationBarTitleText" : "账单结算", - "enablePullDownRefresh" : false - } - }, - { - "path" : "pages/farmer/manage/flower-manage/flower-manage", - "style" : - { - "navigationBarTitleText" : "商品管理", - "enablePullDownRefresh" : false - } - }, - { - "path" : "pages/farmer/order-sale/order-sale", - "style" : - { - "navigationBarTitleText" : "售后理赔", - "enablePullDownRefresh" : false - } - }, - { - "path" : "pages/farmer/order-records/order-records", - "style" : - { - "navigationBarTitleText" : "扣款记录", + "navigationBarTitleText" : "修改密码", "enablePullDownRefresh" : false } } ], + + "subPackages": [{ + "root": "sub_pages/farmer", + "pages": [{ + "path": "farmer-info/farmer-info", + "style": { + "navigationBarTitleText": "信息维护", + "enablePullDownRefresh": false + } + }, { + "path": "order-settlement/order-settlement", + "style": { + "navigationBarTitleText": "账单结算", + "enablePullDownRefresh": true + } + }, + { + "path": "flower-manage/flower-manage", + "style": { + "navigationBarTitleText": "商品管理", + "enablePullDownRefresh": true + } + }, + { + "path": "order-sale/order-sale", + "style": { + "navigationBarTitleText": "售后理赔", + "enablePullDownRefresh": true + } + }, + { + "path": "order-records/order-records", + "style": { + "navigationBarTitleText": "扣款记录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#E6F2EB" + + } + }, + { + "path": "flower-manage/flower-add", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, + { + "path": "farmer-reg/farmer-reg", + "style": { + "navigationBarTitleText": "申请入住", + "navigationStyle": "custom" + } + } + ] + + + }], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", @@ -94,14 +137,12 @@ "background": "#efeff4" } }, - "condition" : { //模式配置,仅开发期间生效 + "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) - "list": [ - { - "name": "", //模式名称 - "path": "", //启动页面,必选 - "query": "" //启动参数,在页面的onLoad函数里面得到 - } - ] + "list": [{ + "name": "", //模式名称 + "path": "", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + }] } } \ No newline at end of file -- Gitblit v1.9.3