|
|
|
@ -2720,6 +2720,7 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
#region 移动端和PC端差别处理区域
|
|
|
|
|
$arrDevice = array("mobile", "pc");
|
|
|
|
|
$data["showFormTourQi"]=true; //是否显示线路表单,默认显示
|
|
|
|
|
foreach ($arrDevice as $device) {
|
|
|
|
|
//顶部全屏大图
|
|
|
|
|
$data["TOPBANNER"] = "";
|
|
|
|
@ -2774,7 +2775,7 @@ class Information extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$data["template_form_tourqi"]=""; //是否显示线路表单,默认为空
|
|
|
|
|
|
|
|
|
|
if ($meta_ct_page_type == "tourdetail") {
|
|
|
|
|
$dataform['device'] = $device;
|
|
|
|
|
$template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true);
|
|
|
|
@ -2784,7 +2785,7 @@ class Information extends CI_Controller
|
|
|
|
|
if (strpos($ic_content, '<!--@TOUR-FORM@-->') !== false) {
|
|
|
|
|
$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["template_form_tourqi"]="";
|
|
|
|
|
$data["showFormTourQi"]=false; //如果有标签就不显示外面的表单,因为$ic_content会在第一次就替换掉标签,所以第二次pc端这里不执行。
|
|
|
|
|
$data["CUSTOMCONENT"] = $ic_content;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|