-
Notifications
You must be signed in to change notification settings - Fork 99
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
把一大段文章分隔成多页有什么好办法么 #33
Comments
你说的文章是什么形式的? |
比如说小说 比如说整篇的文章 |
整篇文章可以看做一个字符串,你可以用 js 将这个字符串分成一个数组的若干个元素,将这个数组作为 |
尝试写了,效果不好 |
你的需求是段落不能跨页? |
最起码一句话不能分割成两页吧! |
1:小说如果是横向切换比较简单的做法用css3_column-width,然后自己判断手势处理transform过渡动画; 2:按照 @zhangbobell 说的那样,小说数据需要自己处理好,放进一个数组里面,将这个数组作为 data 配置项即可,文字的处理可以参考这个:https://github.com/maplejan/APOMW |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题
The text was updated successfully, but these errors were encountered: