feat/task1-c-wallet
devil_gong 2018-10-12 14:29:36 +08:00
parent bc18175ca7
commit 5a604acad4
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,8 @@ function HomeCartNumberTotalUpdate(number)
var $this = $('.common-cart-total');
if(number <= 0)
{
$this.text('');
$this.text(0);
$('.mobile-navigation .common-cart-total').text('');
$this.removeClass('am-badge am-badge-danger');
} else {
$this.text(number);