{include file="header" /} {php} $cooperationContactPhone = ''; $cooperationContactTel = ''; foreach (['cooperation_phone', 'contact_phone', 'service_phone', 'phone', 'tel'] as $phoneConfigKey) { $phoneConfigValue = trim((string)config('site.' . $phoneConfigKey)); if ($phoneConfigValue === '') { continue; } $phoneDigits = ''; $phoneAllowed = true; $phoneTel = ''; foreach (preg_split('//u', $phoneConfigValue, -1, PREG_SPLIT_NO_EMPTY) as $phoneChar) { if (ctype_digit($phoneChar)) { $phoneDigits .= $phoneChar; $phoneTel .= $phoneChar; continue; } if ($phoneChar === '+') { $phoneTel .= $phoneChar; continue; } if (!in_array($phoneChar, ['(', ')', '-', ' '], true)) { $phoneAllowed = false; break; } } if ($phoneAllowed && strlen($phoneDigits) >= 6 && mb_strlen($phoneConfigValue, 'UTF-8') <= 40) { $cooperationContactPhone = $phoneConfigValue; $cooperationContactTel = $phoneTel; break; } } {/php}
{$title|default=cms_t('cooperation_contact_title','联系我们')}

{$title|default=cms_t('cooperation_contact_title','联系我们')}

{if getCategory($catid,'description')}{:getCategory($catid,'description')}{elseif !empty($category.description) /}{$category.description}{else /}{:cms_t('cooperation_intro','请填写以下信息,我们的商务团队将会尽快与您联系,结合您的行业场景提供产品、方案与合作支持。')}{/if}

{:cms_t('cooperation_contact_title','联系我们')}

{if getCategory($catid,'description')}{:getCategory($catid,'description')}{elseif !empty($category.description) /}{$category.description}{else /}{:cms_t('cooperation_intro','请填写以下信息,我们的商务团队将会尽快与您联系,结合您的行业场景提供产品、方案与合作支持。')}{/if}

0/300
{if condition="$cooperationContactPhone neq ''"} {$cooperationContactPhone} {/if}
{if condition="!empty($content)"}
{$content|raw}
{/if} {include file="footer-links" /} {include file="footer" /}