jquery实现滑动删除记录

来源:互联网 发布:陌声软件怎么样 编辑:程序博客网 时间:2024/05/24 15:37
      //滑动删除客户
$(".sort_list").on('swipe',function(){
$this=$(this);
$this.find(".score").hide();
setTimeout(function(){$this.find(".towbtn").fadeIn();},300);
});
$(".del").click(function(){
$this=$(this);
$this.parent().parent().remove();
});
$(".cancel").click(function(event){
        event.stopPropagation();
        $(this).parent().fadeOut();
    });
0 0
原创粉丝点击