From b3335fda312995cf472b927d05e78b8647a9f8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Fri, 25 Jun 2021 16:56:22 +0800 Subject: [PATCH] =?UTF-8?q?CH=E7=81=AB=E8=BD=A6=E4=BF=A1=E6=81=AF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E6=90=9C=E7=B4=A2=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 8 ++++++++ application/views/mobile_first/ch-pc.php | 1 + application/views/mobile_first/ch.php | 1 + 3 files changed, 10 insertions(+) diff --git a/application/controllers/information.php b/application/controllers/information.php index ab42515a..c9eabe05 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -593,6 +593,14 @@ class Information extends CI_Controller $template = str_replace('', $information->ic_seo_description, $template); $template = str_replace('', $information->ic_seo_keywords, $template); $template = str_replace('', $this->config->item('site_url') . $information->ic_url, $template); + + //火车票搜索框添加 + if ($information->is_parent_id == "278035939"){ + //本地测试的火车父类ID为:278035939 。网前为:278008234 + $template_TrainSearch = $this->load->view($template_path . '-train-detail',null, TRUE); + $template = str_replace('', $template_TrainSearch, $template); + } + //非产品页面 $meta_product_code=get_meta($information->ic_id, 'meta_product_code'); if (empty($meta_product_code)) { diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 31e64484..fbdb08a9 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -172,6 +172,7 @@
+
diff --git a/application/views/mobile_first/ch.php b/application/views/mobile_first/ch.php index be19d573..1314c92c 100644 --- a/application/views/mobile_first/ch.php +++ b/application/views/mobile_first/ch.php @@ -154,6 +154,7 @@
+