Authored by Lynnic

add consults tab

... ... @@ -67,7 +67,7 @@ overflow: hidden;
font-size: pxToRem(20px);
line-height: pxToRem(35px);
background-color: #7cd881;
z-index: 16;
// z-index: 16;
}
}
.banner-top{
... ... @@ -499,7 +499,7 @@ overflow: hidden;
position:fixed;
bottom: 0;
background-color: #fff;
z-index: 64;
z-index:2;
padding:pxToRem(20px) pxToRem(28px);
text-align: center;
a{
... ...
... ... @@ -76,10 +76,23 @@
</div>
</div>
<div class="consult-content content hide">
<div class="consult-content-main">
{{# consults}}
<!-- {{> guang/ps_item}} -->
<p class="question">
{{question}}
</p>
<span class="time">
{{time}}
</span>
<p class="answer">
{{answer}}
</p>
{{/ consults}}
</div>
<div class="consult-content-footer">
<a href="{{moreComments}}">查看更多 <span class="iconfont">&#xe604;</span></a>
</div>
</div>
</div>
{{/ feedbacks}}
</div>
... ...
... ... @@ -68,8 +68,8 @@ SHOE BQT KEN BLOCK',
'commentName'=>'商品评价(15)',
'consultName' =>'购买咨询(2)',
'moreComments'=>'http://www.baidu.com',
'moreConsults'=>'http://www.baidu.com',
'comments'=>array(
array(
'userName'=>'Lynnic',
'desc'=>'购买了白色Mate7',
... ... @@ -79,8 +79,14 @@ SHOE BQT KEN BLOCK',
)
),
'consults'=>array(
array(
'question' =>'您好 我一米七七 140斤 穿M的行吗',
'time'=>'2014-08-12 10:24:26',
'answer'=>'您好,建议您参考XL的款式,由于版型和个人穿衣风格不同,需要'
)
)
),
'enterStore'=>array(
'img'=>'http://static.dev.yohobuy.com/img/product/store.png',
'storeName'=>'Stussy',
... ...