Authored by 周少峰

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list

@@ -773,7 +773,7 @@ function actionTipPic() { @@ -773,7 +773,7 @@ function actionTipPic() {
773 var $img = ''; 773 var $img = '';
774 var $title = ''; 774 var $title = '';
775 var $link = ''; 775 var $link = '';
776 - var link = ''; 776 + var logolink = '';
777 777
778 $(document).on('mouseenter', '.sub-nav-item', function() { 778 $(document).on('mouseenter', '.sub-nav-item', function() {
779 $contentcode = $(this).find('.showdetail').attr('data-code'); 779 $contentcode = $(this).find('.showdetail').attr('data-code');
@@ -791,7 +791,7 @@ function actionTipPic() { @@ -791,7 +791,7 @@ function actionTipPic() {
791 } 791 }
792 } 792 }
793 }); 793 });
794 - link = $('.first-nav-list .cur').find('a').attr('href'); 794 + logolink = $('.first-nav-list .cur').find('a').attr('href');
795 $('.main-link').attr('href', link); 795 $('.main-link').attr('href', link);
796 } 796 }
797 797