feedback-tab.phtml
2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<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>
{{^}}
<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}}<br>
<span class="time">{{time}}</span>
</p>
</div>
<div class="answer">
<span class="iconfont comment"></span>
<p>{{answer}}</p>
</div>
{{/ consults}}
</div>
<div class="consult-content-footer" id="consult-content-footer">
<a href="{{link}}">
查看更多
<span class="iconfont"></span></a>
</div>
{{else}}
<div class="consult-content-main content-main no-item">
<span class="iconfont comment"></span>暂无咨询
</div>
<div class="consult-content-footer">
<a href="{{link}}">
我要咨询
<span class="iconfont"></span></a>
</div>
{{/if}}
</div>
</div>