diff --git a/application/controllers/information.php b/application/controllers/information.php index 2fea3022..3e3b6d70 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -4261,8 +4261,9 @@ class Information extends CI_Controller { if ($meta_ct_page_type == "tourdetail") { //线路表单,左右结构,用标签来做 $dataform['device'] = $device; $template_form_tourqi = $this->load->view($template_path . '-form-tourqi-new', $dataform, true); - $ic_content = str_replace('', $template_form_tourqi, $ic_content); - $data["CUSTOMCONENT"] = $ic_content; + $ic_content_pc = $ic_content; //需要一个变量来过渡,不然$ic_content改变以后,PC端就没有标签了 + $ic_content_pc = str_replace('', $template_form_tourqi, $ic_content_pc); + $data["CUSTOMCONENT"] = $ic_content_pc; } //两种设备分别调用两种模板 ,静态化 @@ -5201,8 +5202,9 @@ class Information extends CI_Controller { if ($meta_ct_page_type == "tourdetail") { //线路表单,左右结构,用标签来做 $dataform['device'] = $device; $template_form_tourqi = $this->load->view($template_path . '-form-tourqi-new', $dataform, true); - $ic_content = str_replace('', $template_form_tourqi, $ic_content); - $data["CUSTOMCONENT"] = $ic_content; + $ic_content_pc = $ic_content; //需要一个变量来过渡,不然$ic_content改变以后,PC端就没有标签了 + $ic_content_pc = str_replace('', $template_form_tourqi, $ic_content_pc); + $data["CUSTOMCONENT"] = $ic_content_pc; } //两种设备分别调用两种模板 ,静态化 @@ -5575,8 +5577,9 @@ class Information extends CI_Controller { $dataform["InfoData"] = $InfoData; //传递信息平台数据 $template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true); - $ic_content = str_replace('', $template_form_tourqi, $ic_content); - $data["CUSTOMCONENT"] = $ic_content; + $ic_content_pc = $ic_content; //需要一个变量来过渡,不然$ic_content改变以后,PC端就没有标签了 + $ic_content_pc = str_replace('', $template_form_tourqi, $ic_content_pc); + $data["CUSTOMCONENT"] = $ic_content_pc; }