From 162adb431f3b17fbb8b9dbeec4bc8c15ee66f9dc Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Mon, 29 Aug 2022 11:33:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E7=81=AF=E8=8A=82=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E8=A1=8C=E7=A8=8B=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 10 ++++++++-- .../views/mobile_first/ah-lantern-form-info-page.php | 1 + application/views/mobile_first/ah-lantern-form.php | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 160c53bb..7ec3c042 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1302,10 +1302,16 @@ class Information extends CI_Controller $information->ic_content = str_replace('', $info_page_form_content, $information->ic_content); // 水灯节表单 - $lantern_form_content = $this->load->view($template_path . '-lantern-form', false, true); + $lantern_form_content = $this->load->view( + $template_path . '-lantern-form', + array('information' => $information), + true); $information->ic_content = str_replace('', $lantern_form_content, $information->ic_content); // 水灯节在信息页面表单 - $lantern_form_info_page_content = $this->load->view($template_path . '-lantern-form-info-page', false, true); + $lantern_form_info_page_content = $this->load->view( + $template_path . '-lantern-form-info-page', + array('information' => $information), + true); $information->ic_content = str_replace('', $lantern_form_info_page_content, $information->ic_content); // 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。 diff --git a/application/views/mobile_first/ah-lantern-form-info-page.php b/application/views/mobile_first/ah-lantern-form-info-page.php index e7217316..bf998791 100644 --- a/application/views/mobile_first/ah-lantern-form-info-page.php +++ b/application/views/mobile_first/ah-lantern-form-info-page.php @@ -669,6 +669,7 @@ + diff --git a/application/views/mobile_first/ah-lantern-form.php b/application/views/mobile_first/ah-lantern-form.php index ce7a181c..e2ed25a5 100644 --- a/application/views/mobile_first/ah-lantern-form.php +++ b/application/views/mobile_first/ah-lantern-form.php @@ -668,6 +668,7 @@ +