加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pages.json 3.16 KB
一键复制 编辑 原始数据 按行查看 历史
howcode 提交于 2021-03-31 17:24 . 完成基本的配置
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index"
}, {
"path": "pages/login/login",
"style": {
"topWindow": false,
"leftWindow": false,
"navigationBarTitleText": "登录"
}
}, {
"path": "pages/error/404",
"style": {
"navigationBarTitleText": "Not Found"
}
}, {
"path": "pages/changepwd/changepwd",
"style": {
"navigationBarTitleText": "修改密码"
}
}, {
"path": "uni_modules/howcode-report/pages/reportdemo/reportdemo",
"style": {
"navigationBarTitleText": "报表中心"
}
}
],
"subPackages": [{
"root": "pages/system",
"pages": [{
"path": "menu/list",
"style": {
"navigationBarTitleText": "菜单管理"
}
}, {
"path": "menu/add",
"style": {
"navigationBarTitleText": "新增菜单",
"navigationStyle": "default"
}
}, {
"path": "menu/edit",
"style": {
"navigationBarTitleText": "修改菜单",
"navigationStyle": "default"
}
}, {
"path": "permission/list",
"style": {
"navigationBarTitleText": "权限管理"
}
}, {
"path": "permission/add",
"style": {
"navigationBarTitleText": "新增权限",
"navigationStyle": "default"
}
}, {
"path": "permission/edit",
"style": {
"navigationBarTitleText": "修改权限",
"navigationStyle": "default"
}
}, {
"path": "role/add",
"style": {
"navigationBarTitleText": "新增角色",
"navigationStyle": "default"
}
}, {
"path": "role/edit",
"style": {
"navigationBarTitleText": "修改角色",
"navigationStyle": "default"
}
}, {
"path": "role/list",
"style": {
"navigationBarTitleText": "角色管理"
}
}, {
"path": "user/add",
"style": {
"navigationBarTitleText": "新增用户",
"navigationStyle": "default"
}
}, {
"path": "user/edit",
"style": {
"navigationBarTitleText": "修改用户",
"navigationStyle": "default"
}
}, {
"path": "user/list",
"style": {
"navigationBarTitleText": "用户管理"
}
}]
}, {
"root": "pages/demo",
"pages": [{
"path": "init/init",
"style": {
"topWindow": false,
"leftWindow": false,
"navigationBarTitleText": "创建超级管理员"
}
}, {
"path": "icons/icons",
"style": {
"navigationBarTitleText": "图标"
}
}, {
"path": "table/table",
"style": {
"navigationBarTitleText": "表格"
}
}]
}],
"globalStyle": {
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "管理系统",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"topWindow": {
"path": "windows/topWindow",
"style": {
"height": "60px"
},
"matchMedia": {
"minWidth": 0
}
},
"leftWindow": {
"path": "windows/leftWindow",
"style": {
"width": "240px"
}
},
"condition" : { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [
{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化