Authored by 王水玲

新潮教室默认头像bug修改

... ... @@ -76,12 +76,14 @@ if ($('.collocation-list').find('li').length === 0) {
}
// 星搭配收藏请求
$(document).on('click', '.collection', function() {
$(document).on('touchstart', '.collection', function() {
var $that = $(this),
$icon = $that.find('.collected-ico');
var type;
event.stopPropagation();
if ($icon.hasClass('collected')) {
type = 'del';
} else {
... ...
... ... @@ -178,10 +178,12 @@ if ($('.home-floor-sign').length > 0) {
}
// 星鲜事点赞事件
$(document).on('click', '.like-ico', function() {
$(document).on('touchstart', '.like-ico', function() {
var $that = $(this),
addString = '';
event.stopPropagation();
$.ajax({
type: 'POST',
url: '/guang/starclass/setPraise',
... ...