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