2024年5月6日发(作者:)

tDefault()

$(this).prev().slideUp('fast', function () {

var data = { dataId: $(this).attr("data-id") };

ndle("/Business/ChangShaZJ/NInvoice/Delete", data, function (rlt) {

if (ess) {

$(this).parent().remove();

}

else {

alert(esg);

}

});

})

});

}

CSS样式重写,加动画效果;transition 的transition-property 属性给transform 即可,如果写all 会影响删除的slideUp 过渡动画效果

.weui-cell_swiped div:first-child {

transition: transform .5s ease .1s;

}

.weui-swiped-btn {

padding: 50% 1em;

}