mycurrency.page.js 441 Bytes
/**
 * 新有货币界面
 */
require('home/currency-index.page.css');

var $ = require('yoho-jquery'),
    lazyLoad = require('yoho-jquery-lazyload');

require('../common');

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

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

setTimeout(function() {

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

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