From 6961caa3fc5b11d28003eef9d2a40ce1311412c4 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Fri, 4 Sep 2026 14:12:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(pages):=20=E7=A7=BB=E9=99=A4=E5=86=97?= =?UTF-8?q?=E4=BD=99=E7=9A=84=E5=A4=B4=E9=83=A8=E7=BB=84=E4=BB=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从多个页面中删除了重复的头部组件代码,简化了页面结构 - 通过移除不必要的HTML元素,提升了页面加载性能 - 统一了页面的结构,便于后续维护和更新 --- public/themes/website/1/zh/demo/about.html | 464 +----------- public/themes/website/1/zh/demo/announce.html | 464 +----------- public/themes/website/1/zh/demo/category.html | 802 +------------------- .../themes/website/1/zh/demo/components/mask.html | 104 +++ public/themes/website/1/zh/demo/contact.html | 464 +----------- public/themes/website/1/zh/demo/download.html | 464 +----------- public/themes/website/1/zh/demo/faq.html | 464 +----------- public/themes/website/1/zh/demo/investment.html | 464 +----------- public/themes/website/1/zh/demo/news-detail.html | 802 +------------------- public/themes/website/1/zh/demo/news.html | 478 +----------- public/themes/website/1/zh/demo/product.html | 824 +-------------------- public/themes/website/1/zh/demo/search.html | 464 +----------- public/themes/website/1/zh/demo/single_search.html | 464 +----------- public/themes/website/1/zh/demo/solution.html | 464 +----------- public/themes/website/1/zh/demo/solution2.html | 464 +----------- public/themes/website/1/zh/demo/video.html | 464 +----------- 16 files changed, 119 insertions(+), 7995 deletions(-) create mode 100644 public/themes/website/1/zh/demo/components/mask.html diff --git a/public/themes/website/1/zh/demo/about.html b/public/themes/website/1/zh/demo/about.html index 0393fb2..f7b49b0 100644 --- a/public/themes/website/1/zh/demo/about.html +++ b/public/themes/website/1/zh/demo/about.html @@ -313,469 +313,7 @@ {/hcTaglib:category} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/announce.html b/public/themes/website/1/zh/demo/announce.html index 9694137..4ecfcc4 100644 --- a/public/themes/website/1/zh/demo/announce.html +++ b/public/themes/website/1/zh/demo/announce.html @@ -113,469 +113,7 @@ {/if} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/category.html b/public/themes/website/1/zh/demo/category.html index de454da..229ead0 100644 --- a/public/themes/website/1/zh/demo/category.html +++ b/public/themes/website/1/zh/demo/category.html @@ -207,807 +207,7 @@ $current_cate_id = $current_cate['id'] ?? ''; -
-
- -
- - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/components/mask.html b/public/themes/website/1/zh/demo/components/mask.html new file mode 100644 index 0000000..8a8635c --- /dev/null +++ b/public/themes/website/1/zh/demo/components/mask.html @@ -0,0 +1,104 @@ +
+
+ +
+ + + + + + + +
+
+
+ +
+
\ No newline at end of file diff --git a/public/themes/website/1/zh/demo/contact.html b/public/themes/website/1/zh/demo/contact.html index a8d9832..39c2f96 100644 --- a/public/themes/website/1/zh/demo/contact.html +++ b/public/themes/website/1/zh/demo/contact.html @@ -163,469 +163,7 @@ -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/download.html b/public/themes/website/1/zh/demo/download.html index 2592364..dd57ec3 100644 --- a/public/themes/website/1/zh/demo/download.html +++ b/public/themes/website/1/zh/demo/download.html @@ -131,469 +131,7 @@ {/if} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/faq.html b/public/themes/website/1/zh/demo/faq.html index 4fa7b49..9fa8691 100644 --- a/public/themes/website/1/zh/demo/faq.html +++ b/public/themes/website/1/zh/demo/faq.html @@ -108,469 +108,7 @@ {/if} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/investment.html b/public/themes/website/1/zh/demo/investment.html index 1d1b6a4..6f49b25 100644 --- a/public/themes/website/1/zh/demo/investment.html +++ b/public/themes/website/1/zh/demo/investment.html @@ -262,469 +262,7 @@ {/hcTaglib:category} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/news-detail.html b/public/themes/website/1/zh/demo/news-detail.html index 4fccda5..7a499a1 100644 --- a/public/themes/website/1/zh/demo/news-detail.html +++ b/public/themes/website/1/zh/demo/news-detail.html @@ -198,807 +198,7 @@ -
-
- -
- - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/news.html b/public/themes/website/1/zh/demo/news.html index a7d4a47..f30d18f 100644 --- a/public/themes/website/1/zh/demo/news.html +++ b/public/themes/website/1/zh/demo/news.html @@ -218,483 +218,7 @@ -
-
- -
- - - - - - - - -
-
- -
+{include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/product.html b/public/themes/website/1/zh/demo/product.html index fbd9423..b25e546 100644 --- a/public/themes/website/1/zh/demo/product.html +++ b/public/themes/website/1/zh/demo/product.html @@ -433,829 +433,7 @@ $resource_download = $main_content['resource_download'] ?? []; -
-
- -
- - - - - - - -
-
- -
+{include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/search.html b/public/themes/website/1/zh/demo/search.html index 852113a..7388218 100644 --- a/public/themes/website/1/zh/demo/search.html +++ b/public/themes/website/1/zh/demo/search.html @@ -174,469 +174,7 @@ dd('此页面废弃'); -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/single_search.html b/public/themes/website/1/zh/demo/single_search.html index 6c3f568..e88022f 100644 --- a/public/themes/website/1/zh/demo/single_search.html +++ b/public/themes/website/1/zh/demo/single_search.html @@ -278,469 +278,7 @@ -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/solution.html b/public/themes/website/1/zh/demo/solution.html index da13212..51c56bb 100644 --- a/public/themes/website/1/zh/demo/solution.html +++ b/public/themes/website/1/zh/demo/solution.html @@ -240,469 +240,7 @@ {/if} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/solution2.html b/public/themes/website/1/zh/demo/solution2.html index 037defc..5458668 100644 --- a/public/themes/website/1/zh/demo/solution2.html +++ b/public/themes/website/1/zh/demo/solution2.html @@ -262,469 +262,7 @@ $current_cate_id = $current_cate['id'] ?? 0; {/if} -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"} diff --git a/public/themes/website/1/zh/demo/video.html b/public/themes/website/1/zh/demo/video.html index e5acf42..30e0fd3 100644 --- a/public/themes/website/1/zh/demo/video.html +++ b/public/themes/website/1/zh/demo/video.html @@ -129,469 +129,7 @@ -
-
- -
- - - - - - - - -
-
- -
+ {include file="components/mask"} {include file="components/footer"}