咨询页面增加点赞/有用功能。 code review by Zhang Zhen
Showing
1 changed file
with
3 additions
and
2 deletions
@@ -13,12 +13,13 @@ var goodsConsultsEle = $('#goods-consults')[0], | @@ -13,12 +13,13 @@ var goodsConsultsEle = $('#goods-consults')[0], | ||
13 | 13 | ||
14 | function showCountPlus($el) { | 14 | function showCountPlus($el) { |
15 | var $count = $el.find('.animate-count'); | 15 | var $count = $el.find('.animate-count'); |
16 | - $count.css('display','inline'); | 16 | + |
17 | + $count.css('display', 'inline'); | ||
17 | $count.animate({ | 18 | $count.animate({ |
18 | opacity: 0.25, | 19 | opacity: 0.25, |
19 | fontSize: '0.7rem', | 20 | fontSize: '0.7rem', |
20 | right: '-=5' | 21 | right: '-=5' |
21 | - }, 300, function () { | 22 | + }, 300, function() { |
22 | $count.css('display', 'none'); | 23 | $count.css('display', 'none'); |
23 | }); | 24 | }); |
24 | } | 25 | } |
-
Please register or login to post a comment