From f2ed53b7fb41b1d15334934bf8caeea798ddcf2f Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期四, 27 六月 2024 16:51:41 +0800
Subject: [PATCH] 1
---
pages.json | 138 +++++++++++++++++++++++++++------------------
1 files changed, 82 insertions(+), 56 deletions(-)
diff --git a/pages.json b/pages.json
index 36c06da..37630ff 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,19 +18,12 @@
"navigationStyle": "custom"
}
- } , {
+ }, {
"path": "pages/user/farmer-user",
"style": {
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/user-collection/user-collection",
- "style": {
- "navigationBarTitleText": "我的收藏",
- "enablePullDownRefresh": true
}
},
{
@@ -37,54 +34,85 @@
}
},
{
- "path": "pages/order/order",
+ "path": "pages/notice/notice",
"style": {
- "navigationBarTitleText": "我的订单",
+ "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 +122,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