From ca897a372b12632aada5b4ea26d68bce01b2cd5e Mon Sep 17 00:00:00 2001 From: xiaodong Date: Thu, 10 Sep 2026 13:32:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=8B=B1=E6=96=87=E7=89=88=E7=9A=84-?= =?UTF-8?q?=E6=8A=95=E8=B5=84=E8=80=85=E5=85=B3=E7=B3=BB-=E6=8A=95?= =?UTF-8?q?=E8=B5=84=E8=80=85=E7=83=AD=E7=BA=BF=20=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E5=86=99=E6=AD=BB=E8=8B=B1=E6=96=87=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/website/1/en/demo/investment.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/themes/website/1/en/demo/investment.html b/public/themes/website/1/en/demo/investment.html index ef2dc3d..bf8f3da 100755 --- a/public/themes/website/1/en/demo/investment.html +++ b/public/themes/website/1/en/demo/investment.html @@ -236,7 +236,8 @@ height="24" /> Address -

{hcTaglib:setting name="company_address" type="1" /}

+ +

No. 12, Zhihui Avenue, Nanyu Town, Minhou County, Fuzhou City, Fujian Province, China

  • From fe941462a2518d0a39e611ba19a4aa49d370a33e Mon Sep 17 00:00:00 2001 From: "zhangf@suq.cn" Date: Thu, 10 Sep 2026 13:35:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(download):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E6=96=87=E4=BB=B6=E9=93=BE=E6=8E=A5=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了PHP条件表达式,使用!empty()检查url字段是否存在且非空 - 避免当url字段为false或0时导致的链接错误 - 保持原有回退到缩略图链接的功能不变 --- public/themes/website/1/zh/demo/download.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/themes/website/1/zh/demo/download.html b/public/themes/website/1/zh/demo/download.html index 3fb126c..a128596 100755 --- a/public/themes/website/1/zh/demo/download.html +++ b/public/themes/website/1/zh/demo/download.html @@ -118,7 +118,7 @@
    {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo" sort="sort desc"} - {php}$dl_file = $vo['url'] ?? ($vo['thumbnail']['url'] ?? '');{/php} + {php}$dl_file = !empty($vo['url']) ? $vo['url'] : ($vo['thumbnail']['url'] ?? '');{/php}