Rieko-wang 2 years ago
parent
commit
7031ece333
  1. 4
      index.html

4
index.html

@ -137,8 +137,9 @@
$('.filter-item').click(function () { $('.filter-item').click(function () {
hideLoading(); hideLoading();
renderBillingDom([]) renderBillingDom([])
$('.loading').show(); $('.loading').show();
const timer = setTimeout(() => {
clearTimeout(timer)
$('.filter-item').removeClass('active'); $('.filter-item').removeClass('active');
const key = $(this).attr('data-query-key'); const key = $(this).attr('data-query-key');
$(this).addClass('active') $(this).addClass('active')
@ -149,6 +150,7 @@
} else if (key === 'nearlyWeek') { } else if (key === 'nearlyWeek') {
renderBillingDom(nearlyWeek) renderBillingDom(nearlyWeek)
} }
}, 500)
}) })
$('.account,.mx').on('click', () => { $('.account,.mx').on('click', () => {

Loading…
Cancel
Save