PbootCMS模板概述

PbootCMS模板是基于PHP7.x的轻量化内容管理系统专用前端方案,旨在让企业站点在不牺牲性能的前提下,实现快速上线与灵活迭代。相比传统的商业主题,它更强调代码的可读性与结构的模块化,使得前端开发者在排版、交互上拥有更大的掌控权。

模板结构与技术特性

模板采用手工书写的<div>+CSS布局,避免了冗余的框架代码;每个页面的容器均基于Flexbox和Grid实现自适应,兼容PC与WAP端。值得注意的是,模板内部预留了钩子函数,开发者可在不改动核心文件的情况下插入自定义脚本,真正做到“低侵入式”二次开发。

SEO 与内容管理

所有页面均支持独立设置、<meta name="keywords">与<meta name="description">,且模板自带的SEO框架会自动在页面加载前注入结构化数据,提升搜索引擎的抓取效率。后台提供可视化编辑面板,站长只需在几秒钟内更新联系方式、业务简介等关键信息,省去手动改文件的繁琐。</p> <h3 class="wp-block-heading">实际案例与适配场景</h3> <p>在一家专注商标注册的律所网站中,使用该模板后,首页的服务流程从原本的三页滚动压缩成一屏可视,访问时长下降了约40%,转化率却提升了近15%。同样的模板也被改装用于专利申请、教育培训以及本地生活服务平台,核心只需替换图片与文案,几乎零成本即可完成行业迁移。</p> <ul class="wp-block-list"> <li>代码精简、无冗余</li> <li>响应式布局,兼容多终端</li> <li>SEO友好,支持结构化数据</li> <li>后台实时编辑,降低运营门槛</li> <li>开源授权,二次开发无障碍</li> </ul> </div> <p style="opacity:.5;font-size:14px;margin-top:24px;display:flex;align-items:center;gap:6px;"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="flex-shrink:0;margin-top:1px;width:14px;height:14px"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg> <span>文章版权归作者所有,未经允许请勿转载。</span> </p> </div> <!-- 评论区 --> <div id="comments" class="xhaicomm-s-section"> <!-- 评论头部 --> <div class="xhaicomm-s-header" style="display:flex;justify-content:space-between;align-items:center;margin-bottom:40px;"> <h2 class="xhaicomm-s-title">参与讨论</h2> <div class="xhaicomm-s-count" style="font-size:14px;color:#6B7280;"> 0 条评论 </div> </div> <!-- 评论表单 --> <div class="xhaicomm-form-wrapper" id="xhaicomm-form-wrapper" style="margin-bottom:48px;"> <div class="xhaicomm-area"> <textarea class="xhaicomm-input" id="xhaicomm-input" placeholder="分享你的思考..." rows="2" required style="min-height:80px;max-height:300px;margin-bottom: 0;background: none;"></textarea> <div class="xhaicomm-tools"> <button type="button" class="xhbtn-submit" id="xh-submit-comment">发布</button> </div> </div> </div> <!-- 评论列表 --> <ul class="xhaicomm-list" id="xhaicomm-list"> <p style="text-align:center;color:#9CA3AF;padding:40px 0;">暂无评论,快来发表你的观点吧!</p> </ul> </div> <script> document.addEventListener('DOMContentLoaded', function () { // 使用事件委托处理回复按钮点击(支持动态添加的评论) document.addEventListener('click', function (e) { const replyBtn = e.target.closest('.xhaicomm-reply-btn'); if (!replyBtn) return; e.preventDefault(); const commentId = replyBtn.dataset.commentId; const postId = replyBtn.dataset.postId; const replyContainer = document.getElementById('reply-form-' + commentId); if (!replyContainer) return; // 隐藏所有其他回复表单 document.querySelectorAll('.reply-form-container').forEach(container => { if (container.id !== 'reply-form-' + commentId) { container.style.display = 'none'; container.innerHTML = ''; } }); // 切换当前回复表单 if (replyContainer.style.display === 'none' || !replyContainer.style.display) { // 克隆主评论表单 const mainFormWrapper = document.querySelector('#xhaicomm-form-wrapper .xhaicomm-area'); if (mainFormWrapper) { const clonedWrapper = mainFormWrapper.cloneNode(true); // 清空并替换占位符 const textarea = clonedWrapper.querySelector('textarea'); if (textarea) { textarea.value = ''; textarea.placeholder = '回复评论...'; textarea.id = 'xhaicomm-input-reply-' + commentId; } // 找到提交按钮并更新 const submitBtn = clonedWrapper.querySelector('.xhbtn-submit'); if (submitBtn) { submitBtn.id = 'xh-submit-reply-' + commentId; // 添加回复提交事件 submitBtn.addEventListener('click', function (e) { e.preventDefault(); const content = textarea.value.trim(); if (!content) { XHThreadToast.error('请输入评论内容'); textarea.focus(); return; } const pageData = window.xhThreadPageData || {}; if (!pageData.postId) { console.error('Post ID not found'); return; } // Loading state const originalText = submitBtn.innerText; submitBtn.innerText = '发布中...'; submitBtn.disabled = true; const data = { post_id: pageData.postId, content: content, parent_id: commentId }; fetch(pageData.restUrl + '/thread/comment', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': pageData.nonce }, body: JSON.stringify(data) }) .then(response => response.json()) .then(data => { if (data.success) { // 清空输入框 textarea.value = ''; // 隐藏回复表单 replyContainer.style.display = 'none'; replyContainer.innerHTML = ''; XHThreadToast.success('回复发布成功!'); // 刷新页面以显示新回复 location.reload(); } else { XHThreadToast.error(data.message || '发布失败,请重试'); } }) .catch(error => { console.error('Error:', error); XHThreadToast.error('网络错误,请稍后重试'); }) .finally(() => { submitBtn.innerText = originalText; submitBtn.disabled = false; }); }); } // 添加取消按钮 const tools = clonedWrapper.querySelector('.xhaicomm-tools'); if (tools && submitBtn) { const cancelBtn = document.createElement('button'); cancelBtn.type = 'button'; cancelBtn.className = 'xh-btn-cancel'; cancelBtn.textContent = '取消'; cancelBtn.style.cssText = 'background:none;color:#6B7280;padding:8px 20px;border-radius:9999px;font-size:12px;font-weight:700;border:1px solid #E5E7EB;cursor:pointer;transition:all 0.3s;margin-right:8px;'; cancelBtn.onclick = function () { replyContainer.style.display = 'none'; replyContainer.innerHTML = ''; }; tools.insertBefore(cancelBtn, submitBtn); } replyContainer.innerHTML = ''; replyContainer.appendChild(clonedWrapper); replyContainer.style.display = 'block'; // 平滑滚动并聚焦 setTimeout(() => { replyContainer.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); if (textarea) { textarea.focus(); } }, 100); } } else { replyContainer.style.display = 'none'; replyContainer.innerHTML = ''; } }); }); </script> <!-- 相关话题推荐 --> <div class="xhai-xhrelated-section"> <div style="max-width:1200px;margin:0 auto;padding:0 20px;"> <div class="xhrelated-header" style="display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;"> <h2 class="xhrelated-title">延伸阅读</h2> <a href="https://code.tyzyj.cn/threads" class="xhrelated-more"> 查看更多话题 <svg viewBox="0 0 1024 1024" width="16" height="16" fill="currentColor" stroke="currentColor" stroke-width="40" xmlns="http://www.w3.org/2000/svg"> <path d="M918.613333 534.613333l-298.666666 298.666667a32 32 0 0 1-45.226667-45.269333l244.053333-244.053334H128a32 32 0 1 1 0-64h690.730667l-244.053334-244.053333a32 32 0 1 1 45.269334-45.269333l298.666666 298.666666a32.042667 32.042667 0 0 1 0 45.312z"> </path> </svg> </a> </div> <div class="xhrelated-grid"> <div class="xhrelated-card"> <a href="https://code.tyzyj.cn/thread/multilingual-support-importance"> <div class="xhcard-label">RELATED TOPIC</div> <h3 class="xhcard-title">多语言支持对全球用户重要吗?</h3> <p class="xhcard-excerpt"> 前两天在网上闲逛,看到有人讨论一个网站要... </p> <div class="xhcard-meta"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /> </svg> 0 讨论 </div> </a> </div> <div class="xhrelated-card"> <a href="https://code.tyzyj.cn/thread/icomax-security-features"> <div class="xhcard-label">RELATED TOPIC</div> <h3 class="xhcard-title">ICOMAX如何保障交易安全?</h3> <p class="xhcard-excerpt"> 在数字资产交易的高风险环境中,平台的安全... </p> <div class="xhcard-meta"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /> </svg> 0 讨论 </div> </a> </div> <div class="xhrelated-card"> <a href="https://code.tyzyj.cn/thread/mxpro-mobile-trend"> <div class="xhcard-label">RELATED TOPIC</div> <h3 class="xhcard-title">MXProV4.5在移动端的趋势预测</h3> <p class="xhcard-excerpt"> 当MXProV4.5模板在桌面端收获良好... </p> <div class="xhcard-meta"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /> </svg> 0 讨论 </div> </a> </div> <div class="xhrelated-card"> <a href="https://code.tyzyj.cn/thread/verify-no-backdoor-source"> <div class="xhcard-label">RELATED TOPIC</div> <h3 class="xhcard-title">无后门源码如何验证真伪?</h3> <p class="xhcard-excerpt"> 市面上标榜“无后门”的源码层出不穷,买家... </p> <div class="xhcard-meta"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /> </svg> 0 讨论 </div> </a> </div> <div class="xhrelated-card"> <a href="https://code.tyzyj.cn/thread/backend-beautification-user-experience"> <div class="xhcard-label">RELATED TOPIC</div> <h3 class="xhcard-title">网站后台美化对用户体验的影响</h3> <p class="xhcard-excerpt"> 不知道大家有没有这种感觉,有时候用公司的... </p> <div class="xhcard-meta"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /> </svg> 0 讨论 </div> </a> </div> <div class="xhrelated-card"> <a href="https://code.tyzyj.cn/thread/vue-vs-other-frameworks"> <div class="xhcard-label">RELATED TOPIC</div> <h3 class="xhcard-title">为什么Vue更适合开发短视频应用?</h3> <p class="xhcard-excerpt"> 短视频应用对前端框架的要求往往超出常规W... </p> <div class="xhcard-meta"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /> </svg> 0 讨论 </div> </a> </div> </div> </div> </div> </div> <footer class="footer"> <div class="container-fluid container-footer"> <ul class="list-inline"><li class="hidden-xs" style="max-width: 300px;"><p><a class="footer-logo" href="https://code.tyzyj.cn" title=""> <img src="https://code.tyzyj.cn/wp-content/themes/zibll/img/thumbnail-sm.svg" data-src="https://code.tyzyj.cn/wp-content/uploads/2026/01/天云源码-320-x-80-像素.png" switch-src="https://code.tyzyj.cn/wp-content/uploads/2026/01/天云源码-320-x-80-像素.png" alt="天云源码" class="lazyload" style="height: 40px;"> </a></p><p class="title-h-left">天云集团旗下网站</p><div class="footer-muted em09">本站致力于分享优质实用的互联网资源,内容包括有网站搭建、建站源码、美化教程、SEO优化、免费工具、传奇脚本、素材资源、传奇架设、技术教程等,应有尽有!</div></li><li style="max-width: 550px;"><p class="fcode-links"><a href="https://zibll.com">友链申请</a> <a href="https://zibll.com">免责声明</a> <a href="https://zibll.com">广告合作</a> <a href="https://zibll.com">关于我们</a></p><div class="footer-muted em09">Copyright © 2026 · <a href="https://code.tyzyj.cn">天云源码</a> · 由<a target="_blank" href="https://www.zibll.com">zibll主题</a>强力驱动.</div><div class="footer-contact mt10 hidden-xs"><a class="toggle-radius" data-toggle="tooltip" target="_blank" title="QQ联系" href="https://wpa.qq.com/msgrd?v=3&uin=1234567788&site=qq&menu=yes"><svg class="icon" aria-hidden="true" data-viewBox="-50 0 1100 1100" viewBox="-50 0 1100 1100"><use xlink:href="#icon-d-qq"></use></svg></a><a class="toggle-radius" data-toggle="tooltip" title="微博" target="_blank" href="https://weibo.com/"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-d-weibo"></use></svg></a><a class="toggle-radius" data-toggle="tooltip" title="发邮件" href="mailto:1234567788@QQ.COM"><svg class="icon" aria-hidden="true" data-viewBox="-20 80 1024 1024" viewBox="-20 80 1024 1024"><use xlink:href="#icon-d-email"></use></svg></a></div></li><li class="hidden-xs"></li></ul> </div> </footer> <style> /* 页脚装饰容器 */ #footer-animal { position: relative; width: 100%; height: 120px; overflow: hidden; margin: 0; padding: 20px 0 0; background: transparent; z-index: 2; } /* 动物墙背景 */ .animal-wall { position: absolute; top: 75%; left: 0; width: 100%; height: 25%; background: url('https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons//yejiaoshiqiang.avif') repeat-x center top; background-size: 25% 100%; z-index: 1; } /* 动物图片 */ #footer-animal .animal { position: absolute; top: 12px; left: 50%; transform: translateX(-50%) scale(0.75); width: auto; height: 100%; z-index: 2; } /* 平板响应式 */ @media (max-width: 768px) { #footer-animal { height: 80px; } #footer-animal .animal { transform: translateX(-50%) scale(0.6); } } /* 手机响应式 */ @media (max-width: 480px) { #footer-animal { height: 70px; } #footer-animal .animal { transform: translateX(-50%) scale(0.4); } } </style> <script> (function() { 'use strict'; // 调试输出 console.log('Footer decoration assets_url:', 'https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons/'); console.log('Footer animal URL:', 'https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons/footer_animal.avif'); // DOM加载完成后执行 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', insertDecoration); } else { insertDecoration(); } function insertDecoration() { // 防止重复插入 if (document.getElementById('footer-animal')) { console.log('Footer animal already exists, skipping'); return; } // 按优先级查找页脚元素 var footer = document.querySelector('footer.footer-beautification') || document.querySelector('footer.footer') || document.querySelector('footer.site-footer') || document.querySelector('footer'); if (!footer) { console.log('Footer element not found'); return; } console.log('Footer element found:', footer); // 创建装饰元素 var decoration = document.createElement('div'); decoration.id = 'footer-animal'; decoration.innerHTML = '<div class="animal-wall"></div>' + '<img class="animal" src="https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons/footer_animal.avif" alt="页脚装饰" loading="lazy" onerror="console.error(\'Failed to load footer_animal.avif\', this)">'; // 插入到页脚前 footer.parentNode.insertBefore(decoration, footer); console.log('Footer decoration inserted'); // 监听图片加载 var animalImg = decoration.querySelector('.animal'); if (animalImg) { animalImg.onload = function() { console.log('Footer animal loaded successfully'); }; animalImg.onerror = function() { console.error('Footer animal failed to load. URL:', this.src); }; } } })(); </script> <script type="speculationrules"> {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/zibll/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} </script> <script> console.log("%c 天云网络集团 %c https://tyzyj.cn", "color: #fff; background: #ff6b6b; padding: 5px 10px; border-radius: 3px; font-weight: bold;", "color: #fff; background: #4ecdc4; padding: 5px 10px; border-radius: 3px;"); </script> <style> .navbar-brand{position:relative;overflow:hidden;margin: 0px 0 0 0px;}.navbar-brand:before{content:""; position: absolute; left: -665px; top: -460px; width: 200px; height: 15px; background-color: rgba(255,255,255,.5); -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-animation: searchLights 6s ease-in 0s infinite; -o-animation: searchLights 6s ease-in 0s infinite; animation: searchLights 6s ease-in 0s infinite;}@-moz-keyframes searchLights{50%{left: -100px; top: 0;} 65%{left: 120px; top: 100px;}}@keyframes searchLights{40%{left: -100px; top: 0;} 60%{left: 120px; top: 100px;} 80%{left: -100px; top: 0px;}} </style> <style> /*自定义鼠标指针样式*/ body{ cursor:url(https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons//mouse/normal12.png), default; } a:hover, button:hover, input:hover, select:hover, textarea:hover, .cursor-pointer:hover { cursor:url(https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons//mouse/link12.png), pointer; } /*隐藏默认的鼠标动画效果*/ .mouse-cursor { display: none !important; } </style> <div id="percentageCounter"></div> <script type="text/javascript"> $(window).scroll(function() { var a = $(window).scrollTop(), c = $(document).height(), b = $(window).height(); scrollPercent = a / (c - b) * 100; scrollPercent = scrollPercent.toFixed(1); $("#percentageCounter").css({ width: scrollPercent + "%", }); }).trigger("scroll"); </script> <style> #percentageCounter{position:fixed; left:0; top:0; height:3px; z-index:99999; background-image: linear-gradient(to right, #339933,#FF6666);border-radius:5px;} </style> <style type="text/css"> a {text-decoration: none;} /* 默认样式 */ div.usercm{background-repeat:no-repeat;background-position:center center;background-size:cover;background-color:rgba(255, 255, 255, 0.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:13px!important;width:200px;-moz-box-shadow:1px 1px 3px rgba (0,0,0,.3);box-shadow:0px 0px 15px #333;position:absolute;display:none;z-index:999; border-radius: 8px;} div.usercm ul{list-style-type:none;list-style-position:outside;margin:0px;padding:0px;display:block} div.usercm ul li{margin:0px;padding:0px;line-height:35px;} div.usercm ul li a{color:#666;padding:0 15px;display:block} div.usercm ul li a:hover{color:#fff;background:#FE3459} div.usercm ul li a i{margin-right:10px} a.disabled{color:#c8c8c8!important;cursor:not-allowed} a.disabled:hover{background-color:#FF0B0B !important} /* 黑色简约样式 */ div.usercm.black{background:rgba(26, 26, 26, 0.7) !important;color:#fff !important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 0 10px rgba(0,0,0,0.5);border:1px solid rgba(51, 51, 51, 0.5);} div.usercm.black ul li a{color:#e0e0e0 !important;} div.usercm.black ul li a:hover{color:#fff !important;background:rgba(255,255,255,0.1);} div.usercm.black ul li{border-bottom:1px solid rgba(51, 51, 51, 0.5);} div.usercm.black ul li:last-child{border-bottom:none;} /* 白底黑字样式 */ div.usercm.white{background:rgba(255, 255, 255, 0.7) !important;color:#333333 !important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 0 10px rgba(0,0,0,0.2);border:1px solid rgba(224, 224, 224, 0.5);} div.usercm.white ul li a{color:#333333 !important;} div.usercm.white ul li a:hover{color:#000000 !important;background:rgba(0,0,0,0.05);} div.usercm.white ul li{border-bottom:1px solid rgba(224, 224, 224, 0.5);} div.usercm.white ul li:last-child{border-bottom:none;} </style> <div class="usercm " style="left: 199px; top: 5px; display: none;"> <ul> <li style="display: flex; flex-direction: row; padding: 5px 0;"> <a href="javascript:history.go(-1);" style="flex: 1; text-align: center; padding: 0 5px;"><i class="fa fa-arrow-left"></i><span style="display: none;">后退</span></a> <a href="javascript:history.go(1);" style="flex: 1; text-align: center; padding: 0 5px;"><i class="fa fa-arrow-right"></i><span style="display: none;">前进</span></a> <a href="javascript:window.location.reload();" style="flex: 1; text-align: center; padding: 0 5px;"><i class="fa fa-refresh"></i><span style="display: none;">刷新</span></a> </li> <li><a href="javascript:void(0);" onclick="window.scrollTo({top: 0, behavior: 'smooth'});"><i class="fa fa-arrow-up fa-fw"></i><span>回到顶部</span></a></li> <li style="border-bottom:1px solid gray"></li> <li><a href="javascript:void(0);" onclick="window.open('/?random','_self');"><i class="fa fa-random fa-fw"></i><span>随便逛逛</span></a></li> <li><a href="/category/"><i class="fa fa-folder fa-fw"></i><span>博客分类</span></a></li> <li><a href="/tag/"><i class="fa fa-tags fa-fw"></i><span>文章标签</span></a></li> <li style="border-bottom:1px solid gray"></li> <li><a href="/user-agreement/"><i class="fa fa-shield fa-fw"></i><span>用户协议</span></a></li> <li><a href="/disclaimer/"><i class="fa fa-exclamation-circle fa-fw"></i><span>免责声明</span></a></li> <li style="border-bottom:1px solid gray"></li> <li><a href="javascript:void(0);" onclick="copyUrl();"><i class="fa fa-link fa-fw"></i><span>复制地址</span></a></li> <li><a href="javascript:void(0);" onclick="showHotComments();"><i class="fa fa-comments fa-fw"></i><span>显示热评</span></a></li> <li><a href="javascript:void(0);" onclick="convertToTraditional();"><i class="fa fa-language fa-fw"></i><span>转为繁體</span></a></li> </ul> </div> <script type="text/javascript"> (function($){ $.mouseMoveShow = function(b) { var d = 0, c = 0, h = 0, k = 0, e = 0, f = 0; $(window).mousemove(function(g) { d = $(window).width(); c = $(window).height(); h = g.clientX; k = g.clientY; e = g.pageX; f = g.pageY; h + $(b).width() >= d && (e = e - $(b).width() - 5); k + $(b).height() >= c && (f = f - $(b).height() - 5); $("html").on({ contextmenu: function(c) { 3 == c.which && $(b).css({ left: e, top: f }).show() }, click: function() { $(b).hide() } }) }) }, $.disabledContextMenu = function() { window.oncontextmenu = function() { return !1 } } for (var a = navigator.userAgent, b = "Android;iPhone;SymbianOS;Windows Phone;iPad;iPod".split(";"), d = !0, c = 0; c < b.length; c++) if (0 < a.indexOf(b[c])) { d = !1; break } d && ($.mouseMoveShow(".usercm"), $.disabledContextMenu()) })(jQuery); function getSelect() { "" == (window.getSelection ? window.getSelection() : document.selection.createRange().text) ? notyf("未选择需要复制的内容!","warning") : document.execCommand("Copy") } function baiduSearch() { var a = window.getSelection ? window.getSelection() : document.selection.createRange().text; "" == a ? notyf("未选择需要百度搜索的内容!","warning") : window.open("https://www.baidu.com/s?wd=" + a) } function googleSearch() { var a = window.getSelection ? window.getSelection() : document.selection.createRange().text; "" == a ? notyf("未选择需要谷歌搜索的内容!","warning") : window.open("https://www.google.com/search?q=" + a) } function benzhanSearch() { var a = window.getSelection ? window.getSelection() : document.selection.createRange().text; "" == a ? notyf("未选择需要本站搜索的内容!","warning") : window.open("https://code.tyzyj.cn/?s=" + a) } function copyUrl() { var url = window.location.href; if (navigator.clipboard && window.isSecureContext) { navigator.clipboard.writeText(url).then(function() { notyf("地址已复制到剪贴板!","success"); }, function() { notyf("复制失败,请手动复制!","error"); }); } else { var textArea = document.createElement("textarea"); textArea.value = url; textArea.style.position = "fixed"; textArea.style.left = "-999999px"; textArea.style.top = "-999999px"; document.body.appendChild(textArea); textArea.focus(); textArea.select(); try { document.execCommand('copy'); notyf("地址已复制到剪贴板!","success"); } catch (err) { notyf("复制失败,请手动复制!","error"); } document.body.removeChild(textArea); } } function showHotComments() { // 这里可以添加显示热评的逻辑 notyf("热评功能开发中!","info"); } function convertToTraditional() { // 这里可以添加转为繁体的逻辑 notyf("繁体转换功能开发中!","info"); } </script> <script> "use strict";$(function(){function t(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}var i=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},n=function(){function t(t,i){for(var n=0;n<i.length;n++){var e=i[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(i,n,e){return n&&t(i.prototype,n),e&&t(i,e),i}}(),e=function(){function e(n){var o=n.origin,r=n.speed,s=n.color,a=n.angle,h=n.context;t(this,e),this.origin=o,this.position=i({},this.origin),this.color=s,this.speed=r,this.angle=a,this.context=h,this.renderCount=0}return n(e,[{key:"draw",value:function(){this.context.fillStyle=this.color,this.context.beginPath(),this.context.arc(this.position.x,this.position.y,2,0,2*Math.PI),this.context.fill()}},{key:"move",value:function(){this.position.x=Math.sin(this.angle)*this.speed+this.position.x,this.position.y=Math.cos(this.angle)*this.speed+this.position.y+.3*this.renderCount,this.renderCount++}}]),e}(),o=function(){function i(n){var e=n.origin,o=n.context,r=n.circleCount,s=void 0===r?10:r,a=n.area;t(this,i),this.origin=e,this.context=o,this.circleCount=s,this.area=a,this.stop=!1,this.circles=[]}return n(i,[{key:"randomArray",value:function(t){var i=t.length;return t[Math.floor(i*Math.random())]}},{key:"randomColor",value:function(){var t=["8","9","A","B","C","D","E","F"];return"#"+this.randomArray(t)+this.randomArray(t)+this.randomArray(t)+this.randomArray(t)+this.randomArray(t)+this.randomArray(t)}},{key:"randomRange",value:function(t,i){return(i-t)*Math.random()+t}},{key:"init",value:function(){for(var t=0;t<this.circleCount;t++){var i=new e({context:this.context,origin:this.origin,color:this.randomColor(),angle:this.randomRange(Math.PI-1,Math.PI+1),speed:this.randomRange(1,6)});this.circles.push(i)}}},{key:"move",value:function(){var t=this;this.circles.forEach(function(i,n){if(i.position.x>t.area.width||i.position.y>t.area.height)return t.circles.splice(n,1);i.move()}),0==this.circles.length&&(this.stop=!0)}},{key:"draw",value:function(){this.circles.forEach(function(t){return t.draw()})}}]),i}();(new(function(){function i(){t(this,i),this.computerCanvas=document.createElement("canvas"),this.renderCanvas=document.createElement("canvas"),this.computerContext=this.computerCanvas.getContext("2d"),this.renderContext=this.renderCanvas.getContext("2d"),this.globalWidth=window.innerWidth,this.globalHeight=window.innerHeight,this.booms=[],this.running=!1}return n(i,[{key:"handleMouseDown",value:function(t){var i=new o({origin:{x:t.clientX,y:t.clientY},context:this.computerContext,area:{width:this.globalWidth,height:this.globalHeight}});i.init(),this.booms.push(i),this.running||this.run()}},{key:"handlePageHide",value:function(){this.booms=[],this.running=!1}},{key:"init",value:function(){var t=this.renderCanvas.style;t.position="fixed",t.top=t.left=0,t.zIndex="999999999999999999999999999999999999999999",t.pointerEvents="none",t.width=this.renderCanvas.width=this.computerCanvas.width=this.globalWidth,t.height=this.renderCanvas.height=this.computerCanvas.height=this.globalHeight,document.body.append(this.renderCanvas),window.addEventListener("mousedown",this.handleMouseDown.bind(this)),window.addEventListener("pagehide",this.handlePageHide.bind(this))}},{key:"run",value:function(){var t=this;if(this.running=!0,0==this.booms.length)return this.running=!1;requestAnimationFrame(this.run.bind(this)),this.computerContext.clearRect(0,0,this.globalWidth,this.globalHeight),this.renderContext.clearRect(0,0,this.globalWidth,this.globalHeight),this.booms.forEach(function(i,n){if(i.stop)return t.booms.splice(n,1);i.move(),i.draw()}),this.renderContext.drawImage(this.computerCanvas,0,0,this.globalWidth,this.globalHeight)}}]),i}())).init()}); </script> <style>.navbar-logo{animation: hue 4s infinite;}@keyframes hue {from {filter: hue-rotate(0deg);}to {filter: hue-rotate(-360deg);}}</style> <style> /* 灵动岛核心样式 */ .dynamic-island { position: fixed; top: 80px; left: 50%; transform: translateX(-50%) scale(0); transform-origin: center; width: auto; max-width: 80%; height: 40px; background-color: #ff840a; border-radius: 25px; color: #ffffff; display: flex; align-items: center; justify-content: space-between; transition: transform 0.4s ease-in-out, height 0.6s ease-in-out, border-radius 0.6s ease-in-out, box-shadow 0.5s ease-in-out, opacity 0.5s ease-in-out; overflow: visible; z-index: 999; padding: 0 20px 0 35px; opacity: 0; box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); } /* 激活状态 */ .dynamic-island.active { transform: translateX(-50%) scale(1); opacity: 1; } /* 未激活状态 */ .dynamic-island.inactive { transform: translateX(-50%) scale(0); opacity: 0; } /* 灵动岛内容区域 */ .island-content { opacity: 0; transition: opacity 0.9s ease-in-out, filter 0.8s ease-in-out; font-weight: 600; flex-grow: 1; text-align: right; width: 100%; } .dynamic-island.active .island-content { opacity: 1; } /* 图标样式 */ .dynamic-island img { position: absolute; left: 10px; width: 20px; height: 20px; object-fit: cover; transition: height 0.8s ease-in-out, width 0.8s ease-in-out, filter 0.8s ease-in-out; } /* hover交互效果 */ .dynamic-island:hover { height: 60px; border-radius: 30px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); } .dynamic-island:hover img { width: 30px; height: 30px; } /* 音频可视化柱状图容器 */ .bars { display: flex; align-items: center; justify-content: flex-start; gap: 3px; flex-grow: 1; } /* 柱状图样式 */ .bar { width: 2px; height: 13px; background-color: green; animation: bounce 1s infinite ease-in-out alternate; } /* 分别设置柱状图动画时长,实现错落效果 */ .bar:nth-child(1) { animation-duration: 1s; } .bar:nth-child(2) { animation-duration: 0.9s; } .bar:nth-child(3) { animation-duration: 0.8s; } .bar:nth-child(4) { animation-duration: 0.7s; } .bar:nth-child(5) { animation-duration: 0.6s; } .bar:nth-child(6) { animation-duration: 0.9s; } .bar:nth-child(7) { animation-duration: 0.7s; } /* 柱状图动画关键帧 */ @keyframes bounce { 0% { transform: scaleY(0.3); background-color: #2ecc71; } 50% { transform: scaleY(1); background-color: #f39c12; } 100% { transform: scaleY(0.3); background-color: #2ecc71; } } /* 关闭按钮样式 */ .dynamic-island .close-btn { width: 20px; height: 20px; background: transparent; border: none; color: #ffffff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-left: 10px; opacity: 0.7; transition: opacity 0.3s ease; } .dynamic-island .close-btn:hover { opacity: 1; } /* 移动端适配 */ @media (max-width: 768px) { .dynamic-island { top: 60px; max-width: 90%; height: 35px; padding: 0 15px 0 30px; } .island-content p { font-size: 14px; } .dynamic-island:hover { height: 50px; } .bar { width: 1.5px; height: 10px; } } </style> <!-- 超级灵动岛HTML结构 --> <div class="dynamic-island inactive" id="dynamicIsland"> <!-- 图标,使用默认图标作为备选 --> <img src="https://code.tyzyj.cn/wp-content/plugins/assets/zibll_add_ons/img/logo.png" alt="通知图标" onerror="this.src='https://img.alicdn.com/imgextra/i1/2210123621994/O1CN01lajerM1QbIl9aoHcJ_!!2210123621994.png';"> <div class="island-content"> <div class="bars" style="line-height: 50px; margin: 0;"> <p style="line-height: 50px; margin: 0; font-size: 12px; padding-right: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex-grow: 1; min-width: 0;">正在阅读:PbootCMS模板概述</p> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> </div> </div> <button class="close-btn" onclick="this.closest('.dynamic-island').classList.add('inactive');">×</button> </div> <script> // 超级灵动岛JavaScript document.addEventListener('DOMContentLoaded', function() { var island = document.getElementById('dynamicIsland'); if (island) { // 页面加载后显示灵动岛 setTimeout(function() { island.classList.add('active'); island.classList.remove('inactive'); }, 500); // 设置自动隐藏时间 setTimeout(function() { island.classList.remove('active'); island.classList.add('inactive'); }, 3000); // 鼠标悬停时暂停自动隐藏 island.addEventListener('mouseenter', function() { clearTimeout(window.islandTimeout); }); // 鼠标离开时恢复自动隐藏 island.addEventListener('mouseleave', function() { window.islandTimeout = setTimeout(function() { island.classList.remove('active'); island.classList.add('inactive'); }, 2000); }); } }); </script> <script type="text/javascript"> window._win = { views: '992', www: 'https://code.tyzyj.cn', uri: 'https://code.tyzyj.cn/wp-content/themes/zibll', ver: '8.5', imgbox: '1', imgbox_type: 'group', imgbox_thumbs: '1', imgbox_zoom: '1', imgbox_full: '1', imgbox_play: '1', imgbox_down: '1', sign_type: '', signin_url: 'https://code.tyzyj.cn/user-sign?tab=signin&redirect_to=https%3A%2F%2Fcode.tyzyj.cn%2Fthread%2Fpbootcms-template-overview', signup_url: 'https://code.tyzyj.cn/user-sign?tab=signup&redirect_to=https%3A%2F%2Fcode.tyzyj.cn%2Fthread%2Fpbootcms-template-overview', ajax_url: 'https://code.tyzyj.cn/wp-admin/admin-ajax.php', ajaxpager: '', ajax_trigger: '<i class="fa fa-angle-right"></i>加载更多', ajax_nomore: '没有更多内容了', qj_loading: '', highlight_kg: '1', highlight_hh: '', highlight_btn: '1', highlight_zt: 'dracula', highlight_white_zt: 'enlighter', highlight_dark_zt: 'dracula', upload_img_size: '3', img_upload_multiple: '', upload_video_size: '30', upload_file_size: '30', upload_ext: 'jpg|jpeg|jpe|gif|png|bmp|tiff|tif|webp|avif|ico|heic|heif|heics|heifs|asf|asx|wmv|wmx|wm|avi|divx|flv|mov|qt|mpeg|mpg|mpe|mp4|m4v|ogv|webm|mkv|3gp|3gpp|3g2|3gp2|txt|asc|c|cc|h|srt|csv|tsv|ics|rtx|css|vtt|dfxp|mp3|m4a|m4b|aac|ra|ram|wav|x-wav|ogg|oga|flac|mid|midi|wma|wax|mka|rtf|pdf|class|tar|zip|gz|gzip|rar|7z|psd|xcf|doc|pot|pps|ppt|wri|xla|xls|xlt|xlw|mdb|mpp|docx|docm|dotx|dotm|xlsx|xlsm|xlsb|xltx|xltm|xlam|pptx|pptm|ppsx|ppsm|potx|potm|ppam|sldx|sldm|onetoc|onetoc2|onetmp|onepkg|oxps|xps|odt|odp|ods|odg|odc|odb|odf|wp|wpd|key|numbers|pages', user_upload_nonce: '3f0c247b2f', is_split_upload: '', split_minimum_size: '4', comment_upload_img: '' } </script> <div class="float-right round position-bottom scroll-down-hide"><span style="--this-bg:rgba(255, 111, 6, 0.2);" class="float-btn more-btn hover-show nowave" data-placement="left" title="本站同款主题模板" href="javascript:;"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-gift-color"></use></svg><div style="width:240px;" class="hover-show-con dropdown-menu"><a href="https://www.zibll.com/" target="_blank"> <div class="flex c-red"> <img class="flex0" alt="zibll子比主题" src="https://code.tyzyj.cn/wp-content/themes/zibll/img/favicon.png" height="30"> <div class="flex1 ml10"> <dt>本站同款主题模板</dt> <div class="px12 mt10 muted-color">zibll子比主题是一款漂亮优雅的网站主题模板,功能强大,配置简单。</div> <div class="but mt10 p2-10 c-blue btn-block px12">查看详情</div> </div> </div> </a></div></span><a style="--this-color:#f2c97d;--this-bg:rgba(62,62,67,0.9);" class="float-btn signin-loader" data-toggle="tooltip" data-placement="left" title="开通会员" href="javascript:;"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-vip_1"></use></svg></a><a rel="nofollow" class="newadd-btns float-btn add-btn btn-newadd" href="https://code.tyzyj.cn/newposts"><i class="fa fa-pencil" aria-hidden="true"></i></a><a class="float-btn service-wechat hover-show nowave" title="扫码添加微信" href="javascript:;"><i class="fa fa-wechat"></i><div class="hover-show-con dropdown-menu"><img class="radius4 relative" width="100%" class="lazyload" src="https://code.tyzyj.cn/wp-content/themes/zibll/img/thumbnail-sm.svg" data-src="https://code.tyzyj.cn/wp-content/themes/zibll/img/qrcode.png" alt="扫码添加微信-天云源码"></div></a><span class="float-btn qrcode-btn hover-show service-wechat"><i class="fa fa-qrcode"></i><div class="hover-show-con dropdown-menu"><div class="qrcode" data-size="100"></div><div class="mt6 px12 muted-color">在手机上浏览此页面</div></div></span><a class="float-btn ontop fade" data-toggle="tooltip" data-placement="left" title="返回顶部" href="javascript:(scrollTopTo());"><i class="fa fa-angle-up em12"></i></a></div><div mini-touch="nav_search" touch-direction="top" class="main-search fixed-body main-bg box-body navbar-search nopw-sm"><div class="container"><div class="mb20"><button class="close" data-toggle-class data-target=".navbar-search" ><svg class="ic-close" aria-hidden="true"><use xlink:href="#icon-close"></use></svg></button></div><div remote-box="https://code.tyzyj.cn/wp-admin/admin-ajax.php?action=search_box" load-click><div class="search-input"><p><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i></p><p class="placeholder k2"></p> <p class="placeholder t1"></p><p><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i></p><p class="placeholder k1"></p><p class="placeholder t1"></p><p></p> <p class="placeholder k1" style="height: 80px;"></p> </div></div></div></div> <div class="modal fade" id="u_sign" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="sign-content"> <div class="sign zib-widget blur-bg relative"> <button class="close" data-dismiss="modal"> <svg class="ic-close" aria-hidden="true" data-viewBox="0 0 1024 1024" viewBox="0 0 1024 1024"><use xlink:href="#icon-close"></use></svg> </button> <div class="tab-content"><div class="tab-pane fade active in" id="tab-sign-in"><div class="box-body"><div class="title-h-left fa-2x">登录</div><a class="muted-color px12" href="#tab-sign-up" data-toggle="tab">没有账号?立即注册<i class="em12 ml3 fa fa-angle-right"></i></a></div><div id="sign-in"><form><div class="relative line-form mb10"><input type="text" name="username" class="line-form-input" tabindex="1" placeholder=""><i class="line-form-line"></i><div class="scale-placeholder">用户名或邮箱</div></div><div class="relative line-form mb10"><input type="password" name="password" class="line-form-input" tabindex="2" placeholder=""><div class="scale-placeholder">登录密码</div><div class="abs-right passw muted-2-color"><i class="fa-fw fa fa-eye"></i></div><i class="line-form-line"></i></div><div class="relative line-form mb10 em09"><span class="muted-color form-checkbox"><input type="checkbox" id="remember" checked="checked" tabindex="4" name="remember" value="forever"><label for="remember" class="ml3">记住登录</label></span><span class="pull-right muted-2-color"><a rel="nofollow" class="muted-2-color" href="https://code.tyzyj.cn/user-sign?tab=resetpassword&redirect_to=https%3A%2F%2Fcode.tyzyj.cn%2Fthread%2Fpbootcms-template-overview">找回密码</a></span></div><div class="box-body"><input type="hidden" name="action" value="user_signin"><button type="button" class="but radius jb-blue padding-lg signsubmit-loader btn-block"><i class="fa fa-sign-in mr10"></i>登录</button></div></form></div></div><div class="tab-pane fade" id="tab-sign-up"><div class="box-body"><div class="title-h-left fa-2x">注册</div><a class="muted-color px12" href="#tab-sign-in" data-toggle="tab">已有账号,立即登录<i class="em12 ml3 fa fa-angle-right"></i></a></div><form id="sign-up"><div class="relative line-form mb10"><input type="text" name="name" class="line-form-input" tabindex="1" placeholder=""><i class="line-form-line"></i><div class="scale-placeholder">设置用户名</div></div><div class="relative line-form mb10"><input type="password" name="password2" class="line-form-input" tabindex="3" placeholder=""><div class="scale-placeholder">设置密码</div><div class="abs-right passw muted-2-color"><i class="fa-fw fa fa-eye"></i></div><i class="line-form-line"></i></div><div class="relative line-form mb10"><input type="password" name="repassword" class="line-form-input" tabindex="4" placeholder=""><div class="scale-placeholder">重复密码</div><div class="abs-right passw muted-2-color"><i class="fa-fw fa fa-eye"></i></div><i class="line-form-line"></i></div><div class="box-body"><input type="hidden" name="action" value="user_signup"><button type="button" class="but radius jb-green padding-lg signsubmit-loader btn-block"><svg class="icon mr10" aria-hidden="true" data-viewBox="0 0 1024 1024" viewBox="0 0 1024 1024"><use xlink:href="#icon-signup"></use></svg>注册</button></div></form></div></div> </div> </div> </div> </div> <script>document.addEventListener("DOMContentLoaded", function() { const images = document.querySelectorAll(".moxing_background img"); images.forEach(img => { img.addEventListener("load", function() { this.closest(".moxing_background").classList.remove("loading"); }); if (img.complete) { this.closest(".moxing_background").classList.remove("loading"); } else { this.closest(".moxing_background").classList.add("loading"); } }); // Firework effect const colors = ["#ff0000", "#ff7300", "#fffb00", "#48ff00", "#00ffd5", "#002bff", "#7a00ff", "#ff00c8"]; document.addEventListener("click", function(e) { const headBox = document.querySelector(".head_box_mx"); if (!headBox || !headBox.contains(e.target)) { return; } const fireworks = document.createElement("div"); fireworks.className = "fireworks"; headBox.appendChild(fireworks); const firework = document.createElement("div"); firework.className = "firework"; firework.style.left = e.clientX + "px"; firework.style.top = e.clientY + "px"; fireworks.appendChild(firework); for (let i = 0; i < 30; i++) { const particle = document.createElement("div"); particle.className = "particle"; const angle = (Math.PI * 2 * i) / 30; const vx = Math.cos(angle); const vy = Math.sin(angle); particle.style.setProperty("--vx", vx); particle.style.setProperty("--vy", vy); particle.style.setProperty("--firework-size", "{$firework_size}"); particle.style.setProperty("--firework-clarity", "{$firework_clarity}"); particle.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)]; firework.appendChild(particle); } setTimeout(() => { fireworks.remove(); }, 1000); });});</script><script type="text/javascript" id="xhaitool-thread-page-js-extra"> /* <![CDATA[ */ var xhThreadPageData = {"ajaxUrl":"https://code.tyzyj.cn/wp-admin/admin-ajax.php","restUrl":"https://code.tyzyj.cn/wp-json/aitoolboxv1","nonce":"1a415e6459","postId":"992"}; //# sourceURL=xhaitool-thread-page-js-extra /* ]]> */ </script> <script type="text/javascript" src="https://code.tyzyj.cn/wp-content/plugins/xhtheme-ai-toolbox/assets/js/thread-page.min.js?ver=1768916873" id="xhaitool-thread-page-js"></script> <script type="text/javascript" src="https://code.tyzyj.cn/wp-content/themes/zibll/js/libs/bootstrap.min.js?ver=8.5" id="bootstrap-js"></script> <script type="text/javascript" src="https://code.tyzyj.cn/wp-content/themes/zibll/js/loader.js?ver=8.5" id="_loader-js"></script> <script type="text/javascript" id="zibll-ai-chat-js-extra"> /* <![CDATA[ */ var zibll_ai_chat = {"ajax_url":"https://code.tyzyj.cn/wp-admin/admin-ajax.php","nonce":"ee150e9116","user_id":"0","is_user_logged_in":"","chat_title":"AI\u667a\u80fd\u5ba2\u670d","welcome_message":"\u60a8\u597d\uff01\u6211\u662fAI\u667a\u80fd\u5ba2\u670d\uff0c\u6709\u4ec0\u4e48\u53ef\u4ee5\u5e2e\u52a9\u60a8\u7684\u5417\uff1f","placeholder_text":"\u8bf7\u8f93\u5165\u60a8\u7684\u95ee\u9898...","typing_text":"\u6b63\u5728\u8f93\u5165..."}; //# sourceURL=zibll-ai-chat-js-extra /* ]]> */ </script> <script type="text/javascript" src="https://code.tyzyj.cn/wp-content/plugins/zibll-addons-suite/includes/../assets/js/ai-chat.js?ver=1.0.0" id="zibll-ai-chat-js"></script> <script id="wp-emoji-settings" type="application/json"> {"baseUrl":"https://s.w.org/images/core/emoji/17.0.2/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/17.0.2/svg/","svgExt":".svg","source":{"concatemoji":"https://code.tyzyj.cn/wp-includes/js/wp-emoji-release.min.js?ver=6.9"}} </script> <script type="module"> /* <![CDATA[ */ /*! This file is auto-generated */ const a=JSON.parse(document.getElementById("wp-emoji-settings").textContent),o=(window._wpemojiSettings=a,"wpEmojiSettingsSupports"),s=["flag","emoji"];function i(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function c(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0);const a=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);return t.every((e,t)=>e===a[t])}function p(e,t){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var n=e.getImageData(16,16,1,1);for(let e=0;e<n.data.length;e++)if(0!==n.data[e])return!1;return!0}function u(e,t,n,a){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\udde8\ud83c\uddf6","\ud83c\udde8\u200b\ud83c\uddf6")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!a(e,"\ud83e\u1fac8")}return!1}function f(e,t,n,a){let r;const o=(r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):document.createElement("canvas")).getContext("2d",{willReadFrequently:!0}),s=(o.textBaseline="top",o.font="600 32px Arial",{});return e.forEach(e=>{s[e]=t(o,e,n,a)}),s}function r(e){var t=document.createElement("script");t.src=e,t.defer=!0,document.head.appendChild(t)}a.supports={everything:!0,everythingExceptFlag:!0},new Promise(t=>{let n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),c.toString(),p.toString()].join(",")+"));",a=new Blob([e],{type:"text/javascript"});const r=new Worker(URL.createObjectURL(a),{name:"wpTestEmojiSupports"});return void(r.onmessage=e=>{i(n=e.data),r.terminate(),t(n)})}catch(e){}i(n=f(s,u,c,p))}t(n)}).then(e=>{for(const n in e)a.supports[n]=e[n],a.supports.everything=a.supports.everything&&a.supports[n],"flag"!==n&&(a.supports.everythingExceptFlag=a.supports.everythingExceptFlag&&a.supports[n]);var t;a.supports.everythingExceptFlag=a.supports.everythingExceptFlag&&!a.supports.flag,a.supports.everything||((t=a.source||{}).concatemoji?r(t.concatemoji):t.wpemoji&&t.twemoji&&(r(t.twemoji),r(t.wpemoji)))}); //# sourceURL=https://code.tyzyj.cn/wp-includes/js/wp-emoji-loader.min.js /* ]]> */ </script> <script type="text/javascript"> console.log("数据库查询:5次 | 页面生成耗时:634.864ms"); </script> <!-- 隐藏主题原始页脚的JavaScript --> <script> // 等待DOM加载完成 document.addEventListener('DOMContentLoaded', function() { // 隐藏主题原始页脚 var themeFooter = document.querySelector('footer.footer'); if (themeFooter) { themeFooter.style.display = 'none'; themeFooter.style.visibility = 'hidden'; themeFooter.style.height = '0'; themeFooter.style.width = '0'; themeFooter.style.margin = '0'; themeFooter.style.padding = '0'; themeFooter.style.overflow = 'hidden'; } // 隐藏主题页脚容器 var footerContainers = document.querySelectorAll('.footer, .container-fluid.container-footer, .footer-bottom'); footerContainers.forEach(function(container) { container.style.display = 'none'; container.style.visibility = 'hidden'; container.style.height = '0'; container.style.width = '0'; container.style.margin = '0'; container.style.padding = '0'; container.style.overflow = 'hidden'; }); }); </script> <footer class="footer-beautification"> <div class="footer-container"> <div class="footer-grid"> <!-- Logo和描述区块 --> <!-- Logo和描述区块 --> <div class="footer-section footer-logo-section"> <div class="footer-description"> 源码新势力 </div> </div> <!-- 快捷导航区块 --> <div class="footer-section"> <div class="footer-section-header"> <span class="footer-section-icon">⚡</span> <h3 class="footer-section-title">快捷导航</h3> </div> <div class="footer-links-container"> <ul class="footer-links"> </ul> </div> </div> <!-- 关于我们区块 --> <div class="footer-section"> <div class="footer-section-header"> <span class="footer-section-icon">👤</span> <h3 class="footer-section-title">关于我们</h3> </div> <div class="footer-links-container"> <ul class="footer-links"> </ul> </div> </div> <!-- 商务合作区块 --> <div class="footer-section"> <div class="footer-section-header"> <span class="footer-section-icon">🤝</span> <h3 class="footer-section-title">商务合作</h3> </div> <div class="footer-links-container"> <ul class="footer-links"> </ul> </div> </div> <!-- 更多服务区块 --> <div class="footer-section"> <div class="footer-section-header"> <span class="footer-section-icon">🔧</span> <h3 class="footer-section-title">更多服务</h3> </div> <div class="footer-links-container"> <ul class="footer-links"> <li> <a href="#" title="网站地图">网站地图</a> </li> <li> <a href="#" title="隐私政策">隐私政策</a> </li> <li> <a href="#" title="使用条款">使用条款</a> </li> <li> <a href="#" title="常见问题">常见问题</a> </li> </ul> </div> </div> <!-- 传统布局 --> </div> <!-- 友情链接 --> <!-- 版权信息 --> <div class="footer-copyright"> © 2026 天云源码. 版权所有 </div> <!-- 页面加载时间脚本 --> </div> </footer> </body> </html><!-- Performance optimized by Redis Object Cache. Learn more: https://wprediscache.com 使用 PhpRedis (v6.3.0) 从 Redis 检索了 1937 个对象 (453 KB)。 -->