message.hbs
1.48 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
<div class="massage-page yoho-page">
{{#if list}}
{{#list}}
<div class="massage-list" data-id="{{id}}">
{{#if isNotReaded}}
<strong></strong>
{{/if}}
<p>
{{#if birthType}}
<a>亲爱的,这是我给您的生日专属礼</a>
{{else}}
<a href="//m.yohobuy.com/home/messageDetail?id={{id}}">{{title}}</a>
{{/if}}
</p>
{{#if birthType}}
<div class="ticket-pic"></div>
<div class="ticket-btn">
<div class="ticket-btn-c">
<div>
{{#if isOverTime}}
<a class="disable">已过期</a>
{{else if isCollar}}
<a class="disable">已领取</a>
{{else}}
<a href="//m.yohobuy.com/home/messageDetail?id={{id}}">立即领取</a>
{{/if}}
</div>
</div>
</div>
{{/if}}
<span>{{time}}</span>
<i class="iconfont del"></i>
</div>
{{/list}}
{{else}}
<p style="text-align:center">您没有消息</p>
{{/if}}
</div>