成长小破站

uniapp条件编译

uniapp条件编译

"tabBar": {
        "list": [{
            "text": "首页",
            "pagePath": "pages/index/index",
            "iconPath": "static/tabs/myleft_.png",
            "selectedIconPath": "static/tabs/myleft.png"
        }, {
            "text": "运营",
            "pagePath": "pages/calendar/calendar",
            "iconPath": "static/tabs/5.png",
            "selectedIconPath": "static/tabs/5-1.png"
        }, {
            "text": "消息",
            "pagePath": "pages/message/message",
            "iconPath": "static/tabs/4.png",
            "selectedIconPath": "static/tabs/4-1.png"
        }
        //#ifdef MP-WEIXIN 
        , {
            "text": "我的",
            "pagePath": "pages/user/userxiao",
            "iconPath": "static/tabs/my_.png",
            "selectedIconPath": "static/tabs/my.png"
        }
        //#endif
        //#ifdef H5 || APP-PLUS
        , {
            "text": "我的",
            "pagePath": "pages/user/user",
            "iconPath": "static/tabs/my_.png",
            "selectedIconPath": "static/tabs/my.png"
        }
        //#endif
        ]
    }
来都来了,留个言吧🙂