Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信中使用van-tabbar,to不起作用 #1058

Closed
leeyongyao opened this issue May 13, 2018 · 2 comments
Closed

微信中使用van-tabbar,to不起作用 #1058

leeyongyao opened this issue May 13, 2018 · 2 comments

Comments

@leeyongyao
Copy link

leeyongyao commented May 13, 2018

微信中使用van-tabbar,to不起作用,浏览器中可以正常使用

<van-tabbar v-model="active" class="home_tabbar">
      <van-tabbar-item icon="home" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="chat" to="/ErrorInfo" info="20">预警</van-tabbar-item>
      <van-tabbar-item icon="records" dot>监测</van-tabbar-item>
      <van-tabbar-item icon="logistics">出库</van-tabbar-item>
      <van-tabbar-item icon="contact">我的</van-tabbar-item>
    </van-tabbar>
@leeyongyao
Copy link
Author

我修改了一些样式,我现在去掉这样样式之后就可以了,这是为什么呢

.van-tabbar{
    height: 60px;
  }
  .van-tabbar-item__text{
    font-size: 14px;
  }
  .van-tabbar-item__icon{
    font-size: 20px;
  }

@chenjiahan
Copy link
Member

未复现这个问题,可能是其他样式造成的干扰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants