msg.phtml 1.64 KB
<div class="msg-content clearfix" data-id="{{id}}">
    <div class="msg-img">
        <div class="classification">
            {{classification}}
        </div>
        {{#if isReco}}
            <div class="reco"></div>
        {{/if}}
        <a href="{{href}}">
            <img class="lazy{{#if isSquareImg}} square{{/if}}" data-original="{{img}}">
        </a>
    </div>
    <div class="msg-info">
        <a class="msg-title" href="{{href}}">{{title}}</a>
        <p class="msg-app">
            <a href="{{editorHref}}">
                <span class="author">{{author}}</span>
            </a>
            <span class="publish-time">
                <i class="iconfont">&#xe625;</i>
                {{pTime}}
            </span>
            <span class="page-view">
                <i class="iconfont">&#xe627;</i>
                {{pView}}
            </span>
        </p>
        <p class="content">{{content}}</p>
        <div class="footer">
            <div class="tags">
                {{# tags}}
                    <a class="msg-tag" href="{{href}}" target="_blank">{{tag}}</a>
                {{/ tags}}
            </div>
            <div class="like-comment">
                <span class="like">
                    <i class="iconfont like-icon{{#if liked}} liked{{/if}}">&#xe626;</i>
                    <b class="like-num num-{{like}}">(<em class="num">{{like}}</em>)</b>
                </span>
                <span class="comment">
                    <i class="iconfont">&#xe623;</i>
                    {{# comment}}
                        ({{.}})
                    {{/ comment}}
                </span>
            </div>
        </div>
    </div>
</div>