default.html 2.6 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">
    <link rel="stylesheet" href="/static/css/swiper.min.css">
    <link rel="stylesheet" href="/static/css/base.css">
    <link rel="stylesheet" href="/static/css/index.css">
    <script src="/static/js/base.js"></script>
    <script src="/static/js/jquery.js"></script>
    <script src="/static/js/swiper.min.js"></script>
    <title>{block name='title'}{$title['title']|default=''}{/block}</title>
    <script src="/static/js/scroll.js"></script>
    <script src="/statis/js/include.js"></script>
    <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=d6PnuoA0EWXbee3HpVP84MT2GsflcVQk"></script>

    {block name="style"}
    {/block}
</head>

<body>
    <div class="Box">
        <!-- 返回顶部 -->
        <div class="backTop"><img src="/static/image/huidaodingduan_icon.png" alt=""></div>
        <!-- 当前位置 -->
        {block name="title1"}
        <div class="backNav">
            <div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>
            <div class="back_nav">
                <a href="/api/index/index">首页</a>
                <span>></span>
                <a href="{$title['url']|default=''}?pid={$title['id']|default=''}">{$title['title']|default=''}</a>
                {if( $title['status']==1)}
                <span>></span>
                <a href="">详情</a>
                {/if}
            </div>
            {if(session('login'))}
               <div  class="backNav_Img2"><img src="{:session('user')['image']==''?'/statis/image/touxiang_imh.png':session('user')['image']}" alt=""></div>
            {/if}
            {if(!session('login'))}

                <div  class="backNav_Img2"> <a href="/api/login/login"><img src="/static/image/touxiang_img.png" alt="">         </a></div>

            {/if}
        </div>
        {/block}
        {block name="content"}
        {/block}

    </div>
    <!-- footer -->
    <div class="footer">
        <div class="footer_Box2">
            <p>版权所有:<span>中关村国联绿色产业服务创新联盟</span></p>
            <p>北京市大兴区同济中路甲7号院</p>
            <p>京ICP备05052419号</p>
        </div>
        <div class="footer_Box3"></div>
    </div>
</body>
<script>
    // 返回顶部
    $('.backTop').click(function() {
        $('body,html').animate({
            scrollTop: 0
        }, 300)
    })
</script>
</html>