index320.html 2.42 KB
{{#hasComment}}
<div class="has-comment">
    <span class="has-user">
        <img src="{{img}}">
    </span>

    <div class="has-comment-info">
        <h2>{{author}}</h2>

        <div class="edit-intrduce">
            <p _title="{{introduce}}">{{introduce}}</p>
            <span class="line-btn"></span>
        </div>
        <span class="comment_button"><b class="comment-num edit-comment">{{num}}</b></span>
    </div>

</div>
{{/hasComment}}
<div class="comment">
    <div class="comment-area">
        <ul class="comments-list">
            {{#comment.list}}
            <li class="clearfix">
                <div class="userimg">
                    <img src="{{img}}" alt="">
                    <i class="qq"></i>
                </div>
                <div class="userinfo">
                    <h6>{{author}}</h6>

                    <p class="comment-text">{{commentText}}</p>
                </div>
            </li>
            {{/comment.list}}
        </ul>
        <div style="display:none" class="pager-content comment-pager-content">
            <div class="channel-index-pager"></div>
        </div>
        <div class="view-more">
            <a href="javascript:;">View&nbsp;<span>{{comment.num}}</span>&nbsp;more</a>
        </div>
        <div class="comment-textarea">
            <textarea placeholder="说点什么..."></textarea>

            <div class="login-status clearfix">
                <div class="userimg">
                    <img src="{{user}}" alt="">
                    <i></i>
                </div>
                <div class="userinfo">
                    <span></span>
                    <a class="exit-btn" href="javascript:;">退出</a>
                </div>
                <div class="publish">
                    <a class="publish-btn" href="javascript:;">Publish</a>
                </div>
            </div>
        </div>
    </div>
</div>
<!--content-->
<div class="home-content">
    <ul>
        {{#indexContent}}
        <li id="{{#pop}}pop{{/pop}}" class="content-item channel-{{channel}}">
            <a class="img-link" href="{{href}}">
                <img src="{{img}}" alt=""/>
            </a>
            <h2>{{title}}</h2>
            <h3>{{subTitle}}</h3>
            <time>{{channel}} | {{time}}</time>
            <p>{{content}}</p>
        </li>
        {{/indexContent}}
    </ul>
</div>
{{> default/download320}}