master
赵鹏 7 months ago
parent 48373bcdd3
commit 46bd32a991

@ -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('<!--@TOUR-FORM@-->', $template_form_tourqi, $ic_content);
$data["CUSTOMCONENT"] = $ic_content;
$ic_content_pc = $ic_content; //需要一个变量来过渡,不然$ic_content改变以后PC端就没有标签<!--@TOUR-FORM@-->
$ic_content_pc = str_replace('<!--@TOUR-FORM@-->', $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('<!--@TOUR-FORM@-->', $template_form_tourqi, $ic_content);
$data["CUSTOMCONENT"] = $ic_content;
$ic_content_pc = $ic_content; //需要一个变量来过渡,不然$ic_content改变以后PC端就没有标签<!--@TOUR-FORM@-->
$ic_content_pc = str_replace('<!--@TOUR-FORM@-->', $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('<!--@TOUR-FORM@-->', $template_form_tourqi, $ic_content);
$data["CUSTOMCONENT"] = $ic_content;
$ic_content_pc = $ic_content; //需要一个变量来过渡,不然$ic_content改变以后PC端就没有标签<!--@TOUR-FORM@-->
$ic_content_pc = str_replace('<!--@TOUR-FORM@-->', $template_form_tourqi, $ic_content_pc);
$data["CUSTOMCONENT"] = $ic_content_pc;
}

Loading…
Cancel
Save