Commit c321963d authored by liukang's avatar liukang

修改提交

parent 1a388236
......@@ -17,7 +17,9 @@ class Join extends Base
$join_cate = new JoinCate();
$join = new mjoin();
$join_list = $join->where('isdeleted',0)->order('join_cate_id','asc')->order('current','desc')->select();
$join_list = $this->dealData($join_list);
$join_cate_list = $join_cate->where('isdeleted',0)->order('id','asc')->select();
$join_cate_list = $this->dealData($join_cate_list);
$this->assign('url',$this->url);
$this->assign('join_cate_list',$join_cate_list);
$this->assign('join_list',$join_list);
......
......@@ -14,7 +14,8 @@ class News extends Base
public function list(){
$pageSize = 5;
$news_list = m_news::where('isdeleted',0)->order('current','desc')->paginate($pageSize);
$web_type = config('app.web_type');
$news_list = m_news::where('isdeleted',0)->where('packs','like',"%{$web_type}%")->order('current','desc')->paginate($pageSize);
$pattern = '/\[\d+\]/';
$matches = array();
......
<?php /*a:4:{s:66:"D:\PHPStormProject\fjkankan\config/../template/home\join\list.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
<link type="text/css" rel="stylesheet" href="/static/home/css/swiper3.07.min.css">
<meta name="description" content="凡骄娱乐">
<meta name="keyword" content="凡骄,凡骄直播">
<style>
.wrapper{overflow:hidden}
.banner{background:#1e78eb;height:540px;padding-top: 120px;}
.banner .page-1{width: 960px;height: 540px;margin: 0 auto;position:relative;}
.banner .page-1 .bg{width:1288px;height: 540px;background:#1e78eb url('/static/common/img/index_bg.jpg') 0px 5px no-repeat;}
.banner a,.banner a:hover{text-decoration: none;cursor: pointer;}
.banner .play-btn{width: 84px;height: 84px;display: block;background:url(/static/common/img/play.png) 0 0 no-repeat;left:50%;position: absolute;top: 165px;z-index:2000;margin-left: 114px;cursor:pointer;}
.banner .play-btn,.banner .play-close-btn{display: block;}
.banner .play-close-btn{width:52px;height:52px;background:url(/static/common/img/close.jpg) 0 0 no-repeat;position: absolute;right:0;top:0;z-index:30000;opacity:0;}
.banner .page-2:hover .play-close-btn{opacity:1;}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.banner .play-close-btn {
right:2px;
}
}
.banner .banner-btn{width: 105px;height:51px;display: inline-block;border:2px solid #fff;font-size:20px;line-height:51px;padding-left:65px;}
.banner .download-btn{color:#267be5;background: #fff url(/static/common/img/icon.1.1.png) 21px -57px no-repeat;}
.banner .member-center{color:#fff;background:url(/static/common/img/icon.1.1.png) 20px -163px no-repeat;margin-left:26px;}
.banner .ad-link{color:#fff;background:url(/static/common/img/icon.1.1.png) -250px -32px no-repeat;margin-left:26px;}
.live-guild{
color:#fff;
background:url("/static/common/img/people.png") no-repeat;
background-position:18px 8px;
margin-left:26px;
}
.microvideo{
color:#fff;
background:url("/static/common/img/vedio.png") no-repeat;
background-position:18px 8px;
margin-left:26px;
}
#entryCon{
display:flex;
position:absolute;
justify-content:space-between;
flex-wrap: nowrap;
top:398px;
left:0px;
}
.banner object{position:relative;z-index:1000;}
.banner .page-2{position:absolute;z-index:3000;left:629px;top:240px;left:455px\0;top:190px\0;*left:456px;*top:190px;text-align: center;padding:6px;width:0;height:0;background:#0d0d0d;opacity:0;overflow:hidden;-webkit-transition: all 0.3s;transition: all 0.3s;-ms-transition: all 0.3s;-moz-transition: all 0.3s;}
.banner .page-2 .jwlogo{display:none;}
.banner.videoplaying .page-1 .bg{background:#267be5;}
.banner.videoplaying .page-2{opacity:1;width: 948px;height: 528px;top:0;left:0;}
.banner .qr-code-con{width:121px;height:121px;border:2px solid #fff;position:absolute;top: 341px;left: 198px;}
.banner .qr-code-con .qr-code{margin:12px;}
.banner .qr-code-con .qr-note{color:#fff;font-size:20px;position:absolute;bottom:-36px;width:100%;text-align:center;}
.banner .qr-code-con .qr-code img{display:block;width:100%;height:100%;background: #fff;}
.tit{font-size:30px;color: #4a4a4a;font-weight: 100;height: 30px;line-height:30px;}
.tit a{display: block;color: #434343;text-decoration: none;}
.note{font-size:20px;line-height:20px;color: #6f6f6f;font-weight: 100;margin: 22px 0 80px;}
.sec-1 {padding-left:10px;}
.sec-1 li{float: left;margin-right:3px;}
.sec-1 li img{display: block;}
.high-blue{color:#007aff;}
.sec-3 ul{margin: 75px auto 0;width: 1020px;}
.sec-3 li{float: left;margin-right:10px;width:243px;height:243px;border:1px solid #e4e4e4;color:#8b8a8a;font-family:'Myriad Pro';font-size:18px;background-color:#fff;-webkit-transition: all 0.3s;-transition: all 0.3s;-ms-transition: all 0.3s;-moz-transition: all 0.3s;}
.sec-3 .icon{width:43px;height:50px;display:block;margin:0px auto 18px;}
.sec-3 .icon.ios{background:url(/static/common/img/icon.1.1.png) 0 0 no-repeat;}
.sec-3 .icon.android{background:url(/static/common/img/icon.1.1.png) -78px 0 no-repeat;}
.sec-3 .icon.wp{background:url(/static/common/img/icon.1.1.png) -155px 0 no-repeat;}
.sec-3 a{text-decoration: none;display: block;color:#8b8a8a;height:174px;padding-top:70px;-webkit-transition: all 0.3s;-transition: all 0.3s;-ms-transition: all 0.3s;-moz-transition: all 0.3s;}
.sec-3 li.qr-code img{margin-top:70px}
.sec-3 li.qr-code p{font-size: 12px;margin-top: -8px;}
.sec-3 li.down.on {background-color:#007aff;box-shadow: 5px 15px 30px rgba(0,0,0,.3);border:1px solid #007aff;}
.sec-3 li.down.on a{color:#fff;}
.sec-3 li.down.on .icon.ios{background:url(/static/common/img/icon.1.1.png) 0 -110px no-repeat;}
.sec-3 li.down.on .icon.android{background:url(/static/common/img/icon.1.1.png) -77px -111px no-repeat;}
.sec-3 li.down.on .icon.wp{background:url(/static/common/img/icon.1.1.png) -154px -110px no-repeat;}
.sec-3.download-popup{width:690px;height:374px;background:#ffffff;padding-top:1px;}
.sec-3.download-popup li{width:134px;height:134px;margin-right:25px;}
.sec-3.download-popup ul{margin:106px 0px 0px 38px;}
.sec-3.download-popup a{padding-top:24px;height:110px;}
.sec-3.download-popup li.qr-code img{margin-top: 15px;}
.sec-4 {margin-bottom:180px;}
.sec-4 ul{width: 1020px;margin: 0 auto;}
.sec-4 li{width: 259px;height:140px;border-left:1px dashed #9d9d9d;text-align: left;padding-left:20px;padding-right:60px;float:left;}
.sec-4 li .tit{color:#434343;font-size: 22px;position: relative;padding-bottom:5px;}
.sec-4 li .tit .arrows{background: url(/static/common/img/icon.1.1.png) -176px -69px no-repeat;width: 25px;height: 25px;display: block;position: absolute;right: 0px;top: 7px;}
.sec-4 li .con{color:#8a8a8a;font-size: 14px;line-height:26px;width: 230px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
.sec-4 li .con a{text-decoration: none;color:#8a8a8a;font-size: 14px;}
.sec-4 li .con a:hover{color:#00A2FF;}
.screen{width: 200px;height: 345px;position: absolute;left: 50%;margin-left: 29px;top: 218px;overflow:hidden;}
.scroll-img{position:absolute;}
/**
* 照片墙
*/
div,ul,li,img,dl,dt,dd{margin: 0;padding: 0;}
.photo-wall{width: 1200px;padding: 0 7px;overflow: hidden;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
.wall-pace{width: 392px;list-style: none;overflow: hidden;float: left;position: relative;}
.wall-pace li{position: relative;float: left;margin: 0 5px 5px 0;overflow: hidden;background: #efefef}
.wall-last-3{position: absolute !important;top: 151px;}
.wall-last-4{margin-left: 128px !important;}
.wall-pace img{width: 100%;height: 100%;position: absolute;top:0;left: 0}
.wall-pace .sq-sm{width: 145px;height: 145px;}
.wall-pace .rect-x,.intr-x{width: 235px;height: 146px;}
.wall-pace .sq-lg{width: 258px;height: 258px;}
.wall-pace .rect-y{width: 123px;height: 258px;}
.intr-x,.intr-s{padding: 8px;color: #fff;background: rgb(1,122,255);position: absolute;top: 100%;}
.intr-x{padding-top: 12px; width: 219px;}
.intr-s{width: 242px;height: 128px;}
.wall-pace dl{text-align: left;}
.wall-pace dt{font-size: 22px;line-height: 44px;}
.wall-pace dd{font-size: 14px;line-height: 24px;overflow: hidden;white-space: nowrap;text-overflow:ellipsis;}
.banner .youku-btn{top: 339px;background: none;color: #fff;width: 125px;margin-left: 96px;cursor: pointer;height: 20px;}
.ad-identity{position: fixed;right: 28px;top: 50px;width: 38px;height:21px;z-index: 99999;}
.ad-identity-bg{
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
background: #000;opacity:0.17;
}
.ad-identity-text{
position: absolute;
top:0;
left: 0;
color: #fff;
font-size: 13px;
width: 100%;
height: 100%;
text-align: center;
line-height: 21px;
}
.page-2 .ad-identity{
position: absolute;
right: 55px;
top: 10px;
}
.quest-mobile-link{
display: inline-block;
color: #6f6f6f;
font-size: 12px;
font-weight: 100;
line-height: 20px;
padding-top: 16px;
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>凡骄娱乐-招聘</title>
<style>
header > ul {
width: 960px;
}
.wrapper{padding-top: 120px;}
.line{border: 0;height: 1px;background-color: #e4e4e4;}
section{width:940px;margin:0 auto;}
.section1{width:1020px;margin-top:70px;}
.section1 .swiper-container{width: 100%;height: 412px;}
.section1 .swiper-container .swiper-wrapper{}
.section1 .swiper-container .swiper-wrapper .swiper-slide{width: 100%;height: 412px;overflow: hidden;}
.section1 .swiper-container .swiper-wrapper .swiper-slide .link{display: block;width: 100%;height: 100%;text-decoration: none;}
.section1 .swiper-container .swiper-wrapper .swiper-slide img{width: 100%;}
.section1 .swiper-pagination{width: 1020px;margin: 0 auto;margin-top: 5px;}
.section1 .swiper-pagination .swiper-pagination-bullet{width: 20px;height: 3px;margin-left: 4px;margin-right: 4px;border-radius: 0;}
.section2 {padding: 100px 0 100px;}
.section2 p{text-align: center;color:#6f6f6f;font-size:14px;}
.section2 h1{font-size:22px;color:#6f6f6f;line-height:22px;text-align: center;margin-top:30px;font-weight: 100;}
.section2 h1.mail{color: #1e78e7;margin-top:15px;}
.section2 p.email{color:#1e78e7;font-size:24px;}
.section3 ul{width: 940px;border-left:1px solid #e0e0e0;}
.section3 .fixed{position:fixed;top:0;z-index:1000;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));}
.section3 li{cursor:pointer;float: left;width: 9.89%;text-align:center;padding:18px 0;color:#727272;font-size:16px;border:1px solid #e0e0e0;border-left:none;position: relative;background-color:#fff;-webkit-transition: all 0.6s;-transition: all 0.6s;-ms-transition: all 0.6s;-moz-transition: all 0.6s;}
.section3 li#selected{background-color:#1e78e7;}
.section3 li#selected a{color:#fff;}
.section3 li.selected a{color:red;}
.section3 li .tall{display: none;opacity: 0;width: 16px;height: 8px;display: block; background: url('/static/common/img/icon.png') -269px 1px no-repeat;position: absolute;top: 53px;left: 50%;margin-left: -8px;-webkit-transition: all 0.6s;-transition: all 0.6s;-ms-transition: all 0.6s;-moz-transition: all 0.6s;}
.section3 li.on .tall{display: block;opacity: 1;}
.section3 a{text-decoration: none;color:#727272;}
.section3 li.on a{color:#fff;}
.section4{border: 1px solid #e0e0e0;margin-top: 30px;}
.section4 .cate-title{height: 60px;width: 100%;line-height: 60px;}
.section4 .cate-title span{font-size: 18px;color: #2e2e2e;}
.section4 .cate-title .title1{margin-left: 32px;}
.section4 .cate-title .title2{margin-left: 440px;}
.section4 .cate-title .title3{margin-left: 128px;}
.section4 .cate-title .title4{margin-left: 59px;}
.section4 .jobs-item-big{width:900px;margin: 0 auto;border-top: 1px solid #e0e0e0;}
.section4 .job-item{height: 70px;width: 100%;position: relative;cursor: pointer;}
.section4 .job-item span{font-size:16px;color:#727272;}
.section4 .job-item .carrier{position: absolute;left: 10px;line-height: 70px;}
.section4 .job-item .carrier span{color: #2e2e2e;float: left;}
.jobs-icon{display: inline-block; background: url('/static/common/img/icon.png') no-repeat 0 0;}
.jobs-icon.ji{width:22px;height:22px;background-position: 0 0;margin-left: 6px;float: left;margin-top: 24px;}
.jobs-icon.xin{width:22px;height:22px;background-position: -30px 0;margin-left: 6px;float: left;margin-top: 24px;}
.section4 .job-item .cate-name{position: absolute;left: 490px;line-height: 70px;}
.section4 .job-item .addr{position: absolute;left: 660px;line-height: 70px;}
.section4 .job-item .publish{position: absolute;left: 775px;line-height: 70px;}
.section4 .job-item .arrow{position: absolute;left: 880px;top: 30px;width: 9px;height: 6px;}
.jobs-icon.down{background-position: 0 -29px;}
.jobs-icon.up{background-position: 0 -41px;}
.section4 .job-article{display: none;background-color: #f6f6f6;width: 890px;margin-bottom: 35px;font-size: 16px;color: #2e2e2e;padding-top: 15px;padding-left: 15px;
transition: display 1s;
-moz-transition: display 1s;
-webkit-transition: display 1s;
-o-transition: display 1s;
}
.section4 .job-article.show{}
.section4 .type_area{display: none}
.section4 .type_area.on{display: block;}
.section4 .type_area .type_area_page{height: 25px;width: 100%;text-align: center;margin-top: 15px;margin-bottom: 35px;}
.section4 .type_area .type_area_page .page-item{display: inline-block;width: 25px;height: 25px;background-color: #f6f6f6;color: #727272;font-size: 16px;text-align: center;line-height: 25px;text-decoration: none;margin-left: 4px;margin-right: 4px;}
.section4 .type_area .type_area_page .page-item.on{background-color: #6aacff;color: white;}
h2{color:#2e2e2e;font-size:20px;font-weight:100;}
.common-footer{margin-top:120px;}
.common-header{
margin-left: -560px;
}
.common-header li .service.business .down-list{
left: -3px;
}
</style>
</head>
<body class="white-bg">
<style>
.common-header {
margin-left: -560px;
width: 1000px;
}
.common-header li .service.business .down-list {
left: -3px;
}
<?php if(( !empty($logo_url))): ?>
.common-header {
background: url(<?php echo htmlentities($logo_url); ?>) 14px 37px no-repeat;
background-size:18%;
}
<?php endif; if(( !empty($other_logo_url))): ?>
.white-bg .common-header {
background: url(<?php echo htmlentities($other_logo_url); ?>) 14px 37px no-repeat;
background-size: 18%;
}
<?php endif; ?>
</style>
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<div class="wrapper">
<p class="line"></p>
<section class="section1">
<div class="swiper-container swiper-container-horizontal">
<div class="swiper-wrapper">
<div class="swiper-slide btn swiper-slide-active" banner_id="ba55e41fa01ad59" banner_link="" is_video="0" style="width: 1020px; margin-right: 30px;">
<img src="/static/common/img/preview.jpg">
</div>
</div>
</div>
<div class="swiper-pagination swiper-pagination-clickable"><span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span></div>
</section>
<section class="section2">
<p>在这里,你将拥有宽松、愉悦、平等的工作环境,你将收获友爱、尊重、温暖的创业伙伴,更重要的是, </p>
<p>你有可能实现自己最大的价值。</p>
</section>
<section class="section3" id="job">
<ul id="job-nav" class="clearfix">
<?php if(is_array($join_cate_list) || $join_cate_list instanceof \think\Collection || $join_cate_list instanceof \think\Paginator): $k = 0; $__LIST__ = $join_cate_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
<li id="<?php echo $k==1 ? 'selected' : ''; ?>" type_id="<?php echo htmlentities($vo['id']); ?>">
<a href="javascript:;"><?php echo htmlentities($vo['title']); ?></a><span class="tall"></span>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</section>
<section class="section4">
<p class="cate-title">
<span class="title1">职位</span>
<span class="title2">类别</span>
<span class="title3">工作地</span>
<span class="title4">发布时间</span>
</p>
<?php if(is_array($join_list) || $join_list instanceof \think\Collection || $join_list instanceof \think\Paginator): $k = 0; $__LIST__ = $join_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
<div class="type_area <?php echo $join_cate_list['0']['id']==$vo['joinCate']['id'] ? 'on' : ''; ?>" type_id="<?php echo htmlentities($vo['joinCate']['id']); ?>">
<div class="type_area_content">
<div class="jobs-item-big">
<div class="job-item">
<p class="carrier">
<span class="carrier-word"><?php echo htmlentities($vo['title']); ?></span>
</p>
<p class="cate-name">
<span><?php echo htmlentities($vo['joinCate']['title']); ?></span>
</p>
<p class="addr">
<span><?php echo htmlentities($vo['place']); ?></span>
</p>
<p class="publish">
<span><?php echo date('Y-m-d',$vo['current']); ?></span>
</p>
<i class="arrow jobs-icon down"></i>
</div>
<article class="job-article">
<?php echo htmlspecialchars_decode($vo['content']); ?>
</article>
</div>
</div>
</div>
<div class="type_area" type_id="ty55e51754040cb">
<div class="type_area_content"></div>
</div>
<?php endforeach; endif; else: echo "" ;endif; ?>
<!--end of foreach-->
</section>
</div>
<footer class="common-footer">
<ul class="clearfix" style="width: 510px;">
<li><a href="<?php echo url('/aboutus'); ?>">关于凡骄</a></li>
<li><a href="<?php echo url('/aboutus/agreement'); ?>">用户协议</a></li>
<li><a href="<?php echo url('/join'); ?>">招聘信息</a></li>
<li><a href="<?php echo url('/contact'); ?>">联系我们</a></li>
<!-- <li><a href="https://pc.immomo.com">凡骄电脑版</a></li> -->
</ul>
<div style="text-align:center; ">Copyright © 2019 <a href="<?php echo htmlentities($host_name); ?>" target="_blank">重庆凡骄网络科技有限公司</a>All Rights Reserved<br><a href="https://beian.miit.gov.cn/#/Integrated/recordQuery" target="_Blank"><?php echo $host_name=='http://www.fjkankan.com' ? '渝ICP备18007725号-2' : '渝ICP备18007725号'; ?></a>
<br/>
<a target="_blank" href="http://sq.ccm.gov.cn/ccnt/sczr/service/business/emark/toDetail/0327d7179b6c461681633f9389694746"> <img src="/static/common/img/wlwhjydw.png" style="width:25px;height:25px;"><p> 互联网文化经营单位</p></a>
</div>
<div style="width:300px;margin:0 auto; padding:20px 0;">
<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50010302002430" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
<img src="/fj.png" style="float:left;"/>
<p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">渝公网安备 50010302002430号</p >
</a>
</div>
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3165734538&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:3165734538:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>
</footer>
<script type="text/javascript" src = "/static/home/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src = "/static/admin/layer/layer.js"></script>
<!-- -->
<script>
$(function(){
$('.common-header .active').addClass('on');
})
</script>
</html>
<script>
//该事件的dom会有动态生成的,所以绑定事件的时候要注意了
$(document).on('click','.job-item',function(){
//打开一个,同时要关掉其他所有打开的。
//关掉一个,就只是关掉一个。
var $article = $(this).parent().find('.job-article');
if($article.hasClass('show')){
//隐藏
$(this).find('.arrow').removeClass('up').addClass('down');
$article.removeClass('show');
$article.hide('fast');
}else{
//显示
$('.job-article').removeClass('show');
$('.job-article').hide();
$('.arrow').removeClass('up').addClass('down');
$(this).find('.arrow').removeClass('down').addClass('up');
$article.addClass('show');
$article.show('fast');
}
});
$('#job-nav li').on('click',function(){
if(! ($(this).attr('id')=='selected') ){
$('#job-nav li').attr('id','');
$(this).attr('id','selected');
var type_id = $(this).attr('type_id');
$('.type_area.on').removeClass('on');
$('.type_area[type_id='+type_id+']').addClass('on');
//对应的下面显示职位列表
}
});
$('.common-header .join').addClass('on');
$('#job').on('click','li',function(){
location.href=$(this).find('a').attr('href');
});
var scrollH;
$(document).scroll(function(){
scrollH = $(document).scrollTop();
if(scrollH >= 850){
$("#job-nav").addClass("fixed");
}else{
$("#job-nav").removeClass("fixed");
}
}
)
</script>
......@@ -104,7 +104,7 @@
</div>
<div class="swiper-pagination swiper-pagination-clickable"><span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span></div>
</section>
{if !empty(join_cate_list)}
<section class="section2">
<p>在这里,你将拥有宽松、愉悦、平等的工作环境,你将收获友爱、尊重、温暖的创业伙伴,更重要的是, </p>
<p>你有可能实现自己最大的价值。</p>
......@@ -161,7 +161,7 @@
{/volist}
<!--end of foreach-->
</section>
{/if}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment