• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • public
  • js
  • home
  • currency-new.page.js
  • 有货币可能喜欢
    25be5e8c
    by zhangxiaoru
    2016-10-17 16:02:29 +0800  
    Browse Files
currency-new.page.js 350 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/**
 * 新有货币界面
 */
var $ = require('yoho-jquery'),
    lazyLoad = require('yoho-jquery-lazyload');

require('../common');

lazyLoad($('img.lazy'));

function getGender() {
    return window.cookie('_Channel') || 'boys';
}

require('../channel/maybe-like')(getGender());

if ($('#goods-list').length === 0) {
    $('.maybe-like').hide();
}