...
|
...
|
@@ -2,13 +2,13 @@ var $ = require('yoho-jquery'), |
|
|
lazyLoad = require('yoho-jquery-lazyload'),
|
|
|
dialog = require('../plugins/dialog');
|
|
|
|
|
|
var _alert = dialog.Alert;
|
|
|
|
|
|
require('../common/header');
|
|
|
require('../common/return-top');
|
|
|
|
|
|
lazyLoad($('.content-msg img.lazy'));
|
|
|
|
|
|
var _alert = dialog.Alert;
|
|
|
|
|
|
$('.editorial-list-page').on('click', '.like-icon', function() {
|
|
|
|
|
|
var $this = $(this),
|
...
|
...
|
@@ -35,6 +35,7 @@ $('.editorial-list-page').on('click', '.like-icon', function() { |
|
|
if (data.code === 500) {
|
|
|
new _alert(data.message).show();
|
|
|
}
|
|
|
|
|
|
// if (data.code === 200) {
|
|
|
// if (data.data * 1 === 0) {
|
|
|
// $this.next('b').addClass('num-0').children('.num').html('0'); // 隐藏数字显示
|
...
|
...
|
|