...
|
...
|
@@ -29,6 +29,7 @@ $confim.on('touchend', '.cancel', function() { |
|
|
$confim.hide();
|
|
|
}).on('touchend', '.confim', function() {
|
|
|
loading.showLoadingMask();
|
|
|
$confim.hide();
|
|
|
$.ajax({
|
|
|
method: 'POST',
|
|
|
url: '/home/delAddress',
|
...
|
...
|
@@ -39,7 +40,6 @@ $confim.on('touchend', '.cancel', function() { |
|
|
if ($.type(res) !== 'object') {
|
|
|
res = {};
|
|
|
}
|
|
|
$confim.hide();
|
|
|
if (res.code !== 200) {
|
|
|
tip.show(res.message || '网络出了点问题~');
|
|
|
loading.hideLoadingMask();
|
...
|
...
|
@@ -48,7 +48,6 @@ $confim.on('touchend', '.cancel', function() { |
|
|
}
|
|
|
}).fail(function() {
|
|
|
tip.show('网络出了点问题~');
|
|
|
$confim.hide();
|
|
|
loading.hideLoadingMask();
|
|
|
}).always(function() {
|
|
|
deleteId = null;
|
...
|
...
|
|