message.hbs 1.48 KB
<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">&#xe621;</i>
            </div>
        {{/list}}
    {{else}}
        <p style="text-align:center">您没有消息</p>
    {{/if}}
</div>