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
毕凯
9 years ago
Commit
5292c6b745a4749a4644ab22bb57886c97ffeda9
1 parent
9988c5b5
在线客服详情页增加底部
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
framework
template/m.yohobuy.com/actions/index/home/online-service-detail.phtml
template/m.yohobuy.com/partials/layout/use.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
framework
@
75bbc3b0
Subproject commit
e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
...
...
template/m.yohobuy.com/actions/index/home/online-service-detail.phtml
View file @
5292c6b
{
{>
layout/header
}
}
<div
class=
"online-service-detail-page yoho-page"
>
<div
class=
"qa-list"
>
{
{#
service
}
}
{
{#
list
}
}
<div
class=
"question-item"
>
<div
class=
"question"
>Q:
{
{q
}
}</div>
<div
class=
"answer"
>
{
{a
}
}</div>
</div>
{
{/
list
}
}
{
{/
list
}
}
{
{/
service
}
}
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer
}
}
...
...
template/m.yohobuy.com/partials/layout/use.phtml
View file @
5292c6b
...
...
@@ -249,7 +249,12 @@
{{#if onlineServicePage}}
<script>
seajs.use('js/me/online-service');
</script>
</script>onlineServiceDetailPage
{{/if}}
{{#if onlineServiceDetailPage}}
<script>
seajs.use('js/index/footer');
</script>onlineServiceDetailPage
{{/if}}
{{#if addressPage}}
<script>
...
...
@@ -275,4 +280,4 @@
<script>
seajs.use('js/me/browse-record');
</script>
{{/if}}
\ No newline at end of file
{{/if}}
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
5292c6b
...
...
@@ -445,7 +445,11 @@ class HomeController extends AbstractAction
}
$this
->
setTitle
(
'在线客服'
);
$this
->
setNavHeader
(
$cateName
,
true
,
''
);
$this
->
_view
->
display
(
'online-service-detail'
,
$service
);
$this
->
_view
->
display
(
'online-service-detail'
,
array
(
'onlineServiceDetailPage'
=>
true
,
'pageFooter'
=>
true
,
'service'
=>
$service
));
}
/**
...
...
@@ -791,4 +795,4 @@ class HomeController extends AbstractAction
);
$this
->
_view
->
display
(
'i-help'
,
$data
);
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment