Browse Source

测试

master
loucongjun 1 week ago
parent
commit
17d9bbc4c8
  1. 1
      public/themes/website/1/en/demo/components/footer.html

1
public/themes/website/1/en/demo/components/footer.html

@ -43,7 +43,6 @@
{php} {php}
$ft_href = $child['href'] ?? ''; $ft_href = $child['href'] ?? '';
$ft_child_cid = (int)($child['category_id'] ?? 0); $ft_child_cid = (int)($child['category_id'] ?? 0);
// 产品列:与头部一致,拼接 cat=product-control-{栏目ID}
if ($ft_is_product && $ft_child_cid > 0 && $ft_href !== '') { if ($ft_is_product && $ft_child_cid > 0 && $ft_href !== '') {
$ft_href .= (strpos($ft_href, '?') !== false ? '&' : '?') . 'cat=product-control-' . $ft_child_cid; $ft_href .= (strpos($ft_href, '?') !== false ? '&' : '?') . 'cat=product-control-' . $ft_child_cid;
} }

Loading…
Cancel
Save