|
|
|
@ -828,6 +828,10 @@ class Information extends CI_Controller
|
|
|
|
|
$template_TrainSearch = "";
|
|
|
|
|
if ($information->ic_url == "/china-trains/hometest.htm" || $information->ic_url == "/china-trains/") {
|
|
|
|
|
$template_TrainSearch = $this->load->view($template_path . '-train-index', null, TRUE);
|
|
|
|
|
if ($device=="mobile"){
|
|
|
|
|
//手机端的搜索框直接显示,不再加背景图,这样可以保证CLS分数。
|
|
|
|
|
$template = str_replace('<!--@TOP-BANNER@-->', '<div class="detailtopbanner">' . $template_TrainSearch . '</div>', $template);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|