|
@ -21,12 +21,12 @@ $(document).ready(function() {
|
21
|
21
|
})
|
22
|
22
|
//点击关注按钮
|
23
|
23
|
$(".goSpan").on('click',"span.attenSpan", function() {
|
24
|
|
var pId=$(this).parent().siblings("a").attr("data-id");
|
|
24
|
var cId=$(this).parent().siblings("a").attr("data-id");
|
25
|
25
|
if(userid && userid != null && userid != "null") {
|
26
|
26
|
if($(this).is('.attenedSpan')){
|
27
|
|
cancelCollectionAbout(pId, $(this),1)
|
|
27
|
cancelCollectionAbout(cId, $(this),6)
|
28
|
28
|
} else {
|
29
|
|
collectionAbout(pId, $(this),1);
|
|
29
|
collectionAbout(cId, $(this),6);
|
30
|
30
|
}
|
31
|
31
|
}else{
|
32
|
32
|
quickLog();
|