# swipe **Repository Path**: mirrors_singod/swipe ## Basic Information - **Project Name**: swipe - **Description**: 单页应用程序示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README swipe 单页应用程序示例. ---- 推荐使用谷歌浏览器访问 ### 用法 $ git clone https://github.com/bjtqti/swipe.git 用浏览器打开index.html,按下鼠标左键然后往右拖动,移动距离少于"屏幕" 1/3 时,页面自动反弹回去 当移动距离大于1/3时,自动滑入下一页。同理往左拖动时执行相反的操作。 点击 `next` 按钮,向右翻页 点击 `prev` 按钮,向左翻页 到达末页(next)或首页(prev)时不再翻页 ### 示例 ![github](http://images.cnitblog.com/blog/545140/201501/172019240112565.png "github") [在线演示地址](http://sandbox.runjs.cn/show/o4ql6f6a) [点击这里我你可以链接到我的博客](http://www.cnblogs.com/afrog/)