/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({

/***/ 0:
/***/ (function(module, exports, __webpack_require__) {

	module.exports = __webpack_require__(8);


/***/ }),

/***/ 8:
/***/ (function(module, exports) {

	$(function(){
	    $('.more').click(function(){
	        $(this).toggleClass('actived').parent().parent().find('.desc').slideToggle();
	        if($(this).hasClass('actived')){
	            $(this).find('span').html('收起职位');
	        }else{
	            $(this).find('span').html('查看职位');
	        }
	    })

	    function showPage(index){
	        $('.job-list').eq(index).removeClass('hide').siblings().addClass('hide');
	        window.scrollTo(0,$('#job-block')[0].offsetTop);
	    }

	    $('.page').click(function(){
	       $(this).addClass('active').siblings().removeClass('active');
	       var index = $(this).index();
	       index --;
	       showPage(index)
	    })

	    $('.left-arrow').click(function(){
	        var index = $('.pager .active').index();
	        if(index==1){
	            return
	        }else{
	            index = index-2
	            $('.page').eq(index).addClass('active').siblings().removeClass('active');
	            showPage(index)
	        }
	    })
	    $('.right-arrow').click(function(){
	        var index = $('.pager .active').index();
	        if(index==$('.page').length){
	            return
	        }else{
	            console.log(index)
	            $('.page').eq(index).addClass('active').siblings().removeClass('active');
	            showPage(index)
	        }
	    })
	})

/***/ })

/******/ });