diff --git a/application/controllers/information.php b/application/controllers/information.php index 1fac674e..89693b5f 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -3018,13 +3018,17 @@ class Information extends CI_Controller //获取cli_sn $tourdata = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/apish/getCliSn/?param=" . $productCode)); $data["clisn"] = $tourdata->clisn; - + + //获取price + $tourprice = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/apish/getTourPrice/?param=" . $productCode)); + $data["tourprice"] = $tourprice->price; //调取模板 $dataform["TourCode"] = $productCode; $dataform["CLI_SN"] = $tourdata->clisn; $dataform["TourName"] = $information->ic_title; - $template_form_tourqi = "" ; //$this->load->view($template_path . '-form-tourqi', $dataform, true); - $data["template_form_tourqi"] = $template_form_tourqi; //表单模板字符串 + $template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true); + //使用simple_html_dom_lib库来进行表单添加 + $ic_content = $this->html_optimize_lib->add_htmlcode($ic_content, "#maincontent", $template_form_tourqi); } diff --git a/application/views/mobile_first/shanghai-form-tourqi.php b/application/views/mobile_first/shanghai-form-tourqi.php new file mode 100644 index 00000000..83b84be0 --- /dev/null +++ b/application/views/mobile_first/shanghai-form-tourqi.php @@ -0,0 +1,79 @@ +
\ No newline at end of file