You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
180 lines
5.1 KiB
180 lines
5.1 KiB
{ |
|
"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 |
|
} |
|
}, |
|
{ |
|
"path" : "serviceAgreement/serviceAgreement", |
|
"style" : |
|
{ |
|
"navigationBarTitleText" : "用户服务协议", |
|
"enablePullDownRefresh" : false |
|
} |
|
}, |
|
{ |
|
"path" : "privacyAgreement/privacyAgreement", |
|
"style" : |
|
{ |
|
"navigationBarTitleText" : "用户隐私协议", |
|
"enablePullDownRefresh" : false |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"root": "user", |
|
"pages": [ |
|
{ |
|
"path" : "reg/reg", |
|
"style" : |
|
{ |
|
"navigationBarTitleText": "绑定账号", |
|
"enablePullDownRefresh": false |
|
} |
|
}, |
|
{ |
|
"path" : "selectAccount/selectAccount", |
|
"style" : |
|
{ |
|
"navigationBarTitleText": "选择账号", |
|
"enablePullDownRefresh": false |
|
} |
|
}, |
|
{ |
|
"path" : "switchAccount/switchAccount", |
|
"style" : |
|
{ |
|
"navigationBarTitleText": "切换账号", |
|
"enablePullDownRefresh": false |
|
} |
|
}, |
|
{ |
|
"path" : "info/info", |
|
"style" : |
|
{ |
|
"navigationBarTitleText": "我的资料", |
|
"enablePullDownRefresh": false |
|
} |
|
}, |
|
{ |
|
"path" : "password/password", |
|
"style" : |
|
{ |
|
"navigationBarTitleText": "修改密码", |
|
"enablePullDownRefresh": false |
|
} |
|
} |
|
,{ |
|
"path" : "phone/phone", |
|
"style" : |
|
{ |
|
"navigationBarTitleText": "修改手机号", |
|
"enablePullDownRefresh": false |
|
} |
|
} |
|
,{ |
|
"path" : "email/email", |
|
"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", |
|
"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/tab3.png", |
|
"selectedIconPath": "static/image/tab3-1.png", |
|
"text": "我的" |
|
}] |
|
} |
|
}
|
|
|