get_more_hotel.html 7.9 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">
    <style>
        a:hover{
            text-decoration: none;
        }
    </style>
</head>

<body>
    <include file="public@header"/>
    <div class="happy_live">
        <!-- 选择区域 -->
        <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_17.png" alt="" style="margin-top:7px">
                <p>良宿<span>美寝</span></p>
                <h2>Accommodation</h2>
            </div>
        </div>
        <!-- 盒子 -->
        <div class="happy_live_box">
            <!-- 内容 -->
            <div class="happy_live_con">
                <!-- 第一部分 -->
                <notempty name="res['data'][0]">
                    <a href="/portal/star/getHotelDetail?id={$res['data'][0]['id']}">
                        <div class="happy_live_con_1">
                            <div class="happy_live_con_1Img">
                                <img src="{:cmf_get_image_url($res['data'][0]['thumbnail'])}" alt="">
                            </div>
                            <p>{$res['data'][0]['post_title']}</p>
                            <div class="happy_live_con_1_introduce">
                                <span>
                                    {$res['data'][0]['post_excerpt']}
                                </span>



                            </div>
                        </div>
                    </a>
                </notempty>
                <!-- 第二部分 -->
                <div class="happy_live_con_2">
                    <ul class="clearfix">
                        <notempty name="res['data'][1]">
                            <a href="/portal/star/getHotelDetail?id={$res['data'][1]['id']}">
                            <li>
                                <div class="happy_live_con_2Img">
                                    <img src="{:cmf_get_image_url($res['data'][1]['thumbnail'])}" alt="">
                                </div>
                                <div class="happy_live_con_2Txt">
                                    <h1>{$res['data'][1]['post_title']}</h1>
                                    <p>{$res['data'][1]['post_excerpt']}</p>
                                </div>
                            </li>
                            </a>
                        </notempty>
                        <notempty name="res['data'][2]">
                            <a href="/portal/star/getHotelDetail?id={$res['data'][2]['id']}">
                            <li>
                                <div class="happy_live_con_2Img">
                                    <img src="{:cmf_get_image_url($res['data'][2]['thumbnail'])}" alt="">
                                </div>
                                <div class="happy_live_con_2Txt">
                                    <h1>{$res['data'][2]['post_title']}</h1>
                                    <p>{$res['data'][2]['post_excerpt']}</p>
                                </div>
                            </li>
                            </a>
                        </notempty>
                        <notempty name="res['data'][3]">
                            <a href="/portal/star/getHotelDetail?id={$res['data'][3]['id']}">
                            <li>
                                <div class="happy_live_con_2Img">
                                    <img src="{:cmf_get_image_url($res['data'][3]['thumbnail'])}" alt="">
                                </div>
                                <div class="happy_live_con_2Txt">
                                    <h1>{$res['data'][3]['post_title']}</h1>
                                    <p>{$res['data'][3]['post_excerpt']}</p>
                                </div>
                            </li>
                            </a>
                        </notempty>
                    </ul>
                </div>
                <!-- 第一部分 -->
                <notempty name="res['data'][4]">
                    <a href="/portal/star/getHotelDetail?id={$res['data'][4]['id']}">
                    <div class="happy_live_con_1">
                        <div class="happy_live_con_1Img">
                            <img src="{:cmf_get_image_url($res['data'][4]['thumbnail'])}" alt="">
                        </div>
                        <p>{$res['data'][4]['post_title']}</p>
                        <div class="happy_live_con_1_introduce">
                            {$res['data'][4]['post_excerpt']}
                        </div>
                    </div>
                    </a>
                </notempty>
                <!-- 第二部分 -->
                <div class="happy_live_con_2">
                    <ul class="clearfix">
                        <notempty name="res['data'][5]">
                            <a href="/portal/star/getHotelDetail?id={$res['data'][5]['id']}">
                            <li>
                                <div class="happy_live_con_2Img">
                                    <img src="{:cmf_get_image_url($res['data'][5]['thumbnail'])}" alt="">
                                </div>
                                <div class="happy_live_con_2Txt">
                                    <h1>{$res['data'][5]['post_title']}</h1>
                                    <p>{$res['data'][5]['post_excerpt']}</p>
                                </div>
                            </li>
                            </a>
                        </notempty>
                        <notempty name="res['data'][6]">
                            <a href="/portal/star/getHotelDetail?id={$res['data'][6]['id']}">
                            <li>
                                <div class="happy_live_con_2Img">
                                    <img src="{:cmf_get_image_url($res['data'][6]['thumbnail'])}" alt="">
                                </div>
                                <div class="happy_live_con_2Txt">
                                    <h1>{$res['data'][6]['post_title']}</h1>
                                    <p>{$res['data'][6]['post_excerpt']}</p>
                                </div>
                            </li>
                            </a>
                        </notempty>
                        <notempty name="res['data'][7]">
                            <a href="/portal/star/getHotelDetail?id={$res['data'][7]['id']}">
                            <li>
                                <div class="happy_live_con_2Img">
                                    <img src="{:cmf_get_image_url($res['data'][7]['thumbnail'])}" alt="">
                                </div>
                                <div class="happy_live_con_2Txt">
                                    <h1>{$res['data'][7]['post_title']}</h1>
                                    <p>{$res['data'][7]['post_excerpt']}</p>
                                </div>
                            </li>
                            </a>
                        </notempty>
                    </ul>
                </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/public.js"></script>
</body>

</html>