
“黔行骐骥 共创辉煌”2025感动黔江颁奖晚会举行 罗成骆高燕刘毅姚登惠李泽玉等出席并颁奖
李强主持召开国务院常务会议 对抓紧做好春节假期后政府工作作出部署 研究推进银发经济和养老服务发展有关工作 审议通过《关于加强基层消防工作的意见》 讨论《中华人民共和国水法(修订草案)》
“黔行骐骥 共创辉煌”2025感动黔江颁奖晚会举行 罗成骆高燕刘毅姚登惠李泽玉等出席并颁奖
重庆市黔江区民政局关于转发《关于印发养老机构防汛救灾工作指引的通知》的通知
重庆市黔江区民政局关于转发《殡葬服务机构从业人员职业道德行为规范“十必须”》和《殡葬服务机构从业人 员“十严禁”》的通知
重庆市黔江区民政局关于进一步加强和改进分散供养特困人员照料护理服务工作的通知
重庆市黔江区民政局关于转发《重庆市刚性支出困难家庭认定办法(试行)》的通知
重庆市黔江区民政局 重庆市黔江区财政局关于印发《黔江区殡葬惠民政策实施细则》的通知
重庆市黔江区民政局关于在殡仪服务机构中推行“六统一·四必讲”服务举措的通知
重庆市黔江区民政局关于转发《加强低收入人口动态监测做好分层分类社会救助工作》的通知
重庆市黔江区民政局 重庆市黔江区发展和改革委员会关于调整黔江区殡仪馆殡葬非基本服务项目及收费标准有关事项的暂行通知
重庆市黔江区发展和改革委员会 重庆市黔江区民政局关于印发黔江区殡仪馆基本服务项目 收费标准的通知
pHei) { sHei = pHei } else { sHei = zHei - (scrHei - topHei) } $(.nrcon-right).css({ top: scrHei - topHei + px, height: sHei, overflow: auto, right: 0 }) } else { $(.nrcon-right).attr(style, ) } } scrFns() $(window).scroll(function () { scrFns(); }) $(window).resize(function () { scrFns(); }) }) } //处理下属单位领导信息显示 $(document).ready(function () { // 选择所有的.dwjj_text div下的p标签 $(.dwjj_text div p).each(function () { var $this = $(this); var text = $this.text(); var parts = text.split(/\n+/); // 使用一个或多个空白字符(空格、制表符、换行符等)作为分隔符 if (parts.length>
pHei) { sHei = pHei } else { sHei = zHei - (scrHei - topHei) } $(.nrcon-right).css({ top: scrHei - topHei + px, height: sHei, overflow: auto, right: 0 }) } else { $(.nrcon-right).attr(style, ) } } scrFns() $(window).scroll(function () { scrFns(); }) $(window).resize(function () { scrFns(); }) }) } //处理下属单位领导信息显示 $(document).ready(function () { // 选择所有的.dwjj_text div下的p标签 $(.dwjj_text div p).each(function () { var $this = $(this); var text = $this.text(); var parts = text.split(/\n+/); // 使用一个或多个空白字符(空格、制表符、换行符等)作为分隔符 if (parts.length1) { // 创建一个新的span元素来包裹名字 var nameSpan = $(, { class: names }); nameSpan.text(parts[0]); // 将剩下的部分作为描述 var description = parts.slice(1).join( ); // 清空原始内容,添加新的结构 $this.empty().append(nameSpan).append( ).append(description); } }); }); //处理全局打印erHTML; // 获取body的内容 let start =; // 开始打印标识, 17个字符 let end =; // 结束打印标识 let newStr = oldStr.substr(oldStr.indexOf(start) + 17); // 截取开始打印标识之后的内容 newStr = newStr.substring(0, newStr.indexOf(end)); // 截取开始打印标识和结束打印标识之间的内容 window.document.body.innerHTML = newStr; // 把需要打印的指定内容赋给body window.print(); // 调用浏览器的打印功能打印指定区域 window.document.body.innerHTML = oldStr; // body替换为原来的内容 } // 替换渝快办地址orgcode=500114055&typeId=01 function replaceParamsInUrl(url) { // 如果URL不包含qjq则直接返回 if (!url.includes(qjq)) { return url; } // 解析URL const urlParts = url.split(?); if (urlParts.length-1) { let newhref= replaceParamsInUrl(href); $(this).attr(href, newhref); } }); }); //处理全局时间 $(document).ready(function () { // 选择 .dwjj_text 下的 p 元素 $(.dwjj_text p).each(function () { var $p = $(this); // 使用正则表达式匹配所有可能的时间区间格式 var timePattern = /(\d{1,2}[::]\d{2})[\u2013\u2014\-]{1,3}(\d{1,2}[::]\d{2})/g; var newText = $p.html().replace(timePattern, function (match, start, end) { // 统一格式为 HH:mm-HH:mm return start + - + end; }); $p.html(newText); }); }); //非名跳转提示 document.addEventListener(DOMContentLoaded, function () { // 获取所有的a标签 var links = document.querySelectorAll(a); // 遍历所有a标签,为它们添加click事件 for (var i = 0; i=0) { return; } // 检查链接是否是 if (!isGovCnDomain(this.href)) { // 如果不是.gov.cn域,则阻止默认行为并显示警告框 event.preventDefault(); var result = confirm(您即将离开本站并访问外部链接,确认继续吗?); if (result) { // 在新窗口中打开链接 window.open(this.href, _blank); } } else { // 如果是.gov.cn域,允许默认行为发生 return true; } }); } // 检查域名是否为.gov.cn function isGovCnDomain(url) { var domain = getDomain(url); return domain.endsWith(.gov.cn); } // 获取URL的顶级域名 function getDomain(url) { var a = document.createElement(a); a.href= url; return a.hostname; } });, { id: aick, name:aick, scrolling:no, src: , { id: aick, name:aick, scrolling:no, src: 数字语音 播放 if (e.data == open_szyy) { $(.gyReader_ctrlbtn).trigger(click); } //数字语音 暂停 if (e.data == pause_szyy) { $(.gyReader_ctrlbtn).trigger(click); } if(e.data == change){ $(#changeWdith).width(440); $(#changeWdith).height(570); } if(e.data == changeClos){ $(#changeWdith).width(80); $(#changeWdith).height(110); } //无障碍 if (e.data == open_wza) { $(#changeWdith).width(80); $(#changeWdith).height(110); $(#toolbarSwitch).trigger(click); } },false);:/\\?*]/g, ); // // 处理过长的文件名 // if (cleanName.length>
:/\\?*]/g, ); // // 处理过长的文件名 // if (cleanName.lengthconfig.maxFileNameLength) { // cleanName = cleanName.substring(0, config.maxFileNameLength) + ...; // } // // 如果文件名为空,使用默认名称 // if (!cleanName.trim()) { // cleanName = 下载文件; // } // return cleanName + fileExt; // }, // /** // * 创建下载链接并触发下载 // */ // createDownloadLink: function(fileUrl, fileName, originalLink) { // // 方法1: 使用fetch API(推荐,但受CORS限制) // this.downloadWithFetch(fileUrl, fileName).catch(error =>
config.maxFileNameLength) { // cleanName = cleanName.substring(0, config.maxFileNameLength) + ...; // } // // 如果文件名为空,使用默认名称 // if (!cleanName.trim()) { // cleanName = 下载文件; // } // return cleanName + fileExt; // }, // /** // * 创建下载链接并触发下载 // */ // createDownloadLink: function(fileUrl, fileName, originalLink) { // // 方法1: 使用fetch API(推荐,但受CORS限制) // this.downloadWithFetch(fileUrl, fileName).catch(error ={ // console.warn(Fetch下载失败,尝试使用直接链接方法:, error); // // 方法2: 直接创建链接(兼容性更好) // this.downloadWithDirectLink(fileUrl, fileName, originalLink); // }); // }, // /** // * 使用Fetch API下载 // */ // downloadWithFetch: function(fileUrl, fileName) { // return fetch(fileUrl, { // method: GET, // mode: cors, // credentials: same-origin // }) // .then(response =>
{ // console.warn(Fetch下载失败,尝试使用直接链接方法:, error); // // 方法2: 直接创建链接(兼容性更好) // this.downloadWithDirectLink(fileUrl, fileName, originalLink); // }); // }, // /** // * 使用Fetch API下载 // */ // downloadWithFetch: function(fileUrl, fileName) { // return fetch(fileUrl, { // method: GET, // mode: cors, // credentials: same-origin // }) // .then(response ={ // if (!response.ok) { // throw new Error(`HTTP error! status: `); // } // return response.blob(); // }) // .then(blob =>
{ // if (!response.ok) { // throw new Error(`HTTP error! status: `); // } // return response.blob(); // }) // .then(blob ={ // const url = window.URL.createObjectURL(blob); // const a = document.createElement(a); // a.href= url; // a.download = fileName; // a.style.display = none; // document.body.appendChild(a); // a.click(); // document.body.removeChild(a); // window.URL.revokeObjectURL(url); // this.showNotification(`文件下载完成: `); // }); // }, // /** // * 使用直接链接方法下载 // */ // downloadWithDirectLink: function(fileUrl, fileName, originalLink) { // const a = document.createElement(a); // a.href= fileUrl; // a.download = fileName; // a.style.display = none; // a.target = _blank; // 在新窗口打开,避免离开当前页面 // document.body.appendChild(a); // a.click(); // document.body.removeChild(a); // this.showNotification(`正在下载: `); // }, // /** // * 显示通知 // */ // showNotification: function(message, isError = false) { // // 尝试使用现有的通知系统 // let notification = document.getElementById(file-download-notification); // if (!notification) { // // 创建通知元素 // notification = document.createElement(div); // notification.id = file-download-notification; // notification.style.cssText = ` // position: fixed; // top: 20px; // right: 20px; // padding: 15px 20px; // background: #2ecc71; // color: white; // border-radius: 5px; // box-shadow: 0 3px 10px rgba(0,0,0,0.2); // z-index: 10000; // max-width: 400px; // word-break: break-word; // transition: all 0.3s ease; // `; // document.body.appendChild(notification); // } // // 设置通知内容和样式 // notification.textContent = message; // notification.style.background = isError ? #e74c3c : #2ecc71; // notification.style.display = block; // notification.style.opacity = 1; // // 自动隐藏 // setTimeout(() =>
{ // const url = window.URL.createObjectURL(blob); // const a = document.createElement(a); // a.href= url; // a.download = fileName; // a.style.display = none; // document.body.appendChild(a); // a.click(); // document.body.removeChild(a); // window.URL.revokeObjectURL(url); // this.showNotification(`文件下载完成: `); // }); // }, // /** // * 使用直接链接方法下载 // */ // downloadWithDirectLink: function(fileUrl, fileName, originalLink) { // const a = document.createElement(a); // a.href= fileUrl; // a.download = fileName; // a.style.display = none; // a.target = _blank; // 在新窗口打开,避免离开当前页面 // document.body.appendChild(a); // a.click(); // document.body.removeChild(a); // this.showNotification(`正在下载: `); // }, // /** // * 显示通知 // */ // showNotification: function(message, isError = false) { // // 尝试使用现有的通知系统 // let notification = document.getElementById(file-download-notification); // if (!notification) { // // 创建通知元素 // notification = document.createElement(div); // notification.id = file-download-notification; // notification.style.cssText = ` // position: fixed; // top: 20px; // right: 20px; // padding: 15px 20px; // background: #2ecc71; // color: white; // border-radius: 5px; // box-shadow: 0 3px 10px rgba(0,0,0,0.2); // z-index: 10000; // max-width: 400px; // word-break: break-word; // transition: all 0.3s ease; // `; // document.body.appendChild(notification); // } // // 设置通知内容和样式 // notification.textContent = message; // notification.style.background = isError ? #e74c3c : #2ecc71; // notification.style.display = block; // notification.style.opacity = 1; // // 自动隐藏 // setTimeout(() ={ // notification.style.opacity = 0; // setTimeout(() =>
{ // notification.style.opacity = 0; // setTimeout(() ={ // notification.style.display = none; // }, 300); // }, config.notificationDuration); // }, // /** // * 手动为链接添加下载优化 // */ // optimizeLink: function(linkElement) { // if (!linkElement !linkElement.href) return false; // const href= linkElement.getAttribute(href); // if (this.isFileLink(href)) { // linkElement.classList.add(optimized-download); // return true; // } // return false; // }, // /** // * 销毁优化器,清理资源 // */ // destroy: function() { // if (this.observer) { // this.observer.disconnect(); // } // document.removIM电竞,IM电竞官网,IM电竞注册,电竞投注平台,电竞博彩,英雄联盟竞猜eEventListener(click, this.handleLinkClick); // } // }; // // 自动初始化t(); // }); // } else { // window.FileDownloadOptimizer.init(); // } // })(); // // 提供全局函数以便手动调用 // window.downloadWithChineseName = function(fileUrl, chineseName) { // if (window.FileDownloadOptimizer) { // window.FileDownloadOptimizer.downloadWithChineseName(fileUrl, chineseName); // } // }; //#endregion