From 387cced000c723d2c0bcac58e97255cc77ee2170 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Mon, 29 Aug 2022 11:24:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20GP=20=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=20itenerary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 11 +++++++---- application/views/mobile_first/ah-gp-form.php | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 923fdb2c..160c53bb 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1280,6 +1280,13 @@ class Information extends CI_Controller array('meta_product_code' => $meta_product_code, 'information' => $information), true); $information->ic_content = str_replace('', $inquiry_form_template, $information->ic_content); + + // GP 表单 + $gp_form_content = $this->load->view( + $template_path . '-gp-form', + array('meta_product_code' => $meta_product_code, 'information' => $information), + true); + $information->ic_content = str_replace('', $gp_form_content, $information->ic_content); } // why-us 相关的标签 $why_us_mobile = $this->load->view($template_path . '-why-us-mobile', false, true); @@ -1301,10 +1308,6 @@ class Information extends CI_Controller $lantern_form_info_page_content = $this->load->view($template_path . '-lantern-form-info-page', false, true); $information->ic_content = str_replace('', $lantern_form_info_page_content, $information->ic_content); - // GP 表单 - $gp_form_content = $this->load->view($template_path . '-gp-form', false, true); - $information->ic_content = str_replace('', $gp_form_content, $information->ic_content); - // 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。 // HTLM:
// 解析结果:; Siem Reap,Bangkok diff --git a/application/views/mobile_first/ah-gp-form.php b/application/views/mobile_first/ah-gp-form.php index f701ee1a..e8d936be 100644 --- a/application/views/mobile_first/ah-gp-form.php +++ b/application/views/mobile_first/ah-gp-form.php @@ -623,7 +623,7 @@ - +