{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/tabBar/component/component", "style": { "navigationBarTitleText": "内置组件" } }, { "path": "pages/component/view/view", "style": { "navigationBarTitleText": "view" } }, { "path": "pages/component/scroll-view/scroll-view", "style": { "navigationBarTitleText": "scroll-view" } }, { "path": "pages/component/text/text", "style": { "navigationBarTitleText": "text" } }, { "path": "pages/component/progress/progress", "style": { "navigationBarTitleText": "progress" } }, { "path": "pages/component/button/button", "style": { "navigationBarTitleText": "button" } }, { "path": "pages/component/radio/radio", "style": { "navigationBarTitleText": "radio" } }, { "path": "pages/component/checkbox/checkbox", "style": { "navigationBarTitleText": "checkbox" } }, { "path": "pages/component/input/input", "style": { "navigationBarTitleText": "input" } }, { "path": "pages/component/textarea/textarea", "style": { "navigationBarTitleText": "textarea" } }, { "path": "pages/component/slider/slider", "style": { "navigationBarTitleText": "slider" } }, { "path": "pages/component/switch/switch", "style": { "navigationBarTitleText": "switch" } }, { "path": "pages/component/image/image", "style": { "navigationBarTitleText": "image" } }, { "path": "pages/tabBar/API/API", "style": { "navigationBarTitleText": "接口" } }, { "path": "pages/API/navigator/navigator", "style": { "navigationBarTitleText": "页面跳转" } }, { "path": "pages/API/navigator/new-page/new-uvue-page-1", "style": { "navigationBarTitleText": "新UVUE页面1" } }, { "path": "pages/API/navigator/new-page/new-uvue-page-2", "style": { "navigationBarTitleText": "新UVUE页面2" } }, { "path": "pages/API/storage/storage", "style": { "navigationBarTitleText": "数据存储" } }, { "path": "pages/API/action-sheet/action-sheet", "style": { "navigationBarTitleText": "操作菜单" } }, { "path": "pages/API/modal/modal", "style": { "navigationBarTitleText": "模态弹窗" } }, { "path": "pages/API/show-loading/show-loading", "style": { "navigationBarTitleText": "加载提示框" } }, { "path": "pages/API/toast/toast", "style": { "navigationBarTitleText": "消息提示框" } }, { "path": "pages/API/quitApp/quitApp", "style": { "navigationBarTitleText": "退出应用" } } ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "Hello uniapp x", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#007AFF", "backgroundColor": "#F8F8F8", "backgroundColorTop": "#F4F5F6", "backgroundColorBottom": "#F4F5F6", "h5": { "maxWidth": 1190, "navigationBarTextStyle": "black", "navigationBarBackgroundColor": "#F1F1F1" } }, "tabBar": { "color": "#7A7E83", "selectedColor": "#007AFF", "borderStyle": "black", "backgroundColor": "#F8F8F8", "list": [{ "pagePath": "pages/tabBar/component/component", "iconPath": "static/component.png", "selectedIconPath": "static/componentHL.png", "text": "内置组件" }, { "pagePath": "pages/tabBar/API/API", "iconPath": "static/api.png", "selectedIconPath": "static/apiHL.png", "text": "接口" } ] }, "uniIdRouter": {}, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "", //模式名称 "path": "", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }] } }