schoolrequire.html 6.6 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_944516_li6nc21b88.css">
    <title>招贤纳士-校园招聘</title>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/common.css">
    <style>
        .aboutcompanyname a{
            color:#171717;
        }
    </style>
</head>
<body>
<nav id="common-nav" class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">
                <img class="navbar-logo" src="__TMPL__/public/assets/images/img/dfsd@2x.png">
            </a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">


            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a href="{:url('portal/index/index')}" >首页</a>
                </li>
                <li>
                    <a href="{:url('portal/company/companyIntroduce')}">
                        关于公司
                    </a>

                </li>
                <li>
                    <a href="{:url('portal/companyProject/personalCompanyProject')}" >
                        公司项目

                    </a>

                </li>
                <li>
                    <a href="{:url('portal/companyNews/industry')}" >
                        新闻动态
                    </a>
                </li>
                <li>
                    <a href="{:url('portal/companyService/townPlan')}" >
                        公司服务

                    </a>

                </li>
                <li>
                    <a href="{:url('portal/invitePeople/viewOfPeople')}"  class="navactive">
                        招贤纳士
                    </a>
                </li>

            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
<div class="headimg">

    <img src="__TMPL__/public/assets/images/img/gdfsgdfgd@2x.png" alt="">
</div>
<div class="container secnav">
    <div class="row aboutcompanyname">
        <div class="col-md-2 col-sm-2 col-xs-6 invitepeople" >招贤</div>
        <div class="col-md-2 col-sm-2 col-xs-6 company">纳士</div>
        <a href="{:url('portal/invitePeople/viewOfPeople')}"> <div class="col-md-2 col-sm-2 col-xs-3 companylist " >人才观</div></a>
        <a href="{:url('portal/invitePeople/peopleActivity')}"><div class="col-md-2 col-sm-2 col-xs-3 companylist " >员工活动</div></a>
        <a href="{:url('portal/invitePeople/schoolRequire')}"> <div class="col-md-2 col-sm-2 col-xs-3 companylist companylistactive" >校园招聘</div></a>
        <a href="{:url('portal/invitePeople/socialRequire')}">  <div class="col-md-2 col-sm-2 col-xs-3 companylist " >社会招聘</div></a>
    </div>
</div>
<div class="container containertext">


    <for start="0" end="$count"  step="1" name="it">
        <notempty name="list[$it*2]">
    <div class="row requiresociallist">
        <div class="col-md-4 col-sm-4 col-xs-12">
            <div class="socialrequireimg">
                <img src="{:cmf_get_image_preview_url($list[$it*2]['thumbnail'])}" alt="">
            </div>
        </div>
        <div class="col-md-6 col-sm-6 col-xs-12">
            <p class="workname">招聘职位:{$list[$it*2]['name']}</p>
            <div>
                <p>职位要求</p>
                <div>
                    {$list[$it*2]['content']}
                </div>
                <p>岗位职责:</p>
                <div>
                    {$list[$it*2]['demand']}
                </div>
            </div>
        </div>
        <div class="socialimg" >

            <p class="socialrequireimgnumword">0{$it*2+1}</p>

        </div>

    </div>
        </notempty>
        <notempty name="list[$it*2+1]">
    <div class="row requiresociallist requiresociallistsec" >
        <div class="col-md-2 col-sm-2 col-xs-12">

           <p class="socialrequireimgnumwordtwo">0{$it*2+2}</p>

        </div>

            <div class="col-md-6 col-sm-6 col-xs-12">
                <p class="workname">招聘职位:{$list[$it*2+1]['name']}</p>
                <div>
                    <p>职位要求</p>
                    <div>
                        {$list[$it*2+1]['content']}
                    </div>
                    <p>岗位职责:</p>
                    <div>
                        {$list[$it*2+1]['demand']}
                    </div>
                </div>
            </div>

            <div class="col-md-4 col-sm-4 col-xs-12">
                <div class="socialrequireimg">
                    <img src="{:cmf_get_image_preview_url($list[$it*2+1]['thumbnail'])}" alt="">
                </div>
            </div>


    </div>
        </notempty>
    </for>
    <!--<div id="page" class="page_div"></div>-->
    <div class="footer">版权所有© 渝ICP备18005497号-1</div>

</div>
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/paging.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
</body>

<script>
    console.log($(".companylist"))
    $(".companylist").click(function(){
        $(this).addClass("companylistactive");
        $(this).siblings(".companylist").removeClass("companylistactive")
    })

    //分页
    $("#page").paging({
        pageNo:1,
        totalPage: 10,
        totalSize: 300,
        callback: function(num) {
            alert(num)
        }
    })

    var height=$(window).height();
    var bodyheight=$("body").height();
    console.log(height);
    console.log(bodyheight)
    if(height>bodyheight){
        console.log(111)
        $("body").css("height","100%")
    }else{
        console.log(222)
        $("body").css("height","auto")
        $("body").css("position","relative")
    }
</script>
</html>