Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
4ba5480f885c072889a820c59050e3fecea03fd6
1 parent
0e2dd43b
获取客服配置开关 footer.html
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
library/Action/AbstractAction.php
template/www.yohobuy.com/actions/home/returns/returns-apply.phtml
template/www.yohobuy.com/actions/index/help/search.phtml
template/www.yohobuy.com/partials/layout/page-footer.phtml
library/Action/AbstractAction.php
View file @
4ba5480
...
...
@@ -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参数
*
...
...
template/www.yohobuy.com/actions/home/returns/returns-apply.phtml
View file @
4ba5480
...
...
@@ -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
}
}
...
...
template/www.yohobuy.com/actions/index/help/search.phtml
View file @
4ba5480
...
...
@@ -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>
<h
2
>所有问题一览</h
2
>
...
...
template/www.yohobuy.com/partials/layout/page-footer.phtml
View file @
4ba5480
...
...
@@ -189,7 +189,7 @@
</div>
<div class="left">
<span class="iconfont rgbf"></span>
<a href="
http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409
" target="_blank">
<a href="
{{@root.customerServiceSwitch}}
" target="_blank">
<span class="red">便捷</span>
<span class="rgbf">在线客服</span>
</a>
...
...
Please
register
or
login
to post a comment