|
@@ -182,7 +182,7 @@ $(function(){
|
|
|
var l = $(this).find('.jynav-list').length;
|
|
|
if(l >= 0){
|
|
|
// 隐藏消息悬浮窗
|
|
|
- $('#public-nav .iner .jynav li').find('.jy-list-msg').hide()
|
|
|
+ // $('#public-nav .iner .jynav li').find('.jy-list-msg').hide()
|
|
|
$(this).find('.jynav-list').toggle()
|
|
|
$(this).find('.msg-img1').hide()
|
|
|
$(this).find('.msg-img2').show()
|
|
@@ -202,8 +202,8 @@ $(function(){
|
|
|
setNavTheme(curTheme,1)
|
|
|
docScroll()
|
|
|
|
|
|
- // 隐藏消息悬浮窗
|
|
|
- $('#public-nav .iner .jynav li').find('.jy-list-msg').show()
|
|
|
+ // 展示消息悬浮窗
|
|
|
+ // $('#public-nav .iner .jynav li').find('.jy-list-msg').show()
|
|
|
|
|
|
$("#public-nav .iner .jynav li").find('.jynav-list').hide()
|
|
|
$(this).find('.msg-img1').show()
|
|
@@ -358,7 +358,7 @@ function fixScaleScroll () {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-// 更改页面head-title, meta-keywords、meta-description
|
|
|
+// 更改页面head-title, meta-keywords、meta-description
|
|
|
// 页面SEO(TDK)
|
|
|
function seoTdkUpdate (title, keywords, description) {
|
|
|
// console.log(goTemplateData, goTemplateData.inIframe);
|
|
@@ -369,7 +369,7 @@ function seoTdkUpdate (title, keywords, description) {
|
|
|
_title = _headDom.getElementsByTagName("title")[0]
|
|
|
_meta = _headDom.getElementsByTagName("meta")
|
|
|
_title.innerText = title
|
|
|
- for (var index = 0; index < _meta.length; index++) {
|
|
|
+ for (var index = 0; index < _meta.length; index++) {
|
|
|
switch (_meta[index].name.toLowerCase()) {
|
|
|
case 'keywords':
|
|
|
_meta[index].content = keywords
|
|
@@ -380,5 +380,5 @@ function seoTdkUpdate (title, keywords, description) {
|
|
|
default:
|
|
|
break
|
|
|
}
|
|
|
- }
|
|
|
-}
|
|
|
+ }
|
|
|
+}
|