{ "pages": [ { "path" : "pages/login/login", "style" : { "navigationBarTitleText": "登录", "enablePullDownRefresh": false } }, { "path" : "pages/index/index", "style" : {"navigationBarTitleText": "课程", "enablePullDownRefresh": false } }, { "path" : "pages/achievement/achievement", "style" : { "navigationBarTitleText": "成绩", "enablePullDownRefresh": true } }, { "path" : "pages/person/person", "style" : { "navigationBarTitleText": "我的", "navigationStyle": "custom", "enablePullDownRefresh": false } } ], "subPackages": [ { "root": "course", "pages": [ { "path" : "courseDetail/courseDetail", "style" : { "navigationBarTitleText": "课程详情", "enablePullDownRefresh": true } }, { "path" : "practiceDetail/practiceDetail", "style" : { "navigationBarTitleText": "练习情况", "enablePullDownRefresh": true } } ] }, { "root": "user", "pages": [ { "path" : "reg/reg", "style" : { "navigationBarTitleText": "绑定账号", "enablePullDownRefresh": false } }, { "path" : "selectAccount/selectAccount", "style" : { "navigationBarTitleText": "选择账号", "enablePullDownRefresh": false } }, { "path" : "setting/setting", "style" : { "navigationBarTitleText": "设置", "enablePullDownRefresh": false } }, { "path" : "password/password", "style" : { "navigationBarTitleText": "修改密码", "enablePullDownRefresh": false } }, { "path" : "addStaff/addStaff", "style" : { "navigationBarTitleText": "邀请成员", "enablePullDownRefresh": false } }, { "path" : "account/account", "style" : { "navigationBarTitleText": "修改账号", "enablePullDownRefresh": false } } ,{ "path" : "phone/phone", "style" : { "navigationBarTitleText": "修改手机号", "enablePullDownRefresh": false } } ,{ "path" : "email/email", "style" : { "navigationBarTitleText": "修改邮箱", "enablePullDownRefresh": false } } ,{ "path" : "qrcode/qrcode", "style" : { "navigationBarTitleText": "邀请加入", "enablePullDownRefresh": false } } ,{ "path" : "article/article", "style" : { "navigationBarTitleText": "学习", "navigationBarTextStyle": "black", "navigationBarBackgroundColor": "#fff", "enablePullDownRefresh": false } } ,{ "path" : "scheme/scheme", "style" : { "navigationBarTitleText": "方案详情", "enablePullDownRefresh": false } }, { "path" : "send/send", "style" : { "navigationBarTitleText": "下载发送", "enablePullDownRefresh": false } } ] } ], "preloadRule": { "pages/index/index": { "network": "all", "packages": ["course"] } }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "test", //模式名称 "path": "pages/login/login" //启动页面,必选 }] }, "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "慧教云舟", "navigationBarBackgroundColor": "#007EFF", "backgroundColor": "#f5f5f5", "app-plus": { "background": "#efeff4" } }, "tabBar": { "color": "#B8B9B8", "selectedColor": "#007FFF", "borderStyle": "white", "backgroundColor": "#ffffff", "fontSize": "22px", "iconWidth": "20px", "list": [{ "pagePath": "pages/index/index", "iconPath": "static/image/tab1.png", "selectedIconPath": "static/image/tab1-1.png", "text": "课程" }, { "pagePath": "pages/achievement/achievement", "iconPath": "static/image/tab2.png", "selectedIconPath": "static/image/tab2-1.png", "text": "成绩" }, { "pagePath": "pages/person/person", "iconPath": "static/image/tab4.png", "selectedIconPath": "static/image/tab4-1.png", "text": "我的" }] } }