get_more_food.html 4.8 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/happy.css">
</head>

<body>
    <include file="public@header"/>
    <div class="happy_food">
        <!-- 选择区域 -->
        <div class="happy_select clearfix">
            <img src="__TMPL__/public/assets/starImg/aicon_42.png" alt="">
            <p>{$city_name}</p>
        </div>
        <!-- 顶部标题 -->
        <div class="show_INMain_tit clearfix">
            <div class="show_IN1 clearfix">
                <img src="__TMPL__/public/assets/starImg/aicon_11.png" alt="" style="margin-top:8px">
                <p>异域<span>珍馐</span></p>
                <h2>Gastronomy</h2>
            </div>
        </div>
        <!-- 盒子 -->
        <div class="happy_food_box">
            <!-- 内容 -->
            <div class="happy_food_con">
                <!-- 内容2 -->
                <div class="happy_food_con2">
                    <!-- 第一部分 -->
                    <div class="happy_food_con2_1">
                        <ul class="clearfix">
                            <volist name="res['data']" id="vo" offset="0" length="2">
                                <a href="/portal/star/getFoodDetail?id={$vo.id}">
                                    <li>
                                        <div class="happy_food_con2_1Img">
                                            <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                                        </div>
                                        <div class="happy_food_con2_1Txt clearfix">
                                            <h2>{$vo.post_title}</h2>
                                            <div class="happy_food_con2_1Txt2 clearfix">
                                                <div>
                                                    <img src="__TMPL__/public/assets/starImg/bicon_14.png" alt="">
                                                    <p>{$vo.post_hits}</p>
                                                </div>
                                                <div>
                                                    <img src="__TMPL__/public/assets/starImg/bicon_13.png" alt="">
                                                    <p>{$vo.post_favorites}</p>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                </a>
                            </volist>
                        </ul>
                    </div>
                    <!-- 第二部分 -->
                    <div class="happy_food_con2_2 clearfix">
                        <ul>
                            <volist name="res['data']" id="vo" offset="2" length="8">
                                <a href="/portal/star/getFoodDetail?id={$vo.id}">
                                    <li>
                                        <div class="happy_food_con2_2Img">
                                            <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                                        </div>
                                        <div class="happy_food_con2_2Txt2 clearfix">
                                            <h2>{$vo.post_title}</h2>
                                            <div>
                                                <img src="__TMPL__/public/assets/starImg/bicon_14.png" alt="">
                                                <p>{$vo.post_hits}</p>
                                            </div>
                                            <div>
                                                <img src="__TMPL__/public/assets/starImg/bicon_13.png" alt="">
                                                <p>{$vo.post_favorites}</p>
                                            </div>
                                        </div>
                                    </li>
                                </a>
                            </volist>
                        </ul>
                    </div>
                </div>
            </div>
            <!--分页-->
            <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>