index.html 2.1 KB
<!DOCTYPE html>
<html lang="en">
<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_793738_5lr5x3nl9vf.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">
    <script src="__TMPL__/public/assets/js/fontsize.js"></script>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/comment.css">
</head>
<body>
<div style="z-index: 999" class="banner_box">
    <div class="search_box">
        <i class="iconfont icon-sousuo"></i>
        <text>搜索</text>
    </div>
</div>
  <div class="content_box">
<volist name="expert" id="vo">
        <div class="item_list" id="{$vo.id}">
            <div class="list_left">
                <div class="head_img"><img src="{:cmf_get_image_url($vo.avatar)}" alt=""></div>
                <div>
                    <div class="user_name">{$vo.user_login}</div>
                    <div>{$vo.hospital}</div>
                    <div>{$vo.job}</div>
                </div>
            </div>
            <div class="iconfont icon-jiantou1"></div>
        </div>
</volist>
 </div>
<div class="footer">
    <ul>
        <li class=""><a href="/"><em class="footer_icon1"></em>首页</a></li>
        <li class=""><a href="{:url('portal/article/articleIndex')}"><em class="footer_icon2"></em>学术平台</a></li>
        <li class="footer_curr"><a href="###"><em class="footer_icon3"></em>平台专家</a></li>
        <li><a href="{:url('user/index/index')}"><em class="footer_icon4"></em>我的</a></li>
    </ul>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script >
    //点击列表跳转详情页
    $('.search_box').click(function () {
        window.location.href = "{:url('/portal/expert/search')}";
    })

    $('.item_list').click(function (res) {
        window.location.href="{:url('/portal/expert/expertIntroduction')}"+'?id='+res.currentTarget.id
    })
</script>
</body>
</html>