From 79a0b4b78cc655a46f787bf98bf809df517e64c9 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Mon, 31 Aug 2026 19:33:06 +0800 Subject: [PATCH 1/3] style: adjust padding, gap, and font size in product page CSS for better visual consistency --- public/themes/dist_static/static/css/product.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/themes/dist_static/static/css/product.css b/public/themes/dist_static/static/css/product.css index d023c94..99c57eb 100644 --- a/public/themes/dist_static/static/css/product.css +++ b/public/themes/dist_static/static/css/product.css @@ -402,7 +402,7 @@ body.is-p-subnav .site-header { z-index: 5; display: flex; align-items: center; - padding: 2rem 0; + padding: 1rem 0; background: var(--color-white); border-bottom: 0.125rem solid rgb(223, 224, 226); } @@ -451,7 +451,7 @@ body.is-p-subnav .site-header { display: flex; flex-direction: column; align-items: center; - gap: 1.25rem; + gap: 0.5rem; padding: 0; border: 0; border-radius: 0; @@ -480,14 +480,14 @@ body.is-p-subnav .site-header { } .p-spec__tab-media img { width: auto; - height: 6.25rem; /* 100px */ - max-width: 4.5rem; /* 72px */ + height: 5rem; + max-width: 4.5rem; object-fit: contain; display: block; } .p-spec__tab-name { font-family: "MiSans VF", "PingFang SC", sans-serif; - font-size: var(--font-24); + font-size: var(--font-20); font-weight: 400; line-height: var(--font-32); } From 22f1de4ad25d1ab9c8bf548ed3ea6193af77dc43 Mon Sep 17 00:00:00 2001 From: xiaodong Date: Mon, 31 Aug 2026 20:55:11 +0800 Subject: [PATCH 2/3] debug --- public/themes/website/1/zh/demo/components/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/themes/website/1/zh/demo/components/header.html b/public/themes/website/1/zh/demo/components/header.html index 11f410f..edc02ad 100644 --- a/public/themes/website/1/zh/demo/components/header.html +++ b/public/themes/website/1/zh/demo/components/header.html @@ -259,7 +259,7 @@ {hcTaglib:contentPage2 cid="$vo22.id" mainField="id,category_id,title,sub_title" subField="" name="hc_content" limit="30" item="content22" sort="sort asc"} {/hcTaglib:contentPage2} - {if !empty($hc_content)} + {if !empty($hc_content) && $vo22.need_show_sub_content==1}