Authored by 王水玲

星潮修改

... ... @@ -155,7 +155,7 @@ let collocationList = (req, res, next) => {
* @return {[type]}
*/
let setFavorite = (req, res, next) => {
let uid = req.body.uid || 0; // 客户端访问,不能使用 cookie
let uid = req.cookies.guangStarUid || 0;
let params = {
articleId: req.body.articleId,
type: req.body.type
... ...
... ... @@ -106,7 +106,7 @@ function setIndexAction() {
if (bannerLen > 1) {
avatarSwiper = new Swiper('.avatar-1', {
loop: true,
initialSlide: 0,
initialSlide: 2,
centeredSlides: true,
slidesPerView: 'auto',
loopedSlides: bannerLen,
... ... @@ -160,12 +160,6 @@ function setIndexAction() {
setAvatar($(item));
});
$('.star').each(function(key, item) {
if ($(item).attr('src') === '') {
$(item).addClass('default-avater');
}
});
$('#yoho-header, .head-tab').on('touchmove', function() {
return false;
});
... ...