Committed by
Rock Zhang
浏览记录 删除按钮的效果
Showing
1 changed file
with
7 additions
and
1 deletions
@@ -119,4 +119,10 @@ $page.on('touchstart', '.del-icon', function() { | @@ -119,4 +119,10 @@ $page.on('touchstart', '.del-icon', function() { | ||
119 | } | 119 | } |
120 | }); | 120 | }); |
121 | }); | 121 | }); |
122 | -}); | ||
122 | +}); | ||
123 | + | ||
124 | +$('.deps').on('touchstart', 'span', function() { | ||
125 | + $(this).css('background', '#eee'); | ||
126 | +}).on('touchend touchcancel', 'span', function() { | ||
127 | + $(this).css('background', 'transparent'); | ||
128 | +}); |
-
Please register or login to post a comment