Skip to content

Commit 497989c

Browse files
committed
修复 lock 在快速滑动时失效的 bug
1 parent b18c2ad commit 497989c

File tree

5 files changed

+495
-38
lines changed

5 files changed

+495
-38
lines changed

example/html/lock.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<meta content="black" name="apple-mobile-web-app-status-bar-style">
88
<meta name="format-detection" content="telephone=no, email=no">
99
<title>lock</title>
10+
<script src="http://tmtdemo.qq.com/littletest/vconsole.min.js"></script>
1011
<link rel="stylesheet" href="../css/style.css"/>
1112
<!--custom style-->
1213
<style>
@@ -23,14 +24,14 @@
2324
<div class="page-wrap">
2425
<!-- data-lock-next 禁止下滑 -->
2526
<!-- data-lock-prev 禁止上滑 -->
26-
<div class="page" data-lock-next="true">
27+
<div class="page">
2728
<div class="title">lock example</div>
2829
<div class="subtitle">click the arrow to move next page</div>
2930

3031
<div class="arrow"></div>
3132
</div>
3233

33-
<div class="page">
34+
<div class="page" data-lock-next="true">
3435
<div class="title">page two</div>
3536
<div class="subtitle">page two subtitle</div>
3637
<div class="arrow"></div>

0 commit comments

Comments
 (0)