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

如果页面内要放刮刮卡,有什么办法阻止页面滑动吗 #10

Closed
sun-bin opened this issue Jul 14, 2016 · 2 comments
Closed

Comments

@sun-bin
Copy link

sun-bin commented Jul 14, 2016

如题,谢谢

@littledu
Copy link
Member

在刮刮卡的那一页里加锁定,如下:

<div class="page" data-lock-next="true" data-lock-prev="true"></div>

data-lock-next: 禁止往后滑
data-lock-prev: 禁止往前滑

@sun-bin
Copy link
Author

sun-bin commented Jul 17, 2016

谢谢 @littledu

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

2 participants