...
|
...
|
@@ -40,7 +40,10 @@ $('.saunter-nav li').each(function() { |
|
|
});
|
|
|
|
|
|
swiper = new Swiper('.swiper-container', {
|
|
|
pagination: '.swiper-pagination'
|
|
|
pagination: '.swiper-pagination',
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
|
|
autoplayDisableOnInteraction: false
|
|
|
});
|
|
|
|
|
|
lazyLoad();
|
...
|
...
|
@@ -202,7 +205,8 @@ $('.msg-list').delegate('.like-btn', 'touchstart', function(e) { |
|
|
var $cur = $(e.currentTarget),
|
|
|
$info = $cur.closest('.tag-content'),
|
|
|
id = $info.data('id'),
|
|
|
url;
|
|
|
url,
|
|
|
udid = $('.client-ip').val();
|
|
|
|
|
|
$cur.toggleClass('like');
|
|
|
|
...
|
...
|
@@ -215,7 +219,8 @@ $('.msg-list').delegate('.like-btn', 'touchstart', function(e) { |
|
|
type: 'GET',
|
|
|
url: url,
|
|
|
data: {
|
|
|
id: id
|
|
|
id: id,
|
|
|
udid: udid
|
|
|
}
|
|
|
}).then(function(data) {
|
|
|
if (data.code === 200) {
|
...
|
...
|
|