...
|
...
|
@@ -121,7 +121,7 @@ $likeBtn.bind('click', function() { |
|
|
}).then(function(data) {
|
|
|
if (data.code === 200) {
|
|
|
$that.closest('.suggest-type').removeClass('show');
|
|
|
$('.suggest-good').addClass('show');
|
|
|
$that.closest('.suggest-item').find('.suggest-good').addClass('show');
|
|
|
}
|
|
|
}).fail(function(data) {
|
|
|
|
...
|
...
|
@@ -148,7 +148,7 @@ $disLikeBtn.bind('click', function() { |
|
|
}).then(function(data) {
|
|
|
if (data.code === 200) {
|
|
|
$that.closest('.suggest-type').removeClass('show');
|
|
|
$('.suggest-bad').addClass('show');
|
|
|
$that.closest('.suggest-item').find('.suggest-bad').addClass('show');
|
|
|
}
|
|
|
}).fail(function(data) {
|
|
|
|
...
|
...
|
|