diff --git a/application/controllers/information.php b/application/controllers/information.php index 6db8fd7e..5834ca66 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1380,6 +1380,11 @@ class Information extends CI_Controller if (!empty ($meta_addon_js)) { $template = str_replace('', '', $template); } + + $meta_index_set = get_meta($information->ic_id, 'meta_index_set'); + if (!empty ($meta_index_set)) { + $template = str_replace('', '', $template); + } //设置内容图片缓加载 $lazy_content = $this->html_optimize_lib->set_lazy_loader($information->ic_content, 'https://data.chinahighlights.com/grey.gif'); $template = str_replace('', $lazy_content, $template); @@ -2004,6 +2009,11 @@ class Information extends CI_Controller if (!empty ($meta_addon_js)) { $template = str_replace('', '', $template); } + + $meta_index_set = get_meta($information->ic_id, 'meta_index_set'); + if (!empty ($meta_index_set)) { + $template = str_replace('', '', $template); + } //设置内容图片缓加载 $lazy_content = $this->html_optimize_lib->set_lazy_loader($information->ic_content, 'https://data.chinahighlights.com/grey.gif'); $template = str_replace('', $lazy_content, $template); @@ -2367,6 +2377,11 @@ class Information extends CI_Controller if (!empty ($meta_addon_js)) { $template = str_replace('', '', $template); } + + $meta_index_set = get_meta($information->ic_id, 'meta_index_set'); + if (!empty ($meta_index_set)) { + $template = str_replace('', '', $template); + } //设置内容图片缓加载 $lazy_content = $this->html_optimize_lib->set_lazy_loader($information->ic_content, 'https://data.asiahighlights.com/grey.gif'); $template = str_replace('', $lazy_content, $template); diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index 7f6fe4b8..6fad423d 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -12,6 +12,7 @@ + diff --git a/application/views/mobile_first/ah.php b/application/views/mobile_first/ah.php index 358d91a5..1d71a763 100644 --- a/application/views/mobile_first/ah.php +++ b/application/views/mobile_first/ah.php @@ -9,6 +9,7 @@ + diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index eb1e9739..30bd8e49 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -12,6 +12,7 @@ + diff --git a/application/views/mobile_first/ch.php b/application/views/mobile_first/ch.php index 75c95620..2896d402 100644 --- a/application/views/mobile_first/ch.php +++ b/application/views/mobile_first/ch.php @@ -8,6 +8,7 @@ + diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index 0e1730fa..87981d0b 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -12,6 +12,7 @@ + diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index 2b6d91ec..ffa3fe0c 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -8,6 +8,7 @@ +