Authored by 毕凯

Merge branch 'develop' into feature/address

@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
16 16
17 .user-name { 17 .user-name {
18 font-size: 25rem / $pxConvertRem; 18 font-size: 25rem / $pxConvertRem;
  19 + margin-right: 0.5rem;
19 } 20 }
20 21
21 .vip-icon { 22 .vip-icon {
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 .price { 41 .price {
42 position: relative; 42 position: relative;
43 margin-top: pxToRem(20px); 43 margin-top: pxToRem(20px);
44 - font-size: pxToRem(12px); 44 + font-size: pxToRem(24px);
45 line-height: 1; 45 line-height: 1;
46 46
47 .sale-price { 47 .sale-price {
@@ -58,4 +58,4 @@ @@ -58,4 +58,4 @@
58 color: #444; 58 color: #444;
59 } 59 }
60 } 60 }
61 -}  
  61 +}
1 {{> layout/header}} 1 {{> layout/header}}
2 <div class="online-service-detail-page yoho-page"> 2 <div class="online-service-detail-page yoho-page">
3 <div class="qa-list"> 3 <div class="qa-list">
  4 + {{# service}}
4 {{# list}} 5 {{# list}}
5 <div class="question-item"> 6 <div class="question-item">
6 <div class="question">Q:{{q}}</div> 7 <div class="question">Q:{{q}}</div>
7 <div class="answer">{{a}}</div> 8 <div class="answer">{{a}}</div>
8 </div> 9 </div>
9 - {{/ list}} 10 + {{/ list}}
  11 + {{/ service}}
10 </div> 12 </div>
11 </div> 13 </div>
12 -{{> layout/footer}}  
  14 +{{> layout/footer}}
@@ -249,7 +249,12 @@ @@ -249,7 +249,12 @@
249 {{#if onlineServicePage}} 249 {{#if onlineServicePage}}
250 <script> 250 <script>
251 seajs.use('js/me/online-service'); 251 seajs.use('js/me/online-service');
252 -</script> 252 +</script>onlineServiceDetailPage
  253 +{{/if}}
  254 +{{#if onlineServiceDetailPage}}
  255 +<script>
  256 + seajs.use('js/index/footer');
  257 +</script>onlineServiceDetailPage
253 {{/if}} 258 {{/if}}
254 {{#if addressPage}} 259 {{#if addressPage}}
255 <script> 260 <script>
@@ -275,4 +280,4 @@ @@ -275,4 +280,4 @@
275 <script> 280 <script>
276 seajs.use('js/me/browse-record'); 281 seajs.use('js/me/browse-record');
277 </script> 282 </script>
278 -{{/if}}  
  283 +{{/if}}
@@ -67,6 +67,7 @@ @@ -67,6 +67,7 @@
67 {{#if vip0}} 67 {{#if vip0}}
68 <p> 68 <p>
69 <span class="user-name">{{name}}</span> 69 <span class="user-name">{{name}}</span>
  70 + <span>普通会员</span>
70 </p> 71 </p>
71 <p class="grade-desc"> 72 <p class="grade-desc">
72 还差<span class="cost-gap"{{costGap}}</span>就可以升级为银卡会员! 73 还差<span class="cost-gap"{{costGap}}</span>就可以升级为银卡会员!
  1 +{{#if list}}
1 <div class="banner-top"> 2 <div class="banner-top">
2 <div class="banner-swiper swiper-container"> 3 <div class="banner-swiper swiper-container">
3 <ul class="swiper-wrapper"> 4 <ul class="swiper-wrapper">
@@ -17,4 +18,11 @@ @@ -17,4 +18,11 @@
17 18
18 <div class="my-swiper-button-prev prev-grey"></div> 19 <div class="my-swiper-button-prev prev-grey"></div>
19 <div class="my-swiper-button-next next-grey"></div> 20 <div class="my-swiper-button-next next-grey"></div>
20 -</div>  
  21 +</div>
  22 + {{^}}
  23 +<div class="banner-top-single">
  24 +<a href={{url}}>
  25 +<img class="img" src="{{img}}">
  26 +</a>
  27 +</div>
  28 + {{/if}}
@@ -445,7 +445,11 @@ class HomeController extends AbstractAction @@ -445,7 +445,11 @@ class HomeController extends AbstractAction
445 } 445 }
446 $this->setTitle('在线客服'); 446 $this->setTitle('在线客服');
447 $this->setNavHeader($cateName, true, ''); 447 $this->setNavHeader($cateName, true, '');
448 - $this->_view->display('online-service-detail', $service); 448 + $this->_view->display('online-service-detail', array(
  449 + 'onlineServiceDetailPage' => true,
  450 + 'pageFooter' => true,
  451 + 'service' => $service
  452 + ));
449 } 453 }
450 454
451 /** 455 /**
@@ -791,4 +795,4 @@ class HomeController extends AbstractAction @@ -791,4 +795,4 @@ class HomeController extends AbstractAction
791 ); 795 );
792 $this->_view->display('i-help', $data); 796 $this->_view->display('i-help', $data);
793 } 797 }
794 -}  
  798 +}