comment.html 1.4 KB
<div class="comments">
    <!--添加评论-->
    <div class="comments1">
        <div class="comments1_text">
            <textarea placeholder="说点什么吧" maxlength="400" id="comment_content"></textarea>
        </div>
        <p class="comments_max">字数限100字符内</p>
        <button class="comments_add" id="comment">添加评论</button>
    </div>
    <!--评论内容-->
    <notempty name="comment">
        <div class="comments2 comments2N">
            <ul class="show_main2_show_H">
                <volist name="comment" id="vo">
                    <li class="show_2_pinL">
                        <div class="comments2_Img">
                            <img src="{:cmf_get_image_url($vo.avatar)}" alt="" />
                        </div>
                        <div class="comments2_Txt">
                            <div class="comments2_Txt1">
                                <p class="comments2_Name">{$vo.nickname}</p>
                                <span class="comments2_Time">{$vo.create_time|date="Y-m-d",###}</span>
                            </div>
                            <p class="comments2_Txt2">{$vo.content}</p>
                        </div>
                    </li>
                </volist>
            </ul>
            <div class="comments2_more show_main_more">
                查看更多评论
            </div>
        </div>
    </notempty>
</div>