From b139ceb4cea75c48ed16c169b411a043d4979068 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Fri, 23 Jul 2021 14:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=A2=E5=8C=85=E5=B1=91=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E5=8C=96=E6=A0=87=E7=AD=BE=E6=B5=8B=E8=AF=95=E5=AE=8C=E6=88=90?= =?UTF-8?q?=EF=BC=8C=E4=B8=8A=E7=BA=BF=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 18 ++++++++---------- application/views/mobile_first/ch-pc.php | 15 +++++++-------- application/views/mobile_first/ch.php | 5 +++++ 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 24426981..8935b4fa 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -589,16 +589,14 @@ class Information extends CI_Controller $breadcrumb_data = $this->Information_model->get_path_exclude_self($information->is_id, $information->is_path); - if ($information->is_id == '278006460') { - $breadcrumb_structured_data_content = $this->load->view( - $template_path . '-structured-data-breadcrumb', - array('breadcrumb_data' => $breadcrumb_data, 'information' => $information), - true); - $template = str_replace( - '', - $breadcrumb_structured_data_content, - $template); - } + $breadcrumb_structured_data_content = $this->load->view( + $template_path . '-structured-data-breadcrumb', + array('breadcrumb_data' => $breadcrumb_data, 'information' => $information), + true); + $template = str_replace( + '', + $breadcrumb_structured_data_content, + $template); //替换模板中的标签 diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 8e959a5b..18776435 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -12,14 +12,13 @@ - - - - - - - - + + + + + + + diff --git a/application/views/mobile_first/ch.php b/application/views/mobile_first/ch.php index 3e443dc6..9253a0fe 100644 --- a/application/views/mobile_first/ch.php +++ b/application/views/mobile_first/ch.php @@ -6,6 +6,10 @@ + + + + @@ -356,5 +360,6 @@ ] } + \ No newline at end of file