Showing
1 changed file
with
16 additions
and
19 deletions
@@ -48,25 +48,22 @@ function scrollHandler() { | @@ -48,25 +48,22 @@ function scrollHandler() { | ||
48 | } | 48 | } |
49 | 49 | ||
50 | // 分享成功 | 50 | // 分享成功 |
51 | -function successShare() { | ||
52 | - $.ajax({ | ||
53 | - type: 'POST', | ||
54 | - url: '', | ||
55 | - data: { | ||
56 | - articleId: $that.parents('li').attr('articleId') | ||
57 | - }, | ||
58 | - success: function(data) { | ||
59 | - var code = data.code; | ||
60 | - | ||
61 | - if (code === 200) { | ||
62 | - tip.show('分享成功,亲密度+10'); | ||
63 | - } | ||
64 | - }, | ||
65 | - error: function() { | ||
66 | - tip.show('网络断开连接了~'); | ||
67 | - } | ||
68 | - }); | ||
69 | -} | 51 | +// function successShare() { |
52 | +// $.ajax({ | ||
53 | +// type: 'POST', | ||
54 | +// url: '', | ||
55 | +// success: function(data) { | ||
56 | +// var code = data.code; | ||
57 | + | ||
58 | +// if (code === 200) { | ||
59 | +// tip.show('分享成功,亲密度+10'); | ||
60 | +// } | ||
61 | +// }, | ||
62 | +// error: function() { | ||
63 | +// tip.show('网络断开连接了~'); | ||
64 | +// } | ||
65 | +// }); | ||
66 | +// } | ||
70 | 67 | ||
71 | $(window).scroll(function() { | 68 | $(window).scroll(function() { |
72 | scrollHandler(); | 69 | scrollHandler(); |
-
Please register or login to post a comment