Authored by wangqing

logo链接替换

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