You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

82 lines
4.3 KiB

{template 'header', $template}
<div id="head-bar">
<div class="head-bar">
<div class="head-bar-back"><a href="{if $back_link}{$back_link}{else}javascript:Dback();" id="back-{$js_pageid}{/if}" data-direction="reverse"><img src="{DT_MOB}static/img/icon-back.png" width="24" height="24"/></a></div>
<div class="head-bar-title">{if $head_name}{$head_name}{else}联系方式{/if}</div>
<div class="head-bar-right">{if online($COM[userid])==1}<span style="display:inline-block;height:12px;line-height:12px;font-size:11px;color:#FFFFFF;background:#00B70C;padding:4px 8px;border-radius:12px;">在线</span>{else}<span style="display:inline-block;height:12px;line-height:12px;font-size:11px;color:#FFFFFF;background:#999999;padding:4px 8px;border-radius:12px;">离线</span>{/if}</div>
</div>
<div class="head-bar-fix" id="load-fix-{$js_pageid}" style="height:0;"></div>
<div class="head-bar-fix" id="head-fix-{$js_pageid}"></div>
</div>
<div class="gird-4">
<ul>
{if $DT[im_web]}
<li><a href="{$MODULE[2][mobile]}chat.php?touser={$COM[username]}"><img src="{DT_STATIC}file/image/share-chat.png" width="48" height="48"/><span>在线交谈</span></a></li>
{/if}
<li><a href="{$MODULE[2][mobile]}message.php?action=send&touser={$COM[username]}"><img src="{DT_STATIC}file/image/share-message.png" width="48" height="48"/><span>发送信件</span></a></li>
{if $COM[telephone]}
<li><a href="tel:{$COM[telephone]}"><img src="{DT_STATIC}file/image/share-tel.png" width="48" height="48"/><span>拨打电话</span></a></li>
{elseif $COM[mobile] && $DT[im_mob]}
<li><a href="tel:{$COM[mobile]}"><img src="{DT_STATIC}file/image/share-tel.png" width="48" height="48"/><span>拨打电话</span></a></li>
{/if}
{if $COM[mobile] && $DT[im_mob]}
<li><a href="sms:{$COM[mobile]}"><img src="{DT_STATIC}file/image/share-sms.png" width="48" height="48"/><span>发送短信</span></a></li>
{/if}
{if $COM[mail]}
<li><a href="mailto:{$COM[mail]}"><img src="{DT_STATIC}file/image/share-email.png" width="48" height="48"/><span>发送邮件</span></a></li>
{/if}
{if $COM[qq] && $DT[im_qq]}
<li><a href="http://wpa.qq.com/msgrd?v=3&uin={$COM[qq]}&site=qq&menu=yes" target="_blank" rel="external"><img src="{DT_STATIC}file/image/share-qq.png" width="48" height="48"/><span>QQ交谈</span></a></li>
{/if}
{if $COM[wx] && $DT[im_wx]}
<li><a href="{DT_MOB}api/wx.php?wid={$COM[wx]}&username={$COM[username]}" rel="external"><img src="{DT_STATIC}file/image/share-wx.png" width="48" height="48"/><span>微信交谈</span></a></li>
{/if}
{if $COM[ali] && $DT[im_ali]}
<li><a href="http://amos.alicdn.com/msg.aw?v=2&uid={$COM[ali]}&site=cnalichn&s=6&charset=UTF-8" target="_blank" rel="external"><img src="{DT_STATIC}file/image/share-ali.png" width="48" height="48"/><span>阿里旺旺</span></a></li>
{/if}
{if $COM[skype] && $DT[im_skype]}
<li><img src="{DT_STATIC}file/image/share-skype.png" width="48" height="48" onclick="prompt('长按号码可以复制', '{$COM[skype]}');"/><span>Skype通话</span></li>
{/if}
{if $COM[address]}
<li><a href="{DT_MOB}api/address.php?auth={encrypt($COM[address].'|'.$COM[company], DT_KEY.'MAP')}" rel="external"><img src="{DT_STATIC}file/image/share-map.png" width="48" height="48"/><span>地图导航</span></a></li>
{/if}
</ul>
</div>
<div class="content bd-t">
{if $COM[shop] && $COM[vshop]}
店铺名称:{$COM[shop]}<br/>
{/if}
公司名称:{$COM[company]}<br/>
{if $COM[address]}
公司地址:{$COM[address]}<br/>
{/if}
{if $COM[postcode]}
邮政编码:{$COM[postcode]}<br/>
{/if}
{if $COM[telephone]}
公司电话:{$COM[telephone]}<br/>
{/if}
{if $COM[fax]}
公司传真:{$COM[fax]}<br/>
{/if}
{if $COM[homepage]}
公司网址:<span onclick="prompt('长按网址可以复制', '{$COM[homepage]}');">{$COM[homepage]}</span><br/>
{/if}
{if $COM[truename]}
联 系 人:{$COM[truename]} ({if $COM[gender]==1}先生{else}女士{/if})<br/>
{/if}
{if $COM[department]}
部门(职位):{$COM[department]}{if $COM[career]} ({$COM[career]}){/if}<br/>
{/if}
{if $COM[mobile] && $DT[im_mob]}
手机号码:{$COM[mobile]}<br/>
{/if}
{if $COM[gzh]}
微信公众号:<span onclick="prompt('长按号码可以复制', '{$COM[gzh]}');">{$COM[gzh]}</span><br/>
{/if}
{if $COM[gzhqr]}
扫码关注:<br/>
<img src="{$COM[gzhqr]}"/><br/>
{/if}
</div>
{template 'footer', $template}