Browse Source

debug

master
xiaodong 1 week ago
parent
commit
847d2b0bfd
  1. 6
      public/themes/website/1/zh/demo/download.html

6
public/themes/website/1/zh/demo/download.html

@ -119,9 +119,9 @@
<div class="d-list">
{hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo" sort="sort desc"}
{php}
// $dl_file = !empty($vo['url']) ? $vo['url'] : ($vo['thumbnail']['url'] ?? '');
$pdf_resource_download = $vo['main_content']['resource_download'][0] ?? '';
$dl_file = $pdf_resource_download;
$dl_file = !empty($vo['url']) ? $vo['url'] : ($vo['thumbnail']['url'] ?? '');
// $pdf_resource_download = $vo['main_content']['resource_download'][0] ?? '';
// $dl_file = $pdf_resource_download;
$has_dl = $dl_file !== '';
{/php}
<div class="d-item">

Loading…
Cancel
Save