{"action":"created","issue":{"url":"https://api.github.com/repos/hahnzhu/parallax.js/issues/9","labels_url":"https://api.github.com/repos/hahnzhu/parallax.js/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/hahnzhu/parallax.js/issues/9/comments","events_url":"https://api.github.com/repos/hahnzhu/parallax.js/issues/9/events","html_url":"https://github.com/hahnzhu/parallax.js/issues/9","id":51301765,"number":9,"title":"parallax.js v2.0 计划","user":{"login":"hahnzhu","id":2987435,"avatar_url":"https://avatars.githubusercontent.com/u/2987435?v=3","gravatar_id":"","url":"https://api.github.com/users/hahnzhu","html_url":"https://github.com/hahnzhu","followers_url":"https://api.github.com/users/hahnzhu/followers","following_url":"https://api.github.com/users/hahnzhu/following{/other_user}","gists_url":"https://api.github.com/users/hahnzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/hahnzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahnzhu/subscriptions","organizations_url":"https://api.github.com/users/hahnzhu/orgs","repos_url":"https://api.github.com/users/hahnzhu/repos","events_url":"https://api.github.com/users/hahnzhu/events{/privacy}","received_events_url":"https://api.github.com/users/hahnzhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hahnzhu","id":2987435,"avatar_url":"https://avatars.githubusercontent.com/u/2987435?v=3","gravatar_id":"","url":"https://api.github.com/users/hahnzhu","html_url":"https://github.com/hahnzhu","followers_url":"https://api.github.com/users/hahnzhu/followers","following_url":"https://api.github.com/users/hahnzhu/following{/other_user}","gists_url":"https://api.github.com/users/hahnzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/hahnzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahnzhu/subscriptions","organizations_url":"https://api.github.com/users/hahnzhu/orgs","repos_url":"https://api.github.com/users/hahnzhu/repos","events_url":"https://api.github.com/users/hahnzhu/events{/privacy}","received_events_url":"https://api.github.com/users/hahnzhu/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2014-12-08T13:29:43Z","updated_at":"2015-02-12T04:07:02Z","closed_at":null,"body":"1、全局：采用新架构\r\n2、支持特性：\r\n* 支持滚动到某一页，上/下一页\r\n* 初始化时直接到某一页\r\n* 支持页面内部滚动（惯性减速停止/非惯性）\r\n* 支持循环滑动\r\n* 提供滑动禁用开关\r\n* 支持延时加载\r\n* 支持滚动动画、滚动时间定制\r\n* 添加资源加载器\r\n* 增加新的内置动画（震动、放大缩小、反弹）尝试兼容 Animate.css\r\n\r\n3、文件组织\r\n* 提供压缩版 JS 和 CSS\r\n* 提取 reset.css\r\n* 提供 example 用例文件夹\r\n\r\n4、Bug fix：\r\n* -[x] Zepto 宽度获取不正确（Nexus、小米、魅族）\r\n* -[ ] 手指移出屏幕后捕获不到 touchend（无法归位）\r\n* -[ ] 禁止快速滑动，避免 curPage 获取不正常\r\n\r\n5、其他：\r\n* 提供默认箭头+loading+资源加载样式及图片，样式独立为文件\r\n* 去掉 isHeadOrTail 函数\r\n* 新增一个 Demo 介绍页\r\n* 添加不被压缩去除的版权信息，便于使用者查找\r\n* onchange 回调函数索引从1开始\r\n* 宽高可自定义，页数可自定义\r\n\r\n6、特殊场景：\r\n* 页面可能是动态生成节点，每种用户角色显示的页面不一样，页面数也可以会不一样\r\n* 页面可能会使用缩放（适配各种屏幕），考虑 resize 情况\r\n* 可延时加载\r\n"},"comment":{"url":"https://api.github.com/repos/hahnzhu/parallax.js/issues/comments/74014439","html_url":"https://github.com/hahnzhu/parallax.js/issues/9#issuecomment-74014439","issue_url":"https://api.github.com/repos/hahnzhu/parallax.js/issues/9","id":74014439,"user":{"login":"yanhaijing","id":3192087,"avatar_url":"https://avatars.githubusercontent.com/u/3192087?v=3","gravatar_id":"","url":"https://api.github.com/users/yanhaijing","html_url":"https://github.com/yanhaijing","followers_url":"https://api.github.com/users/yanhaijing/followers","following_url":"https://api.github.com/users/yanhaijing/following{/other_user}","gists_url":"https://api.github.com/users/yanhaijing/gists{/gist_id}","starred_url":"https://api.github.com/users/yanhaijing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanhaijing/subscriptions","organizations_url":"https://api.github.com/users/yanhaijing/orgs","repos_url":"https://api.github.com/users/yanhaijing/repos","events_url":"https://api.github.com/users/yanhaijing/events{/privacy}","received_events_url":"https://api.github.com/users/yanhaijing/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T04:07:02Z","updated_at":"2015-02-12T04:07:02Z","body":"https://github.com/yanhaijing/zepto.fullpage 可以看下这个"}}