首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >uniapp条件编译

uniapp条件编译

作者头像
田
发布于 2022-10-31 17:00:26
发布于 2022-10-31 17:00:26
1.4K0
举报
文章被收录于专栏:IT杂症IT杂症
代码语言:javascript
复制
"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
        ]
    }
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年08月02日,如有侵权请联系 cloudcommunity@tencent.com 删除
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档