|
|
|
|
@ -5120,6 +5120,34 @@ class Information extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($meta_ct_page_type == "tourlist") {
|
|
|
|
|
//线路类型列表
|
|
|
|
|
$lineTypeList = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getLineTypeList/?webcode=guilin"));
|
|
|
|
|
$dataTourList["lineTypeList"] = $lineTypeList;
|
|
|
|
|
$tourListData = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getTourList/?webcode=guilin"));
|
|
|
|
|
$dataTourList["tourListData"] = $tourListData;
|
|
|
|
|
|
|
|
|
|
//替换模板
|
|
|
|
|
$template_page_tourlist = $this->load->view('mobile_first/shanghai-tour-list', $dataTourList, true); //模板内容,统一用上海站模板
|
|
|
|
|
$ic_content = str_replace('<!--@TOUR-LIST-PAGE@-->', $template_page_tourlist, $ic_content);
|
|
|
|
|
|
|
|
|
|
$addonJs .= '<script src="' . $apiweb . '/js/mobile-first/tourlist.js" defer></script>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($meta_ct_page_type == "daytriplist") {
|
|
|
|
|
//一日游类型
|
|
|
|
|
$allTypeList = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getPagTypeList/?webcode=guilin"));
|
|
|
|
|
$dataDayTripList["allTypeList"] = $allTypeList;
|
|
|
|
|
$dayTripListData = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getSearchDaytripList/?webcode=guilin"));
|
|
|
|
|
$dataDayTripList["dayTripListData"] = $dayTripListData;
|
|
|
|
|
|
|
|
|
|
//替换模板
|
|
|
|
|
$template_page_daytriplist = $this->load->view('mobile_first/shanghai-daytrip-list', $dataDayTripList, true); //模板内容,统一用上海站模板
|
|
|
|
|
$ic_content = str_replace('<!--@TOUR-LIST-PAGE@-->', $template_page_daytriplist, $ic_content);
|
|
|
|
|
|
|
|
|
|
$addonJs .= '<script src="' . $apiweb . '/js/mobile-first/daytriplist.js" defer></script>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//表单页
|
|
|
|
|
if (in_array($meta_ct_page_type, ["customize", "contactus", "pagewithform", "tourdetail"])) {
|
|
|
|
|
$productType = $meta_ct_page_type;
|
|
|
|
|
|