网页 综合 更新时间 2026-11-15 02:30:09

各个企业招聘信息展示-企通社官微中心

自动蜘蛛 qitongshe.com 正文约 5689 字
各个企业招聘信息展示-企通社官微中心
登录 注册 手机版 用手机扫一扫 会员中心 我的订单 购物车 各个企业招聘信息展示-企通社官微中心 首页科技资讯营销学堂企业宣发短视频商城AI学堂知识问答招聘域名 部门: ${extension_field?.department || '-'} 经验: ${extension_field?.experience || '-'} 发布时间: ${published_at} 性别: ${extension_field?.sex || '-'} 专业: ${extension_field?.profession || '-'} 薪资待遇: ${extension_field?.pay || '-'} 教育程度: ${extension_field?.education || '-'} 地点: ${extension_field?.address || '-'} ${description} ` }) $('.hq-container').html(html) downSvgClick() let pageHtml = pagenationUpdate(current_page, totalPage) $('#pagenation').html(pageHtml) $('.hq-recruitment #pagenation').prepend(`<`) $('.hq-recruitment #pagenation').append(`>`) pageClick(cat_id, current_page, totalPage) if (current_page == 1) { //禁用上一页 $('.hq-recruitment #pagenation .page:first-child').css({ 'color': '#666', 'background-color': 'transparent', 'cursor': 'not-allowed' }) $('.hq-recruitment #pagenation .page:first').off('click') } else if (current_page == totalPage) { //禁用下一页 $('.hq-recruitment #pagenation .page:last-child').css({ 'color': '#666', 'background-color': 'transparent', 'cursor': 'not-allowed' }) $('.hq-recruitment #pagenation .page:last').off('click') } if (current_page == 1 && totalPage == 1) { //禁用上一页下一页 $('.hq-recruitment #pagenation .page:first-child').css({ 'color': '#666', 'background-color': 'transparent', 'cursor': 'not-allowed' }) $('.hq-recruitment #pagenation .page:first').off('click') $('.hq-recruitment #pagenation .page:last-child').css({ 'color': '#666', 'background-color': 'transparent', 'cursor': 'not-allowed' }) $('.hq-recruitment #pagenation .page:last').off('click') } }) //初次渲染 renderModule(cat_id, page, page_size) const downSvgClick = () => { $('.hqBox .introduction .right svg').on('click', function (e) { debounce(() => { $(e.currentTarget).parents('.hqBox').siblings().map((index, item) => { if (!$(item).hasClass('active')) { $(item)[0].style.height = 'auto' const { height } = $(item)[0].getBoundingClientRect() $(item)[0].style.height = '230px' //强制执行重绘 $(item)[0].offsetHeight $(item)[0].style.height = `${height}px` } else { $(item)[0].style.height = '230px' } }) $(e.currentTarget).parents('.hqBox').siblings().removeClass('active') $(e.currentTarget).parents('.hqBox').toggleClass('active') if ($(e.currentTarget).parents('.hqBox').hasClass('active')) { $(e.currentTarget).parents('.hqBox')[0].style.height = 'auto' const { height } = $(e.currentTarget).parents('.hqBox')[0].getBoundingClientRect() $(e.currentTarget).parents('.hqBox')[0].style.height = '230px' $(e.currentTarget).parents('.hqBox')[0].offsetHeight $(e.currentTarget).parents('.hqBox')[0].style.height = `${height}px` } else { $(e.currentTarget).parents('.hqBox')[0].style.height = '230px' } }, 300)() }) } const pageClick = (cat_id, cur_page, totalPage) => { const handlePageClick = (e) => { let cur_obj = $(e.currentTarget) page = $(e.currentTarget).text() $('.hq-recruitment #pagenation .page').removeClass('active') if (page == '<') { page = cur_page > 1 ? cur_page - 1 : 1 } else if (page == '>') { page = cur_page < totalPage ? cur_page + 1 : totalPage } else if (page == '...') { return } else { $(e.currentTarget).css({ 'color': '#fff', 'background-color': 'var(--main-color)' }) $(e.currentTarget).siblings().css({ 'color': '#666', 'background-color': 'transparent' }) $(e.currentTarget).addClass('active') } renderModule(cat_id, page, page_size) } $('.hq-recruitment #pagenation .page').click(debounce(handlePageClick, 200)); } //分页显示更新 function pagenationUpdate(cur_page, totalPage) { let pageHtml = '' if (totalPage <= 5) { for (let i = 1; i <= totalPage; i++) { cur_page == i ? pageHtml += `${i}` : pageHtml += `${i}` } return pageHtml } if (cur_page == 1) { pageHtml += `1` pageHtml += `2` pageHtml += `3` pageHtml += `...` pageHtml += `${totalPage}` } else if (cur_page == 2) { pageHtml += `1` pageHtml += `2` pageHtml += `3` pageHtml += `...` pageHtml += `${totalPage}` } else if (cur_page == 3) { pageHtml += `1` pageHtml += `...` pageHtml += `3` pageHtml += `4` pageHtml += `5` pageHtml += `...` pageHtml += `${totalPage}` } else if (cur_page == totalPage) { pageHtml += `1` pageHtml += `...` pageHtml += `${totalPage - 2}` pageHtml += `${totalPage - 1}` pageHtml += `${totalPage}` } else if (cur_page == totalPage - 1) { pageHtml += `1` pageHtml += `...` pageHtml += `${totalPage - 2}` pageHtml += `${totalPage - 1}` pageHtml += `${totalPage}` } else if (cur_page == totalPage - 2) { pageHtml += `1` pageHtml += `...` pageHtml += `${totalPage - 4}` pageHtml += `${totalPage - 3}` pageHtml += `${totalPage - 2}` pageHtml += `...` pageHtml += `${totalPage}` } else { pageHtml += `1` pageHtml += `...` pageHtml += `${cur_page - 1}` pageHtml += `${cur_page}` pageHtml += `${cur_page + 1}` pageHtml += `...` pageHtml += `${totalPage}` } return pageHtml } }) function debounce(func, wait) { let timeout; return function () { const context = this; const args = arguments; clearTimeout(timeout); timeout = setTimeout(function () { func.apply(context, args); }, wait); }; } function ajax(url, method) { return new Promise(function (resolve, reject) { $.ajax({ url, method, success: function (data) { if (data.code === 0) resolve(data); else { reject(new Error(`Request error with code: ${res.code}`)); } }, error: function (error) { reject(new Error(`Network error: ${err.statusText}`)); } }) }) } 引流文章与共享海报发布网站 主办单位:杭州电子商务研究院 免费创建 加入企业 × 长按屏幕识别二维码 打开手机扫描二维码 × × 请选择一种导航方式 取消 友情链接: 杭州市瑞安商会 杭州电子商务研究院 域名注册 商标注册 专利申请 爱名奖 数字化网站 LTD方法论 网站建设 域名查询 商标查询 数字化经营思想 LTD学习中心 2b2c网址导航 产业数字化网址导航 TOB问答 网页编辑器 官微名片 丽水山泉 浙工大校友企业家联谊会 站点智能 入站营销 DMP 西湖龙井茶官网 智元营销 通用站点案例库 巨量星球 深圳市龙岗区晟恒鞋业用品店 鼎纪电子 金峰包装 珠海新颜品质医美 帮帮运车 三宝福露酒官网 22金牌服务 更多 Copyright ©2026 企通社版权所有 浙公网安备33010602013137号 浙ICP备16025413号-10 支持 反馈 订阅 数据
访问原文 返回搜索 https://qitongshe.com/zhaopin
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。