{if condition="!empty($tplconfig['theme']['bnav'])"} {php} $__app_dl_android = trim((string)($tplconfig['theme']['site_card']['apk_android_url'] ?? '')); $__app_dl_ios = trim((string)($tplconfig['theme']['site_card']['apk_ios_url'] ?? '')); $__app_dl_legacy = trim((string)($tplconfig['theme']['site_card']['apk_url'] ?? '')); if ($__app_dl_android === '' && $__app_dl_legacy !== '') { $__app_dl_android = $__app_dl_legacy; } if ($__app_dl_ios === '' && $__app_dl_legacy !== '') { $__app_dl_ios = $__app_dl_legacy; } if ($__app_dl_android === '' && $__app_dl_ios === '') { $__old = trim((string)($tplconfig['theme']['app_dl']['url'] ?? '')); $__app_dl_android = $__old; $__app_dl_ios = $__old; } $__mac_show_app_dl_bar = isset($maccms['controller_action']) && strtolower((string)$maccms['controller_action']) === 'index/index'; $__app_dl_logo_def = 'template/default/images/la/logo@2x.png'; $__app_dl_logo_legacy = trim((string)($tplconfig['theme']['app_dl']['applogo'] ?? '')); $__app_dl_logo_light = trim((string)($tplconfig['theme']['app_dl']['applogo_light'] ?? '')); $__app_dl_logo_dark = trim((string)($tplconfig['theme']['app_dl']['applogo_dark'] ?? '')); if ($__app_dl_logo_light === '') { $__app_dl_logo_light = $__app_dl_logo_legacy !== '' ? $__app_dl_logo_legacy : $__app_dl_logo_def; } if ($__app_dl_logo_dark === '') { $__app_dl_logo_dark = $__app_dl_logo_legacy !== '' ? $__app_dl_logo_legacy : $__app_dl_logo_light; } $__app_dl_logo_light_src = mac_url_img($__app_dl_logo_light); $__app_dl_logo_dark_src = mac_url_img($__app_dl_logo_dark); {/php} {if condition="$__app_dl_android !== '' || $__app_dl_ios !== ''"} {if condition="$__mac_show_app_dl_bar"}
{if condition="isset($tplconfig['theme']['app_dl']['title']) && trim((string)$tplconfig['theme']['app_dl']['title']) !== ''"}

{$tplconfig.theme.app_dl.title}

{else/}

APP独享超清加速，永久免费

{/if} {if condition="isset($tplconfig['theme']['app_dl']['subtitle']) && trim((string)$tplconfig['theme']['app_dl']['subtitle']) !== ''"}

{$tplconfig.theme.app_dl.subtitle}

{else/}

海量高清影片抢先看

{/if}
{if condition="isset($tplconfig['theme']['app_dl']['btn']) && trim((string)$tplconfig['theme']['app_dl']['btn']) !== ''"} {$tplconfig.theme.app_dl.btn} {else/} 立即下载 {/if}
{/if} {/if}
{/if}