pages.json文件配置

{
    "pages" : [
        //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
        {
            "path" : "pages/home/home",
            "style" : {
                "navigationBarTitleText" : "智慧城市",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "pages/fw/fw",
            "style" : {
                "navigationBarTitleText" : "全部服务",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "pages/fp/fp",
            "style" : {
                "navigationBarTitleText" : "精准扶贫",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "pages/xw/xw",
            "style" : {
                "navigationBarTitleText" : "新闻",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "pages/gr/gr",
            "style" : {
                "navigationBarTitleText" : "个人中心",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/lbt/lbt",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/se/se",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/newpage/newpage",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/zt/zt",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/newlistpage/newlistpage",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/fwzj/fwzj",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/newlistpage/fy",
            "style" : {}
        },
        {
            "path" : "component/grzy/grzy",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/grzy/user/user",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/grzy/shop/shop",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/grzy/setpassword/setpassword",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/grzy/feedback/feedback",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/server/tingche/tingche",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/server/tingche/tingchejilu/tingchejilu",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/server/tingche/tingchexq/tingchexq",
            "style" : {
                "navigationBarTitleText" : "",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "component/server/csdt/csdt",
            "style" : {}
        }
        ,{
            "path" : "component/server/csdt/xlxq/xlxq",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/bus/bus",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/bus/busxx/busxx",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/mengzhengyuyue/mengzhengyuyue",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/mengzhengyuyue/doxq/doxq",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/mengzhengyuyue/doxq/kp/kp",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/mengzhengyuyue/doxq/bd/bd",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/mengzhengyuyue/doxq/kpxg/kpxg",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/jiaoton/jiaoton",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/jiaoton/jtxx/jtxx",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/shenghuojf/shenghuojf",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/shenghuojf/sf/sf",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/shenghuojf/df/df",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/server/shenghuojf/xc/xc",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
        ,{
            "path" : "component/qbfw/qbfw",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "",
                "enablePullDownRefresh": false
            }
            
        }
    ],
    "globalStyle" : {
        "navigationBarTextStyle" : "black",
        "navigationBarTitleText" : "uni-app",
        "navigationBarBackgroundColor" : "#F8F8F8",
        "backgroundColor" : "#F8F8F8"
    },
    "tabBar" : {
        "list" : [
            {
                "pagePath" : "pages/home/home",
                "iconPath" : "static/zy.png",
                "selectedIconPath" : "static/zyx.png",
                "text" : "首页"
            },
            {
                "pagePath" : "pages/fw/fw",
                "iconPath" : "static/fw.png",
                "selectedIconPath" : "static/fwx.png",
                "text" : "全部服务"
            },
            {
                "pagePath" : "pages/fp/fp",
                "iconPath" : "static/fp.png",
                "selectedIconPath" : "static/fpx.png",
                "text" : "精准扶贫"
            },
            {
                "pagePath" : "pages/xw/xw",
                "iconPath" : "static/xw.png",
                "selectedIconPath" : "static/xwx.png",
                "text" : "新闻"
            },
            {
                "pagePath" : "pages/gr/gr",
                "iconPath" : "static/my.png",
                "selectedIconPath" : "static/myx.png",
                "text" : "个人中心"
            }
        ]
    },
    "condition" : {
        //模式配置,仅开发期间生效
        "current" : 0, //当前激活的模式(list 的索引项)
        "list" : [
            {
                "name" : "", //模式名称
                "path" : "", //启动页面,必选
                "query" : "" //启动参数,在页面的onLoad函数里面得到
            }
        ]
    }
}

上一篇:用Vue实现拖拽效果


下一篇:为什么不用C++写游戏(聪明的程序员不用C++折磨自己)(这些工作,QT都替开发者解决了,C++没有根类导致太多的问题,也没有字符串类)