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

大神,可否实现下拉无限滚动? #101

Open
WGinit opened this issue Nov 20, 2017 · 3 comments
Open

大神,可否实现下拉无限滚动? #101

WGinit opened this issue Nov 20, 2017 · 3 comments
Assignees

Comments

@WGinit
Copy link

WGinit commented Nov 20, 2017

问题是什么

问题的具体描述,尽量详细

环境

  • 手机: 小米6
  • 系统:安卓7.1.1
  • 浏览器:chrome 61
  • zepto版本:1.1
  • zepto.fullpage版本:v0.5.0

在线例子

如果有请提供在线例子

其他

其他信息

@yanhaijing
Copy link
Owner

???你是说这种单屏滚动效果,能有无限多屏?

@WGinit
Copy link
Author

WGinit commented Nov 22, 2017

从后台取得数据想一屏显示一条,动态增减dom这样子

@yanhaijing
Copy link
Owner

yanhaijing commented Nov 22, 2017

https://github.com/yanhaijing/zepto.fullpage/blob/master/demo/lazyload.html
这个懒加载的你可以看看,原理是先用page占位,然后动态往里边添加内容
目前还不支持动态添加page,只能先放一个占位符

@yanhaijing yanhaijing self-assigned this Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants