articleindex.html 3.1 KB
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学术平台</title>
    <link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_750594_itt4qc4xfcg.css"/>
    <link href="__TMPL__/public/assets/css/init.css" rel="stylesheet" type="text/css">
    <link href="__TMPL__/public/assets/css/academicPlatform.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/comment.css">
</head>
<body style="background: #fff;">
<div class="warp">
    <div class="banner_box">
        <div class="search_box">
            <i class="iconfont icon-sousuo"></i>
            <text>搜索</text>
        </div>
    </div>
    <!-- begin:商品列表切换 -->
    <div class="control" style="margin-top: 0.32rem;">
        <ul class="con_title">
            <volist name="cat" id="vo" key="key">
                    <li <if condition="$key==1"> class="con_curr" </if><em></em>{$vo.name}</li>
            </volist>
        </ul>
        <div class="con_warp">
          <volist name="cat" id="vo" key="key">

                <div    class="tab_content <if condition="$key!=1"> item </if> ">
                    <volist name="vo.ill" id="v" empty="$empty">
                    <a href="{:url('portal/Article/illInfo',['id'=>$v.id])}">
                        <div class="tab_info_box">
                            <img style="display: block" src="{:cmf_get_image_url($v.more.thumbnail)}" alt="">
                            <div>{$v.name}</div>
                        </div>
                    </a>
                    </volist>
                </div>
                </volist>
        </div>
    </div>
    <!-- begin:公共底部 -->
    <div class="footer">
        <ul>
            <li class=""><a href="/"><em class="footer_icon1"></em>首页</a></li>
            <li class="footer_curr"><a href="#"><em class="footer_icon2"></em>学术平台</a></li>
            <li class=""><a href="{:url('portal/expert/index')}"><em class="footer_icon3"></em>平台专家</a></li>
            <li><a href="{:url('user/index/index')}"><em class="footer_icon4"></em>我的</a></li>
        </ul>
    </div>
    <!-- end:公共底部 -->
</div>

<script type="text/javascript" src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<script type="text/javascript">
    $(document).ready(function () {

        // 分类列表左右切换
        var $menu_box = $('.control .con_title>li');
        $menu_box.click(function () {
            $(this).addClass('con_curr').siblings().removeClass('con_curr');
            var index = $menu_box.index(this);
            $('.tab_content').eq(index).show().siblings().hide();
        });

        //点击列表跳转详情页
        $('.tab_info_box').click(function () {
            window.location.href = '../circle/diseaseColumn.html';
        })
        //点击搜索跳到搜索页面
        $('.banner_box').on('click', function () {
            window.location.href = '{:url('portal/search/index')}';
        })
    })
</script>
</body>