{include file="common/nav" /} {hcTaglib:category id="156" item="vo" field="*"}
{/hcTaglib:category}

联系方式

{hcTaglib:category id="196" item="vo" field="*"} {php} $contact_map_pic = $vo['banner']['url'] ?? ''; $contact_str = $vo['description'] ?? ''; $contact_phone = ''; $contact_fax = ''; $contact_email = ''; if(!empty($contact_str)){ $contact_arr = explode('##', $contact_str); $contact_phone = $contact_arr[0] ?? ''; $contact_fax = $contact_arr[1] ?? ''; $contact_email = $contact_arr[2] ?? ''; } {/php} {/hcTaglib:category}
  • 服务电话

    {$contact_phone}

  • 传真

    {$contact_fax}

  • 公司邮箱

    {$contact_email}

公司各部门联系电话

{hcTaglib:category id="197" item="vo" field="*"} {php} $contact_str = $vo['description'] ?? ''; $contact_phone = ''; $contact_fax = ''; $contact_email = ''; if(!empty($contact_str)){ $contact_arr = explode('##', $contact_str); $contactList = []; foreach ($contact_arr as $item) { // 按 ':' 拆分成name和tel,限制为2部分,防止tel中有多余冒号 $parts = explode(':', $item, 2); if (count($parts) == 2) { $contactList[] = [ 'name' => trim($parts[0]), 'tel' => trim($parts[1]) ]; } } // 每2个一组分块 $chunkedList = array_chunk($contactList, 2); } {/php} {/hcTaglib:category} {foreach $chunkedList as $row} {if isset($row[1])} {else} {/if} {/foreach}

{$row[0]['name']}

{$row[0]['tel']}

{$row[1]['name']}

{$row[1]['tel']}

 

投诉建议

  • *主题:

  • *姓名:

  • 邮箱:

  • *电话:

  • *地址:

  • *投诉内容:

{include file="common/footer" /}
{include file="common/uitfexi" /}