Authored by wangqing

判断简单头部和正常头部

... ... @@ -6,7 +6,8 @@
var $ = require('yoho.jquery');
require('./footer');
require('./simple-header');
function cookie(name) {
... ... @@ -131,5 +132,9 @@ window.getUser = getUser;
window.getUid = getUid;
window.getShoppingKey = getShoppingKey;
if($('.simple-header').hasClass('simple-header')){
require('./simple-header');
}else{
require('./header');
}
require('./header');
... ...