From f6a4be5bd7a4e479ddd711270b2324ad569e8e11 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 19 Nov 2021 11:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=A9=E5=AD=90=E6=95=B0=E6=8D=AE=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/default/public/footer.html | 9 ++--- app/index/view/default/public/header.html | 44 +++++++++++++---------- 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/app/index/view/default/public/footer.html b/app/index/view/default/public/footer.html index df261e56f..573355f65 100755 --- a/app/index/view/default/public/footer.html +++ b/app/index/view/default/public/footer.html @@ -8,7 +8,7 @@ -{{if !isset($page_pure) or $page_pure neq 1}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_view_common_bottom @@ -102,12 +102,13 @@ {{/if}} -{{if !isset($page_pure) or $page_pure neq 1}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} {{:MyC('home_footer_info')}} {{/if}} -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_js
@@ -135,7 +136,7 @@ {{/if}} -{{if !isset($page_pure) or $page_pure neq 1}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_common_page_bottom diff --git a/app/index/view/default/public/header.html b/app/index/view/default/public/header.html index f8930e7d4..034bd8bad 100755 --- a/app/index/view/default/public/header.html +++ b/app/index/view/default/public/header.html @@ -86,29 +86,35 @@ -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}} -
- plugins_css -
+{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +
+ plugins_css +
+ {{/if}} {{/if}} -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}} -
- plugins_common_header -
+{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +
+ plugins_common_header +
+ {{/if}} {{/if}} -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}} -
- plugins_view_common_top -
-{{/if}} -{{if !empty($plugins_view_common_top_data) and is_array($plugins_view_common_top_data) and (!isset($is_header) or $is_header eq 1)}} - {{foreach $plugins_view_common_top_data as $hook}} - {{if is_string($hook) or is_int($hook)}} - {{$hook|raw}} - {{/if}} - {{/foreach}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +
+ plugins_view_common_top +
+ {{/if}} + {{if !empty($plugins_view_common_top_data) and is_array($plugins_view_common_top_data)}} + {{foreach $plugins_view_common_top_data as $hook}} + {{if is_string($hook) or is_int($hook)}} + {{$hook|raw}} + {{/if}} + {{/foreach}} + {{/if}} {{/if}} \ No newline at end of file