diff --git a/application/controllers/information.php b/application/controllers/information.php
index 72c7cdcc..dd6f73aa 100644
--- a/application/controllers/information.php
+++ b/application/controllers/information.php
@@ -844,6 +844,12 @@ class Information extends CI_Controller
// },$ic_content);
//$ic_content = '
'.$ic_content.'
'; //兼容拷贝过来的内容样式
+
+ //图片加延迟
+ $ic_content=$this->html_optimize_lib->set_lazy_loader($ic_content,'https://data.chinatravel.com/images/mobile-first/grey.gif');
+
+ $ic_content = $this->html_optimize_lib->set_image_size($ic_content);
+
$data["CUSTOMCONENT"] = $ic_content;
@@ -1071,20 +1077,6 @@ class Information extends CI_Controller
file_put_contents($html_path, $template, LOCK_EX);
- // //Google广告代码
- // if (!empty(get_meta($information->ic_id, 'meta_google_ad_content'))) {
- // $template = str_replace('', '', $template);
- // }
- // if (!empty(get_meta($information->ic_id, 'meta_google_ad_article'))) {
- // $in_article_google=$this->load->view($template_path.'-google-ad', false,true);
- // $template = str_replace('', $in_article_google, $template);
- // }
-
- // //设置图片尺寸
- // //$template=$this->html_optimize_lib->set_image_size($template);
- // // /travelguide/chinese-zodiac/monthly-fortune-for-dog.htm
-
-
}
//通过内容找到第一张图片
diff --git a/application/views/bootstrap3/header.php b/application/views/bootstrap3/header.php
index 02f4ef3a..1204310f 100644
--- a/application/views/bootstrap3/header.php
+++ b/application/views/bootstrap3/header.php
@@ -142,7 +142,7 @@
AMP转化检查
Html基础知识
AMP知识
- 添加信息分组
+
AMP操作SOP
HTML构建工具V3
PS基础课件