list.hbs 1.12 KB
{{#each list}}
    <li articleId="{{id}}" data-bp-id="guang_collocationList_{{title}}_false" class="buriedpoint">

        {{#if src}}
            <a href="{{url}}">
                {{#if islazy}}
                    <img src ="{{image src 640 310}}"/>
                {{else}}
                    <img class="lazy" src ="" data-original="{{image src 640 310}}" />
                {{/if}}                
            </a>
        {{/if}}

        <div class="cont-area ">
            <a href="{{url}}"><h2 class="title">{{title}}</h2></a>
            <p class="cont-txt">{{intro}}</p>
            <div class="count-area">
                <span class="time"><i class="iconfont time-ico">&#xe603;</i>{{publishTime}}</span>
                <span class="see"><i class="iconfont see-ico">&#xe602;</i>{{viewsNum}}</span>

                {{#if share.url}}
                    <a href="{{share.url}}" class="iconfont forward">&#xe600;</a>
                {{/if}}

                <span class="collection"><i class="iconfont collected-ico {{#isCollected}} collected {{/isCollected}}">&#xe605;</i></span>
            </div>
        </div>
    </li>
{{/each}}