Authored by 梁志锋

Merge branch 'feature/onlineService' into 'develop'

Feature/online service 在线客服详情页增加了底部

在线客服详情页增加了底部

See merge request !3
framework @ 75bbc3b0
Subproject commit e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2
... ...
{{> 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}}
... ...
... ... @@ -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}}
... ...
... ... @@ -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
}
... ...