...
|
...
|
@@ -43,28 +43,107 @@ |
|
|
|
|
|
{{#goodsDiscount}}
|
|
|
<div class="goodsDiscount">
|
|
|
<h1>{{.}}<span class="iconfont"></span></h1>
|
|
|
{{#each list}}
|
|
|
{{#if @first}}
|
|
|
<h1>{{this}}<span class="iconfont dropdown"></span></h1>
|
|
|
<div class="discount-folder">
|
|
|
{{else}}
|
|
|
<h1 class="folder-item">{{this}}</h1>
|
|
|
{{/if}}
|
|
|
{{/list}}
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/goodsDiscount}}
|
|
|
|
|
|
<div class="feedback-list ">
|
|
|
{{# feedbacks}}
|
|
|
{{#if nodata}}
|
|
|
<div class="nodata">
|
|
|
<span>暂无商品评价和咨询</span>
|
|
|
<a class="go-consult">我要咨询<i class="iconfont"><span class="iconfont"></span></a>
|
|
|
{{#if commentsNum}}
|
|
|
<!--tab begin-->
|
|
|
<ul id="nav-tab" class="nav-tab clearfix">
|
|
|
<li class="comment-nav">商品评价(<span class="comments-num">{{commentsNum}}</span>)</li>
|
|
|
<li class="consult-nav">购买咨询(<span class="consults-num">{{consultsNum}}</span>)</li>
|
|
|
</ul>
|
|
|
<div id="feedback-content" >
|
|
|
|
|
|
<div class="comment-content content ">
|
|
|
{{#if commentsNum}}
|
|
|
<div class="comment-content-main content-main">
|
|
|
{{# comments}}
|
|
|
<span class="user-name">
|
|
|
{{userName}}
|
|
|
</span>
|
|
|
<span class="goods-spec">
|
|
|
{{desc}}
|
|
|
</span>
|
|
|
<p class="detail-content">
|
|
|
{{content}}
|
|
|
</p>
|
|
|
<span class="comment-time">
|
|
|
{{time}}
|
|
|
</span>
|
|
|
{{/ comments}}
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="comment-content-main content-main no-item">
|
|
|
<span class="iconfont"></span>暂无评论
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
<div class="comment-content-footer">
|
|
|
<a href="{{link}}">查看更多 <span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<div class="consult-content content hide ">
|
|
|
{{#if consultsNum}}
|
|
|
<div class="consult-content-main content-main">
|
|
|
{{# consults}}
|
|
|
<div class="question">
|
|
|
<span class="iconfont"></span>
|
|
|
<p>{{question}}
|
|
|
<span class="time">
|
|
|
{{time}}
|
|
|
</span>
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="answer">
|
|
|
<span class="iconfont"></span>
|
|
|
<p>{{answer}}</p>
|
|
|
</div>
|
|
|
{{/ consults}}
|
|
|
</div>
|
|
|
<div class="consult-content-footer">
|
|
|
<a href="{{link}}">
|
|
|
查看更多
|
|
|
<span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="comment-content-main content-main no-item">
|
|
|
<span class="iconfont"></span>暂无咨询
|
|
|
</div>
|
|
|
<div class="consult-content-footer">
|
|
|
<a href="{{link}}">
|
|
|
我要咨询
|
|
|
<span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--/tab end-->
|
|
|
{{else}}
|
|
|
|
|
|
<ul id="nav-tab" class="nav-tab clearfix">
|
|
|
<li class="comment-nav focus">{{commentName}}({{commentsNum}})</li>
|
|
|
<li class="consult-nav">{{consultName}}({{consultsNum}})</li>
|
|
|
</ul>
|
|
|
<div id="feedback-content" >
|
|
|
|
|
|
<div class="comment-content content ">
|
|
|
{{#if commentsNum}}
|
|
|
<div class="comment-content-main content-main">
|
|
|
{{#if consultsNum}}
|
|
|
<!--tab begin-->
|
|
|
<ul id="nav-tab" class="nav-tab clearfix">
|
|
|
<li class="comment-nav">商品评价(<span class="comments-num">{{commentsNum}}</span>)</li>
|
|
|
<li class="consult-nav">购买咨询(<span class="consults-num">{{consultsNum}}</span>)</li>
|
|
|
</ul>
|
|
|
<div id="feedback-content" >
|
|
|
|
|
|
<div class="comment-content content ">
|
|
|
{{#if commentsNum}}
|
|
|
<div class="comment-content-main content-main">
|
|
|
{{# comments}}
|
|
|
<span class="user-name">
|
|
|
{{userName}}
|
...
|
...
|
@@ -80,13 +159,13 @@ |
|
|
</span>
|
|
|
{{/ comments}}
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="comment-content-main content-main no-item">
|
|
|
<span class="iconfont"></span>暂无评论
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="comment-content-main content-main no-item">
|
|
|
<span class="iconfont"></span>暂无评论
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
<div class="comment-content-footer">
|
|
|
<a href="{{moreComments}}">查看更多 <span class="iconfont"></span></a>
|
|
|
<a href="{{link}}">查看更多 <span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -101,7 +180,7 @@ |
|
|
<span class="time">
|
|
|
{{time}}
|
|
|
</span>
|
|
|
</p>
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="answer">
|
...
|
...
|
@@ -111,24 +190,34 @@ |
|
|
{{/ consults}}
|
|
|
</div>
|
|
|
<div class="consult-content-footer">
|
|
|
<a href="{{moreConsults}}">
|
|
|
<a href="{{link}}">
|
|
|
查看更多
|
|
|
<span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="comment-content-main content-main no-item">
|
|
|
<span class="iconfont"></span>暂无咨询
|
|
|
</div>
|
|
|
<div class="consult-content-footer">
|
|
|
<a href="{{gotoConsults}}">
|
|
|
<div class="comment-content-main content-main no-item">
|
|
|
<span class="iconfont"></span>暂无咨询
|
|
|
</div>
|
|
|
<div class="consult-content-footer">
|
|
|
<a href="{{link}}">
|
|
|
我要咨询
|
|
|
<span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--/tab end-->
|
|
|
{{else}}
|
|
|
<div class="nodata">
|
|
|
<span>暂无商品评价和咨询</span>
|
|
|
<a class="go-consult">我要咨询<span class="iconfont"></span></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
{{/ feedbacks}}
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -189,7 +278,7 @@ |
|
|
<div class="swiper-container detail-swiper" id="size-swiper-container">
|
|
|
<div class="swiper-wrapper">
|
|
|
{{#list}}
|
|
|
<div class="swiper-slide blue-slide" >
|
|
|
<div class="swiper-slide " >
|
|
|
<div class="size-name cell">{{name}}</div>
|
|
|
<div class="size-m cell">{{sizem}}</div>
|
|
|
<div class="size-xl cell">{{sizexl}}</div>
|
...
|
...
|
@@ -303,7 +392,11 @@ |
|
|
<div class="cart-bar">
|
|
|
<span class="num-tag">{{numInCart}}</span>
|
|
|
<a href="" class="num-incart iconfont"></a>
|
|
|
{{#if goodsInstore}}
|
|
|
<a href="" class="addto-cart ">加入购物车</a>
|
|
|
{{else}}
|
|
|
<a href="" class="sold-out">已售罄</a>
|
|
|
{{/if}}
|
|
|
<a href="" class="favorite iconfont"></a>
|
|
|
</div>
|
|
|
{{/cartInfo}}
|
...
|
...
|
|