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

Swipe 组件不显示 #174

Closed
jessetu opened this issue Oct 9, 2017 · 2 comments
Closed

Swipe 组件不显示 #174

jessetu opened this issue Oct 9, 2017 · 2 comments

Comments

@jessetu
Copy link

jessetu commented Oct 9, 2017

demo是将高度直接设为200px,。
建议添加

.van-swipe-item:first-child {
    position: relative;
}

这样高度会根据图片等比缩放

@pangxie1991
Copy link
Contributor

swipe 组件现在需要手动指定显示高度,所以在 demo 里面设置了高度为 200px。

这个组件我们后期会整体再优化下~

@chenjiahan
Copy link
Member

已在 vant 0.10.0 中优化

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