Authored by 毕凯

Merge branch 'develop' into feature/address

... ... @@ -16,6 +16,7 @@
.user-name {
font-size: 25rem / $pxConvertRem;
margin-right: 0.5rem;
}
.vip-icon {
... ...
... ... @@ -41,7 +41,7 @@
.price {
position: relative;
margin-top: pxToRem(20px);
font-size: pxToRem(12px);
font-size: pxToRem(24px);
line-height: 1;
.sale-price {
... ...
{{> 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}}
{{/ service}}
</div>
</div>
{{> 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>
... ...
... ... @@ -67,6 +67,7 @@
{{#if vip0}}
<p>
<span class="user-name">{{name}}</span>
<span>普通会员</span>
</p>
<p class="grade-desc">
还差<span class="cost-gap"{{costGap}}</span>就可以升级为银卡会员!
... ...
{{#if list}}
<div class="banner-top">
<div class="banner-swiper swiper-container">
<ul class="swiper-wrapper">
... ... @@ -18,3 +19,10 @@
<div class="my-swiper-button-prev prev-grey"></div>
<div class="my-swiper-button-next next-grey"></div>
</div>
{{^}}
<div class="banner-top-single">
<a href={{url}}>
<img class="img" src="{{img}}">
</a>
</div>
{{/if}}
\ No newline at end of file
... ...
... ... @@ -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
));
}
/**
... ...