The applet modifies the default home page without tabBar

Since the company is a paying user, it can enter the investment. The home page and tourist users cannot enter, so the home page does not have a tab. The applet implements the home page index by default, and binds the tabbar.

{
    
    
    "pages": [
        "pages/guide/guide",
        "pages/index/index",
        "pages/my/my",
        "pages/ad/index",
        "pages/course/course",
        "pages/course/courseDetail/courseDetail",
        "pages/course/alterProblem/alterProblem",
        "pages/course/evaluateSuccess/evaluateSuccess",
        "pages/course/evaluate/evaluate",
        "pages/course/finish/finish",
        "pages/course/canceled/canceled",
        "pages/course/questionEdit/questionEdit",
        "pages/course/appointmentSuccess/appointmentSuccess"
    ],
    "window": {
    
    
        "backgroundTextStyle": "light",
        "navigationBarBackgroundColor": "#fff",
        "navigationBarTitleText": "私教",
        "navigationBarTextStyle": "black"
    },
    "tabBar": {
    
    
        "color": "#999999",
        "selectedColor": "#FF8039",
        "backgroundColor": "#FFFFFF",
        "borderStyle": "black",
        "list": [
            {
    
    
                "pagePath": "pages/index/index",
                "text": "预约",
                "iconPath": "static/images/tabbar/INDEX_DEFAULT.png",
                "selectedIconPath": "static/images/tabbar/INDEX_ACTIVE.png"
            },
            {
    
    
                "pagePath": "pages/course/course",
                "text": "上课",
                "iconPath": "static/images/tabbar/LESSON_DEFAULT.png",
                "selectedIconPath": "static/images/tabbar/LESSON_ACTIVE.png"
            },
            {
    
    
                "pagePath": "pages/my/my",
                "text": "我的",
                "iconPath": "static/images/tabbar/MY_DEFAULT.png",
                "selectedIconPath": "static/images/tabbar/MY_ACTIVE.png"
            }
        ]
    },
    "usingComponents": {
    
    
        "i-icon": "/components/basic/iconfont/iconfont",
        "empty": "/components/basic/empty/index"
    },
    "style": "v2",
    "sitemapLocation": "sitemap.json"
}

insert image description here

Guess you like

Origin blog.csdn.net/sinat_36017053/article/details/121138282