...
|
...
|
@@ -24,23 +24,11 @@ var $body = $('body'); |
|
|
|
|
|
require("js/footer");
|
|
|
|
|
|
|
|
|
|
|
|
function cookie(name) {
|
|
|
var cookies = document.cookie,
|
|
|
cookieVal,
|
|
|
offset;
|
|
|
|
|
|
if (document.cookie && document.cookie !== '') {
|
|
|
offset = cookies.indexOf(name + '=');
|
|
|
if (offset > -1) {
|
|
|
offset += name.length + 1;
|
|
|
|
|
|
cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset))));
|
|
|
}
|
|
|
}
|
|
|
var re = new RegExp(name + '=([^;$]*)', 'i'),
|
|
|
matchPattern = '$1';
|
|
|
|
|
|
return cookieVal;
|
|
|
return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : '';
|
|
|
}
|
|
|
|
|
|
function setCookie(name, value, options) {
|
...
|
...
|
@@ -1159,7 +1147,7 @@ function actionTipPic() { |
|
|
}
|
|
|
}
|
|
|
});
|
|
|
logolink = $('.first-nav-list .cur').find('a').attr('href');
|
|
|
logolink = $('.first-nav-item .cure').find('.name-cn').find('a').attr('href');
|
|
|
$('.main-link').attr('href', logolink);
|
|
|
}
|
|
|
|
...
|
...
|
|