...
|
...
|
@@ -25,7 +25,6 @@ var end = false, |
|
|
var winH = $(window).height();
|
|
|
|
|
|
load.init();
|
|
|
|
|
|
function moreRecord(cb) {
|
|
|
var count = $page.children('.browse-record-good').length;
|
|
|
|
...
|
...
|
@@ -61,7 +60,7 @@ function moreRecord(cb) { |
|
|
|
|
|
lazyLoad($page.find('.browse-record-good:gt(' + (count - 1) + ') .lazy'));
|
|
|
}
|
|
|
|
|
|
window.rePosFooter();
|
|
|
page++;
|
|
|
|
|
|
if (cb) {
|
...
|
...
|
@@ -99,6 +98,7 @@ $page.on('touchstart', '.del-icon', function() { |
|
|
rightBtnText: '确定'
|
|
|
}
|
|
|
}, function() {
|
|
|
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: '/home/delRecord',
|
...
|
...
|
@@ -107,7 +107,12 @@ $page.on('touchstart', '.del-icon', function() { |
|
|
},
|
|
|
success: function(data) {
|
|
|
if (data.code === 200) {
|
|
|
window.history.go(0);
|
|
|
dialog.showDialog({
|
|
|
dialogText: '删除浏览记录成功',
|
|
|
autoHide: true,
|
|
|
fast: true
|
|
|
});
|
|
|
setTimeout(function(){window.history.go(0);},1000);
|
|
|
}
|
|
|
},
|
|
|
complete: function() {
|
...
|
...
|
|