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

使用antd-mobile,界面显示和官网不一样 #366

Closed
leilihuang opened this issue Oct 12, 2016 · 6 comments
Closed

使用antd-mobile,界面显示和官网不一样 #366

leilihuang opened this issue Oct 12, 2016 · 6 comments

Comments

@leilihuang
Copy link

本地环境

配置如下
image

  • antd-mobile 版本:0.9.1
  • 操作系统及其版本:win10
  • 浏览器及其版本:google

你做了什么?

代码是复制官网的顶部导航栏
image

你期待的结果是:

像官网一样正常显示

实际上的结果:

界面显示如下
image

我对比了一下官网的demo发现少了NavBar的样式,但是运行没有报错

可重现的在线演示

@leilihuang
Copy link
Author

不是这里
image
配置了,就不用在js里面引用css嘛

@leilihuang
Copy link
Author

在入口JS里面添加了样式还是显示不正常
image

@leilihuang
Copy link
Author

@silentcloud 在JSX入口文件里面引用了css也没效果

@afc163 afc163 mentioned this issue Oct 12, 2016
3 tasks
@yiminghe
Copy link
Contributor

参考 #56

不要引 dist css

@leilihuang
Copy link
Author

@yiminghe 去掉了显示也不对

@liuyaoao
Copy link

我也遇到了同样的问题,请问下有什么好的解决办法吗?

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

3 participants