uni-app learning record 01-pages configuration items

{
     " Pages " : [ // Pages array entry indicates a first application launch page, Reference: https://uniapp.dcloud.io/collocation/pages 
        {
             " path " : " Pages / index / index " ,
             " style " : {
                 " navigationBarTitleText " : " Home "
            }
        }
        // to set the route 
        , {
             // path is the path of a single page 
            " path " : " Pages / shouye / shouye " ,
             // style for each page of the status bar, the navigation bar, the title, the window background color, etc. . 
            " Style " : {
                 " navigationBarTitleText " : " Order "
            }
        }
        ,{
            "path" : "pages/shezhi/shezhi",
            "style" : {
                "navigationBarTitleText": "设置"
            }
        }
    ],
    // the tabBar to set the bottom of the navigation least 2 bar up to 5 bar 
    " the tabBar " : {
         " Color " : " # F0F0F0 " ,
         " 's selectedColor " : " # 3cc51f " ,
         " the borderStyle " : " Black " ,
         " the backgroundColor " : " #FFFFFF " ,
         " List " : [{
             // set the bottom of the navigation route 
            "pagePath": " Pages and the / index / index " ,
             // set the name of the bottom navigation bar of the 
            " text " : " Home " ,
             // icon is displayed when the setting is not selected 
            , " iconPath " : " static / icon_ck8ejdbukbf / shouye.png " ,
             // Set the selected icon displayed 
            " selectedIconPath " : " static / icon_yboweg9a00s / shouye.png "
        }, {
            "pagePath": "pages/shouye/shouye",            
            "text": "订单",
            "iconPath":"static/icon_ck8ejdbukbf/dingdan.png",
            "selectedIconPath":"static/icon_yboweg9a00s/shouji.png"
        }, {
            "pagePath": "pages/shezhi/shezhi",
            "text": "设置",
            "iconPath":"static/icon_ck8ejdbukbf/shezhi.png",
            "selectedIconPath":"static/icon_yboweg9a00s/shezhi.png"
        }]
    },
    "globalStyle": {
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "uni-app",
        "navigationBarBackgroundColor": "#F8F8F8",
        "backgroundColor": "#F8F8F8"
    }
}

 

Guess you like

Origin www.cnblogs.com/wanguofeng/p/11717552.html