feat: 新增需求
This commit is contained in:
102
pages.json
102
pages.json
@@ -6,27 +6,27 @@
|
||||
"^jnpf-(.*)": "@/components/Jnpf/$1/index.vue"
|
||||
}
|
||||
},
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
"pages": [
|
||||
// #ifdef APP
|
||||
{
|
||||
"path": "pages/launch/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/launch/policy",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/launch/guide",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
// #endif
|
||||
@@ -34,14 +34,14 @@
|
||||
"path": "pages/login/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/sso-redirect",
|
||||
"style": {
|
||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -62,17 +62,18 @@
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "JNPF快速开发平台",
|
||||
"app-plus": {
|
||||
"bounce": "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
|
||||
"bounce": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/indexWork",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "综合监控系统",
|
||||
"app-plus": {
|
||||
"bounce": "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
|
||||
"bounce": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -83,11 +84,14 @@
|
||||
"navigationBarTitleText": "%app.tabBar.dashboard%"
|
||||
}
|
||||
},
|
||||
// 核心修改:将审批中心页面移到根pages数组(删除分包里的同名配置)
|
||||
{
|
||||
"path": "pages/index/message",
|
||||
"path": "pages/workFlow/flowTodo/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "%app.tabBar.message%"
|
||||
"navigationBarTitleText": "审批中心", // 审批中心标题
|
||||
"app-plus": {
|
||||
"bounce": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
// #ifndef MP
|
||||
@@ -122,15 +126,16 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [{
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/portal",
|
||||
"pages": [
|
||||
// #ifndef MP
|
||||
{
|
||||
"path": "applyPortal/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
// #endif
|
||||
@@ -138,8 +143,8 @@
|
||||
{
|
||||
"path": "mpPortal/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||
"navigationBarTextStyle": "black" // 状态栏字体为白色
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
// #endif
|
||||
@@ -153,7 +158,8 @@
|
||||
},
|
||||
{
|
||||
"root": "pages/message",
|
||||
"pages": [{
|
||||
"pages": [
|
||||
{
|
||||
"path": "messageDetail/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "详情"
|
||||
@@ -175,7 +181,8 @@
|
||||
},
|
||||
{
|
||||
"root": "pages/workFlow",
|
||||
"pages": [{
|
||||
"pages": [
|
||||
{
|
||||
"path": "flowBefore/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
@@ -226,7 +233,7 @@
|
||||
{
|
||||
"path": "schedule/detail",
|
||||
"style": {
|
||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "详情",
|
||||
"app-plus": {
|
||||
"titleNView": false,
|
||||
@@ -262,12 +269,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "flowTodo/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "审批中心"
|
||||
}
|
||||
},
|
||||
// 注意:删除分包里的flowTodo/index配置(已移到根pages)
|
||||
// #ifdef MP
|
||||
{
|
||||
"path": "filePreview/index",
|
||||
@@ -326,16 +328,19 @@
|
||||
},
|
||||
{
|
||||
"root": "pages/commonPage",
|
||||
"pages": [{
|
||||
"path": "morePage/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "常用菜单"
|
||||
"pages": [
|
||||
{
|
||||
"path": "morePage/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "常用菜单"
|
||||
}
|
||||
}
|
||||
}]
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages/apply",
|
||||
"pages": [{
|
||||
"pages": [
|
||||
{
|
||||
"path": "menu/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "应用功能"
|
||||
@@ -356,7 +361,7 @@
|
||||
{
|
||||
"path": "catalog/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom" // 隐藏系统导航栏
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -462,7 +467,8 @@
|
||||
},
|
||||
{
|
||||
"root": "pages/my",
|
||||
"pages": [{
|
||||
"pages": [
|
||||
{
|
||||
"path": "contacts/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "%app.my.contacts%"
|
||||
@@ -481,7 +487,8 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "用户列表"
|
||||
}
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"path": "settings/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "%app.my.setting%",
|
||||
@@ -586,15 +593,11 @@
|
||||
"preloadRule": {
|
||||
"pages/index/message": {
|
||||
"network": "all",
|
||||
"packages": [
|
||||
"pages/message"
|
||||
]
|
||||
"packages": ["pages/message"]
|
||||
},
|
||||
"pages/index/my": {
|
||||
"network": "all",
|
||||
"packages": [
|
||||
"pages/my"
|
||||
]
|
||||
"packages": ["pages/my"]
|
||||
}
|
||||
},
|
||||
"tabBar": {
|
||||
@@ -604,25 +607,18 @@
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/indexWork",
|
||||
"text": "%app.tabBar.home1%",
|
||||
"iconPath": "static/image/tabbar/home.png",
|
||||
"selectedIconPath": "static/image/tabbar/homeHL.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "%app.tabBar.home%",
|
||||
"iconPath": "static/image/tabbar/home.png",
|
||||
"selectedIconPath": "static/image/tabbar/homeHL.png"
|
||||
},
|
||||
|
||||
// {
|
||||
// "pagePath": "pages/index/dashboard",
|
||||
// "text": "%app.tabBar.dashboard%",
|
||||
// "iconPath": "static/image/tabbar/workFlow.png",
|
||||
// "selectedIconPath": "static/image/tabbar/workFlowHL.png"
|
||||
// "pagePath": "pages/index/index",
|
||||
// "text": "%app.tabBar.home%",
|
||||
// "iconPath": "static/image/tabbar/home.png",
|
||||
// "selectedIconPath": "static/image/tabbar/homeHL.png"
|
||||
// },
|
||||
{
|
||||
"pagePath": "pages/index/message",
|
||||
"pagePath": "pages/workFlow/flowTodo/index",
|
||||
"text": "%app.tabBar.task%",
|
||||
"iconPath": "static/image/tabbar/message.png",
|
||||
"selectedIconPath": "static/image/tabbar/messageHL.png"
|
||||
|
||||
Reference in New Issue
Block a user