diff --git a/application/controllers/information.php b/application/controllers/information.php index 35e8d952..2142959c 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1128,7 +1128,12 @@ class Information extends CI_Controller $data_H1['breadcrumb_data'] = $breadcrumb_data; $data_H1['ads_by_google'] = $ads_by_google; $data_H1['ic_datetime'] = $information->ic_datetime; - $template_H1 = $this->load->view($template_path . '-h1', $data_H1, true); + if ($information->ic_url == "/china-trains/" && $device == 'mobile'){ + //火车首页不需要头部大图及H1标题,但是需要一个H1的标签来占位置,避免表单上移 + $template_H1 = "
"; + }else{ + $template_H1 = $this->load->view($template_path . '-h1', $data_H1, true); + } $template = str_replace('', $template_H1, $template); //非产品页面