msg.hbs
1.77 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
<div class="msg-content clearfix" data-id="{{id}}">
<div class="msg-img">
<div class="classification">
{{classification}}
</div>
<div class="type-icon fashion-man"></div>
<a href="{{url}}" target="_blank">
<img class="lazy{{#if isSquareImg}} square{{/if}}" data-original="{{image2 img}}">
{{#if isVideo}}<i class="video-icon"></i>{{/if}}
</a>
</div>
<div class="msg-info">
<a class="msg-title" href="{{url}}" target="_blank">{{title}}</a>
<p class="msg-app">
<a href="{{editorUrl}}" target="_blank">
<span class="author">{{author}}</span>
</a>
<span class="publish-time">
<i class="iconfont"></i>
{{pTime}}
</span>
<span class="page-view">
<i class="iconfont"></i>
<em>{{pView}}</em>
</span>
</p>
<p class="content">{{content}}</p>
<div class="footer">
<div class="tags">
{{# tags}}
<a class="msg-tag" href="{{url}}" target="_blank" rel="nofollow">{{tag}}</a>
{{/ tags}}
</div>
<div class="like-comment">
<span class="like">
<i class="iconfont like-icon{{#if liked}} liked{{/if}}"></i>
{{#if like}}<b class="like-num">(<em class="num">{{like}}</em>)</b>{{/if}}
</span>
<span class="comment">
<i class="iconfont"></i>
{{# comment}}
(<em>{{.}}</em>)
{{/ comment}}
</span>
</div>
</div>
</div>
</div>