加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 13.09 KB
一键复制 编辑 原始数据 按行查看 历史
LDY.GZU 提交于 2023-10-30 20:13 . first commit
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#333333",
"navigationBarTextStyle": "#ffb612",
"app-plus": {
"popGesture": "none",
"titleNView": {
"autoBackButton": false
}
}
}
}, {
"path": "pages/index/index",
"style": {
// "navigationBarTitleText": "首页"
"navigationStyle": "custom"
}
}, {
"path": "components/RepairInformation/RepairInformation",
"style": {
"navigationBarBackgroundColor": "#feb51d",
// "navigationBarTextStyle":"white",//仅支持 black/white
"navigationBarTitleText": "填写报修信息",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/register/register",
"style": {
"navigationBarTitleText": "注册",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#4F4F4F",
"navigationBarTextStyle": "#ffb612"
}
}, {
"path": "pages/allServer/allServer",
"style": {
"navigationBarTitleText": "所有服务",
"enablePullDownRefresh": false
}
}, {
"path": "pages/mine/mine",
"style": {
// "navigationBarTitleText": "我的",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "components/repair-mine/repair-mine",
"style": {
// "navigationBarTitleText": "维修员我的",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/forget/forget",
"style": {
"navigationBarTitleText": "忘记密码",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#4F4F4F",
"navigationBarTextStyle": "#ffb612"
}
},
{
"path": "components/serverItem/serverItem",
"style": {
"navigationBarTitleText": "服务",
"enablePullDownRefresh": false
}
},
{
"path": "components/serverList/serverList",
"style": {
"navigationBarTitleText": "服务列表",
"enablePullDownRefresh": false
}
},
{
"path": "components/serverItemIndex/serverItemIndex",
"style": {
"navigationBarTitleText": "首页单项服务框架",
"enablePullDownRefresh": false
}
},
{
"path": "pages/setting/setting",
"style": {
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#4f4f4f",
"navigationBarTextStyle": "#ffb612"
}
},
{
"path": "subpkg/goods-search",
"style": {
"navigationBarTitleText": "搜索",
"enablePullDownRefresh": false
}
},
{
"path": "subpkg/camera",
"style": {
"navigationBarTitleText": "相机",
"enablePullDownRefresh": false
}
},
{
"path": "components/server/server",
"style": {
"navigationBarTitleText": "服务",
"enablePullDownRefresh": false
}
},
{
"path": "components/uniDataSelect/uniDataSelect",
"style": {
"navigationBarTitleText": "下拉组件",
"enablePullDownRefresh": false
}
},
{
"path": "components/choosePosition/choosePosition",
"style": {
"navigationBarTitleText": "选择报修地点",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
// ,
// {
// "path": "components/tencentMap/tencentMap",
// "style": {
// "navigationBarTitleText": "腾讯地图",
// "enablePullDownRefresh": false
// }
// }
, {
"path": "pages/accessories/accessories",
"style": {
// "navigationBarTitleText": "配件",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"pullDownRefreshStyle": {
"z-index": 99999999999 // 设置一个较高的 z-index
}
}
}
, {
"path": "components/base-tab/base-tab",
"style": {
"navigationBarTitleText": "基础Tab栏",
"enablePullDownRefresh": false
}
},
{
"path": "components/base-tab-list/base-tab-list",
"style": {
"navigationBarTitleText": "list基础Tab栏",
"enablePullDownRefresh": false
}
},
{
"path": "components/base-tab-list-tabbar/base-tab-list-tabbar",
"style": {
"navigationBarTitleText": "自定义底部Tab栏",
"enablePullDownRefresh": false
}
}, {
"path": "components/universal-item-ccessories/universal-item-ccessories",
"style": {
"navigationBarTitleText": "配件item",
"enablePullDownRefresh": false
}
}, {
"path": "pages/test/test",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/changename/changename",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/application/application",
"style": {
"navigationBarTitleText": "认证审核",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#333333",
"navigationBarTextStyle": "#ffb612"
}
}, {
"path": "components/my-picker-application/my-picker-application",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "components/my-picker/my-picker",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/equipment-maintenance/equipment-maintenance",
"style": {
"navigationBarTitleText": "填写保养信息",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "components/bottom-submit/bottom-submit",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "components/top-common/top-common",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,
{
"path": "pages/task-option-details/task-option-details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/equipment/equipment",
"style": {
"navigationBarTitleText": "我的设备",
"navigationStyle": "custom",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"buttons": [{
"text": "删除",
"fontSize": "16px",
"width": "60px"
}
],
"buttons": [{
"text": "添加",
"fontSize": "16px",
"width": "60px"
}
]
}
}
}
},
{
"path": "pages/equipment/loseEquipment",
"style": {
"navigationBarTitleText": "删除",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px",
"width": "60px"
}]
}
}
}
},
{
"path": "pages/equipment/addEquipment",
"style": {
"navigationBarTitleText": "添加设备",
"navigationBarTextStyle": "#ffb612",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "search",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/order-list/order-list",
"style": {
"navigationBarBackgroundColor": "#333333",
"navigationBarTextStyle": "#ffb612",
"navigationBarTitleText": "订单列表",
"enablePullDownRefresh": false,
"onReachBottomDistance": 200,
"navigationStyle": "custom"
}
}, {
"path": "components/order-list-item/order-list-item",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "components/task/task",
"style": {
"navigationBarTitleText": "任务",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "components/general-tasks/general-tasks",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "components/task-top-details/task-top-details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/task-check-details/task-check-details",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
}
, {
"path": "pages/task-repair-details/task-repair-details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "components/accessories-use-item/accessories-use-item",
"style": {
"navigationBarTitleText": "accessories-use-item",
"enablePullDownRefresh": false
}
}, {
"path": "pages/maintenance-worker/maintenance-worker",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
}, {
"path": "pages/userInfo/userInfo",
"style": {
"navigationBarTitleText": "个人资料",
"navigationBarTextStyle": "#ffb612",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/userInfo/repair-userInfo",
"style": {
"navigationBarTitleText": "个人资料",
"navigationBarTextStyle": "#ffb612",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/payConfirm/payConfirm",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/payConfirm/payAttachment",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/order-state/order-state",
"style": {
"navigationBarBackgroundColor": "#333333",
"navigationBarTitleText": "订单状态",
"navigationBarTextStyle": "#ffb612",
"enablePullDownRefresh": false
}
}, {
"path": "pages/orderReport/orderReport",
"style": {
"navigationBarBackgroundColor": "#333333",
"navigationBarTitleText": "维修报告",
"navigationBarTextStyle": "#ffb612",
"enablePullDownRefresh": false
}
}, {
"path": "pages/order-list/order-repair-list",
"style": {
"navigationBarBackgroundColor": "#333333",
"navigationBarTitleText": "订单列表",
"navigationBarTextStyle": "#ffb612",
"enablePullDownRefresh": false,
"onReachBottomDistance": 200
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"tabBar": {
"color": "#fff",
"selectedColor": "#3cc51f",
"borderStyle": "black",
"backgroundColor": "#4f4f4f",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/image/bottom-tabbar/index.png", //非选中时的图片
"selectedIconPath": "static/image/bottom-tabbar/chooseIndex.png", //选中时的图片
"text": "首页"
}, {
"pagePath": "pages/accessories/accessories",
"iconPath": "static/image/bottom-tabbar/Accessories.png", //非选中时的图片
"selectedIconPath": "static/image/bottom-tabbar/chooseAccessories.png", //选中时的图片
"text": "配件"
}, {
"pagePath": "pages/mine/mine",
"iconPath": "static/image/bottom-tabbar/mine.png", //非选中时的图片
"selectedIconPath": "static/image/bottom-tabbar/chooseMine.png", //选中时的图片
"text": "我的"
}]
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序定位"
}
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
},
"requiredPrivateInfos": [
"getLocation"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化