...
|
...
|
@@ -575,7 +575,7 @@ if (isSupportCss3Animation()) { |
|
|
// 菜单设置
|
|
|
(function() {
|
|
|
var headerNav = {
|
|
|
init: function() {
|
|
|
init() {
|
|
|
var that = this;
|
|
|
|
|
|
this.syncPageChannel();
|
...
|
...
|
@@ -586,7 +586,7 @@ if (isSupportCss3Animation()) { |
|
|
that.getThirdNavs();
|
|
|
});
|
|
|
},
|
|
|
syncPageChannel: function() {
|
|
|
syncPageChannel() {
|
|
|
var $header = $('#yoho-header'),
|
|
|
$navs;
|
|
|
var channel = window.homePage || window.cookie('_Channel') || 'boys',
|
...
|
...
|
@@ -612,7 +612,7 @@ if (isSupportCss3Animation()) { |
|
|
|
|
|
this.channel = channel;
|
|
|
},
|
|
|
getThirdNavs: function() {
|
|
|
getThirdNavs() {
|
|
|
var that = this;
|
|
|
|
|
|
if (this.loaded || this.loading) {
|
...
|
...
|
@@ -630,7 +630,7 @@ if (isSupportCss3Animation()) { |
|
|
that.loading = false;
|
|
|
});
|
|
|
},
|
|
|
reseatThirdMenu: function() {
|
|
|
reseatThirdMenu() {
|
|
|
$('.contain-third', this.$base).each(function() {
|
|
|
var $thirdList = $(this).find('.hide-list'),
|
|
|
list = [],
|
...
|
...
|
|