12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- {
- "pages": [
- //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
- }, {
- "path": "pages/menu/menu",
- "style": {
- "navigationStyle": "default",
- "navigationBarTitleText": "应用广场",
- "app-plus": {
- "titleNView": {
- "buttons": [{
- //设置导航栏右边的按钮
- "color": "#FFFFFF",
- "text": "退出登录",
- "type": "none",
- "fontSize": "15",
- "fontWeight": "normal"
- }]
- }
- },
- "enablePullDownRefresh": false
- }
- }, {
- "path": "pages/billlist/billlist",
- "style": {
- "navigationStyle": "default",
- "navigationBarTitleText": "质量反馈单据列表",
- "app-plus": {
- "titleNView": {
- "backgroundImage": "static/BasicsBg.png"
- }
- },
- "enablePullDownRefresh": false
- }
- }, {
- "path": "pages/detail/detail",
- "style": {
- //navigationStyle属性值为custom时没有导航栏,为default时有
- //在本文件 globalStyle 属性里设置为custom无导航栏,在单个页面中设置有导航栏
- "navigationStyle": "default",
- "navigationBarTitleText": "质量反馈明细",
- "app-plus": { //APP端扩展设置
- "titleNView": { //原生导航栏配置参数
- "backgroundImage": "linear-gradient(to top left, #0081ff, #1cbbb4)"
- }
- },
- "enablePullDownRefresh": false
- }
- }
- ],
- "globalStyle": {
- "mp-alipay": {
- /* 支付宝小程序特有相关 */
- "transparentTitle": "always",
- "allowsBounceVertical": "NO"
- },
- "navigationBarBackgroundColor": "#0081ff",
- "navigationBarTitleText": "ColorUi for UniApp",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
- },
- "usingComponts": true,
- "condition": { //模式配置,仅开发期间生效
- "current": 0, //当前激活的模式(list 的索引项)
- "list": [{
- "name": "表单", //模式名称
- "path": "", //TODO:“pages/login/login” "pages/component/xxx", //启动页面
- "query": "" //启动参数
- }]
- }
- }
|