fix: mobile - 底部“联系我们”取值问题

This commit is contained in:
2025-08-07 10:03:50 +08:00
parent b13d481e1e
commit 342a3754aa
2 changed files with 10 additions and 7 deletions

View File

@@ -29,12 +29,15 @@
{/notempty}
<li>
<h3>{:lang_i18n('联系方式')}</h3>
{notempty name="contact_config.website_email"}
<p>{$contact_config.website_email.title} {$contact_config.website_email.value}</p>
{/notempty}
{notempty name="contact_config.website_hotline_office_hours"}
<p>{$contact_config.website_hotline_office_hours.title} {$contact_config.website_hotline_office_hours.value}</p>
{/notempty}
{if condition="!empty($contact_config)"}
{volist name="contact_config" id="vo"}
{if condition="$vo.type == 'image'"}
<img src="{$vo.value}" {if condition="!empty($vo.extra)" }style="{$vo.extra}" {/if} />
{else/}
<p>{$vo.value}</p>
{/if}
{/volist}
{/if}
</li>
</ul>
</div>