mycurrency.page.js
451 Bytes
/**
* 新有货币界面
*/
require('home/currency-index.page.css');
let $ = require('yoho-jquery'),
lazyLoad = require('yoho-jquery-lazyload');
require('../common');
function getGender() {
return window.cookie('_Channel') || 'boys';
}
require('../channel/maybe-like')({gender: getGender()});
setTimeout(function() {
lazyLoad($('img.lazy'));
if ($('#goods-list').length === 0) {
$('.maybe-like').hide();
}
}, 30);