Authored by 郝肖肖

获取客服配置开关 footer.html

... ... @@ -71,8 +71,16 @@ class AbstractAction extends Controller_Abstract
$this->_useSession = false;
break;
}
//读取客服开关配置
$customerServiceSwitch = $this->getCustomerServiceSwitch();
$this->_view->assign('customerServiceSwitch', $customerServiceSwitch);
}
//客服配置
protected function getCustomerServiceSwitch() {
return $this->_useSession && empty($this->getCache('customerServiceSwitch')) ? 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409' : '/service/client';
}
/**
* 封装一下获取get参数
*
... ...
... ... @@ -14,7 +14,7 @@
<div class="return-prompt">
换货须知:<br>
<p>自您签收商品7日内可以退货,15日内可以换货,在商品不影响二次销售的情况下(包括产品吊牌和外包装),YOHO!有货将为您办理退换货服务,请在网站提交"退换货"申请。<span>特别提醒:非质量问题的退换货,来回运费由您承担。寄回商品时需垫付运费,到付件无法签收。</span>换货后VIP积分累计时间重新计算,以您收到换货订单后15个工作日累加,如有疑问,请联系 <a
href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=" target="_blank"><i class="icon-onlineservice"></i> 在线客服</a></p>
href="{{@root.customerServiceSwitch}}" target="_blank"><i class="icon-onlineservice"></i> 在线客服</a></p>
{{# tips}}
{{> home/return-tips}}
{{/ tips}}
... ...
... ... @@ -22,7 +22,7 @@
<input type="submit" class="search-btn">
</label>
<span>或者</span>
<a href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank" class="yoho-im-btn"></a>
<a href="{{@root.customerServiceSwitch}}" target="_blank" class="yoho-im-btn"></a>
</form>
</div>
<h2>所有问题一览</h2>
... ...
... ... @@ -189,7 +189,7 @@
</div>
<div class="left">
<span class="iconfont rgbf">&#xe63b;</span>
<a href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&amp;configID=149091&amp;jid=8732423409" target="_blank">
<a href="{{@root.customerServiceSwitch}}" target="_blank">
<span class="red">便捷</span>
<span class="rgbf">在线客服</span>
</a>
... ...