账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    小程序自定义tabbar怎么能像原生的一样不会闪烁
    28
    0

    现在自定义tabbar是封装了一个component

    <view class="tabbar-bottom-container">
          <navigator open-type='redirect' url='/pages/index/index' hover-class='none' class='item selected'><view class='item'>歌姬动态</view></navigator>
           <navigator open-type='redirect' url='/pages/index/index' hover-class='none' class='item'><view class='item'>歌姬介绍</view></navigator>
            <navigator open-type='redirect' url='/pages/index/index' hover-class='none' class='item'><view class='item'>基地介绍</view></navigator>
             <navigator open-type='redirect' url='/pages/index/index' hover-class='none' class='item'><view class='item'>排行榜</view></navigator>
              <navigator open-type='redirect' url='/pages/index/index' hover-class='none' class='item'><view class='item'>个人中心</view></navigator>
    </view>

    大概这样 因为原生的限制了5项 并且有样式的限制 所以想自定义
    但是因为是跳转的所以会闪烁
    不能像在app.json配置的那样 只加载内容tabbar是固定的

    求大神指教 该如何实现这里

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部