comment.html
2.03 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
<script id="comment-tpl" type="x-tmpl-mustache">
<ul class="comments-list">
\{{# comment}}
<li class="clearfix">
<div class="userimg">
<img src="\{{headpic}}" alt="">
<i class="\{{partnerType}}"></i>
</div>
<div class="userinfo">
<h6>\{{nick}}</h6>
<p class="comment-text">\{{content}}</p>
\{{#if isSelf}}
<a class="delete-comment" href="javascript:;" pid="\{{id}}"></a>
\{{/if}}
</div>
</li>
\{{/ comment}}
</ul>
\{{# more}}
<div class="view-more"><a href="javascript:;" onclick="YOHODCLICK('comment','web','viewMoreCN')">View <span>\{{moreNum}}</span> more</a></div>
\{{/ more}}
\{{# page}}
<div class="comment-pager-content pager-content-default" style="display:none">
<div class="channel-index-pager">
\{{# pageList}}
<a class="pager-item \{{# isChoosen}}pager-item-choosen\{{/ isChoosen}}" href="\{{link}}" onclick="YOHODCLICK('comment','web','commentPageCN')">\{{text}}</a>
\{{/ pageList}}
</div>
</div>
\{{/ page}}
</script>
<script id="comment-textarea-tpl" type="x-tmpl-mustache">
<div class="comment-textarea">
<textarea placeholder="说点什么..." cid="4288"></textarea>
<div class="login-status clearfix">
<div class="userimg">
<img src="http://cmsres.test.yoho.cn/res/new/girls/assets/images/detail/user-img.png" alt="">
<i></i>
</div>
<div class="anonymous" style="display: none;">YohoGirl</div>
<div class="userinfo" style="display: none;">
<span></span>
<a class="exit-btn" href="javascript:;">退出</a>
</div>
<div class="publish">
<a class="publish-btn" href="javascript:;" onclick="YOHODCLICK('comment','web','publishCN')">Publish</a>
</div>
</div>
</div>
</script>