get_more_news.html 4.1 KB
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>独角快报更多</title>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/bootstrap4.0.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/layui.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/show.css">
</head>

<body>
    <include file="public@header"/>
    <div class="show_7">
        <!-- 顶部标题 -->
        <div class="show_INMain_tit clearfix">
            <div class="show_IN1 clearfix">
                <img src="__TMPL__/public/assets/starImg/aicon_51.png" alt="" style="margin-top:5px;width: 30px;">
                <p>独角<span>快报</span></p>
                <h2>Planet Express</h2>
            </div>
        </div>
        <!-- 内容 -->
        <div class="show_7_con">
            <!-- 内容模块1 -->
            <volist name="res['data']" id="vo" offset="0" length="1">
                <div class="show_7_con1 clearfix">
                    <a href="/portal/region/getNewsDetail?id={$vo.id}">
                        <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                        <div class="show_7_con1_txt">
                            <h1>{$vo.post_title}</h1>
                            <p>
                                {$vo.post_excerpt}
                            </p>
                            <span>{$vo.create_time|date="Y-m-d",###}</span>
                        </div>
                    </a>
                </div>
            </volist>
            <!-- 内容模块2 -->
            <volist name="res['data']" id="vo" offset="1" length="2">
                <div class="show_7_con2 clearfix">
                    <a href="/portal/region/getNewsDetail?id={$vo.id}">
                        <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                        <div class="show_7_con2_txt">
                            <h1>{$vo.post_title}</h1>
                            <p>
                                {$vo.post_excerpt}
                            </p>
                            <span>{$vo.create_time|date="Y-m-d",###}</span>
                        </div>
                    </a>
                </div>
            </volist>
            <!-- 内容模块3 -->
            <volist name="res['data']" id="vo" offset="3" length="1">
                <div class="show_7_con3 clearfix">
                    <a href="/portal/region/getNewsDetail?id={$vo.id}">
                        <div class="show_7_con3_txt">
                            <h1>{$vo.post_title}</h1>
                            <p>
                                {$vo.post_excerpt}
                            </p>
                            <span>{$vo.create_time|date="Y-m-d",###}</span>
                        </div>
                        <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                    </a>
                </div>
            </volist>

            <!-- 内容模块2 -->
            <volist name="res['data']" id="vo" offset="4" length="2">
                <div class="show_7_con2 clearfix">
                    <a href="/portal/region/getNewsDetail?id={$vo.id}">
                        <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                        <div class="show_7_con2_txt">
                            <h1>{$vo.post_title}</h1>
                            <p>
                                {$vo.post_excerpt}
                            </p>
                            <span>{$vo.create_time|date="Y-m-d",###}</span>
                        </div>
                    </a>
                </div>
            </volist>
            <!--分页-->
            <div class="pagination">
                {$page|default=''}
            </div>

        </div>
    </div>
    <include file="public@footer"/>
    <script src="__TMPL__/public/assets/js/jquery-3.2.1.min.js"></script>
    <script src="__TMPL__/public/assets/js/layui.js"></script>
    <script src="__TMPL__/public/assets/js/public.js"></script>
</body>

</html>