Blame view

apps/home/views/action/message.hbs 1.57 KB
zzzzzzz authored
1
<div class="massage-page yoho-page">
zzzzzzz authored
2
    {{#if list}}
lijing authored
3 4 5 6 7 8 9
        {{#list}}
            <div class="massage-list" data-id="{{id}}">
                {{#if isNotReaded}}
                    <strong></strong>
                {{/if}}
                <p>
                    {{#if birthType}}
lijing authored
10
                        <a>亲爱的,这是我给您的生日专属礼</a>
lijing authored
11 12 13 14 15
                    {{else}}
                        <a href="//m.yohobuy.com/home/messageDetail?id={{id}}">{{title}}</a>
                    {{/if}}
                </p>
                {{#if birthType}}
lijing authored
16 17 18
                    <div class="ticket-pic">
                        <img src="{{imgSrc 'img/home/employ/birth-card.png'}}" />
                    </div>
lijing authored
19 20 21 22
                    <div class="ticket-btn">
                        <div class="ticket-btn-c">
                            <div>
                                {{#if isOverTime}}
lijing authored
23
                                    <a class="disable">已过期</a>
lijing authored
24 25 26
                                {{else if isCollar}}
                                    <a class="disable">已领取</a>
                                {{else}}
lijing authored
27
                                    <a href="//m.yohobuy.com/home/birthCoupon">立即领取</a>
lijing authored
28 29 30 31 32 33 34 35 36
                                {{/if}}
                            </div>
                        </div>
                    </div>
                {{/if}}
                <span>{{time}}</span>
                <i class="iconfont del">&#xe621;</i>
            </div>
        {{/list}}
zzzzzzz authored
37
    {{else}}
lijing authored
38
        <p style="text-align:center">您没有消息</p>
zzzzzzz authored
39
    {{/if}}
lijing authored
40
</div>