code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E5%BC%80%E5%BE%80/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E5%BC%80%E5%BE%80/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 开往 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">开往 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-11T18:09:21+08:00" content="2024-10-11"> 10-11 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/93f836cb/" itemprop="url"> <span itemprop="name">开往 友链接力!</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/开往/index.html
HTML
unknown
24,100
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%87%92%E5%BE%97%E5%8A%A8/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%87%92%E5%BE%97%E5%8A%A8/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 懒得动 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">懒得动 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/2283d3b7/" itemprop="url"> <span itemprop="name">本来想搬fishport_serverwiki来着</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/懒得动/index.html
HTML
unknown
24,141
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E6%9C%8D%E5%8A%A1%E5%99%A8/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E6%9C%8D%E5%8A%A1%E5%99%A8/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 我的世界服务器 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">我的世界服务器 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/2283d3b7/" itemprop="url"> <span itemprop="name">本来想搬fishport_serverwiki来着</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/我的世界服务器/index.html
HTML
unknown
24,237
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%8A%BD%E8%B1%A1/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%8A%BD%E8%B1%A1/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 抽象 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">抽象 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-03T20:55:09+08:00" content="2024-09-03"> 09-03 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/ceb862dd/" itemprop="url"> <span itemprop="name">whatgalgame</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/抽象/index.html
HTML
unknown
24,091
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%8F%92%E4%BB%B6/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%8F%92%E4%BB%B6/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 插件 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">插件 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/插件/index.html
HTML
unknown
24,119
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%95%99%E7%A8%8B/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%95%99%E7%A8%8B/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 教程 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">教程 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-29T13:13:39+08:00" content="2024-09-29"> 09-29 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/36c34667/" itemprop="url"> <span itemprop="name">learn Markdown</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-28T20:48:54+08:00" content="2024-09-28"> 09-28 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/90edeb6d/" itemprop="url"> <span itemprop="name">信息技术基数实训-焊接爱心花灯</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:19:55+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/218fcad3/" itemprop="url"> <span itemprop="name">初识Vue3,有趣</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f899f771/" itemprop="url"> <span itemprop="name">LeetCode:2. 两数相加</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T20:42:35+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/58ad3c48/" itemprop="url"> <span itemprop="name">连不上网了?可能的DNS解决方法</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-20T17:22:58+08:00" content="2024-09-20"> 09-20 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f513b372/" itemprop="url"> <span itemprop="name">为hexo-next建立静态说说</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T16:43:40+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f7250b56/" itemprop="url"> <span itemprop="name">独立地写了一个调查表:)</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T12:28:24+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/e10534d7/" itemprop="url"> <span itemprop="name">通过创建一组彩色笔学习 CSS 颜色</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T10:08:12+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/fc7dd4b4/" itemprop="url"> <span itemprop="name">为github主页设计美化介绍</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-14T19:16:27+08:00" content="2024-09-14"> 09-14 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/62fedd1e/" itemprop="url"> <span itemprop="name">hexo创建一个友情链接页面</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <span class="page-number current">1</span><a class="page-number" href="/tags/%E6%95%99%E7%A8%8B/page/2/">2</a><a class="extend next" rel="next" href="/tags/%E6%95%99%E7%A8%8B/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/教程/index.html
HTML
unknown
29,365
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%95%99%E7%A8%8B/page/2/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%95%99%E7%A8%8B/page/2/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 教程 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">教程 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-14T18:38:52+08:00" content="2024-09-14"> 09-14 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/69cc9e5f/" itemprop="url"> <span itemprop="name">hexo-next在侧边栏添加IP信息</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-13T21:17:36+08:00" content="2024-09-13"> 09-13 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/36b96013/" itemprop="url"> <span itemprop="name">通过创建咖啡店菜单学习基础CSS</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-11T17:28:10+08:00" content="2024-09-11"> 09-11 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/c42bc0f8/" itemprop="url"> <span itemprop="name">给博客右上角添加github跳转图标</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-04T16:03:03+08:00" content="2024-09-04"> 09-04 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/50aa0545/" itemprop="url"> <span itemprop="name">hexo-next在文章下添加版权信息</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-04T15:02:00+08:00" content="2024-09-04"> 09-04 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/59a1e261/" itemprop="url"> <span itemprop="name">hexon:hexo的可视化编辑</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-06-23T16:33:26+08:00" content="2024-06-23"> 06-23 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f5bf34a0/" itemprop="url"> <span itemprop="name">forever</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <a class="extend prev" rel="prev" href="/tags/%E6%95%99%E7%A8%8B/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/tags/%E6%95%99%E7%A8%8B/">1</a><span class="page-number current">2</span> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/教程/page/2/index.html
HTML
unknown
27,160
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%B5%8F%E8%A7%88%E5%99%A8/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%B5%8F%E8%A7%88%E5%99%A8/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 浏览器 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">浏览器 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/浏览器/index.html
HTML
unknown
24,143
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%B8%B8%E6%88%8F/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%B8%B8%E6%88%8F/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 游戏 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">游戏 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/b6e6b630/" itemprop="url"> <span itemprop="name">玩文明六玩爽了</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/2283d3b7/" itemprop="url"> <span itemprop="name">本来想搬fishport_serverwiki来着</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-03T20:55:09+08:00" content="2024-09-03"> 09-03 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/ceb862dd/" itemprop="url"> <span itemprop="name">whatgalgame</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/游戏/index.html
HTML
unknown
25,189
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E6%B8%B8%E8%A7%88/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E6%B8%B8%E8%A7%88/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 游览 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">游览 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/ca82fca4/" itemprop="url"> <span itemprop="name">工业博物馆游览</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/游览/index.html
HTML
unknown
24,101
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%88%AC%E8%99%AB/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%88%AC%E8%99%AB/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 爬虫 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">爬虫 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-19T21:27:46+08:00" content="2024-09-19"> 09-19 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/e90bb5b9/" itemprop="url"> <span itemprop="name">探路:雨课堂的字体加密。</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/爬虫/index.html
HTML
unknown
24,114
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%88%B1%E7%8C%ABtv/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%88%B1%E7%8C%ABtv/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 爱猫tv | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">爱猫tv <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-16T13:27:19+08:00" content="2024-09-16"> 09-16 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/d09c70b/" itemprop="url"> <span itemprop="name">通过创建照片集学习 CSS 弹性盒子</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-06-21T21:15:25+08:00" content="2024-06-21"> 06-21 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/e855e869/" itemprop="url"> <span itemprop="name">哈基米</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/爱猫tv/index.html
HTML
unknown
24,660
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%A5%9E%E4%BA%BA/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%A5%9E%E4%BA%BA/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 神人 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">神人 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-23T15:01:26+08:00" content="2024-09-23"> 09-23 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/6af33c89/" itemprop="url"> <span itemprop="name">神人有感:先礼礼礼礼礼礼后兵</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/神人/index.html
HTML
unknown
24,120
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%AC%AC%E4%B8%80/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%AC%AC%E4%B8%80/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 第一 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">第一 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/38c422a2/" itemprop="url"> <span itemprop="name">我的第一个博客</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/第一/index.html
HTML
unknown
24,101
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 第一次 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">第一次 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:19:55+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/218fcad3/" itemprop="url"> <span itemprop="name">初识Vue3,有趣</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/38c422a2/" itemprop="url"> <span itemprop="name">我的第一个博客</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-20T18:58:27+08:00" content="2024-09-20"> 09-20 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/8403dd78/" itemprop="url"> <span itemprop="name">在hexo-next配置gitalk</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-19T07:59:02+08:00" content="2024-09-19"> 09-19 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/261d7eb2/" itemprop="url"> <span itemprop="name">为Hexo博客提供订阅服务</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T16:43:40+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f7250b56/" itemprop="url"> <span itemprop="name">独立地写了一个调查表:)</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-14T18:38:52+08:00" content="2024-09-14"> 09-14 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/69cc9e5f/" itemprop="url"> <span itemprop="name">hexo-next在侧边栏添加IP信息</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-13T19:36:15+08:00" content="2024-09-13"> 09-13 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/dad78c45/" itemprop="url"> <span itemprop="name">第一次Pull requests :)</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-11T17:28:10+08:00" content="2024-09-11"> 09-11 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/c42bc0f8/" itemprop="url"> <span itemprop="name">给博客右上角添加github跳转图标</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-11T17:09:40+08:00" content="2024-09-11"> 09-11 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/6273631e/" itemprop="url"> <span itemprop="name">通过创建猫咪相册应用学习HTML</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-04T16:03:03+08:00" content="2024-09-04"> 09-04 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/50aa0545/" itemprop="url"> <span itemprop="name">hexo-next在文章下添加版权信息</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <span class="page-number current">1</span><a class="page-number" href="/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/page/2/">2</a><a class="extend next" rel="next" href="/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/第一次/index.html
HTML
unknown
29,400
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/page/2/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/page/2/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 第一次 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">第一次 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-04T15:02:00+08:00" content="2024-09-04"> 09-04 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/59a1e261/" itemprop="url"> <span itemprop="name">hexon:hexo的可视化编辑</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <a class="extend prev" rel="prev" href="/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/tags/%E7%AC%AC%E4%B8%80%E6%AC%A1/">1</a><span class="page-number current">2</span> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/第一次/page/2/index.html
HTML
unknown
24,437
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%AE%97%E6%B3%95%E9%A2%98/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%AE%97%E6%B3%95%E9%A2%98/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 算法题 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">算法题 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f899f771/" itemprop="url"> <span itemprop="name">LeetCode:2. 两数相加</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T20:31:15+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/2f3d653d/" itemprop="url"> <span itemprop="name">LeetCode:1. 两数之和</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/算法题/index.html
HTML
unknown
24,672
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E7%BD%91%E7%BB%9C/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E7%BD%91%E7%BB%9C/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 网络 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">网络 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T20:42:35+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/58ad3c48/" itemprop="url"> <span itemprop="name">连不上网了?可能的DNS解决方法</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/网络/index.html
HTML
unknown
24,681
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E8%A7%A3%E5%86%B3/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E8%A7%A3%E5%86%B3/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 解决 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">解决 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T20:42:35+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/58ad3c48/" itemprop="url"> <span itemprop="name">连不上网了?可能的DNS解决方法</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/解决/index.html
HTML
unknown
24,681
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 记录 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">记录 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-30T21:19:04+08:00" content="2024-09-30"> 09-30 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/b0f770c3/" itemprop="url"> <span itemprop="name">Vue:watch监视</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-28T20:48:54+08:00" content="2024-09-28"> 09-28 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/90edeb6d/" itemprop="url"> <span itemprop="name">信息技术基数实训-焊接爱心花灯</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:19:55+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/218fcad3/" itemprop="url"> <span itemprop="name">初识Vue3,有趣</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/d8587a7c/" itemprop="url"> <span itemprop="name">通过创建资产负债表学习 CSS 伪选择器</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/fcbe0bf5/" itemprop="url"> <span itemprop="name">学了点js</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/38c422a2/" itemprop="url"> <span itemprop="name">我的第一个博客</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/6ec2376e/" itemprop="url"> <span itemprop="name">hexo创建公益404界面</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/ca82fca4/" itemprop="url"> <span itemprop="name">工业博物馆游览</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-27T22:05:24+08:00" content="2024-09-27"> 09-27 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f899f771/" itemprop="url"> <span itemprop="name">LeetCode:2. 两数相加</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T20:42:35+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/58ad3c48/" itemprop="url"> <span itemprop="name">连不上网了?可能的DNS解决方法</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <span class="page-number current">1</span><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/4/">4</a><a class="extend next" rel="next" href="/tags/%E8%AE%B0%E5%BD%95/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/记录/index.html
HTML
unknown
29,420
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/page/2/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/page/2/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 记录 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">记录 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T18:02:21+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/c0981903/" itemprop="url"> <span itemprop="name">通过创建钢琴学习响应式网页设计</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T17:49:56+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/52b92bfc/" itemprop="url"> <span itemprop="name">通过创建猫咪绘画学习中级 CSS</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-23T15:01:26+08:00" content="2024-09-23"> 09-23 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/6af33c89/" itemprop="url"> <span itemprop="name">神人有感:先礼礼礼礼礼礼后兵</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-21T21:01:13+08:00" content="2024-09-21"> 09-21 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/9f32bac9/" itemprop="url"> <span itemprop="name">通过创建小测验学习无障碍</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-21T17:38:24+08:00" content="2024-09-21"> 09-21 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/42cabe35/" itemprop="url"> <span itemprop="name">hexo压缩资源,优化访问</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-20T18:58:27+08:00" content="2024-09-20"> 09-20 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/8403dd78/" itemprop="url"> <span itemprop="name">在hexo-next配置gitalk</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-20T17:22:58+08:00" content="2024-09-20"> 09-20 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f513b372/" itemprop="url"> <span itemprop="name">为hexo-next建立静态说说</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-19T07:59:02+08:00" content="2024-09-19"> 09-19 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/261d7eb2/" itemprop="url"> <span itemprop="name">为Hexo博客提供订阅服务</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-16T13:27:19+08:00" content="2024-09-16"> 09-16 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/d09c70b/" itemprop="url"> <span itemprop="name">通过创建照片集学习 CSS 弹性盒子</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-16T11:18:02+08:00" content="2024-09-16"> 09-16 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/5129f3bd/" itemprop="url"> <span itemprop="name">通过创作罗斯科绘画学习 CSS 盒子模型</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <a class="extend prev" rel="prev" href="/tags/%E8%AE%B0%E5%BD%95/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/">1</a><span class="page-number current">2</span><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/3/">3</a><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/4/">4</a><a class="extend next" rel="next" href="/tags/%E8%AE%B0%E5%BD%95/page/3/"><i class="fa fa-angle-right" aria-label="下一页"></i></a> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/记录/page/2/index.html
HTML
unknown
29,687
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/page/3/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/page/3/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 记录 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">记录 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T16:43:40+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f7250b56/" itemprop="url"> <span itemprop="name">独立地写了一个调查表:)</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T15:00:41+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/5e40dbcf/" itemprop="url"> <span itemprop="name">通过创建注册表单学习 HTML 表单</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T12:28:24+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/e10534d7/" itemprop="url"> <span itemprop="name">通过创建一组彩色笔学习 CSS 颜色</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-15T10:08:12+08:00" content="2024-09-15"> 09-15 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/fc7dd4b4/" itemprop="url"> <span itemprop="name">为github主页设计美化介绍</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-14T19:16:27+08:00" content="2024-09-14"> 09-14 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/62fedd1e/" itemprop="url"> <span itemprop="name">hexo创建一个友情链接页面</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-14T18:38:52+08:00" content="2024-09-14"> 09-14 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/69cc9e5f/" itemprop="url"> <span itemprop="name">hexo-next在侧边栏添加IP信息</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-13T21:17:36+08:00" content="2024-09-13"> 09-13 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/36b96013/" itemprop="url"> <span itemprop="name">通过创建咖啡店菜单学习基础CSS</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-13T19:36:15+08:00" content="2024-09-13"> 09-13 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/dad78c45/" itemprop="url"> <span itemprop="name">第一次Pull requests :)</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-11T17:28:10+08:00" content="2024-09-11"> 09-11 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/c42bc0f8/" itemprop="url"> <span itemprop="name">给博客右上角添加github跳转图标</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-04T16:03:03+08:00" content="2024-09-04"> 09-04 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/50aa0545/" itemprop="url"> <span itemprop="name">hexo-next在文章下添加版权信息</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <a class="extend prev" rel="prev" href="/tags/%E8%AE%B0%E5%BD%95/page/2/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/">1</a><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/4/">4</a><a class="extend next" rel="next" href="/tags/%E8%AE%B0%E5%BD%95/page/4/"><i class="fa fa-angle-right" aria-label="下一页"></i></a> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/记录/page/3/index.html
HTML
unknown
29,696
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/page/4/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E8%AE%B0%E5%BD%95/page/4/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 记录 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">记录 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-04T15:02:00+08:00" content="2024-09-04"> 09-04 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/59a1e261/" itemprop="url"> <span itemprop="name">hexon:hexo的可视化编辑</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-06-23T16:33:26+08:00" content="2024-06-23"> 06-23 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/f5bf34a0/" itemprop="url"> <span itemprop="name">forever</span> </a> </div> </header> </article> </div> </div> <nav class="pagination"> <a class="extend prev" rel="prev" href="/tags/%E8%AE%B0%E5%BD%95/page/3/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/">1</a><span class="space">&hellip;</span><a class="page-number" href="/tags/%E8%AE%B0%E5%BD%95/page/3/">3</a><span class="page-number current">4</span> </nav> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/记录/page/4/index.html
HTML
unknown
25,032
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E8%B0%B7%E6%AD%8C/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E8%B0%B7%E6%AD%8C/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 谷歌 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">谷歌 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/谷歌/index.html
HTML
unknown
24,119
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E9%97%AE%E9%A2%98/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E9%97%AE%E9%A2%98/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 问题 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">问题 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-09-25T20:42:35+08:00" content="2024-09-25"> 09-25 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/58ad3c48/" itemprop="url"> <span itemprop="name">连不上网了?可能的DNS解决方法</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/问题/index.html
HTML
unknown
24,681
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/tags/%E9%AA%8C%E8%AF%81%E7%A0%81/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/tags/%E9%AA%8C%E8%AF%81%E7%A0%81/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>标签: 验证码 | 姓王者的博客</title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content tag"> <div class="post-block"> <div class="posts-collapse"> <div class="collection-title"> <h2 class="collection-header">验证码 <small>标签</small> </h2> </div> <div class="collection-year"> <span class="collection-header">2024</span> </div> <article itemscope itemtype="http://schema.org/Article"> <header class="post-header"> <div class="post-meta"> <time itemprop="dateCreated" datetime="2024-10-08T15:21:09+08:00" content="2024-10-08"> 10-08 </time> </div> <div class="post-title"> <a class="post-title-link" href="/posts/37f315ff/" itemprop="url"> <span itemprop="name">解决国外人机验证不显示问题</span> </a> </div> </header> </article> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
tags/验证码/index.html
HTML
unknown
24,143
importScripts('https://cdn.webpushr.com/sw-server.min.js');
2303_806435pww/xingwangzhe.github.io
webpushr-sw.js
JavaScript
unknown
59
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta name="description" content=".links-content{ margin-top:1rem; } .link-navigation::after { content: &quot; &quot;; display: block; clear: both; } .c"> <meta property="og:type" content="website"> <meta property="og:title" content="友情链接"> <meta property="og:url" content="https://xingwangzhe.fun/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:description" content=".links-content{ margin-top:1rem; } .link-navigation::after { content: &quot; &quot;; display: block; clear: both; } .c"> <meta property="og:locale" content="zh_CN"> <meta property="og:image" content="https://avatars.githubusercontent.com/u/118451956?v=4"> <meta property="og:image" content="https://tech.yemengstar.com/wp-content/uploads/2024/04/cropped-yemenglogoNEW-32x32.png"> <meta property="og:image" content="https://www.langhai.net/assets/images/langhai-logo.png"> <meta property="og:image" content="https://cdn.jsdelivr.net/gh/fushaolei/img/20200524104925.jpg"> <meta property="og:image" content="https://dh.lt6.ltd/favicon.ico"> <meta property="og:image" content="https://www.fish9.cn/favicon.ico"> <meta property="og:image" content="https://t.cn/A6ZIn3XJ"> <meta property="og:image" content="https://source-admibrill.pages.dev/file/f69c9c86b22cb90df18a1.png"> <meta property="og:image" content="https://xingwangzhe.fun/images/apple-touch-icon-next.png"> <meta property="article:published_time" content="2024-10-12T05:33:22.347Z"> <meta property="article:modified_time" content="2024-10-12T05:33:22.347Z"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <meta name="twitter:image" content="https://avatars.githubusercontent.com/u/118451956?v=4"> <link rel="canonical" href="https://xingwangzhe.fun/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>友情链接 | 姓王者的博客 </title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content page posts-expand"> <div class="post-block" lang="zh-CN"> <header class="post-header"> <h1 class="post-title" itemprop="name headline">友情链接 </h1> <div class="post-meta"> </div> </header> <div class="post-body"> <div id="links"> <style> .links-content{ margin-top:1rem; } .link-navigation::after { content: " "; display: block; clear: both; } .card { width: 45%; font-size: 1rem; padding: 10px 20px; border-radius: 4px; transition-duration: 0.15s; margin-bottom: 1rem; display:flex; } .card:nth-child(odd) { float: left; } .card:nth-child(even) { float: right; } .card:hover { transform: scale(1.1); box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04); } .card a { border:none; } .card .ava { width: 3rem!important; height: 3rem!important; margin:0!important; margin-right: 1em!important; border-radius:4px; } .card .card-header { font-style: italic; overflow: hidden; width: 100%; } .card .card-header a { font-style: normal; color: #2bbc8a; font-weight: bold; text-decoration: none; } .card .card-header a:hover { color: #d480aa; text-decoration: none; } .card .card-header .info { font-style:normal; color:#a3a3a3; font-size:14px; min-width: 0; overflow: hidden; white-space: nowrap; } </style> <div class="links-content"> <div class="link-navigation"> <div class="card"> <img class="ava" src="https://avatars.githubusercontent.com/u/118451956?v=4" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://blog.lilynet.work">Lily Ellenvia</a> </div> <div class="info">喜歡睡覺的普通人</div> </div> </div> <div class="card"> <img class="ava" src="https://tech.yemengstar.com/wp-content/uploads/2024/04/cropped-yemenglogoNEW-32x32.png" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tech.yemengstar.com/">夜梦星尘の折腾日记 </a> </div> <div class="info">眼底星河荡漾,踏着梦走过时光。</div> </div> </div> <div class="card"> <img class="ava" src="https://www.langhai.net/assets/images/langhai-logo.png" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.langhai.net/">浪海导航</a> </div> <div class="info">浪海导航 ~ 收录各种类型的博客以及论坛网站</div> </div> </div> <div class="card"> <img class="ava" src="https://cdn.jsdelivr.net/gh/fushaolei/img/20200524104925.jpg" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://fushaolei.fun/">琼西往事</a> </div> <div class="info">Do Not Be Sorry, Be Better</div> </div> </div> <div class="card"> <img class="ava" src="https://dh.lt6.ltd/favicon.ico" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://dh.lt6.ltd/">龙腾收录网</a> </div> <div class="info"> 我们致力于为广大站长提供一个纯净的精品网站收录,在龙腾收录网可互换友情链接,增加彼此网站曝光度!</div> </div> </div> <div class="card"> <img class="ava" src="https://www.fish9.cn/favicon.ico" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.fish9.cn/">吃猫的鱼</a> </div> <div class="info">吃猫的鱼--一个优质的技术博客!</div> </div> </div> <div class="card"> <img class="ava" src="https://t.cn/A6ZIn3XJ" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://ksh7.com/"> ksh</a> </div> <div class="info"> Life Oriented Programming</div> </div> </div> <div class="card"> <img class="ava" src="https://source-admibrill.pages.dev/file/f69c9c86b22cb90df18a1.png" /> <div class="card-header"> <div> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://blog.qyadbr.top">Admibrill</a> </div> <div class="info">有志者,事竟成.</div> </div> </div> </div> </div> </div> </section> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> <h1 id="欢迎各位在评论区交换友链:)"><a href="#欢迎各位在评论区交换友链:)" class="headerlink" title="欢迎各位在评论区交换友链:)"></a>欢迎各位在评论区交换友链:)</h1><blockquote> <p><img src="https://xingwangzhe.fun/images/apple-touch-icon-next.png" alt="nihao"><br>博客名称:姓王者的博客<br>博客地址:<a href="https://xingwangzhe.fun/">https://xingwangzhe.fun/</a><br>logo:<a href="https://xingwangzhe.fun/images/apple-touch-icon-next.png">https://xingwangzhe.fun/images/apple-touch-icon-next.png</a><br>封面:<a target="_blank" rel="noopener external nofollow noreferrer" href="https://i.ibb.co/Wg9zLFX/2024-10-12-133038.png">https://i.ibb.co/Wg9zLFX/2024-10-12-133038.png</a><br>描述:记录学习生活的琐事,或者技术文章:)</p> </blockquote> <p>也可以向我发送邮箱<br><a href="mailto:&#120;&#x69;&#x6e;&#x67;&#119;&#97;&#x6e;&#x67;&#122;&#x68;&#x65;&#x40;&#x6f;&#117;&#x74;&#x6c;&#111;&#111;&#x6b;&#46;&#x63;&#111;&#109;" rel="external nofollow noreferrer">&#120;&#x69;&#x6e;&#x67;&#119;&#97;&#x6e;&#x67;&#122;&#x68;&#x65;&#x40;&#x6f;&#117;&#x74;&#x6c;&#111;&#111;&#x6b;&#46;&#x63;&#111;&#109;</a><br><a href="mailto:&#x78;&#x69;&#110;&#x67;&#119;&#x61;&#x6e;&#103;&#122;&#104;&#101;&#64;&#x78;&#105;&#x6e;&#103;&#x77;&#97;&#110;&#x67;&#122;&#104;&#x65;&#46;&#x66;&#117;&#x6e;" rel="external nofollow noreferrer">&#x78;&#x69;&#110;&#x67;&#119;&#x61;&#x6e;&#103;&#122;&#104;&#101;&#64;&#x78;&#105;&#x6e;&#103;&#x77;&#97;&#110;&#x67;&#122;&#104;&#x65;&#46;&#x66;&#117;&#x6e;</a></p> </div> </div> </div> <div class="tabs tabs-comment"> <ul class="nav-tabs"> <li class="tab"><a href="#comment-gitalk">gitalk</a></li> <li class="tab"><a href="#comment-livere">livere</a></li> </ul> <div class="tab-content"> <div class="tab-pane gitalk" id="comment-gitalk"> <div class="comments" id="gitalk-container"></div> </div> <div class="tab-pane livere" id="comment-livere"> <div class="comments"> <div id="lv-container" data-id="city" data-uid="MTAyMC81OTkzNi8zNjM5OQ=="></div> </div> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%AC%A2%E8%BF%8E%E5%90%84%E4%BD%8D%E5%9C%A8%E8%AF%84%E8%AE%BA%E5%8C%BA%E4%BA%A4%E6%8D%A2%E5%8F%8B%E9%93%BE%EF%BC%9A%EF%BC%89"><span class="nav-number">1.</span> <span class="nav-text">欢迎各位在评论区交换友链:)</span></a></li></ol></div> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css"> <script> NexT.utils.loadComments(document.querySelector('#gitalk-container'), () => { NexT.utils.getScript('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js', () => { var gitalk = new Gitalk({ clientID : 'Ov23lifXHoq97dbVMtsq', clientSecret: '5b1323c3b64bd4fef3f3a56e2c7ada191b416bf4', repo : 'xingwangzhe.github.io', owner : 'xingwangzhe', admin : ['xingwangzhe'], id : 'f6d58a4d36bbc396bee841fdb591c337', language: 'zh-CN', distractionFreeMode: true }); gitalk.render('gitalk-container'); }, window.Gitalk); }); </script> <script> NexT.utils.loadComments(document.querySelector('#lv-container'), () => { window.livereOptions = { refer: location.pathname.replace(CONFIG.root, '').replace('index.html', '') }; (function(d, s) { var j, e = d.getElementsByTagName(s)[0]; if (typeof LivereTower === 'function') { return; } j = d.createElement(s); j.src = 'https://cdn-city.livere.com/js/embed.dist.js'; j.async = true; e.parentNode.insertBefore(j, e); })(document, 'script'); }); </script> </body> </html>
2303_806435pww/xingwangzhe.github.io
友情链接/index.html
HTML
unknown
34,481
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta property="og:type" content="website"> <meta property="og:title" content="姓王者的博客"> <meta property="og:url" content="https://xingwangzhe.fun/%E5%BC%80%E5%BE%80/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:locale" content="zh_CN"> <meta property="article:published_time" content="2024-09-22T07:08:39.000Z"> <meta property="article:modified_time" content="2024-09-22T07:13:27.620Z"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <link rel="canonical" href="https://xingwangzhe.fun/%E5%BC%80%E5%BE%80/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title> | 姓王者的博客 </title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content page posts-expand"> <div class="post-block" lang="zh-CN"> <header class="post-header"> <h1 class="post-title" itemprop="name headline"> </h1> <div class="post-meta"> </div> </header> <div class="post-body"> </div> </div> </div> <div class="tabs tabs-comment"> <ul class="nav-tabs"> <li class="tab"><a href="#comment-gitalk">gitalk</a></li> <li class="tab"><a href="#comment-livere">livere</a></li> </ul> <div class="tab-content"> <div class="tab-pane gitalk" id="comment-gitalk"> <div class="comments" id="gitalk-container"></div> </div> <div class="tab-pane livere" id="comment-livere"> <div class="comments"> <div id="lv-container" data-id="city" data-uid="MTAyMC81OTkzNi8zNjM5OQ=="></div> </div> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css"> <script> NexT.utils.loadComments(document.querySelector('#gitalk-container'), () => { NexT.utils.getScript('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js', () => { var gitalk = new Gitalk({ clientID : 'Ov23lifXHoq97dbVMtsq', clientSecret: '5b1323c3b64bd4fef3f3a56e2c7ada191b416bf4', repo : 'xingwangzhe.github.io', owner : 'xingwangzhe', admin : ['xingwangzhe'], id : 'd6f9886256ecd4885f73edb87a6a0e8d', language: 'zh-CN', distractionFreeMode: true }); gitalk.render('gitalk-container'); }, window.Gitalk); }); </script> <script> NexT.utils.loadComments(document.querySelector('#lv-container'), () => { window.livereOptions = { refer: location.pathname.replace(CONFIG.root, '').replace('index.html', '') }; (function(d, s) { var j, e = d.getElementsByTagName(s)[0]; if (typeof LivereTower === 'function') { return; } j = d.createElement(s); j.src = 'https://cdn-city.livere.com/js/embed.dist.js'; j.async = true; e.parentNode.insertBefore(j, e); })(document, 'script'); }); </script> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> </html>
2303_806435pww/xingwangzhe.github.io
开往/index.html
HTML
unknown
25,595
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 7.2.0"> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o63weqvwcw"); </script> <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"> <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"> <link rel="mask-icon" href="/images/logo.svg" color="#222"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"> <script id="hexo-configurations"> var NexT = window.NexT || {}; var CONFIG = {"hostname":"xingwangzhe.fun","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"text":true,"style":"tabs","count":true,"active":"gitalk","storage":true,"lazyload":false,"nav":{"gitalk":{"order":-1}},"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"}; </script> <meta name="description" content=".links-content { margin-top: 1rem; } .link-navigation::after { content: &quot; &quot;; display: block; clear: both; } .card { width: 45%; font-size: 1rem; padding: 10px 20px; bo"> <meta property="og:type" content="website"> <meta property="og:title" content="推荐网站"> <meta property="og:url" content="https://xingwangzhe.fun/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/index.html"> <meta property="og:site_name" content="姓王者的博客"> <meta property="og:description" content=".links-content { margin-top: 1rem; } .link-navigation::after { content: &quot; &quot;; display: block; clear: both; } .card { width: 45%; font-size: 1rem; padding: 10px 20px; bo"> <meta property="og:locale" content="zh_CN"> <meta property="og:image" content="https://www.neu.edu.cn/images/favicon.ico"> <meta property="og:image" content="https://xn--xhq44jb2fzpc.com/icons/favicon.ico"> <meta property="og:image" content="https://www.neu.edu.cn/images/favicon.ico"> <meta property="og:image" content="https://www.neumathe.cn/favicon.ico"> <meta property="og:image" content="https://course.educg.net/images/cgicon.png"> <meta property="og:image" content="https://ts4.cn.mm.bing.net/th?id=ODLS.625f3b20-705e-4a5b-948d-eac03f40229d&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2"> <meta property="og:image" content="https://wiki.fishport.net/images/thumb/e/ee/Fishport.webp/188px-Fishport.webp.png"> <meta property="og:image" content="https://neu.sugrsertraline.cn/%E5%9B%BE%E4%B9%A6.png"> <meta property="og:image" content="https://tool.lu/favicon.ico"> <meta property="og:image" content="https://tb3.bdstatic.com/public/icon/favicon-v2.ico"> <meta property="og:image" content="https://www.travellings.cn/assets/favicon.png"> <meta property="og:image" content="https://www.foreverblog.cn/favicon.ico"> <meta property="article:published_time" content="2024-10-11T08:42:13.697Z"> <meta property="article:modified_time" content="2024-10-11T08:42:13.697Z"> <meta property="article:author" content="姓王者"> <meta property="article:tag" content="xingwangzhe,姓王者的博客,姓王者,姓王者的blog,姓王者无敌,王兴家,hexo,前端,web,js,html,css,vue,react,angular,node,python,java,go,rust,swift,php,mysql,mongodb,redis,linux,docker,kubernetes,git,github,markdown,seo,webpush,web-push,web-push-notification,web-push-api,web-push-protocol,web-push-service-worker,web-push-api-service-worker,web-push-api-service-worker-protocol,web-push-api-service-worker-specification,web-push-api-service-worker-specification-draft,web-push-api-service-worker-specification-draft-01,web-push-api-service-worker-specification-draft-02,web-push-api-service-worker-specification-draft-03,web-push-api-service-worker-specification-draft-04,web-push-api-service-worker-specification-draft"> <meta name="twitter:card" content="summary"> <meta name="twitter:image" content="https://www.neu.edu.cn/images/favicon.ico"> <link rel="canonical" href="https://xingwangzhe.fun/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/"> <script id="page-configurations"> // https://hexo.io/docs/variables.html CONFIG.page = { sidebar: "", isHome : false, isPost : false, lang : 'zh-CN' }; </script> <script async src="/lib/fireworks.js"></script> <title>推荐网站 | 姓王者的博客 </title> <noscript> <style> .use-motion .brand, .use-motion .menu-item, .sidebar-inner, .use-motion .post-block, .use-motion .pagination, .use-motion .comments, .use-motion .post-header, .use-motion .post-body, .use-motion .collection-header { opacity: initial; } .use-motion .site-title, .use-motion .site-subtitle { opacity: initial; top: initial; } .use-motion .logo-line-before i { left: initial; } .use-motion .logo-line-after i { right: initial; } </style> </noscript> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "o32sgd266v"); </script> <link rel="alternate" href="/atom.xml" title="姓王者的博客" type="application/atom+xml"> <link rel="alternate" href="/rss2.xml" title="姓王者的博客" type="application/rss+xml"> <style>.darkmode--activated{--body-bg-color:#282828;--content-bg-color:#333;--card-bg-color:#555;--text-color:#ccc;--blockquote-color:#bbb;--link-color:#ccc;--link-hover-color:#eee;--brand-color:#ddd;--brand-hover-color:#ddd;--table-row-odd-bg-color:#282828;--table-row-hover-bg-color:#363636;--menu-item-bg-color:#555;--btn-default-bg:#222;--btn-default-color:#ccc;--btn-default-border-color:#555;--btn-default-hover-bg:#666;--btn-default-hover-color:#ccc;--btn-default-hover-border-color:#666;--highlight-background:#282b2e;--highlight-foreground:#a9b7c6;--highlight-gutter-background:#34393d;--highlight-gutter-foreground:#9ca9b6}.darkmode--activated img{opacity:.75}.darkmode--activated img:hover{opacity:.9}.darkmode--activated code{color:#69dbdc;background:0 0}button.darkmode-toggle{z-index:9999}.darkmode-ignore,img{display:flex!important}.beian img{display:inline-block!important}</style></head> <body> <!-- start webpushr code --> <script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script><!-- end webpushr code --> <body itemscope itemtype="http://schema.org/WebPage"> <div class="container use-motion"> <div class="headband"></div> <a href="https://github.com/xingwangzhe/" rel="external nofollow noreferrer" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <header class="header" itemscope itemtype="http://schema.org/WPHeader"> <div class="header-inner"> <div class="site-brand-container"> <div class="site-nav-toggle"> <div class="toggle" aria-label="切换导航栏"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> </div> <div class="site-meta"> <a href="/" class="brand" rel="start"> <span class="logo-line-before"><i></i></span> <h1 class="site-title">姓王者的博客</h1> <span class="logo-line-after"><i></i></span> </a> <p class="site-subtitle" itemprop="description">记录学习生活的琐事,或者技术文章:)</p> </div> <div class="site-nav-right"> <div class="toggle popup-trigger"> <i class="fa fa-search fa-fw fa-lg"></i> </div> </div> </div> <nav class="site-nav"> <ul id="menu" class="main-menu menu"> <li class="menu-item menu-item-home"> <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a> </li> <li class="menu-item menu-item-about"> <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a> </li> <li class="menu-item menu-item-archives"> <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a> </li> <li class="menu-item menu-item-tags"> <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a> </li> <li class="menu-item menu-item-categories"> <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a> </li> <li class="menu-item menu-item-开往"> <a href="https://www.travellings.cn/go.html" rel="noopener external nofollow noreferrer" target="_blank"><i class="fa fa-train fa-fw"></i>开往</a> </li> <li class="menu-item menu-item-友情链接"> <a href="/%E5%8F%8B%E6%83%85%E9%93%BE%E6%8E%A5/" rel="section"><i class="fa fa-link fa-fw"></i>友情链接</a> </li> <li class="menu-item menu-item-推荐网站"> <a href="/%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99/" rel="section"><i class="fa fa-link fa-fw"></i>推荐网站</a> </li> <li class="menu-item menu-item-说说"> <a href="/essay/" rel="section"><i class="fas fa-pen fa-fw"></i>说说</a> </li> <li class="menu-item menu-item-rss"> <a href="/atom.xml" rel="section"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> <li class="menu-item menu-item-search"> <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索 </a> </li> </ul> </nav> <div class="search-pop-overlay"> <div class="popup search-popup"> <div class="search-header"> <span class="search-icon"> <i class="fa fa-search"></i> </span> <div class="search-input-container"> <input autocomplete="off" autocapitalize="off" placeholder="搜索..." spellcheck="false" type="search" class="search-input"> </div> <span class="popup-btn-close"> <i class="fa fa-times-circle"></i> </span> </div> <div id="search-result"> <div id="no-result"> <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i> </div> </div> </div> </div> </div> </header> <div class="back-to-top"> <i class="fa fa-arrow-up"></i> <span>0%</span> </div> <div class="reading-progress-bar"></div> <main class="main"> <div class="main-inner"> <div class="content-wrap"> <div class="content page posts-expand"> <div class="post-block" lang="zh-CN"> <header class="post-header"> <h1 class="post-title" itemprop="name headline">推荐网站 </h1> <div class="post-meta"> </div> </header> <div class="post-body"> <style> .links-content { margin-top: 1rem; } .link-navigation::after { content: " "; display: block; clear: both; } .card { width: 45%; font-size: 1rem; padding: 10px 20px; border-radius: 4px; transition-duration: 0.15s; margin-bottom: 1rem; display: flex; } .card:nth-child(odd) { float: left; } .card:nth-child(even) { float: right; } .card:hover { transform: scale(1.1); box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04); } .card a { border: none; } .card .ava { width: 3rem !important; height: 3rem !important; margin: 0 !important; margin-right: 1em !important; border-radius: 4px; } .card .card-header { font-style: italic; overflow: hidden; width: 100%; } .card .card-header a { font-style: normal; color: #2bbc8a; font-weight: bold; text-decoration: none; } .card .card-header a:hover { color: #d480aa; text-decoration: none; } .card .card-header .info { font-style: normal; color: #a3a3a3; font-size: 14px; min-width: 0; overflow: hidden; white-space: nowrap; } </style> <body> <div class="links-content"> <div class="link-navigation"> <div class="card"> <img class="ava" src="https://www.neu.edu.cn/images/favicon.ico" /> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://eone.neu.edu.cn/">东北大学一网通</a></div> <div class="info">自强不息,知行合一 </div> </div> </div> <div class="card"> <img class="ava" src="https://xn--xhq44jb2fzpc.com/icons/favicon.ico" /> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.东北大学.com/">NEU小站</a></div> <div class="info">助学业和生活中更加得心应手</div> </div> </div> <div class="card"> <img class="ava" src="https://www.neu.edu.cn/images/favicon.ico" /> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="http://mathe.neu.edu.cn/">东北大学机考网站</a></div> <div class="info">官方网站,主要用作考试与预约</div> </div> </div> <div class="card"> <img class="ava" src="https://www.neumathe.cn/favicon.ico" /> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.neumathe.cn/">东北大学机考题库</a></div> <div class="info">非官方网站,主要刷题用</div> </div> </div> <div class="card"> <img class="ava" src="https://course.educg.net/images/cgicon.png" /> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="http://neucsecg.neu.edu.cn/">cg平台</a></div> <div class="info">信息类课作业与考试平台</div> </div> </div> <div class="card"> <img class="ava" src="https://ts4.cn.mm.bing.net/th?id=ODLS.625f3b20-705e-4a5b-948d-eac03f40229d&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.icourse163.org/">中国大学MOOC</a></div> <div class="info">别忘做作业哦:)</div> </div> </div> <div class="card"> <img class="ava" src="https://wiki.fishport.net/images/thumb/e/ee/Fishport.webp/188px-Fishport.webp.png"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://wiki.fishport.net/">FishPort Wiki</a></div> <div class="info">一个我的世界服务器wiki站</div> </div> </div> <div class="card"> <img class="ava" src="https://neu.sugrsertraline.cn/图书.png"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://neu.sugrsertraline.cn/">NEU-Wiki<a></div> <div class="info">为NEUer们提供的简单、快捷的校园信息查询</div> </div> </div> <div class="card"> <img class="ava" src="https://tool.lu/favicon.ico"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/">在线工具</a></div> <div class="info">多功能的工具网站</div> </div> </div> <div class="card"> <img class="ava" src="https://tb3.bdstatic.com/public/icon/favicon-v2.ico"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://tieba.baidu.com/f?kw=%E4%B8%9C%E5%8C%97%E5%A4%A7%E5%AD%A6&ie=utf-8">东北大学校园贴吧</a></div> <div class="info">东兵的聚集地</div> </div> </div> <div class="card"> <img class="ava" src="https://www.travellings.cn/assets/favicon.png"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.travellings.cn/">开往</a></div> <div class="info">让传统友链“活跃”</div> </div> </div> <div class="card"> <img class="ava" src="https://www.foreverblog.cn/favicon.ico"> <div class="card-header"> <div><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.foreverblog.cn/">十年之约</a></div> <div class="info">一个人的寂寞,一群人的狂欢。</div> </div> </div> </div> <!-- hexo injector body_end start --><script data-pjax src="https://unpkg.com/oh-my-live2d"></script><script>const oml2d = OML2D.loadOml2d({libraryUrls:{"complete":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js","cubism2":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js","cubism5":"https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js"},mobileDisplay:false,models:[{"path":"/L2DMCVT_steve/L2DMCVT.model3.json","scale":0.11,"position":[-100,0],"mobileScale":0.08,"mobilePosition":[-100,0],"motionPreloadStrategy":"ALL","showHitAreaFrames":true,"mobileStageStyle":{"width":180},"stageStyle":{"width":250}}],parentElement:document.body,primaryColor:"var(--btn-bg)",sayHello:false,dockedPosition:"right",tips:{copyTips: {"message":["你复制了什么内容捏?记得注明出处哦~","ctrl+c复制,ctrl+v粘贴~","我们不生产文字,我们只是搬运工","我可是一直在盯着你:),我知道你在复制什么~"]},style: {"width":230,"height":120,"left":"calc(50% - 20px)","top":"-100px"},mobileStyle: {"width":180,"height":80,"left":"calc(50% - 30px)","top":"-100px"},idleTips:{interval:15000,message:["你好呀~","欢迎来到我的小站~"],wordTheDay:function(wordTheDayData){ return `${wordTheDayData.hitokoto} by.${wordTheDayData.from}`; } }},statusBar:{"restMessage":"你现在不能休息,周围有怪物在游荡"}});</script><!-- hexo injector body_end end --><script>(function (w, d, s, id) { if (typeof (w.webpushr) !== 'undefined') return; w.webpushr = w.webpushr || function () { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id; js.async = 1; js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window, document, 'script', 'webpushr-jssdk'));webpushr('setup', { 'key': 'BHV3kn7WLHGjPMT5Zz8kKEvzbDX44x9Rt3olfj_Q3QnCoQADtAW7h7dvBBmASSAi9xtRbIXoq2xEpmNWHaZb6NM' });</script></body> <h1 id="欢迎评论区留言推荐网站"><a href="#欢迎评论区留言推荐网站" class="headerlink" title="欢迎评论区留言推荐网站:)"></a>欢迎评论区留言推荐网站:)</h1> </div> </div> </div> <div class="tabs tabs-comment"> <ul class="nav-tabs"> <li class="tab"><a href="#comment-gitalk">gitalk</a></li> <li class="tab"><a href="#comment-livere">livere</a></li> </ul> <div class="tab-content"> <div class="tab-pane gitalk" id="comment-gitalk"> <div class="comments" id="gitalk-container"></div> </div> <div class="tab-pane livere" id="comment-livere"> <div class="comments"> <div id="lv-container" data-id="city" data-uid="MTAyMC81OTkzNi8zNjM5OQ=="></div> </div> </div> </div> </div> <script> window.addEventListener('tabs:register', () => { let { activeClass } = CONFIG.comments; if (CONFIG.comments.storage) { activeClass = localStorage.getItem('comments_active') || activeClass; } if (activeClass) { let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); if (activeTab) { activeTab.click(); } } }); if (CONFIG.comments.storage) { window.addEventListener('tabs:click', event => { if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; let commentClass = event.target.classList[1]; localStorage.setItem('comments_active', commentClass); }); } </script> </div> <div class="toggle sidebar-toggle"> <span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span> </div> <aside class="sidebar"> <div class="sidebar-inner"> <ul class="sidebar-nav motion-element"> <li class="sidebar-nav-toc"> 文章目录 </li> <li class="sidebar-nav-overview"> 站点概览 </li> </ul> <!--noindex--> <div class="post-toc-wrap sidebar-panel"> <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%AC%A2%E8%BF%8E%E8%AF%84%E8%AE%BA%E5%8C%BA%E7%95%99%E8%A8%80%E6%8E%A8%E8%8D%90%E7%BD%91%E7%AB%99"><span class="nav-number">1.</span> <span class="nav-text">欢迎评论区留言推荐网站:)</span></a></li></ol></div> </div> <!--/noindex--> <div class="site-overview-wrap sidebar-panel"> <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"> <img class="site-author-image" itemprop="image" alt="姓王者" src="/images/avatar.jpg"> <p class="site-author-name" itemprop="name">姓王者</p> <div class="site-description" itemprop="description"></div> </div> <div class="site-state-wrap motion-element"> <nav class="site-state"> <div class="site-state-item site-state-posts"> <a href="/archives/"> <span class="site-state-item-count">44</span> <span class="site-state-item-name">归档</span> </a> </div> <div class="site-state-item site-state-categories"> <a href="/categories/"> <span class="site-state-item-count">29</span> <span class="site-state-item-name">分类</span></a> </div> <div class="site-state-item site-state-tags"> <a href="/tags/"> <span class="site-state-item-count">48</span> <span class="site-state-item-name">标签</span></a> </div> </nav> </div> <div class="links-of-author motion-element"> <span class="links-of-author-item"> <a href="https://github.com/xingwangzhe" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;xingwangzhe" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span> <span class="links-of-author-item"> <a href="/xingwangzhe@outlook.com" title="E-Mail → xingwangzhe@outlook.com"><i class="fa fa-envelope fa-fw"></i>E-Mail</a> </span> <span class="links-of-author-item"> <a href="https://space.bilibili.com/1987297874" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;1987297874" rel="noopener external nofollow noreferrer" target="_blank"><i class="fab fa-youtube fa-fw"></i>Bilibili</a> </span> </div> <!-- CloudCalendar --> <div class="widget-wrap" style="width: 90%;margin-left: auto;margin-right: auto; opacity: 0.97;"> <div class="widget" id="CloudCalendar"></div> </div> </div> <div class="where is your ip"> <h3>访客信息</h3> <a target="_blank" rel="noopener external nofollow noreferrer" href="https://tool.lu/ip/"> <img src="https://tool.lu/netcard/"> </a> <a target="_blank" href="https://time.is/China" id="time_is_link" rel="nofollow noopener" style="font-size:20px">北京时间:</a> <span id="China_z43d" style="font-size:20px"></span> <script src="//widget.time.is/zh.js"></script> <script> time_is_widget.init({China_z43d:{template:"TIME<br>DATE<br>SUN", date_format:"year-monthnum-daynum dname", sun_format:"日出: srhour:srminute 日落: sshour:ssminute<br>昼长: dlhours时 dlminutes分", coords:"35.0000000,105.0000000"}}); </script> </div> </div> </aside> <div id="sidebar-dimmer"></div> </div> </main> <footer class="footer"> <div class="footer-inner"> <div class="copyright"> &copy; <span itemprop="copyrightYear">2024</span> <span class="with-love"> <i class="fa fa-heart"></i> </span> <span class="author" itemprop="copyrightHolder">姓王者</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-chart-area"></i> </span> <span class="post-meta-item-text">站点总字数:</span> <span title="站点总字数">116k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"> <i class="fa fa-coffee"></i> </span> <span class="post-meta-item-text">站点阅读时长 &asymp;</span> <span title="站点阅读时长">1:45</span> </div> <div style="display: flex; align-items: center; justify-content: center;"> <a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120"> </a> <a href="https://icp.dns163.cn/beian/ICP-2024100103.html" rel="external nofollow noreferrer" title="易AIA盟2024100103号" target="_blank" style="display: inline-flex; align-items: center; margin-right: 10px;"> <img src="https://icp.dns163.cn/static/picture/icplogoi.png" style="width: 20px; height: 20px; margin-right: 5px;"> 易AIA盟2024100103号 </a> <a target="_blank" href="https://beian.miit.cn.com/gov/search.php?query=xingwangzhe.fun" rel="external nofollow noreferrer" title="MIIT备20241054号" style="display: inline-flex; align-items: center;"> <img src="https://beian.miit.cn.com/logo.svg" alt="MIIT" width="20" style="margin-right: 5px;"> MIIT备20241054号 </a> <a href="https://www.gyfzlm.com/fanzha/NO-20240105.html" rel="external nofollow noreferrer" target="_blank"><img style="width:130px;height:45px;" src="https://www.gyfzlm.com/istatic/image/gyfzlogo.png" alt="公益反诈联盟成员单位"></a> </div> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script> var now = new Date(); function createtime() { var grt= new Date("6/21/2024 6:30:00"); //修改为你的网站开始运行的时间 now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "本站正常运行 "+dnum+" 天 "; document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒."; } setInterval("createtime()",250); </script> <div class="busuanzi-count"> <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-user"></i> </span> <span class="site-uv" title="总访客量"> <span id="busuanzi_value_site_uv"></span> </span> </span> <span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;"> <span class="post-meta-item-icon"> <i class="fa fa-eye"></i> </span> <span class="site-pv" title="总访问量"> <span id="busuanzi_value_site_pv"></span> </span> </span> </div> </div> </footer> </div> <script src="/lib/anime.min.js"></script> <script src="/lib/velocity/velocity.min.js"></script> <script src="/lib/velocity/velocity.ui.min.js"></script> <script src="/js/utils.js"></script> <script src="/js/motion.js"></script> <script src="/js/schemes/pisces.js"></script> <script src="/js/next-boot.js"></script> <script src="/js/local-search.js"></script> <!-- calendar widget --> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/calendar.min.js"></script> <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-calendar/languages.min.js"></script> <script> $(function() { $('#CloudCalendar').aCalendar('zh-CN', $.extend( '', { single:true, root:'/calendar/' } ) ); }); </script> <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css"> <script> NexT.utils.loadComments(document.querySelector('#gitalk-container'), () => { NexT.utils.getScript('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js', () => { var gitalk = new Gitalk({ clientID : 'Ov23lifXHoq97dbVMtsq', clientSecret: '5b1323c3b64bd4fef3f3a56e2c7ada191b416bf4', repo : 'xingwangzhe.github.io', owner : 'xingwangzhe', admin : ['xingwangzhe'], id : 'bf281643dac5af82a584bd520e7ca8c0', language: 'zh-CN', distractionFreeMode: true }); gitalk.render('gitalk-container'); }, window.Gitalk); }); </script> <script> NexT.utils.loadComments(document.querySelector('#lv-container'), () => { window.livereOptions = { refer: location.pathname.replace(CONFIG.root, '').replace('index.html', '') }; (function(d, s) { var j, e = d.getElementsByTagName(s)[0]; if (typeof LivereTower === 'function') { return; } j = d.createElement(s); j.src = 'https://cdn-city.livere.com/js/embed.dist.js'; j.async = true; e.parentNode.insertBefore(j, e); })(document, 'script'); }); </script> </body> </html>
2303_806435pww/xingwangzhe.github.io
推荐网站/index.html
HTML
unknown
34,202
<script> export default { onLaunch: function() { console.log('App Launch') }, onShow: function() { console.log('App Show') }, onHide: function() { console.log('App Hide') } } </script> <style> /*每个页面公共css */ @import 'lib/css/smart.css' </style>
2401_83208066/SmartUI_hjx005
App.vue
Vue
unknown
283
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8" /> <script> var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) document.write( '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />') </script> <title></title> <!--preload-links--> <!--app-context--> </head> <body> <div id="app"><!--app-html--></div> <script type="module" src="/main.js"></script> </body> </html>
2401_83208066/SmartUI_hjx005
index.html
HTML
unknown
675
.smart-container{ padding: 15rpx; background-color: #CEFFCE; } .smart-panel{ margin-bottom: 12px; } .smart-panel-title{ background-color: #f1f1f1; font-size: 18px; font-weight: normal; padding: 5px; flex-direction: row; } .smart-panel-h{ background-color: #ffffff; flex-direction: row; align-items: center; padding: 5px; margin-bottom: 2px; } .smart-panel-head{ padding: 35prx; text-align: center; } .smart-panel-head-title{ font-size: 30rpx; height: 88rpx; line-height: 80rpx; color: #bebebe; border-bottom: 2rpx solid #d8d8d8; padding: 0 40rpx; box-sizing: border-box; display: inline-block; } .smart-flex{ display: flex; } .smart-row{ display: flex; flex-direction: row; } .smart-padding-wrap{ padding: 0 30rpx; } .flex-item{ width: 33.3%; height: 200rpx; line-height: 200rpx; text-align: center; } .smart-bg-red{ background-color: #f76260; color: #FFFFFF; } .smart-bg-green{ background-color: #09bb07; color: #FFFFFF; } .smart-bg-blue{ background-color: #007aff; color: #FFFFFF; } .smart-column{ display: flex; flex-direction: column; } .flex-item-c{ width: 100%; height: 100rpx; line-height: 100rpx; text-align: center; } .text{ margin: 15rpx 10rpx; padding: 0 20rpx; background-color: #ebebeb; height: 70rpx; line-height: 70rpx; color: #777; font-size: 26rpx; } /* scroll-view */ .scroll-view-tiem{ width: 100%; height: 90rpx; /* 每个item的高度 */ /* line-height: 300rpx; */ color: #FFFFFF; } .scroll-y{ height: 300rpx; /* scrollview的显示高度 */ } .scroll-x{ white-space: nowrap; /* 强制在同一行显示所有文本 */ width: 100%; } .scroll-view-tiem-h{ display: inline-block; height: 300rpx; width: 100%; line-height: 300rpx; text-align: center; } .smart-bg-0{ background-color: #f76260; } .smart-bg-1{ background-color: #D8D8D8; } .smart-bg-2{ background-color: #AA99FF; } .smart-bg-3{ background-color: #007AFF; } /* textview */ .text-box{ margin-bottom: 40rpx; padding: 40rpx 0; display: flex; min-height: 300rpx; background-color: #d8d8d8; justify-content: center; /* 元素在主轴(横轴)方向上的对齐方式 */ text-align: center; font-size: 30rpx; color: #353535; line-height: 1.8; } .text-space{ background-color: #AA99FF; }
2401_83208066/SmartUI_hjx005
lib/css/smart.css
CSS
unknown
2,250
import App from './App' // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) app.$mount() // #endif // #ifdef VUE3 import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) return { app } } // #endif
2401_83208066/SmartUI_hjx005
main.js
JavaScript
unknown
352
<template> <view> <scroll-view scroll-y="true"> <view class="scroll-container smart-column"> <view>其他</view> <view class="ontent"> <view class="box1 flex-item-c">自动宽度</view> <view class="box2 flex-item-c">固定宽度</view> </view> <view class="box smart-row"> <view class="smart-bg-red flex-item">A</view> <view class="smart-bg-green flex-item">B</view> <view class="smart-bg-blue flex-item">C</view> </view> <view class="container smart-column"> <view class="smart-bg-red flex-item-c">A</view> <view class="smart-bg-green flex-item-c">B</view> <view class="smart-bg-blue flex-item-c">C</view> </view> </view> </scroll-view> </view> </template> <script> export default { data() { return { } }, methods: { } } </script> <style> .scroll-container { gap: 30rpx; } </style>
2401_83208066/SmartUI_hjx005
pages/components/scroll-view/scroll-view.vue
Vue
unknown
890
<template> <view> swiperswiper </view> </template> <script> export default { data() { return { } }, methods: { } } </script> <style> </style>
2401_83208066/SmartUI_hjx005
pages/components/swiper/swiper.vue
Vue
unknown
174
<template> <view> <text>flex布局</text> <view>横向</view> <view class="box smart-row"> <view class="smart-bg-red flex-item">A</view> <view class="smart-bg-green flex-item">B</view> <view class="smart-bg-blue flex-item">C</view> </view> <view>纵向</view> <view class="container smart-column"> <view class="smart-bg-red flex-item-c">A</view> <view class="smart-bg-green flex-item-c">B</view> <view class="smart-bg-blue flex-item-c">C</view> </view> <view>其他</view> <view class="ontent"> <view class="box1 flex-item-c">自动宽度</view> <view class="box2 flex-item-c">固定宽度</view> <view class="box3 smart-flex"> <view class="smart-bg-red">居中1</view> <view class="smart-bg-green">居中2</view> </view> <view class="box4 smart-flex"> <view class="small-center-box2 smart-bg-green">权重2</view> <view class="small-center-box1 smart-bg-red">权重1</view> </view> </view> </view> </template> <script> export default { data() { return { } }, methods: { } } </script> <style> .box1 { background-color: aliceblue; } .box2 { background-color: beige; width: 500rpx; } .box3 { justify-content: center; gap: 20rpx; } .box4 { gap: 20rpx; } .small-center-box2 { flex: 2; } .small-center-box { flex: 1; } </style>
2401_83208066/SmartUI_hjx005
pages/components/view/view.vue
Vue
unknown
1,360
<template> <view class="content"> <image class="logo" src="/static/logo.png"></image> <view class="text-area"> <text class="title">{{title}}</text> </view> </view> </template> <script> export default { data() { return { title: 'Hello' } }, onLoad() { }, methods: { } } </script> <style> .content { display: flex; flex-direction: column; align-items: center; justify-content: center; } .logo { height: 200rpx; width: 200rpx; margin-top: 200rpx; margin-left: auto; margin-right: auto; margin-bottom: 50rpx; } .text-area { display: flex; justify-content: center; } .title { font-size: 36rpx; color: #8f8f94; } </style>
2401_83208066/SmartUI_hjx005
pages/index/index.vue
Vue
unknown
694
<template> <view> <view class="title" @click="toOtherPage('view')">点击跳转到view页面</view> <view class="title" @click="toOtherPage('swiper')">点击跳转到swiper页面</view> <view class="title" @click="toOtherPage('scroll-view')">点击跳转到scroll-view页面</view> </view> </template> <script> export default { data() { return { } }, methods: { toOtherPage(url){ uni.navigateTo({ url:`/pages/components/${url}/${url}` }) } } } </script> <style> .title { background-color: aquamarine; padding: 20rpx; margin: 20rpx 0; } </style>
2401_83208066/SmartUI_hjx005
pages/tabBar/api/api.vue
Vue
unknown
603
<template> <view> 案例11 </view> </template> <script> export default { data() { return { } }, methods: { } } </script> <style> </style>
2401_83208066/SmartUI_hjx005
pages/tabBar/demo/demo.vue
Vue
unknown
170
<template> <view> 语法 </view> </template> <script> export default { data() { return { } }, methods: { } } </script> <style> </style>
2401_83208066/SmartUI_hjx005
pages/tabBar/grammar/grammar.vue
Vue
unknown
168
<template> <view> <view class="smart-container container"> <text>容器</text> <view class="smart-panel-title"><text>我是标题</text></view> <view class="click-event" @click="toApi"><text>点我跳转到api</text></view> </view> </view> </template> <script> export default { data() { return { } }, methods: { toApi() { uni.switchTab({ url: '/pages/tabBar/api/api' }) } } } </script> <style> .container { display: flex; flex-direction: column; gap: 30rpx; } </style>
2401_83208066/SmartUI_hjx005
pages/tabBar/tabCompage/tabCompage.vue
Vue
unknown
531
uni.addInterceptor({ returnValue (res) { if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { return res; } return new Promise((resolve, reject) => { res.then((res) => { if (!res) return resolve(res) return res[0] ? reject(res[0]) : resolve(res[1]) }); }); }, });
2401_83208066/SmartUI_hjx005
uni.promisify.adaptor.js
JavaScript
unknown
373
/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ $uni-color-primary: #007aff; $uni-color-success: #4cd964; $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d; /* 文字基本颜色 */ $uni-text-color:#333;//基本色 $uni-text-color-inverse:#fff;//反色 $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 $uni-text-color-placeholder: #808080; $uni-text-color-disable:#c0c0c0; /* 背景颜色 */ $uni-bg-color:#ffffff; $uni-bg-color-grey:#f8f8f8; $uni-bg-color-hover:#f1f1f1;//点击状态颜色 $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 /* 边框颜色 */ $uni-border-color:#c8c7cc; /* 尺寸变量 */ /* 文字尺寸 */ $uni-font-size-sm:12px; $uni-font-size-base:14px; $uni-font-size-lg:16px; /* 图片尺寸 */ $uni-img-size-sm:20px; $uni-img-size-base:26px; $uni-img-size-lg:40px; /* Border Radius */ $uni-border-radius-sm: 2px; $uni-border-radius-base: 3px; $uni-border-radius-lg: 6px; $uni-border-radius-circle: 50%; /* 水平间距 */ $uni-spacing-row-sm: 5px; $uni-spacing-row-base: 10px; $uni-spacing-row-lg: 15px; /* 垂直间距 */ $uni-spacing-col-sm: 4px; $uni-spacing-col-base: 8px; $uni-spacing-col-lg: 12px; /* 透明度 */ $uni-opacity-disabled: 0.3; // 组件禁用态的透明度 /* 文章场景相关 */ $uni-color-title: #2C405A; // 文章标题颜色 $uni-font-size-title:20px; $uni-color-subtitle: #555555; // 二级标题颜色 $uni-font-size-subtitle:26px; $uni-color-paragraph: #3F536E; // 文章段落颜色 $uni-font-size-paragraph:15px;
2401_83208066/SmartUI_hjx005
uni.scss
SCSS
unknown
2,217
<script> export default { onLaunch: function() { console.log('App Launch') }, onShow: function() { console.log('App Show') }, onHide: function() { console.log('App Hide') } } </script> <style> /*每个页面公共css */ </style>
2401_83220332/text1
App.vue
Vue
unknown
254
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8" /> <script> var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) document.write( '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />') </script> <title></title> <!--preload-links--> <!--app-context--> </head> <body> <div id="app"><!--app-html--></div> <script type="module" src="/main.js"></script> </body> </html>
2401_83220332/text1
index.html
HTML
unknown
675
import App from './App' // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) app.$mount() // #endif // #ifdef VUE3 import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) return { app } } // #endif
2401_83220332/text1
main.js
JavaScript
unknown
352
<template> <view class="content"> <image class="logo" src="/static/logo.png"></image> <view class="text-area"> <text class="title">{{title}}</text> </view> </view> </template> <script> export default { data() { return { title: 'Hello' } }, onLoad() { }, methods: { } } </script> <style> .content { display: flex; flex-direction: column; align-items: center; justify-content: center; } .logo { height: 200rpx; width: 200rpx; margin-top: 200rpx; margin-left: auto; margin-right: auto; margin-bottom: 50rpx; } .text-area { display: flex; justify-content: center; } .title { font-size: 36rpx; color: #8f8f94; } </style>
2401_83220332/text1
pages/index/index.vue
Vue
unknown
694
uni.addInterceptor({ returnValue (res) { if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { return res; } return new Promise((resolve, reject) => { res.then((res) => { if (!res) return resolve(res) return res[0] ? reject(res[0]) : resolve(res[1]) }); }); }, });
2401_83220332/text1
uni.promisify.adaptor.js
JavaScript
unknown
373
/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ $uni-color-primary: #007aff; $uni-color-success: #4cd964; $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d; /* 文字基本颜色 */ $uni-text-color:#333;//基本色 $uni-text-color-inverse:#fff;//反色 $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 $uni-text-color-placeholder: #808080; $uni-text-color-disable:#c0c0c0; /* 背景颜色 */ $uni-bg-color:#ffffff; $uni-bg-color-grey:#f8f8f8; $uni-bg-color-hover:#f1f1f1;//点击状态颜色 $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 /* 边框颜色 */ $uni-border-color:#c8c7cc; /* 尺寸变量 */ /* 文字尺寸 */ $uni-font-size-sm:12px; $uni-font-size-base:14px; $uni-font-size-lg:16px; /* 图片尺寸 */ $uni-img-size-sm:20px; $uni-img-size-base:26px; $uni-img-size-lg:40px; /* Border Radius */ $uni-border-radius-sm: 2px; $uni-border-radius-base: 3px; $uni-border-radius-lg: 6px; $uni-border-radius-circle: 50%; /* 水平间距 */ $uni-spacing-row-sm: 5px; $uni-spacing-row-base: 10px; $uni-spacing-row-lg: 15px; /* 垂直间距 */ $uni-spacing-col-sm: 4px; $uni-spacing-col-base: 8px; $uni-spacing-col-lg: 12px; /* 透明度 */ $uni-opacity-disabled: 0.3; // 组件禁用态的透明度 /* 文章场景相关 */ $uni-color-title: #2C405A; // 文章标题颜色 $uni-font-size-title:20px; $uni-color-subtitle: #555555; // 二级标题颜色 $uni-font-size-subtitle:26px; $uni-color-paragraph: #3F536E; // 文章段落颜色 $uni-font-size-paragraph:15px;
2401_83220332/text1
uni.scss
SCSS
unknown
2,217
<script> export default { onLaunch: function() { console.log('App Launch') }, onShow: function() { console.log('App Show') }, onHide: function() { console.log('App Hide') } } </script> <style> /*每个页面公共css */ </style>
2401_83220332/ttt
App.vue
Vue
unknown
254
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <script> var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) document.write( '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />') </script> <title></title> <!--preload-links--> <!--app-context--> </head> <body> <div id="app"><!--app-html--></div> <script type="module" src="/main.js"></script> </body> </html>
2401_83220332/ttt
index.html
HTML
unknown
672
import App from './App' // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) app.$mount() // #endif // #ifdef VUE3 import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) return { app } } // #endif
2401_83220332/ttt
main.js
JavaScript
unknown
352
<template> <view class="content"> <image class="logo" src="/static/logo.png"></image> <view class="text-area"> <text class="title">{{title}}</text> </view> </view> </template> <script> export default { data() { return { title: 'Hello tytyty111' } }, onLoad() { }, methods: { } } </script> <style> .content { display: flex; flex-direction: column; align-items: center; justify-content: center; } .logo { height: 200rpx; width: 200rpx; margin-top: 200rpx; margin-left: auto; margin-right: auto; margin-bottom: 50rpx; } .text-area { display: flex; justify-content: center; } .title { font-size: 36rpx; color: #8f8f94; } </style>
2401_83220332/ttt
pages/index/index.vue
Vue
unknown
704
uni.addInterceptor({ returnValue (res) { if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { return res; } return new Promise((resolve, reject) => { res.then((res) => { if (!res) return resolve(res) return res[0] ? reject(res[0]) : resolve(res[1]) }); }); }, });
2401_83220332/ttt
uni.promisify.adaptor.js
JavaScript
unknown
373
/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ $uni-color-primary: #007aff; $uni-color-success: #4cd964; $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d; /* 文字基本颜色 */ $uni-text-color:#333;//基本色 $uni-text-color-inverse:#fff;//反色 $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 $uni-text-color-placeholder: #808080; $uni-text-color-disable:#c0c0c0; /* 背景颜色 */ $uni-bg-color:#ffffff; $uni-bg-color-grey:#f8f8f8; $uni-bg-color-hover:#f1f1f1;//点击状态颜色 $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 /* 边框颜色 */ $uni-border-color:#c8c7cc; /* 尺寸变量 */ /* 文字尺寸 */ $uni-font-size-sm:12px; $uni-font-size-base:14px; $uni-font-size-lg:16px; /* 图片尺寸 */ $uni-img-size-sm:20px; $uni-img-size-base:26px; $uni-img-size-lg:40px; /* Border Radius */ $uni-border-radius-sm: 2px; $uni-border-radius-base: 3px; $uni-border-radius-lg: 6px; $uni-border-radius-circle: 50%; /* 水平间距 */ $uni-spacing-row-sm: 5px; $uni-spacing-row-base: 10px; $uni-spacing-row-lg: 15px; /* 垂直间距 */ $uni-spacing-col-sm: 4px; $uni-spacing-col-base: 8px; $uni-spacing-col-lg: 12px; /* 透明度 */ $uni-opacity-disabled: 0.3; // 组件禁用态的透明度 /* 文章场景相关 */ $uni-color-title: #2C405A; // 文章标题颜色 $uni-font-size-title:20px; $uni-color-subtitle: #555555; // 二级标题颜色 $uni-font-size-subtitle:26px; $uni-color-paragraph: #3F536E; // 文章段落颜色 $uni-font-size-paragraph:15px;
2401_83220332/ttt
uni.scss
SCSS
unknown
2,217
set cjHeapSize=1gb set cjLargeThresholdsize=512kb set cjRegionSize=512kb cjc -O2 --fast-math --fchir-function-inlining --fchir-devirtualization --fchir-constant-propagation --static-std main.cj mnist_loader.cj algorithm.cj -o main.exe
2401_82796943/cj_bp_lab0
src/compile.bat
Batchfile
unknown
237
12121qwq1212
2401_83313169/shentu
12211.py
Python
unknown
12
#!/bin/bash # Docker容器监控脚本 # 功能:监控Docker容器和服务状态变化,通过QQ邮箱发送通知 # 作者:系统管理员 # 版本:2.0 # 日期:2025-10-21 # =========================================== # 配置区域 - 请根据实际情况修改 # =========================================== # 邮件配置 SMTP_SERVER="smtp.qq.com" SMTP_PORT="465" FROM_EMAIL="" # 发送者QQ邮箱 EMAIL_PASSWORD="" # QQ邮箱授权码 TO_EMAIL="" # 接收者QQ邮箱 # 监控配置 CHECK_INTERVAL=60 # 检查间隔(秒)- 1分钟 LOG_FILE="/var/log/docker_watch.log" STATE_FILE="/tmp/docker_containers_state" DOCKER_SERVICE_STATE_FILE="/tmp/docker_service_state" LOCK_FILE="/tmp/docker_watch.lock" # =========================================== # 函数定义区域 # =========================================== # 日志记录函数 log_message() { local level="$1" local message="$2" local timestamp=$(date '+%Y-%m-%d %H:%M:%S') echo "[$timestamp] [$level] $message" | tee -a "$LOG_FILE" } # 发送邮件函数 send_email() { local subject="$1" local body="$2" local timestamp=$(date '+%Y-%m-%d %H:%M:%S') log_message "INFO" "准备发送邮件: $subject" # 尝试多种发送方式 if send_email_python "$subject" "$body"; then return 0 elif send_email_curl "$subject" "$body"; then return 0 elif send_email_openssl "$subject" "$body"; then return 0 else log_message "ERROR" "所有邮件发送方式都失败了" return 1 fi } # Python方式发送邮件 send_email_python() { local subject="$1" local body="$2" local timestamp=$(date '+%Y-%m-%d %H:%M:%S') # 检查Python是否可用 local python_cmd="" if command -v python3 >/dev/null 2>&1; then python_cmd="python3" elif command -v python >/dev/null 2>&1; then python_cmd="python" else log_message "DEBUG" "Python不可用,跳过Python发送方式" return 1 fi log_message "DEBUG" "尝试使用Python发送邮件" $python_cmd << EOF import smtplib import ssl from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.header import Header import sys try: # 创建邮件 msg = MIMEMultipart('alternative') msg['Subject'] = Header('$subject', 'utf-8') msg['From'] = 'Docker Monitor <$FROM_EMAIL>' msg['To'] = '$TO_EMAIL' # HTML内容 html_content = '''<!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <style> body { font-family: Arial, sans-serif; margin: 20px; } .header { background-color: #f0f0f0; padding: 10px; border-radius: 5px; } .content { margin: 20px 0; } .footer { font-size: 12px; color: #666; margin-top: 20px; } .alert { background-color: #ffebee; border-left: 4px solid #f44336; padding: 10px; } .success { background-color: #e8f5e9; border-left: 4px solid #4caf50; padding: 10px; } .info { background-color: #e3f2fd; border-left: 4px solid #2196f3; padding: 10px; } </style> </head> <body> <div class='header'> <h2>🐳 Docker容器监控通知</h2> <p><strong>时间:</strong>$timestamp</p> <p><strong>主机:</strong>$(hostname)</p> </div> <div class='content'> $body </div> <div class='footer'> <p>此邮件由Docker监控脚本自动发送</p> <p>脚本位置:/opt/docker_watch.sh</p> </div> </body> </html>''' part = MIMEText(html_content, 'html', 'utf-8') msg.attach(part) # 创建SSL上下文 context = ssl.create_default_context() # 连接服务器并发送 with smtplib.SMTP_SSL('$SMTP_SERVER', $SMTP_PORT, context=context, timeout=60) as server: server.login('$FROM_EMAIL', '$EMAIL_PASSWORD') server.send_message(msg) sys.exit(0) except Exception as e: print(f"Python发送失败: {e}", file=sys.stderr) sys.exit(1) EOF if [ $? -eq 0 ]; then log_message "INFO" "Python方式邮件发送成功: $subject" return 0 else log_message "DEBUG" "Python方式发送失败" return 1 fi } # curl方式发送邮件 send_email_curl() { local subject="$1" local body="$2" local timestamp=$(date '+%Y-%m-%d %H:%M:%S') # 检查curl是否可用 if ! command -v curl >/dev/null 2>&1; then log_message "DEBUG" "curl不可用,跳过curl发送方式" return 1 fi log_message "DEBUG" "尝试使用curl发送邮件" local temp_file="/tmp/docker_monitor_curl_$$.tmp" cat > "$temp_file" << EOF Subject: =?UTF-8?B?$(echo -n "$subject" | base64 -w 0)?= From: Docker Monitor <$FROM_EMAIL> To: <$TO_EMAIL> Content-Type: text/html; charset=UTF-8 MIME-Version: 1.0 <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <style> body { font-family: Arial, sans-serif; margin: 20px; } .header { background-color: #f0f0f0; padding: 10px; border-radius: 5px; } .content { margin: 20px 0; } .footer { font-size: 12px; color: #666; margin-top: 20px; } .alert { background-color: #ffebee; border-left: 4px solid #f44336; padding: 10px; } .success { background-color: #e8f5e9; border-left: 4px solid #4caf50; padding: 10px; } .info { background-color: #e3f2fd; border-left: 4px solid #2196f3; padding: 10px; } </style> </head> <body> <div class='header'> <h2>🐳 Docker容器监控通知</h2> <p><strong>时间:</strong>$timestamp</p> <p><strong>主机:</strong>$(hostname)</p> </div> <div class='content'> $body </div> <div class='footer'> <p>此邮件由Docker监控脚本自动发送</p> <p>脚本位置:/opt/docker_watch.sh</p> </div> </body> </html> EOF if curl --ssl-reqd \ --url "smtps://$SMTP_SERVER:$SMTP_PORT" \ --user "$FROM_EMAIL:$EMAIL_PASSWORD" \ --mail-from "$FROM_EMAIL" \ --mail-rcpt "$TO_EMAIL" \ --upload-file "$temp_file" \ --silent \ --show-error \ --max-time 60 \ --connect-timeout 30; then log_message "INFO" "curl方式邮件发送成功: $subject" rm -f "$temp_file" return 0 else log_message "DEBUG" "curl方式发送失败" rm -f "$temp_file" return 1 fi } # OpenSSL方式发送邮件(改进版) send_email_openssl() { local subject="$1" local body="$2" local timestamp=$(date '+%Y-%m-%d %H:%M:%S') log_message "DEBUG" "尝试使用OpenSSL发送邮件" local temp_dir="/tmp/docker_monitor_openssl_$$" mkdir -p "$temp_dir" # 创建邮件内容 local email_file="$temp_dir/email.txt" cat > "$email_file" << EOF Subject: =?UTF-8?B?$(echo -n "$subject" | base64 -w 0)?= From: Docker Monitor <$FROM_EMAIL> To: <$TO_EMAIL> Content-Type: text/html; charset=UTF-8 MIME-Version: 1.0 <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <style> body { font-family: Arial, sans-serif; margin: 20px; } .header { background-color: #f0f0f0; padding: 10px; border-radius: 5px; } .content { margin: 20px 0; } .footer { font-size: 12px; color: #666; margin-top: 20px; } .alert { background-color: #ffebee; border-left: 4px solid #f44336; padding: 10px; } .success { background-color: #e8f5e9; border-left: 4px solid #4caf50; padding: 10px; } .info { background-color: #e3f2fd; border-left: 4px solid #2196f3; padding: 10px; } </style> </head> <body> <div class='header'> <h2>🐳 Docker容器监控通知</h2> <p><strong>时间:</strong>$timestamp</p> <p><strong>主机:</strong>$(hostname)</p> </div> <div class='content'> $body </div> <div class='footer'> <p>此邮件由Docker监控脚本自动发送</p> <p>脚本位置:/opt/docker_watch.sh</p> </div> </body> </html> EOF # 编码认证信息 local auth_user=$(echo -n "$FROM_EMAIL" | base64 -w 0) local auth_pass=$(echo -n "$EMAIL_PASSWORD" | base64 -w 0) # 创建SMTP命令序列(改进版) local smtp_file="$temp_dir/smtp_commands.txt" { echo "EHLO $(hostname)" echo "AUTH LOGIN" echo "$auth_user" echo "$auth_pass" echo "MAIL FROM:<$FROM_EMAIL>" echo "RCPT TO:<$TO_EMAIL>" echo "DATA" cat "$email_file" echo "" echo "." echo "QUIT" } > "$smtp_file" # 发送邮件 local output_file="$temp_dir/output.txt" local error_file="$temp_dir/error.txt" if timeout 60 openssl s_client -connect $SMTP_SERVER:$SMTP_PORT -quiet -verify_return_error < "$smtp_file" > "$output_file" 2> "$error_file"; then if grep -q "250.*OK\|250 Ok\|250 Mail OK\|250.*queued" "$output_file"; then log_message "INFO" "OpenSSL方式邮件发送成功: $subject" rm -rf "$temp_dir" return 0 else log_message "DEBUG" "OpenSSL SMTP服务器响应异常" log_message "DEBUG" "服务器响应: $(head -10 "$output_file" 2>/dev/null)" fi else log_message "DEBUG" "OpenSSL连接失败" log_message "DEBUG" "错误信息: $(head -5 "$error_file" 2>/dev/null)" fi rm -rf "$temp_dir" return 1 } # 检查Docker服务状态 check_docker_service() { local current_status="" local previous_status="" # 获取当前Docker服务状态 if systemctl is-active --quiet docker; then current_status="active" else current_status="inactive" fi # 读取上次的服务状态 if [ -f "$DOCKER_SERVICE_STATE_FILE" ]; then previous_status=$(cat "$DOCKER_SERVICE_STATE_FILE") fi # 保存当前状态 echo "$current_status" > "$DOCKER_SERVICE_STATE_FILE" # 检查状态变化 if [ -n "$previous_status" ] && [ "$previous_status" != "$current_status" ]; then if [ "$current_status" = "inactive" ]; then log_message "ERROR" "Docker服务已停止" local service_status=$(systemctl status docker --no-pager -l 2>/dev/null || echo "无法获取状态") local body="<div class='alert'> <h3>🚨 Docker服务异常告警</h3> <p><strong>状态变化:</strong>运行中 → 已停止</p> <p><strong>检测时间:</strong>$(date '+%Y-%m-%d %H:%M:%S')</p> <p><strong>服务状态:</strong></p> <pre style='background-color: #f5f5f5; padding: 10px; border-radius: 5px; overflow-x: auto;'>$service_status</pre> <hr> <p><strong>建议操作:</strong></p> <ul> <li>检查服务状态:<code>systemctl status docker</code></li> <li>查看服务日志:<code>journalctl -u docker -n 50</code></li> <li>重启Docker服务:<code>systemctl restart docker</code></li> <li>检查磁盘空间:<code>df -h</code></li> </ul> </div>" send_email "🚨 Docker服务停止告警" "$body" elif [ "$current_status" = "active" ]; then log_message "INFO" "Docker服务已恢复运行" local body="<div class='success'> <h3>✅ Docker服务恢复通知</h3> <p><strong>状态变化:</strong>已停止 → 运行中</p> <p><strong>恢复时间:</strong>$(date '+%Y-%m-%d %H:%M:%S')</p> <p><strong>当前状态:</strong>Docker服务正常运行</p> </div>" send_email "✅ Docker服务恢复通知" "$body" fi fi # 检查Docker守护进程响应 if [ "$current_status" = "active" ]; then if ! docker info >/dev/null 2>&1; then log_message "ERROR" "Docker守护进程无响应" local body="<div class='alert'> <h3>⚠️ Docker守护进程无响应</h3> <p><strong>状态:</strong>服务运行中但命令执行失败</p> <p><strong>检测时间:</strong>$(date '+%Y-%m-%d %H:%M:%S')</p> <p><strong>建议:</strong>请检查Docker守护进程状态和权限</p> <ul> <li>重启Docker:<code>systemctl restart docker</code></li> <li>检查权限:<code>ls -la /var/run/docker.sock</code></li> <li>查看进程:<code>ps aux | grep docker</code></li> </ul> </div>" send_email "🚨 Docker守护进程无响应告警" "$body" return 1 fi else return 1 fi return 0 } # 获取当前运行的容器列表 get_running_containers() { docker ps --format "{{.ID}}:{{.Names}}:{{.Image}}:{{.Status}}" 2>/dev/null || echo "" } # 比较容器状态变化 check_container_changes() { local current_containers="$1" local previous_containers="" # 读取上次的容器状态 if [ -f "$STATE_FILE" ]; then previous_containers=$(cat "$STATE_FILE") fi # 保存当前状态 echo "$current_containers" > "$STATE_FILE" # 如果是第一次运行,不进行比较 if [ -z "$previous_containers" ]; then log_message "INFO" "首次运行,记录当前容器状态" return 0 fi # 检查停止或消失的容器 while IFS= read -r prev_container; do if [ -n "$prev_container" ]; then local container_id=$(echo "$prev_container" | cut -d: -f1) local container_name=$(echo "$prev_container" | cut -d: -f2) local container_image=$(echo "$prev_container" | cut -d: -f3) # 检查容器是否还在运行 if ! echo "$current_containers" | grep -q "^$container_id:"; then log_message "WARN" "容器停止或消失: $container_name ($container_id)" # 获取容器详细状态 local container_status=$(docker ps -a --filter "id=$container_id" --format "{{.Status}}" 2>/dev/null) if [ -z "$container_status" ]; then container_status="容器已被删除" fi local body="<div class='alert'> <h3>🛑 容器状态异常</h3> <p><strong>容器名称:</strong>$container_name</p> <p><strong>容器ID:</strong>$container_id</p> <p><strong>镜像:</strong>$container_image</p> <p><strong>当前状态:</strong>$container_status</p> <p><strong>检测时间:</strong>$(date '+%Y-%m-%d %H:%M:%S')</p> <hr> <p><strong>建议操作:</strong></p> <ul> <li>检查容器日志:<code>docker logs $container_name</code></li> <li>重启容器:<code>docker start $container_name</code></li> <li>查看所有容器:<code>docker ps -a</code></li> </ul> </div>" send_email "🚨 容器异常告警 - $container_name" "$body" fi fi done <<< "$previous_containers" } # 发送启动通知 send_startup_notification() { local current_containers="$1" local container_count=$(echo "$current_containers" | grep -c ":" 2>/dev/null || echo "0") # 获取系统信息 local hostname=$(hostname) local docker_version=$(docker --version 2>/dev/null || echo "未知版本") local docker_service_status=$(systemctl is-active docker 2>/dev/null || echo "未知") local system_uptime=$(uptime -p 2>/dev/null || uptime) local container_list="" if [ "$container_count" -gt 0 ]; then container_list="<h4>📋 当前运行的容器详情:</h4> <table style='border-collapse: collapse; width: 100%; margin: 10px 0;'> <tr style='background-color: #f0f0f0;'> <th style='border: 1px solid #ddd; padding: 8px; text-align: left;'>容器名称</th> <th style='border: 1px solid #ddd; padding: 8px; text-align: left;'>镜像</th> <th style='border: 1px solid #ddd; padding: 8px; text-align: left;'>状态</th> <th style='border: 1px solid #ddd; padding: 8px; text-align: left;'>端口</th> </tr>" while IFS= read -r container; do if [ -n "$container" ]; then local container_id=$(echo "$container" | cut -d: -f1) local name=$(echo "$container" | cut -d: -f2) local image=$(echo "$container" | cut -d: -f3) local status=$(echo "$container" | cut -d: -f4) # 获取端口信息 local ports=$(docker port "$container_id" 2>/dev/null | tr '\n' ', ' | sed 's/,$//' || echo "无") container_list="$container_list <tr> <td style='border: 1px solid #ddd; padding: 8px;'><strong>$name</strong></td> <td style='border: 1px solid #ddd; padding: 8px;'>$image</td> <td style='border: 1px solid #ddd; padding: 8px;'>$status</td> <td style='border: 1px solid #ddd; padding: 8px;'>$ports</td> </tr>" fi done <<< "$current_containers" container_list="$container_list</table>" else container_list="<div style='background-color: #fff3cd; border: 1px solid #ffeaa7; padding: 10px; border-radius: 5px;'> <p>⚠️ 当前没有运行中的容器</p> </div>" fi local body="<div class='success'> <h3>🚀 Docker监控脚本启动通知</h3> <div style='background-color: #f8f9fa; padding: 15px; border-radius: 5px; margin: 10px 0;'> <h4>📊 系统信息</h4> <p><strong>主机名:</strong>$hostname</p> <p><strong>Docker版本:</strong>$docker_version</p> <p><strong>Docker服务状态:</strong>$docker_service_status</p> <p><strong>系统运行时间:</strong>$system_uptime</p> <p><strong>监控间隔:</strong>${CHECK_INTERVAL}秒 (1分钟)</p> <p><strong>运行容器数量:</strong>$container_count</p> <p><strong>日志文件:</strong>$LOG_FILE</p> </div> $container_list <hr> <div style='background-color: #e8f5e9; padding: 15px; border-radius: 5px;'> <h4>🛡️ 监控功能</h4> <ul> <li>🔍 每${CHECK_INTERVAL}秒检查容器状态变化</li> <li>📧 容器停止或宕机时发送告警邮件</li> <li>🚨 Docker服务停止或宕机时发送告警邮件</li> <li>✅ Docker服务恢复时发送恢复通知</li> <li>📝 详细日志记录和状态追踪</li> <li>🔒 防重复运行和优雅退出机制</li> </ul> </div> </div>" send_email "🚀 Docker监控脚本启动通知 - $hostname" "$body" } # 创建锁文件,防止重复运行 create_lock() { if [ -f "$LOCK_FILE" ]; then local pid=$(cat "$LOCK_FILE") if kill -0 "$pid" 2>/dev/null; then log_message "ERROR" "脚本已在运行 (PID: $pid)" exit 1 else log_message "WARN" "发现僵尸锁文件,清理中..." rm -f "$LOCK_FILE" fi fi echo $$ > "$LOCK_FILE" log_message "INFO" "创建锁文件 (PID: $$)" } # 清理锁文件 cleanup() { log_message "INFO" "清理锁文件并退出" rm -f "$LOCK_FILE" exit 0 } # =========================================== # 主程序 # =========================================== # 命令行参数处理 case "${1:-}" in "--test-email") echo "测试邮件发送功能..." mkdir -p "$(dirname "$LOG_FILE")" # 测试邮件内容 test_body="<div class='info'> <h3>📧 邮件发送测试</h3> <p><strong>测试时间:</strong>$(date '+%Y-%m-%d %H:%M:%S')</p> <p><strong>主机名:</strong>$(hostname)</p> <p><strong>脚本版本:</strong>2.0</p> <p><strong>配置信息:</strong></p> <ul> <li>SMTP服务器:$SMTP_SERVER:$SMTP_PORT</li> <li>发件人:$FROM_EMAIL</li> <li>收件人:$TO_EMAIL</li> </ul> <p>如果您收到此邮件,说明邮件发送功能正常工作!</p> </div>" if send_email "🧪 Docker监控邮件测试" "$test_body"; then echo "✅ 测试邮件发送成功!请检查您的邮箱。" exit 0 else echo "❌ 测试邮件发送失败!请检查配置和网络连接。" exit 1 fi ;; "--debug") echo "调试模式:显示详细日志..." set -x ;; "--help"|"-h") echo "Docker容器监控脚本 v2.0" echo "" echo "用法: $0 [选项]" echo "" echo "选项:" echo " --test-email 测试邮件发送功能" echo " --debug 启用调试模式" echo " --help, -h 显示此帮助信息" echo "" echo "配置文件位置: $0" echo "日志文件位置: $LOG_FILE" echo "" exit 0 ;; esac # 设置信号处理 trap cleanup SIGTERM SIGINT # 检查是否以root用户运行 if [ "$EUID" -ne 0 ]; then echo "错误:此脚本需要root权限运行" echo "请使用: sudo $0" exit 1 fi # 创建日志目录 mkdir -p "$(dirname "$LOG_FILE")" # 创建锁文件 create_lock log_message "INFO" "Docker容器监控脚本启动" log_message "INFO" "监控间隔: ${CHECK_INTERVAL}秒" log_message "INFO" "日志文件: $LOG_FILE" # 初始检查Docker服务 if ! check_docker_service; then log_message "WARN" "Docker服务初始检查失败,但继续运行监控" fi # 获取初始容器状态并发送启动通知 initial_containers=$(get_running_containers) send_startup_notification "$initial_containers" echo "$initial_containers" > "$STATE_FILE" log_message "INFO" "开始监控循环,检查间隔: ${CHECK_INTERVAL}秒" # 主监控循环 while true; do # 检查Docker服务状态 docker_service_ok=true if ! check_docker_service; then log_message "WARN" "Docker服务检查失败,跳过容器状态检查" docker_service_ok=false fi # 只有在Docker服务正常时才检查容器状态 if [ "$docker_service_ok" = true ]; then # 获取当前容器状态 current_containers=$(get_running_containers) # 检查容器状态变化 check_container_changes "$current_containers" fi # 等待下次检查 log_message "DEBUG" "等待 ${CHECK_INTERVAL} 秒后进行下次检查..." sleep "$CHECK_INTERVAL" done
2401_82619496/pythonlab_code
Docker容器监控系统完全指南/docker_watch.sh
Shell
mit
23,415
import random # 生成 1-100 的随机目标数 target = random.randint(1, 100) # 记录猜测次数 count = 0 print("我已经想好了一个 1-100 之间的数字,猜猜看!") while True: # 获取用户输入并转成整数 guess = int(input("你的猜测:")) count += 1 # 判断大小并给出提示 if guess < target: print("小了") elif guess > target: print("大了") else: print(f"猜对了!共用了 {count} 次") break
2401_82619496/pythonlab_code
实验1_猜数字小游戏/main.py
Python
mit
523
import re from collections import Counter # 《桃花源记》原文 text = """晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。” 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。""" # 提取所有汉字并过滤非汉字字符 chars = re.findall(r'[\u4e00-\u9fa5]', text) # 统计频次并获取前5 top5 = Counter(chars).most_common(5) # 输出结果 for char, count in top5: print(f"'{char}': {count}次")
2401_82619496/pythonlab_code
实验2_代码统计 《桃花源记》/main.py
Python
mit
1,527
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 回文素数查找器 ============= 功能描述: 1. 判断一个数是否为素数(只能被1和自身整除的数) 2. 判断一个数是否为回文数(正着读和反着读一样,如131) 3. 找出1到1,000,000之间既是素数又是回文数的所有数字 4. 将这些「回文素数」写入文本文件,每行记录一个数字 使用方法: - 运行测试:python palindrome_primes.py test - 运行主程序:python palindrome_primes.py - 如果没有Python,可以安装后运行,或者查看代码学习算法 作者:CSDN技术博客 创建时间:2024年 兼容性:Python 2.7+ 和 Python 3.x """ import time import math def is_prime(n): """ 判断一个数是否为素数 算法说明: - 素数定义:只能被1和自身整除的大于1的自然数 - 优化策略:只需检查到√n即可,因为大于√n的因子必然对应一个小于√n的因子 Args: n: 待检查的数字 Returns: 如果是素数返回True,否则返回False Examples: >>> is_prime(2) True >>> is_prime(4) False >>> is_prime(17) True """ # 处理特殊情况 if n < 2: return False if n == 2: return True if n % 2 == 0: return False # 只检查奇数因子,从3开始到√n sqrt_n = int(math.sqrt(n)) + 1 for i in range(3, sqrt_n, 2): if n % i == 0: return False return True def is_palindrome(n): """ 判断一个数是否为回文数 算法说明: - 回文数:正着读和反着读都一样的数字,如131、2332 - 实现方式:将数字转换为字符串,比较原字符串和反转字符串 Args: n (int): 待检查的数字 Returns: bool: 如果是回文数返回True,否则返回False Examples: >>> is_palindrome(131) True >>> is_palindrome(123) False >>> is_palindrome(2332) True """ # 将数字转换为字符串 str_n = str(n) # 比较原字符串和反转字符串 return str_n == str_n[::-1] def is_palindrome_optimized(n): """ 判断回文数的优化版本(数学方法) 算法说明: - 不使用字符串转换,纯数学方法 - 通过数学运算反转数字,然后比较 Args: n (int): 待检查的数字 Returns: bool: 如果是回文数返回True,否则返回False """ if n < 0: return False original = n reversed_num = 0 # 数学方法反转数字 while n > 0: reversed_num = reversed_num * 10 + n % 10 n //= 10 return original == reversed_num def find_palindrome_primes(start=1, end=1000000): """ 查找指定范围内的所有回文素数 算法说明: - 使用生成器模式,节省内存 - 先检查回文数(更快),再检查素数 - 对于大范围搜索,这种顺序能提高效率 Args: start (int): 搜索起始值(默认1) end (int): 搜索结束值(默认1,000,000) Yields: int: 每个找到的回文素数 Examples: >>> list(find_palindrome_primes(1, 100)) [2, 3, 5, 7, 11] """ print(f"🔍 开始搜索范围:{start:,} 到 {end:,}") count = 0 for num in range(start, end + 1): # 先检查是否为回文数(通常更快) if is_palindrome(num): # 再检查是否为素数 if is_prime(num): count += 1 print(f"✅ 找到第 {count} 个回文素数: {num}") yield num def save_to_file(palindrome_primes, filename="palindrome_primes.txt"): """ 将回文素数列表保存到文本文件 Args: palindrome_primes (List[int]): 回文素数列表 filename (str): 输出文件名(默认"palindrome_primes.txt") """ try: with open(filename, 'w', encoding='utf-8') as f: # 写入文件头信息 f.write("# 回文素数列表\n") f.write(f"# 生成时间: {time.strftime('%Y-%m-%d %H:%M:%S')}\n") f.write(f"# 总数量: {len(palindrome_primes)}\n") f.write("# 格式: 每行一个数字\n") f.write("-" * 40 + "\n") # 写入每个回文素数 for prime in palindrome_primes: f.write(f"{prime}\n") print(f"💾 成功保存 {len(palindrome_primes)} 个回文素数到文件: {filename}") except IOError as e: print(f"❌ 文件保存失败: {e}") def display_statistics(palindrome_primes): """ 显示回文素数的统计信息 Args: palindrome_primes (List[int]): 回文素数列表 """ if not palindrome_primes: print("📊 没有找到回文素数") return print("\n" + "="*50) print("📊 回文素数统计信息") print("="*50) print(f"总数量: {len(palindrome_primes)}") print(f"最小值: {min(palindrome_primes)}") print(f"最大值: {max(palindrome_primes)}") print(f"平均值: {sum(palindrome_primes) / len(palindrome_primes):.2f}") # 按位数分组统计 digit_groups = {} for prime in palindrome_primes: digits = len(str(prime)) digit_groups[digits] = digit_groups.get(digits, 0) + 1 print("\n按位数分布:") for digits in sorted(digit_groups.keys()): print(f" {digits}位数: {digit_groups[digits]} 个") # 显示前10个和后10个 print(f"\n前10个: {palindrome_primes[:10]}") if len(palindrome_primes) > 10: print(f"后10个: {palindrome_primes[-10:]}") def main(): """ 主函数:执行完整的回文素数查找流程 """ print("🐍 Python回文素数查找器") print("=" * 50) # 记录开始时间 start_time = time.time() # 设置搜索范围 search_start = 1 search_end = 1000000 print(f"🎯 任务目标:") print(f" ✅ 编写函数判断一个数是否为素数") print(f" ✅ 编写函数判断一个数是否为回文数") print(f" ✅ 找出{search_start:,}到{search_end:,}之间既是素数又是回文数的所有数字") print(f" ✅ 将这些「回文素数」写入文本文件") print() # 查找回文素数 palindrome_primes = list(find_palindrome_primes(search_start, search_end)) # 计算耗时 end_time = time.time() elapsed_time = end_time - start_time # 显示统计信息 display_statistics(palindrome_primes) # 保存到文件 save_to_file(palindrome_primes) # 显示性能信息 print(f"\n⏱️ 执行时间: {elapsed_time:.2f} 秒") print(f"🚀 平均速度: {search_end / elapsed_time:.0f} 数字/秒") print("\n🎉 任务完成!") def test_functions(): """ 测试函数的正确性 """ print("🧪 运行测试用例...") # 测试素数判断 test_primes = [ (2, True), (3, True), (4, False), (5, True), (17, True), (25, False), (97, True), (100, False) ] print("测试素数判断:") for num, expected in test_primes: result = is_prime(num) status = "✅" if result == expected else "❌" print(f" {status} is_prime({num}) = {result} (期望: {expected})") # 测试回文数判断 test_palindromes = [ (121, True), (131, True), (123, False), (2332, True), (1, True), (11, True), (12, False) ] print("\n测试回文数判断:") for num, expected in test_palindromes: result = is_palindrome(num) status = "✅" if result == expected else "❌" print(f" {status} is_palindrome({num}) = {result} (期望: {expected})") print("\n🎯 测试完成!") if __name__ == "__main__": # 可以选择运行测试或主程序 import sys if len(sys.argv) > 1 and sys.argv[1] == "test": test_functions() else: main()
2401_82619496/pythonlab_code
实验3_找回文素数/main.py
Python
mit
8,590
import random import string from functools import reduce def generate_password(length=12, **options): """ 智能密码生成器 Args: length: 密码长度 **options: 配置选项 - include_uppercase: 包含大写字母 - include_numbers: 包含数字 - include_symbols: 包含符号 """ # 构建字符集 charset = "" if options.get('include_uppercase', True): charset += string.ascii_uppercase if options.get('include_lowercase', True): charset += string.ascii_lowercase if options.get('include_numbers', True): charset += string.digits if options.get('include_symbols', False): charset += "!@#$%^&*" # 生成密码 return ''.join(random.choices(charset, k=length)) # 使用示例 simple_pwd = generate_password(8) complex_pwd = generate_password(16, include_symbols=True) safe_pwd = generate_password(20, include_symbols=True, include_uppercase=True) print(f"简单密码: {simple_pwd}") print(f"复杂密码: {complex_pwd}") print(f"安全密码: {safe_pwd}")
2401_82619496/pythonlab_code
实验4_密码生成器/main.py
Python
mit
1,145
import shutil from pathlib import Path from typing import Set def collect_images(source_dir: str, target_dir: str, image_extensions: Set[str]) -> int: """ 从源目录递归收集图片文件到目标目录。 Args: source_dir: 要扫描的源目录路径。 target_dir: 存放收集到的图片的目标目录路径。 image_extensions: 包含小写图片文件扩展名的集合,例如 {'.jpg', '.png'}。 Returns: 成功收集的图片数量。 Raises: FileNotFoundError: 如果源目录不存在。 """ source_path = Path(source_dir) target_path = Path(target_dir) if not source_path.is_dir(): raise FileNotFoundError(f"错误:源目录 '{source_dir}' 不存在或不是一个有效的目录。") # 创建目标目录,如果它不存在的话 target_path.mkdir(parents=True, exist_ok=True) collected_count = 0 print(f"开始扫描目录:'{source_path}'...") # 递归遍历源目录中的所有文件 for file_path in source_path.rglob('*'): # 检查文件扩展名是否在支持的图片格式列表中 if file_path.is_file() and file_path.suffix.lower() in image_extensions: try: # 构造目标文件路径 destination_path = target_path / file_path.name # 为了避免文件名冲突,如果文件已存在,则添加一个唯一的后缀 counter = 1 while destination_path.exists(): destination_path = target_path / f"{file_path.stem}_{counter}{file_path.suffix}" counter += 1 # 复制文件并保留元数据 shutil.copy2(file_path, destination_path) print(f" [+] 成功复制: {file_path.name} -> {destination_path.name}") collected_count += 1 except Exception as e: print(f" [!] 复制文件时出错 {file_path.name}: {e}") return collected_count def main(): """ 主函数,驱动整个图片收集流程。 """ print("--- 一键图片收集器 ---") # 定义支持的图片文件扩展名 supported_extensions = {'.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.webp'} try: # 获取用户输入 source_directory = input("请输入要扫描的源目录路径: ") target_directory = input("请输入要将图片存入的目标目录路径 (默认为 'collected_images'): ") # 如果用户没有输入目标目录,则使用默认值 if not target_directory: target_directory = "collected_images" # 调用核心函数执行收集任务 count = collect_images(source_directory, target_directory, supported_extensions) # 打印最终结果 if count > 0: print(f"\n任务完成!共收集了 {count} 个图片文件。") print(f"所有图片已保存至: {Path(target_directory).resolve()}") else: print("\n扫描完成,但在指定目录中未找到支持的图片文件。") except FileNotFoundError as e: print(f"\n操作失败: {e}") except Exception as e: print(f"\n发生了一个未预料的错误: {e}") if __name__ == "__main__": main()
2401_82619496/pythonlab_code
实验5_图片收集工具/main.py
Python
mit
3,447
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 实验标题:《桃花源记》词频统计实验 - 基于原生数据结构的轻量级自然语言处理 实验目标: 使用Python原生数据结构(列表和字典),不依赖任何第三方库, 完成对《桃花源记》文本的词频统计分析,展示基础数据结构在文本处理中的应用。 实验步骤: 1. 文本切分:使用标点符号将长文本切分成意群片段 2. 词语枚举:2-4字滑动窗口枚举所有可能的词语组合 3. 数据过滤:剔除包含标点或长度不符的无效组合 4. 频次统计:使用字典累加每个词语的出现次数 5. 结果排序:按频次倒序排列并输出高频词语 作者:做运维的阿瑞 日期:2024年 """ def split_text_by_punctuation(text): """ 文本切分功能:使用常见标点符号将长文本切分成意群片段 Args: text (str): 输入的原始文本 Returns: list: 切分后的文本片段列表 """ # 定义常见的中文标点符号 punctuations = ['。', ',', ';', ':', '!', '?', '、', '"', '"', ''', ''', '(', ')', '【', '】'] # 初始化片段列表 segments = [] current_segment = "" for char in text: if char in punctuations: # 遇到标点符号,保存当前片段(如果非空) if current_segment.strip(): segments.append(current_segment.strip()) current_segment = "" else: # 非标点符号,添加到当前片段 current_segment += char # 处理最后一个片段 if current_segment.strip(): segments.append(current_segment.strip()) return segments def enumerate_words_with_sliding_window(segment, min_len=2, max_len=4): """ 词语枚举功能:使用滑动窗口枚举指定长度范围内的所有词语组合 Args: segment (str): 文本片段 min_len (int): 最小词语长度,默认2 max_len (int): 最大词语长度,默认4 Returns: list: 枚举出的词语列表 """ words = [] segment_len = len(segment) # 遍历每个可能的起始位置 for start in range(segment_len): # 遍历每个可能的词语长度 for length in range(min_len, max_len + 1): end = start + length if end <= segment_len: word = segment[start:end] words.append(word) return words def filter_valid_words(words): """ 数据过滤功能:剔除包含标点符号或不符合要求的词语 Args: words (list): 待过滤的词语列表 Returns: list: 过滤后的有效词语列表 """ # 定义需要过滤的字符(标点符号、数字、英文等) invalid_chars = ['。', ',', ';', ':', '!', '?', '、', '"', '"', ''', ''', '(', ')', '【', '】', ' ', '\n', '\t', '\r'] valid_words = [] for word in words: # 检查词语是否包含无效字符 is_valid = True for char in word: if char in invalid_chars or char.isdigit() or char.isascii(): is_valid = False break # 检查词语长度是否符合要求(2-4字) if is_valid and 2 <= len(word) <= 4: valid_words.append(word) return valid_words def count_word_frequency(words): """ 频次统计功能:使用字典统计每个词语的出现频次 Args: words (list): 词语列表 Returns: dict: 词语频次字典,格式为 {词语: 频次} """ frequency_dict = {} for word in words: if word in frequency_dict: frequency_dict[word] += 1 else: frequency_dict[word] = 1 return frequency_dict def sort_and_display_results(frequency_dict, top_n=20): """ 结果排序和输出功能:将频次字典转换为排序列表并输出 Args: frequency_dict (dict): 词语频次字典 top_n (int): 输出前N个高频词语,默认20 Returns: list: 排序后的词语频次列表,格式为 [(词语, 频次), ...] """ # 将字典转换为列表,每个元素为 (词语, 频次) 的元组 frequency_list = [] for word, count in frequency_dict.items(): frequency_list.append((word, count)) # 按频次进行倒序排序(使用冒泡排序展示原生算法) n = len(frequency_list) for i in range(n): for j in range(0, n - i - 1): if frequency_list[j][1] < frequency_list[j + 1][1]: # 交换位置 frequency_list[j], frequency_list[j + 1] = frequency_list[j + 1], frequency_list[j] # 输出结果 print(f"\n=== 《桃花源记》词频统计结果(前{top_n}名)===") print("-" * 50) print(f"{'排名':<4} {'词语':<8} {'频次':<6} {'占比':<8}") print("-" * 50) total_words = sum(count for _, count in frequency_list) for i in range(min(top_n, len(frequency_list))): word, count = frequency_list[i] percentage = (count / total_words) * 100 print(f"{i+1:<4} {word:<8} {count:<6} {percentage:.2f}%") print("-" * 50) print(f"总词语数量: {len(frequency_list)}") print(f"总词频: {total_words}") return frequency_list def main(): """ 主函数:执行完整的词频统计实验流程 """ # 《桃花源记》原文(节选) peach_blossom_text = """ 晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步, 中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。 初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然, 有良田美池桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着, 悉如外人。黄发垂髫,并怡然自乐。见渔人,乃大惊,问所从来。 具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。 自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。 问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。 余人各复延至其家,皆出酒食。停数日,辞去。此中人语云: 不足为外人道也。既出,得其船,便扶向路,处处志之。 及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 """ print("=== 《桃花源记》词频统计实验开始 ===") print(f"原文长度: {len(peach_blossom_text)} 字符") # 步骤1: 文本切分 print("\n步骤1: 文本切分...") segments = split_text_by_punctuation(peach_blossom_text) print(f"切分得到 {len(segments)} 个文本片段") print("前5个片段示例:") for i, segment in enumerate(segments[:5]): print(f" {i+1}. {segment}") # 步骤2: 词语枚举 print("\n步骤2: 词语枚举...") all_words = [] for segment in segments: words = enumerate_words_with_sliding_window(segment) all_words.extend(words) print(f"枚举得到 {len(all_words)} 个词语候选") print("前20个词语示例:") for i, word in enumerate(all_words[:20]): print(f" {word}", end=" ") if (i + 1) % 10 == 0: print() # 每10个换行 # 步骤3: 数据过滤 print("\n\n步骤3: 数据过滤...") valid_words = filter_valid_words(all_words) print(f"过滤后剩余 {len(valid_words)} 个有效词语") print(f"过滤率: {((len(all_words) - len(valid_words)) / len(all_words) * 100):.2f}%") # 步骤4: 频次统计 print("\n步骤4: 频次统计...") frequency_dict = count_word_frequency(valid_words) print(f"统计得到 {len(frequency_dict)} 个不重复词语") # 步骤5: 结果排序和输出 print("\n步骤5: 结果排序和输出...") sorted_results = sort_and_display_results(frequency_dict, top_n=15) # 额外分析 print("\n=== 实验数据分析 ===") print(f"词语覆盖率: {(len(frequency_dict) / len(valid_words) * 100):.2f}%") # 统计不同频次的词语数量 frequency_distribution = {} for word, count in frequency_dict.items(): if count in frequency_distribution: frequency_distribution[count] += 1 else: frequency_distribution[count] = 1 print("\n频次分布:") for freq in sorted(frequency_distribution.keys(), reverse=True)[:10]: print(f" 出现{freq}次的词语: {frequency_distribution[freq]}个") print("\n=== 实验完成 ===") if __name__ == "__main__": main()
2401_82619496/pythonlab_code
实验6_桃花源记词频统计实验/main.py
Python
mit
9,458
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 简化版系统信息查看器 只使用Python标准库,无需安装第三方依赖 作者: AI Assistant 功能: 收集并展示Windows系统信息,生成详细报告 """ import os import sys import platform import socket import datetime import time import subprocess import json from pathlib import Path import shutil class SimpleSystemInfoViewer: def __init__(self): self.info_data = {} def print_header(self): """打印程序标题""" print("=" * 60) print(" 🖥️ Windows 系统信息查看器 🖥️") print(" (简化版 - 仅使用标准库)") print("=" * 60) print() def print_progress(self, message, step, total_steps): """显示进度信息""" progress = int((step / total_steps) * 50) bar = "█" * progress + "░" * (50 - progress) percentage = int((step / total_steps) * 100) print(f"\r[{bar}] {percentage}% - {message}", end="", flush=True) if step == total_steps: print() # 完成后换行 def get_basic_system_info(self): """获取基本系统信息""" try: uname = platform.uname() self.info_data['basic_info'] = { '计算机名称': platform.node(), '操作系统': f"{uname.system} {uname.release}", '系统版本': uname.version, '系统架构': uname.machine, '处理器': uname.processor, 'Python版本': platform.python_version(), '当前用户': os.getlogin() if hasattr(os, 'getlogin') else os.environ.get('USERNAME', '未知'), '当前工作目录': os.getcwd(), } except Exception as e: print(f"获取基本系统信息时出错: {e}") def get_disk_info(self): """获取磁盘信息""" try: disk_info = [] # 获取所有驱动器 drives = ['%s:' % d for d in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' if os.path.exists('%s:' % d)] for drive in drives: try: total, used, free = shutil.disk_usage(drive) disk_info.append({ '驱动器': drive, '总大小': f"{total / (1024**3):.2f} GB", '已用空间': f"{used / (1024**3):.2f} GB", '可用空间': f"{free / (1024**3):.2f} GB", '使用率': f"{(used / total) * 100:.1f}%" }) except (PermissionError, OSError): continue self.info_data['disk_info'] = disk_info except Exception as e: print(f"获取磁盘信息时出错: {e}") def get_network_info(self): """获取网络信息""" try: network_info = {} # 获取主机名和IP hostname = socket.gethostname() try: local_ip = socket.gethostbyname(hostname) except: local_ip = "无法获取" network_info['主机信息'] = { '主机名': hostname, '本地IP': local_ip, } # 尝试获取更多网络信息 try: # 获取默认网关(通过route命令) result = subprocess.run(['route', 'print', '0.0.0.0'], capture_output=True, text=True, timeout=5) if result.returncode == 0: lines = result.stdout.split('\n') for line in lines: if '0.0.0.0' in line and 'Gateway' not in line: parts = line.split() if len(parts) >= 3: network_info['默认网关'] = parts[2] break except: network_info['默认网关'] = "无法获取" self.info_data['network_info'] = network_info except Exception as e: print(f"获取网络信息时出错: {e}") def get_environment_info(self): """获取环境变量信息""" try: important_vars = ['PATH', 'TEMP', 'TMP', 'USERNAME', 'USERPROFILE', 'COMPUTERNAME'] env_info = {} for var in important_vars: env_info[var] = os.environ.get(var, '未设置') self.info_data['environment_info'] = env_info except Exception as e: print(f"获取环境信息时出错: {e}") def get_system_time_info(self): """获取系统时间信息""" try: now = datetime.datetime.now() time_info = { '当前时间': now.strftime('%Y-%m-%d %H:%M:%S'), '时区': str(now.astimezone().tzinfo), '星期': now.strftime('%A'), '年份第几天': now.timetuple().tm_yday, } self.info_data['time_info'] = time_info except Exception as e: print(f"获取时间信息时出错: {e}") def get_python_info(self): """获取Python环境信息""" try: python_info = { 'Python版本': platform.python_version(), 'Python实现': platform.python_implementation(), 'Python编译器': platform.python_compiler(), 'Python路径': sys.executable, '模块搜索路径': sys.path[:3], # 只显示前3个路径 } self.info_data['python_info'] = python_info except Exception as e: print(f"获取Python信息时出错: {e}") def display_info(self): """在控制台显示信息""" print("\n" + "="*60) print("📊 系统信息概览") print("="*60) # 显示基本信息 if 'basic_info' in self.info_data: print("\n🖥️ 基本系统信息:") for key, value in self.info_data['basic_info'].items(): print(f" {key}: {value}") # 显示磁盘信息 if 'disk_info' in self.info_data: print("\n💿 磁盘信息:") for i, disk in enumerate(self.info_data['disk_info']): print(f" 驱动器 {i+1}:") for key, value in disk.items(): print(f" {key}: {value}") # 显示网络信息 if 'network_info' in self.info_data: print("\n🌐 网络信息:") for category, info in self.info_data['network_info'].items(): if isinstance(info, dict): print(f" {category}:") for key, value in info.items(): print(f" {key}: {value}") else: print(f" {category}: {info}") # 显示时间信息 if 'time_info' in self.info_data: print("\n⏰ 时间信息:") for key, value in self.info_data['time_info'].items(): print(f" {key}: {value}") # 显示Python信息 if 'python_info' in self.info_data: print("\n🐍 Python环境信息:") for key, value in self.info_data['python_info'].items(): if isinstance(value, list): print(f" {key}:") for item in value: print(f" - {item}") else: print(f" {key}: {value}") # 显示环境变量 if 'environment_info' in self.info_data: print("\n🔧 重要环境变量:") for key, value in self.info_data['environment_info'].items(): # 截断过长的PATH变量 if key == 'PATH' and len(str(value)) > 100: value = str(value)[:100] + "..." print(f" {key}: {value}") def save_to_file(self): """保存信息到文件""" try: timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S") filename = f"系统信息报告_{timestamp}.txt" with open(filename, 'w', encoding='utf-8') as f: f.write("=" * 80 + "\n") f.write(" Windows 系统信息详细报告\n") f.write(" (简化版 - 标准库)\n") f.write("=" * 80 + "\n") f.write(f"生成时间: {datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}\n") f.write("=" * 80 + "\n\n") # 写入基本信息 if 'basic_info' in self.info_data: f.write("🖥️ 基本系统信息\n") f.write("-" * 40 + "\n") for key, value in self.info_data['basic_info'].items(): f.write(f"{key:<20}: {value}\n") f.write("\n") # 写入磁盘信息 if 'disk_info' in self.info_data: f.write("💿 磁盘信息\n") f.write("-" * 40 + "\n") for i, disk in enumerate(self.info_data['disk_info']): f.write(f"驱动器 {i+1}:\n") for key, value in disk.items(): f.write(f" {key:<18}: {value}\n") f.write("\n") # 写入网络信息 if 'network_info' in self.info_data: f.write("🌐 网络信息\n") f.write("-" * 40 + "\n") for category, info in self.info_data['network_info'].items(): if isinstance(info, dict): f.write(f"{category}:\n") for key, value in info.items(): f.write(f" {key:<18}: {value}\n") else: f.write(f"{category}: {info}\n") f.write("\n") # 写入时间信息 if 'time_info' in self.info_data: f.write("⏰ 时间信息\n") f.write("-" * 40 + "\n") for key, value in self.info_data['time_info'].items(): f.write(f"{key:<20}: {value}\n") f.write("\n") # 写入Python信息 if 'python_info' in self.info_data: f.write("🐍 Python环境信息\n") f.write("-" * 40 + "\n") for key, value in self.info_data['python_info'].items(): if isinstance(value, list): f.write(f"{key}:\n") for item in value: f.write(f" - {item}\n") else: f.write(f"{key:<20}: {value}\n") f.write("\n") # 写入环境变量 if 'environment_info' in self.info_data: f.write("🔧 重要环境变量\n") f.write("-" * 40 + "\n") for key, value in self.info_data['environment_info'].items(): f.write(f"{key}:\n") if key == 'PATH': # PATH变量按分号分割显示 paths = str(value).split(';') for path in paths[:10]: # 只显示前10个路径 f.write(f" {path}\n") if len(paths) > 10: f.write(f" ... 还有 {len(paths) - 10} 个路径\n") else: f.write(f" {value}\n") f.write("\n") f.write("=" * 80 + "\n") f.write("报告生成完成!\n") f.write("\n注意:这是简化版报告,使用Python标准库生成。\n") f.write("如需更详细的硬件信息,请安装第三方库后运行完整版。\n") print(f"\n✅ 系统信息已保存到文件: {filename}") return filename except Exception as e: print(f"保存文件时出错: {e}") return None def run(self): """运行主程序""" self.print_header() tasks = [ ("正在获取基本系统信息...", self.get_basic_system_info), ("正在获取磁盘信息...", self.get_disk_info), ("正在获取网络信息...", self.get_network_info), ("正在获取时间信息...", self.get_system_time_info), ("正在获取Python环境信息...", self.get_python_info), ("正在获取环境变量信息...", self.get_environment_info), ] total_tasks = len(tasks) for i, (message, task_func) in enumerate(tasks, 1): self.print_progress(message, i-1, total_tasks) time.sleep(0.3) # 模拟处理时间 task_func() self.print_progress(message, i, total_tasks) print("\n") # 显示信息 self.display_info() # 保存到文件 print("\n正在生成报告文件...") filename = self.save_to_file() if filename: print(f"\n🎉 任务完成!系统信息已收集并保存到: {filename}") print("\n📝 报告包含以下信息:") print(" • 基本系统信息(操作系统、处理器等)") print(" • 磁盘使用情况") print(" • 网络配置信息") print(" • 系统时间信息") print(" • Python环境信息") print(" • 重要环境变量") else: print("\n❌ 保存文件失败,但控制台信息显示正常。") def main(): """主函数""" try: print("正在启动系统信息查看器...") viewer = SimpleSystemInfoViewer() viewer.run() except KeyboardInterrupt: print("\n\n程序被用户中断。") except Exception as e: print(f"\n程序运行出错: {e}") import traceback traceback.print_exc() finally: input("\n按回车键退出...") if __name__ == "__main__": main()
2401_82619496/pythonlab_code
实验7_系统信息查看器/main.py
Python
mit
15,535
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis( ['main.py'], pathex=[], binaries=[], datas=[], hiddenimports=[ 'psutil', 'PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWidgets', 'ui.main_window', 'ui.system_tab', 'ui.process_tab', 'system_monitor' ], hookspath=[], hooksconfig={}, runtime_hooks=[], excludes=[ 'tkinter', 'matplotlib', 'numpy', 'pandas', 'scipy', 'PIL', 'cv2' ], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher, noarchive=False, ) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE( pyz, a.scripts, a.binaries, a.zipfiles, a.datas, [], name='SystemMonitor', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=False, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, entitlements_file=None, icon=None, # 可以在这里添加图标文件路径 version_file=None, )
2401_82619496/pythonlab_code
实验8_Win系统监控工具/app.spec
Python
mit
1,224
""" 自动化打包脚本 使用 PyInstaller 将 Python 程序打包为单个 EXE 文件 """ import os import sys import shutil import subprocess from pathlib import Path def clean_build_dirs(): """清理构建目录""" print("正在清理构建目录...") dirs_to_clean = ['build', 'dist', '__pycache__'] for dir_name in dirs_to_clean: if os.path.exists(dir_name): shutil.rmtree(dir_name) print(f"已删除目录: {dir_name}") # 清理 .pyc 文件 for root, dirs, files in os.walk('.'): for file in files: if file.endswith('.pyc'): os.remove(os.path.join(root, file)) print("构建目录清理完成") def check_dependencies(): """检查依赖包是否已安装""" print("正在检查依赖包...") required_packages = ['psutil', 'PyQt5', 'pyinstaller'] missing_packages = [] for package in required_packages: try: __import__(package) print(f"✓ {package} 已安装") except ImportError: missing_packages.append(package) print(f"✗ {package} 未安装") if missing_packages: print(f"\n缺少以下依赖包: {', '.join(missing_packages)}") print("请运行以下命令安装:") print("pip install -r requirements.txt") return False print("所有依赖包检查完成") return True def build_executable(): """构建可执行文件""" print("开始构建可执行文件...") try: # 使用 spec 文件构建 if os.path.exists('app.spec'): print("使用 app.spec 配置文件构建...") cmd = ['pyinstaller', 'app.spec', '--clean'] else: print("使用默认配置构建...") cmd = [ 'pyinstaller', '--onefile', '--windowed', '--name=SystemMonitor', '--clean', '--add-data=ui;ui', 'main.py' ] # 执行构建命令 result = subprocess.run(cmd, capture_output=True, text=True) if result.returncode == 0: print("构建成功!") return True else: print("构建失败!") print("错误信息:") print(result.stderr) return False except Exception as e: print(f"构建过程中发生错误: {e}") return False def post_build_tasks(): """构建后任务""" print("执行构建后任务...") # 检查生成的文件 exe_path = Path('dist/SystemMonitor.exe') if exe_path.exists(): file_size = exe_path.stat().st_size / (1024 * 1024) # MB print(f"✓ 可执行文件已生成: {exe_path}") print(f"✓ 文件大小: {file_size:.1f} MB") # 创建发布目录 release_dir = Path('release') if not release_dir.exists(): release_dir.mkdir() # 复制文件到发布目录 release_exe = release_dir / 'SystemMonitor.exe' shutil.copy2(exe_path, release_exe) # 复制说明文件 if Path('README.md').exists(): shutil.copy2('README.md', release_dir / 'README.md') print(f"✓ 发布文件已复制到: {release_dir}") return True else: print("✗ 未找到生成的可执行文件") return False def main(): """主函数""" print("=" * 50) print("Windows 系统监控工具 - 自动化打包脚本") print("=" * 50) # 检查当前目录 if not os.path.exists('main.py'): print("错误: 请在项目根目录下运行此脚本") return False # 步骤1: 清理构建目录 clean_build_dirs() print() # 步骤2: 检查依赖 if not check_dependencies(): return False print() # 步骤3: 构建可执行文件 if not build_executable(): return False print() # 步骤4: 构建后任务 if not post_build_tasks(): return False print() print("=" * 50) print("打包完成!") print("可执行文件位置: release/SystemMonitor.exe") print("您可以将此文件复制到任何 Windows 电脑上运行") print("=" * 50) return True if __name__ == '__main__': try: success = main() if not success: print("\n打包失败,请检查错误信息") sys.exit(1) except KeyboardInterrupt: print("\n\n用户中断了打包过程") sys.exit(1) except Exception as e: print(f"\n打包过程中发生未预期的错误: {e}") sys.exit(1)
2401_82619496/pythonlab_code
实验8_Win系统监控工具/build.py
Python
mit
4,810
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Windows 系统监控工具 - 命令行演示版本 """ import time import os import sys from system_monitor import SystemMonitor def clear_screen(): """清屏""" os.system('cls' if os.name == 'nt' else 'clear') def format_bytes(bytes_value): """格式化字节数""" for unit in ['B', 'KB', 'MB', 'GB', 'TB']: if bytes_value < 1024.0: return f"{bytes_value:.2f} {unit}" bytes_value /= 1024.0 return f"{bytes_value:.2f} PB" def display_system_info(monitor): """显示系统信息""" print("=" * 60) print(" Windows 系统监控工具 - 实时数据") print("=" * 60) # CPU 信息 cpu_info = monitor.get_cpu_info() print(f"\n🖥️ CPU 信息:") print(f" 使用率: {cpu_info['usage_percent']:.1f}%") print(f" 核心数: {cpu_info['core_count']} 个") print(f" 频率: {cpu_info['current_freq']:.0f} MHz") # 内存信息 memory_info = monitor.get_memory_info() print(f"\n💾 内存信息:") print(f" 总内存: {memory_info['total']:.2f} GB") print(f" 已使用: {memory_info['used']:.2f} GB ({memory_info['usage_percent']:.1f}%)") print(f" 可用: {memory_info['available']:.2f} GB") # 磁盘信息 disk_info = monitor.get_disk_info() print(f"\n💿 磁盘信息 (C盘):") print(f" 总容量: {disk_info['total']:.2f} GB") print(f" 已使用: {disk_info['used']:.2f} GB ({disk_info['usage_percent']:.1f}%)") print(f" 可用: {disk_info['free']:.2f} GB") # 网络信息 network_info = monitor.get_network_info() print(f"\n🌐 网络信息:") print(f" 发送: {format_bytes(network_info['bytes_sent'])}") print(f" 接收: {format_bytes(network_info['bytes_recv'])}") # 进程信息(显示前5个占用CPU最高的进程) processes = monitor.get_process_list() top_processes = processes[:5] # 已经按CPU使用率排序了 print(f"\n🔄 CPU占用最高的进程 (前5个):") print(f"{'PID':<8} {'名称':<20} {'CPU%':<8} {'内存(MB)':<12}") print("-" * 50) for proc in top_processes: print(f"{proc['pid']:<8} {proc['name'][:18]:<20} {proc['cpu_percent']:<8.1f} {proc['memory_mb']:<12.1f}") def main(): """主函数""" try: monitor = SystemMonitor() print("正在启动系统监控工具...") print("按 Ctrl+C 退出") time.sleep(2) while True: clear_screen() display_system_info(monitor) print(f"\n⏰ 更新时间: {time.strftime('%Y-%m-%d %H:%M:%S')}") print("\n按 Ctrl+C 退出程序...") # 等待3秒后刷新 time.sleep(3) except KeyboardInterrupt: print("\n\n程序已退出,感谢使用!") sys.exit(0) except Exception as e: print(f"程序运行出错: {e}") input("按任意键退出...") sys.exit(1) if __name__ == "__main__": main()
2401_82619496/pythonlab_code
实验8_Win系统监控工具/demo_cli.py
Python
mit
3,074
""" Windows 系统监控工具 主程序入口文件 """ import sys import os # 添加项目根目录到 Python 路径 current_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, current_dir) try: from ui.main_window import main if __name__ == '__main__': main() except ImportError as e: print(f"导入模块失败: {e}") print("请确保已安装所需的依赖包:") print("pip install -r requirements.txt") input("按任意键退出...") except Exception as e: print(f"程序启动失败: {e}") input("按任意键退出...")
2401_82619496/pythonlab_code
实验8_Win系统监控工具/main.py
Python
mit
601
""" 系统监控数据采集层 使用 psutil 库获取系统信息 """ import psutil import time from typing import Dict, List, Tuple class SystemMonitor: """系统监控数据采集类""" def __init__(self): """初始化系统监控器""" self.last_net_io = psutil.net_io_counters() self.last_time = time.time() def get_cpu_info(self) -> Dict[str, float]: """获取 CPU 信息""" try: cpu_percent = psutil.cpu_percent(interval=0.1) cpu_count = psutil.cpu_count() cpu_freq = psutil.cpu_freq() return { 'usage_percent': cpu_percent, 'core_count': cpu_count, 'current_freq': cpu_freq.current if cpu_freq else 0, 'max_freq': cpu_freq.max if cpu_freq else 0 } except Exception as e: print(f"获取 CPU 信息失败: {e}") return { 'usage_percent': 0, 'core_count': 0, 'current_freq': 0, 'max_freq': 0 } def get_memory_info(self) -> Dict[str, float]: """获取内存信息""" try: memory = psutil.virtual_memory() swap = psutil.swap_memory() return { 'total': memory.total / (1024**3), # GB 'available': memory.available / (1024**3), # GB 'used': memory.used / (1024**3), # GB 'usage_percent': memory.percent, 'swap_total': swap.total / (1024**3), # GB 'swap_used': swap.used / (1024**3), # GB 'swap_percent': swap.percent } except Exception as e: print(f"获取内存信息失败: {e}") return { 'total': 0, 'available': 0, 'used': 0, 'usage_percent': 0, 'swap_total': 0, 'swap_used': 0, 'swap_percent': 0 } def get_disk_info(self) -> Dict[str, float]: """获取磁盘信息(主要是 C 盘)""" try: disk_usage = psutil.disk_usage('C:') disk_io = psutil.disk_io_counters() return { 'total': disk_usage.total / (1024**3), # GB 'used': disk_usage.used / (1024**3), # GB 'free': disk_usage.free / (1024**3), # GB 'usage_percent': (disk_usage.used / disk_usage.total) * 100, 'read_bytes': disk_io.read_bytes if disk_io else 0, 'write_bytes': disk_io.write_bytes if disk_io else 0 } except Exception as e: print(f"获取磁盘信息失败: {e}") return { 'total': 0, 'used': 0, 'free': 0, 'usage_percent': 0, 'read_bytes': 0, 'write_bytes': 0 } def get_network_info(self) -> Dict[str, float]: """获取网络信息""" try: current_net_io = psutil.net_io_counters() current_time = time.time() # 计算网络速度(字节/秒) time_delta = current_time - self.last_time if time_delta > 0: bytes_sent_per_sec = (current_net_io.bytes_sent - self.last_net_io.bytes_sent) / time_delta bytes_recv_per_sec = (current_net_io.bytes_recv - self.last_net_io.bytes_recv) / time_delta else: bytes_sent_per_sec = 0 bytes_recv_per_sec = 0 # 更新上次记录 self.last_net_io = current_net_io self.last_time = current_time return { 'bytes_sent': current_net_io.bytes_sent / (1024**2), # MB 'bytes_recv': current_net_io.bytes_recv / (1024**2), # MB 'packets_sent': current_net_io.packets_sent, 'packets_recv': current_net_io.packets_recv, 'send_speed': bytes_sent_per_sec / 1024, # KB/s 'recv_speed': bytes_recv_per_sec / 1024 # KB/s } except Exception as e: print(f"获取网络信息失败: {e}") return { 'bytes_sent': 0, 'bytes_recv': 0, 'packets_sent': 0, 'packets_recv': 0, 'send_speed': 0, 'recv_speed': 0 } def get_process_list(self) -> List[Dict]: """获取进程列表""" try: processes = [] for proc in psutil.process_iter(['pid', 'name', 'cpu_percent', 'memory_percent', 'status']): try: proc_info = proc.info # 获取内存使用量(MB) memory_info = proc.memory_info() memory_mb = memory_info.rss / (1024 * 1024) processes.append({ 'pid': proc_info['pid'], 'name': proc_info['name'], 'cpu_percent': proc_info['cpu_percent'] or 0, 'memory_percent': proc_info['memory_percent'] or 0, 'memory_mb': memory_mb, 'status': proc_info['status'] }) except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess): # 进程可能已经结束或无权限访问 continue # 按 CPU 使用率排序 processes.sort(key=lambda x: x['cpu_percent'], reverse=True) return processes except Exception as e: print(f"获取进程列表失败: {e}") return [] def kill_process(self, pid: int) -> Tuple[bool, str]: """结束指定进程""" try: proc = psutil.Process(pid) proc_name = proc.name() proc.terminate() # 等待进程结束 try: proc.wait(timeout=3) return True, f"进程 {proc_name} (PID: {pid}) 已成功结束" except psutil.TimeoutExpired: # 如果进程没有在3秒内结束,强制杀死 proc.kill() return True, f"进程 {proc_name} (PID: {pid}) 已强制结束" except psutil.NoSuchProcess: return False, f"进程 (PID: {pid}) 不存在" except psutil.AccessDenied: return False, f"没有权限结束进程 (PID: {pid}),请以管理员身份运行" except Exception as e: return False, f"结束进程失败: {str(e)}" def get_all_system_info(self) -> Dict: """获取所有系统信息""" return { 'cpu': self.get_cpu_info(), 'memory': self.get_memory_info(), 'disk': self.get_disk_info(), 'network': self.get_network_info(), 'processes': self.get_process_list() } # 测试代码 if __name__ == "__main__": monitor = SystemMonitor() print("=== 系统信息测试 ===") info = monitor.get_all_system_info() print(f"CPU 使用率: {info['cpu']['usage_percent']:.1f}%") print(f"内存使用率: {info['memory']['usage_percent']:.1f}%") print(f"磁盘使用率: {info['disk']['usage_percent']:.1f}%") print(f"网络上传速度: {info['network']['send_speed']:.1f} KB/s") print(f"网络下载速度: {info['network']['recv_speed']:.1f} KB/s") print(f"进程数量: {len(info['processes'])}") # 显示前5个占用CPU最高的进程 print("\n=== CPU 占用最高的前5个进程 ===") for i, proc in enumerate(info['processes'][:5]): print(f"{i+1}. {proc['name']} (PID: {proc['pid']}) - CPU: {proc['cpu_percent']:.1f}%")
2401_82619496/pythonlab_code
实验8_Win系统监控工具/system_monitor.py
Python
mit
7,841
# UI 模块包
2401_82619496/pythonlab_code
实验8_Win系统监控工具/ui/__init__.py
Python
mit
14
""" 主窗口 集成系统概览和进程监控页面,实现页面切换和定时刷新 """ from PyQt5.QtWidgets import (QMainWindow, QTabWidget, QVBoxLayout, QWidget, QStatusBar, QMenuBar, QAction, QMessageBox, QApplication) from PyQt5.QtCore import QTimer, Qt, QThread, pyqtSignal from PyQt5.QtGui import QIcon, QFont import sys import os # 导入自定义模块 from system_monitor import SystemMonitor from ui.system_tab import SystemTab from ui.process_tab import ProcessTab class DataUpdateThread(QThread): """数据更新线程""" data_updated = pyqtSignal(dict) def __init__(self, monitor): super().__init__() self.monitor = monitor self.running = True def run(self): """线程运行方法""" while self.running: try: # 获取系统信息 system_info = self.monitor.get_all_system_info() self.data_updated.emit(system_info) # 等待1秒 self.msleep(1000) except Exception as e: print(f"数据更新线程错误: {e}") self.msleep(1000) def stop(self): """停止线程""" self.running = False self.wait() class MainWindow(QMainWindow): """主窗口类""" def __init__(self): super().__init__() self.monitor = SystemMonitor() self.data_thread = None self.init_ui() self.start_data_update() def init_ui(self): """初始化界面""" self.setWindowTitle("Windows 系统监控工具 v1.0") self.setGeometry(100, 100, 900, 700) self.setMinimumSize(800, 600) # 设置窗口图标(如果有的话) # self.setWindowIcon(QIcon('icon.ico')) # 创建中央部件 central_widget = QWidget() self.setCentralWidget(central_widget) # 创建主布局 layout = QVBoxLayout() central_widget.setLayout(layout) # 创建标签页控件 self.tab_widget = QTabWidget() self.tab_widget.setFont(QFont("Microsoft YaHei", 10)) # 创建系统概览页面 self.system_tab = SystemTab() self.tab_widget.addTab(self.system_tab, "系统概览") # 创建进程监控页面 self.process_tab = ProcessTab() self.tab_widget.addTab(self.process_tab, "进程监控") # 连接进程结束信号 self.process_tab.kill_process_signal.connect(self.kill_process) layout.addWidget(self.tab_widget) # 创建菜单栏 self.create_menu_bar() # 创建状态栏 self.create_status_bar() # 设置样式 self.setStyleSheet(""" QMainWindow { background-color: #f5f5f5; } QTabWidget::pane { border: 1px solid #c0c0c0; background-color: white; } QTabWidget::tab-bar { alignment: left; } QTabBar::tab { background-color: #e0e0e0; border: 1px solid #c0c0c0; padding: 8px 16px; margin-right: 2px; } QTabBar::tab:selected { background-color: white; border-bottom-color: white; } QTabBar::tab:hover { background-color: #f0f0f0; } """) def create_menu_bar(self): """创建菜单栏""" menubar = self.menuBar() menubar.setFont(QFont("Microsoft YaHei", 9)) # 文件菜单 file_menu = menubar.addMenu('文件') # 刷新动作 refresh_action = QAction('刷新数据', self) refresh_action.setShortcut('F5') refresh_action.triggered.connect(self.refresh_data) file_menu.addAction(refresh_action) file_menu.addSeparator() # 退出动作 exit_action = QAction('退出', self) exit_action.setShortcut('Ctrl+Q') exit_action.triggered.connect(self.close) file_menu.addAction(exit_action) # 帮助菜单 help_menu = menubar.addMenu('帮助') # 关于动作 about_action = QAction('关于', self) about_action.triggered.connect(self.show_about) help_menu.addAction(about_action) def create_status_bar(self): """创建状态栏""" self.status_bar = QStatusBar() self.status_bar.setFont(QFont("Microsoft YaHei", 9)) self.setStatusBar(self.status_bar) self.status_bar.showMessage("系统监控工具已启动,正在获取数据...") def start_data_update(self): """开始数据更新""" try: # 创建并启动数据更新线程 self.data_thread = DataUpdateThread(self.monitor) self.data_thread.data_updated.connect(self.update_all_data) self.data_thread.start() self.status_bar.showMessage("数据更新已启动,每秒自动刷新") except Exception as e: self.status_bar.showMessage(f"启动数据更新失败: {e}") print(f"启动数据更新失败: {e}") def update_all_data(self, system_info: dict): """更新所有页面的数据""" try: # 更新系统概览页面 self.system_tab.update_data(system_info) # 更新进程监控页面 self.process_tab.update_data(system_info) # 更新状态栏 process_count = len(system_info.get('processes', [])) cpu_usage = system_info.get('cpu', {}).get('usage_percent', 0) memory_usage = system_info.get('memory', {}).get('usage_percent', 0) status_text = (f"进程数: {process_count} | " f"CPU: {cpu_usage:.1f}% | " f"内存: {memory_usage:.1f}% | " f"状态: 正常运行") self.status_bar.showMessage(status_text) except Exception as e: print(f"更新数据失败: {e}") self.status_bar.showMessage(f"数据更新失败: {e}") def refresh_data(self): """手动刷新数据""" try: self.status_bar.showMessage("正在刷新数据...") # 数据会通过线程自动更新,这里只是更新状态提示 QTimer.singleShot(500, lambda: self.status_bar.showMessage("数据已刷新")) except Exception as e: self.status_bar.showMessage(f"刷新数据失败: {e}") def kill_process(self, pid: int): """结束进程""" try: success, message = self.monitor.kill_process(pid) self.process_tab.show_kill_result(success, message) if success: # 进程结束成功,立即刷新数据 self.refresh_data() except Exception as e: error_msg = f"结束进程时发生错误: {str(e)}" self.process_tab.show_kill_result(False, error_msg) def show_about(self): """显示关于对话框""" about_text = """ <h3>Windows 系统监控工具 v1.0</h3> <p>一个基于 Python 开发的轻量级系统监控工具</p> <p><b>主要功能:</b></p> <ul> <li>实时监控 CPU、内存、磁盘、网络状态</li> <li>进程管理和监控</li> <li>支持进程搜索和结束操作</li> <li>简洁直观的用户界面</li> </ul> <p><b>技术栈:</b></p> <ul> <li>Python 3.x</li> <li>PyQt5 - 图形界面框架</li> <li>psutil - 系统信息获取</li> <li>PyInstaller - 程序打包</li> </ul> <p><b>注意事项:</b></p> <p>结束系统关键进程可能导致系统不稳定,请谨慎操作。<br> 建议以管理员权限运行以获得完整功能。</p> <p style="text-align: center; margin-top: 20px;"> <i>© 2024 系统监控工具</i> </p> """ QMessageBox.about(self, "关于", about_text) def closeEvent(self, event): """窗口关闭事件""" try: # 停止数据更新线程 if self.data_thread and self.data_thread.isRunning(): self.data_thread.stop() # 确认退出 reply = QMessageBox.question( self, '确认退出', '确定要退出系统监控工具吗?', QMessageBox.Yes | QMessageBox.No, QMessageBox.No ) if reply == QMessageBox.Yes: event.accept() else: event.ignore() except Exception as e: print(f"关闭窗口时发生错误: {e}") event.accept() def main(): """主函数""" app = QApplication(sys.argv) # 设置应用程序信息 app.setApplicationName("Windows 系统监控工具") app.setApplicationVersion("1.0") app.setOrganizationName("SystemMonitor") # 设置应用程序样式 app.setStyle('Fusion') # 创建主窗口 window = MainWindow() window.show() # 运行应用程序 sys.exit(app.exec_()) if __name__ == '__main__': main()
2401_82619496/pythonlab_code
实验8_Win系统监控工具/ui/main_window.py
Python
mit
9,838
""" 进程监控页面 表格显示进程信息,支持搜索过滤和结束进程操作 """ from PyQt5.QtWidgets import (QWidget, QVBoxLayout, QHBoxLayout, QTableWidget, QTableWidgetItem, QLineEdit, QPushButton, QLabel, QMessageBox, QHeaderView, QAbstractItemView) from PyQt5.QtCore import Qt, pyqtSignal from PyQt5.QtGui import QFont class ProcessTab(QWidget): """进程监控页面""" # 定义信号 kill_process_signal = pyqtSignal(int) # 结束进程信号 def __init__(self): super().__init__() self.processes_data = [] # 存储进程数据 self.init_ui() def init_ui(self): """初始化界面""" layout = QVBoxLayout() layout.setSpacing(10) layout.setContentsMargins(20, 20, 20, 20) # 创建搜索栏 search_layout = self.create_search_bar() layout.addLayout(search_layout) # 创建进程表格 self.create_process_table() layout.addWidget(self.process_table) # 创建操作按钮栏 button_layout = self.create_button_bar() layout.addLayout(button_layout) # 创建状态栏 status_layout = self.create_status_bar() layout.addLayout(status_layout) self.setLayout(layout) def create_search_bar(self) -> QHBoxLayout: """创建搜索栏""" layout = QHBoxLayout() # 搜索标签 search_label = QLabel("搜索进程:") search_label.setFont(QFont("Microsoft YaHei", 10)) layout.addWidget(search_label) # 搜索输入框 self.search_input = QLineEdit() self.search_input.setPlaceholderText("输入进程名称或PID进行搜索...") self.search_input.setFont(QFont("Microsoft YaHei", 10)) self.search_input.textChanged.connect(self.filter_processes) layout.addWidget(self.search_input) # 清空搜索按钮 clear_button = QPushButton("清空") clear_button.setFont(QFont("Microsoft YaHei", 9)) clear_button.clicked.connect(self.clear_search) layout.addWidget(clear_button) return layout def create_process_table(self): """创建进程表格""" self.process_table = QTableWidget() # 设置表格列 columns = ["PID", "进程名称", "CPU使用率(%)", "内存使用率(%)", "内存(MB)", "状态"] self.process_table.setColumnCount(len(columns)) self.process_table.setHorizontalHeaderLabels(columns) # 设置表格属性 self.process_table.setAlternatingRowColors(True) self.process_table.setSelectionBehavior(QAbstractItemView.SelectRows) self.process_table.setSelectionMode(QAbstractItemView.SingleSelection) self.process_table.setSortingEnabled(True) # 设置表格样式 self.process_table.setStyleSheet(""" QTableWidget { gridline-color: #d0d0d0; background-color: white; alternate-background-color: #f5f5f5; } QTableWidget::item { padding: 5px; } QTableWidget::item:selected { background-color: #3daee9; color: white; } QHeaderView::section { background-color: #e0e0e0; padding: 8px; border: 1px solid #d0d0d0; font-weight: bold; } """) # 设置列宽 header = self.process_table.horizontalHeader() header.setSectionResizeMode(0, QHeaderView.Fixed) # PID header.setSectionResizeMode(1, QHeaderView.Stretch) # 进程名称 header.setSectionResizeMode(2, QHeaderView.Fixed) # CPU使用率 header.setSectionResizeMode(3, QHeaderView.Fixed) # 内存使用率 header.setSectionResizeMode(4, QHeaderView.Fixed) # 内存MB header.setSectionResizeMode(5, QHeaderView.Fixed) # 状态 self.process_table.setColumnWidth(0, 80) # PID self.process_table.setColumnWidth(2, 100) # CPU使用率 self.process_table.setColumnWidth(3, 100) # 内存使用率 self.process_table.setColumnWidth(4, 100) # 内存MB self.process_table.setColumnWidth(5, 80) # 状态 # 设置字体 self.process_table.setFont(QFont("Microsoft YaHei", 9)) def create_button_bar(self) -> QHBoxLayout: """创建操作按钮栏""" layout = QHBoxLayout() # 刷新按钮 refresh_button = QPushButton("刷新进程列表") refresh_button.setFont(QFont("Microsoft YaHei", 10)) refresh_button.clicked.connect(self.refresh_processes) layout.addWidget(refresh_button) layout.addStretch() # 结束进程按钮 self.kill_button = QPushButton("结束选中进程") self.kill_button.setFont(QFont("Microsoft YaHei", 10)) self.kill_button.setStyleSheet(""" QPushButton { background-color: #f44336; color: white; border: none; padding: 8px 16px; border-radius: 4px; } QPushButton:hover { background-color: #d32f2f; } QPushButton:pressed { background-color: #b71c1c; } QPushButton:disabled { background-color: #cccccc; color: #666666; } """) self.kill_button.clicked.connect(self.kill_selected_process) self.kill_button.setEnabled(False) layout.addWidget(self.kill_button) # 连接选择变化信号 self.process_table.itemSelectionChanged.connect(self.on_selection_changed) return layout def create_status_bar(self) -> QHBoxLayout: """创建状态栏""" layout = QHBoxLayout() self.status_label = QLabel("进程数量: 0") self.status_label.setFont(QFont("Microsoft YaHei", 9)) layout.addWidget(self.status_label) layout.addStretch() self.update_time_label = QLabel("最后更新: --") self.update_time_label.setFont(QFont("Microsoft YaHei", 9)) layout.addWidget(self.update_time_label) return layout def update_data(self, system_info: dict): """更新进程数据""" try: import time # 获取进程列表 processes = system_info.get('processes', []) self.processes_data = processes # 更新表格 self.populate_table(processes) # 更新状态栏 self.status_label.setText(f"进程数量: {len(processes)}") current_time = time.strftime("%H:%M:%S") self.update_time_label.setText(f"最后更新: {current_time}") except Exception as e: print(f"更新进程数据失败: {e}") def populate_table(self, processes: list): """填充表格数据""" try: # 获取当前搜索文本 search_text = self.search_input.text().lower() # 过滤进程 if search_text: filtered_processes = [] for proc in processes: if (search_text in proc['name'].lower() or search_text in str(proc['pid'])): filtered_processes.append(proc) processes = filtered_processes # 设置表格行数 self.process_table.setRowCount(len(processes)) # 填充数据 for row, proc in enumerate(processes): # PID pid_item = QTableWidgetItem(str(proc['pid'])) pid_item.setTextAlignment(Qt.AlignCenter) self.process_table.setItem(row, 0, pid_item) # 进程名称 name_item = QTableWidgetItem(proc['name']) self.process_table.setItem(row, 1, name_item) # CPU使用率 cpu_item = QTableWidgetItem(f"{proc['cpu_percent']:.1f}") cpu_item.setTextAlignment(Qt.AlignCenter) self.process_table.setItem(row, 2, cpu_item) # 内存使用率 memory_percent_item = QTableWidgetItem(f"{proc['memory_percent']:.1f}") memory_percent_item.setTextAlignment(Qt.AlignCenter) self.process_table.setItem(row, 3, memory_percent_item) # 内存MB memory_mb_item = QTableWidgetItem(f"{proc['memory_mb']:.1f}") memory_mb_item.setTextAlignment(Qt.AlignCenter) self.process_table.setItem(row, 4, memory_mb_item) # 状态 status_item = QTableWidgetItem(proc['status']) status_item.setTextAlignment(Qt.AlignCenter) self.process_table.setItem(row, 5, status_item) except Exception as e: print(f"填充表格数据失败: {e}") def filter_processes(self): """过滤进程""" if hasattr(self, 'processes_data'): self.populate_table(self.processes_data) def clear_search(self): """清空搜索""" self.search_input.clear() def refresh_processes(self): """刷新进程列表""" # 这个方法会被主窗口调用来触发数据更新 pass def on_selection_changed(self): """选择变化时的处理""" selected_items = self.process_table.selectedItems() self.kill_button.setEnabled(len(selected_items) > 0) def kill_selected_process(self): """结束选中的进程""" try: current_row = self.process_table.currentRow() if current_row < 0: QMessageBox.warning(self, "警告", "请先选择要结束的进程!") return # 获取选中进程的PID和名称 pid_item = self.process_table.item(current_row, 0) name_item = self.process_table.item(current_row, 1) if not pid_item or not name_item: QMessageBox.warning(self, "错误", "无法获取进程信息!") return pid = int(pid_item.text()) name = name_item.text() # 确认对话框 reply = QMessageBox.question( self, "确认结束进程", f"确定要结束进程 \"{name}\" (PID: {pid}) 吗?\\n\\n" "注意:结束系统关键进程可能导致系统不稳定!", QMessageBox.Yes | QMessageBox.No, QMessageBox.No ) if reply == QMessageBox.Yes: # 发送结束进程信号 self.kill_process_signal.emit(pid) except Exception as e: QMessageBox.critical(self, "错误", f"结束进程时发生错误:{str(e)}") def show_kill_result(self, success: bool, message: str): """显示结束进程的结果""" if success: QMessageBox.information(self, "成功", message) else: QMessageBox.warning(self, "失败", message)
2401_82619496/pythonlab_code
实验8_Win系统监控工具/ui/process_tab.py
Python
mit
11,793
""" 系统概览页面 实时显示系统指标(CPU、内存、磁盘、网络) """ from PyQt5.QtWidgets import (QWidget, QVBoxLayout, QHBoxLayout, QGridLayout, QLabel, QProgressBar, QFrame, QGroupBox) from PyQt5.QtCore import Qt from PyQt5.QtGui import QFont class SystemTab(QWidget): """系统概览页面""" def __init__(self): super().__init__() self.init_ui() def init_ui(self): """初始化界面""" layout = QVBoxLayout() layout.setSpacing(20) layout.setContentsMargins(20, 20, 20, 20) # 创建各个信息组 cpu_group = self.create_cpu_group() memory_group = self.create_memory_group() disk_group = self.create_disk_group() network_group = self.create_network_group() # 添加到主布局 layout.addWidget(cpu_group) layout.addWidget(memory_group) layout.addWidget(disk_group) layout.addWidget(network_group) layout.addStretch() self.setLayout(layout) def create_cpu_group(self) -> QGroupBox: """创建 CPU 信息组""" group = QGroupBox("CPU 信息") group.setFont(QFont("Microsoft YaHei", 10, QFont.Bold)) layout = QGridLayout() layout.setSpacing(10) # CPU 使用率 layout.addWidget(QLabel("使用率:"), 0, 0) self.cpu_usage_label = QLabel("0%") self.cpu_usage_label.setFont(QFont("Microsoft YaHei", 12, QFont.Bold)) self.cpu_usage_label.setStyleSheet("color: #2196F3;") layout.addWidget(self.cpu_usage_label, 0, 1) self.cpu_progress = QProgressBar() self.cpu_progress.setRange(0, 100) self.cpu_progress.setStyleSheet(""" QProgressBar { border: 2px solid grey; border-radius: 5px; text-align: center; } QProgressBar::chunk { background-color: #2196F3; border-radius: 3px; } """) layout.addWidget(self.cpu_progress, 0, 2, 1, 2) # CPU 核心数 layout.addWidget(QLabel("核心数:"), 1, 0) self.cpu_cores_label = QLabel("0") layout.addWidget(self.cpu_cores_label, 1, 1) # CPU 频率 layout.addWidget(QLabel("频率:"), 1, 2) self.cpu_freq_label = QLabel("0 MHz") layout.addWidget(self.cpu_freq_label, 1, 3) group.setLayout(layout) return group def create_memory_group(self) -> QGroupBox: """创建内存信息组""" group = QGroupBox("内存信息") group.setFont(QFont("Microsoft YaHei", 10, QFont.Bold)) layout = QGridLayout() layout.setSpacing(10) # 内存使用率 layout.addWidget(QLabel("使用率:"), 0, 0) self.memory_usage_label = QLabel("0%") self.memory_usage_label.setFont(QFont("Microsoft YaHei", 12, QFont.Bold)) self.memory_usage_label.setStyleSheet("color: #4CAF50;") layout.addWidget(self.memory_usage_label, 0, 1) self.memory_progress = QProgressBar() self.memory_progress.setRange(0, 100) self.memory_progress.setStyleSheet(""" QProgressBar { border: 2px solid grey; border-radius: 5px; text-align: center; } QProgressBar::chunk { background-color: #4CAF50; border-radius: 3px; } """) layout.addWidget(self.memory_progress, 0, 2, 1, 2) # 内存详情 layout.addWidget(QLabel("已用:"), 1, 0) self.memory_used_label = QLabel("0 GB") layout.addWidget(self.memory_used_label, 1, 1) layout.addWidget(QLabel("总计:"), 1, 2) self.memory_total_label = QLabel("0 GB") layout.addWidget(self.memory_total_label, 1, 3) # 虚拟内存 layout.addWidget(QLabel("虚拟内存:"), 2, 0) self.swap_usage_label = QLabel("0%") layout.addWidget(self.swap_usage_label, 2, 1) layout.addWidget(QLabel("虚拟已用:"), 2, 2) self.swap_used_label = QLabel("0 GB") layout.addWidget(self.swap_used_label, 2, 3) group.setLayout(layout) return group def create_disk_group(self) -> QGroupBox: """创建磁盘信息组""" group = QGroupBox("磁盘信息 (C盘)") group.setFont(QFont("Microsoft YaHei", 10, QFont.Bold)) layout = QGridLayout() layout.setSpacing(10) # 磁盘使用率 layout.addWidget(QLabel("使用率:"), 0, 0) self.disk_usage_label = QLabel("0%") self.disk_usage_label.setFont(QFont("Microsoft YaHei", 12, QFont.Bold)) self.disk_usage_label.setStyleSheet("color: #FF9800;") layout.addWidget(self.disk_usage_label, 0, 1) self.disk_progress = QProgressBar() self.disk_progress.setRange(0, 100) self.disk_progress.setStyleSheet(""" QProgressBar { border: 2px solid grey; border-radius: 5px; text-align: center; } QProgressBar::chunk { background-color: #FF9800; border-radius: 3px; } """) layout.addWidget(self.disk_progress, 0, 2, 1, 2) # 磁盘详情 layout.addWidget(QLabel("已用:"), 1, 0) self.disk_used_label = QLabel("0 GB") layout.addWidget(self.disk_used_label, 1, 1) layout.addWidget(QLabel("可用:"), 1, 2) self.disk_free_label = QLabel("0 GB") layout.addWidget(self.disk_free_label, 1, 3) layout.addWidget(QLabel("总计:"), 2, 0) self.disk_total_label = QLabel("0 GB") layout.addWidget(self.disk_total_label, 2, 1, 1, 3) group.setLayout(layout) return group def create_network_group(self) -> QGroupBox: """创建网络信息组""" group = QGroupBox("网络信息") group.setFont(QFont("Microsoft YaHei", 10, QFont.Bold)) layout = QGridLayout() layout.setSpacing(10) # 网络速度 layout.addWidget(QLabel("上传速度:"), 0, 0) self.net_upload_label = QLabel("0 KB/s") self.net_upload_label.setFont(QFont("Microsoft YaHei", 11, QFont.Bold)) self.net_upload_label.setStyleSheet("color: #E91E63;") layout.addWidget(self.net_upload_label, 0, 1) layout.addWidget(QLabel("下载速度:"), 0, 2) self.net_download_label = QLabel("0 KB/s") self.net_download_label.setFont(QFont("Microsoft YaHei", 11, QFont.Bold)) self.net_download_label.setStyleSheet("color: #9C27B0;") layout.addWidget(self.net_download_label, 0, 3) # 累计流量 layout.addWidget(QLabel("总上传:"), 1, 0) self.net_sent_label = QLabel("0 MB") layout.addWidget(self.net_sent_label, 1, 1) layout.addWidget(QLabel("总下载:"), 1, 2) self.net_recv_label = QLabel("0 MB") layout.addWidget(self.net_recv_label, 1, 3) # 数据包统计 layout.addWidget(QLabel("发送包:"), 2, 0) self.net_packets_sent_label = QLabel("0") layout.addWidget(self.net_packets_sent_label, 2, 1) layout.addWidget(QLabel("接收包:"), 2, 2) self.net_packets_recv_label = QLabel("0") layout.addWidget(self.net_packets_recv_label, 2, 3) group.setLayout(layout) return group def update_data(self, system_info: dict): """更新显示数据""" try: # 更新 CPU 信息 cpu_info = system_info.get('cpu', {}) cpu_usage = cpu_info.get('usage_percent', 0) self.cpu_usage_label.setText(f"{cpu_usage:.1f}%") self.cpu_progress.setValue(int(cpu_usage)) self.cpu_cores_label.setText(str(cpu_info.get('core_count', 0))) self.cpu_freq_label.setText(f"{cpu_info.get('current_freq', 0):.0f} MHz") # 更新内存信息 memory_info = system_info.get('memory', {}) memory_usage = memory_info.get('usage_percent', 0) self.memory_usage_label.setText(f"{memory_usage:.1f}%") self.memory_progress.setValue(int(memory_usage)) self.memory_used_label.setText(f"{memory_info.get('used', 0):.1f} GB") self.memory_total_label.setText(f"{memory_info.get('total', 0):.1f} GB") self.swap_usage_label.setText(f"{memory_info.get('swap_percent', 0):.1f}%") self.swap_used_label.setText(f"{memory_info.get('swap_used', 0):.1f} GB") # 更新磁盘信息 disk_info = system_info.get('disk', {}) disk_usage = disk_info.get('usage_percent', 0) self.disk_usage_label.setText(f"{disk_usage:.1f}%") self.disk_progress.setValue(int(disk_usage)) self.disk_used_label.setText(f"{disk_info.get('used', 0):.1f} GB") self.disk_free_label.setText(f"{disk_info.get('free', 0):.1f} GB") self.disk_total_label.setText(f"{disk_info.get('total', 0):.1f} GB") # 更新网络信息 network_info = system_info.get('network', {}) self.net_upload_label.setText(f"{network_info.get('send_speed', 0):.1f} KB/s") self.net_download_label.setText(f"{network_info.get('recv_speed', 0):.1f} KB/s") self.net_sent_label.setText(f"{network_info.get('bytes_sent', 0):.1f} MB") self.net_recv_label.setText(f"{network_info.get('bytes_recv', 0):.1f} MB") self.net_packets_sent_label.setText(f"{network_info.get('packets_sent', 0):,}") self.net_packets_recv_label.setText(f"{network_info.get('packets_recv', 0):,}") except Exception as e: print(f"更新系统概览数据失败: {e}")
2401_82619496/pythonlab_code
实验8_Win系统监控工具/ui/system_tab.py
Python
mit
10,216
#!/bin/bash # # Linux系统健康监控与邮件告警脚本 # 功能:监控系统关键性能指标,超过阈值时通过QQ邮箱发送告警邮件 # 适用系统:CentOS/Red Hat # # 颜色定义 RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[0;33m' BLUE='\033[0;34m' NC='\033[0m' # 恢复默认颜色 # 日志文件 LOG_FILE="/var/log/system_monitor.log" TEMP_FILE="/tmp/health_report.txt" # 邮件配置 EMAIL_TO="" # 告警邮件接收者 EMAIL_FROM="" # 发件人邮箱 EMAIL_PASS="" # SMTP服务器地址 SMTP_SERVER="smtp.qq.com" SMTP_PORT="587" # 阈值设置(可根据实际情况调整) CPU_THRESHOLD=80 # CPU使用率阈值(百分比) MEM_THRESHOLD=80 # 内存使用率阈值(百分比) DISK_THRESHOLD=80 # 磁盘使用率阈值(百分比) LOAD_THRESHOLD=$(nproc) # 系统负载阈值(默认为CPU核心数) # 检查依赖工具是否安装 check_dependencies() { echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 检查依赖工具...${NC}" # 检查必要的命令是否存在 for cmd in mailx bc awk grep sed; do if ! command -v $cmd &> /dev/null; then echo -e "${YELLOW}[$(date '+%Y-%m-%d %H:%M:%S')] 未找到 $cmd 命令,尝试安装...${NC}" # 安装缺失的依赖 if [[ -f /etc/redhat-release ]]; then # CentOS/RHEL系统 if [[ $cmd == "mailx" ]]; then yum install -y mailx else yum install -y $cmd fi elif [[ -f /etc/debian_version ]]; then # Debian/Ubuntu系统 if [[ $cmd == "mailx" ]]; then apt-get update && apt-get install -y mailutils else apt-get update && apt-get install -y $cmd fi else echo -e "${RED}[$(date '+%Y-%m-%d %H:%M:%S')] 不支持的Linux发行版,请手动安装 $cmd${NC}" exit 1 fi # 检查安装是否成功 if ! command -v $cmd &> /dev/null; then echo -e "${RED}[$(date '+%Y-%m-%d %H:%M:%S')] 安装 $cmd 失败,请手动安装后再运行脚本${NC}" exit 1 fi fi done echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 所有依赖已满足${NC}" } # 配置邮件发送 configure_mail() { echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 配置邮件发送...${NC}" # 检查mailx配置文件是否存在 if [[ ! -f /etc/mail.rc ]]; then echo -e "${YELLOW}[$(date '+%Y-%m-%d %H:%M:%S')] 未找到mailx配置文件,创建新配置...${NC}" touch /etc/mail.rc fi # 配置mailx cat > /etc/mail.rc << EOF set smtp-use-starttls set ssl-verify=ignore set nss-config-dir=/etc/pki/nssdb set smtp-auth-password=${EMAIL_PASS} set smtp-auth-user=${EMAIL_FROM} set smtp-auth=login set smtp=smtp://${SMTP_SERVER}:${SMTP_PORT} set from=${EMAIL_FROM} set ssl-verify=ignore set nss-config-dir=/etc/pki/nssdb # 完全禁用SSL证书验证 set ssl-verify=ignore EOF # 创建证书目录(如果不存在) if [ ! -d /etc/pki/nssdb ]; then mkdir -p /etc/pki/nssdb chmod 755 /etc/pki/nssdb fi echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 邮件配置完成${NC}" } # 获取CPU使用率 get_cpu_usage() { # 方法1:获取总体CPU使用率 CPU_IDLE=$(top -bn1 | grep "%Cpu" | awk '{print $8}') # 确保获取到的是有效数字 if [[ -n "$CPU_IDLE" && "$CPU_IDLE" =~ ^[0-9]+(\.[0-9]+)?$ ]]; then # 计算总体CPU使用率 = 100 - 空闲率 TOTAL_CPU_USAGE=$(echo "100 - $CPU_IDLE" | bc) TOTAL_CPU_USAGE=${TOTAL_CPU_USAGE%.*} # 确保CPU使用率不为负数 if [[ "$TOTAL_CPU_USAGE" -lt 0 ]]; then TOTAL_CPU_USAGE=0 fi else TOTAL_CPU_USAGE=0 fi # 方法2:获取单个进程的最高CPU使用率 MAX_PROCESS_CPU=$(top -bn1 | grep -v "%Cpu" | awk 'NR>7 {print $9}' | head -1) # 确保获取到的是有效数字 if [[ -n "$MAX_PROCESS_CPU" && "$MAX_PROCESS_CPU" =~ ^[0-9]+(\.[0-9]+)?$ ]]; then MAX_PROCESS_CPU=${MAX_PROCESS_CPU%.*} else MAX_PROCESS_CPU=0 fi # 取两者中的较大值作为最终的CPU使用率 if [[ $MAX_PROCESS_CPU -gt $TOTAL_CPU_USAGE ]]; then CPU_USAGE=$MAX_PROCESS_CPU else CPU_USAGE=$TOTAL_CPU_USAGE fi # 添加调试输出 echo "DEBUG: CPU空闲率=$CPU_IDLE%, 总体CPU使用率=$TOTAL_CPU_USAGE%, 最高进程CPU=$MAX_PROCESS_CPU%, 最终CPU使用率=$CPU_USAGE%" >> $LOG_FILE echo $CPU_USAGE } # 获取内存使用率 get_mem_usage() { MEM_USAGE=$(free | grep Mem | awk '{print int($3/$2 * 100)}') echo $MEM_USAGE } # 获取系统负载 get_system_load() { SYSTEM_LOAD=$(uptime | awk -F'[a-z]:' '{print $2}' | awk -F',' '{print $1}' | tr -d ' ') echo $SYSTEM_LOAD } # 获取磁盘使用情况 get_disk_usage() { DISK_USAGE=$(df -h | grep -vE '^Filesystem|tmpfs|cdrom|none' | awk '{ print $5 " " $6 }' | sed 's/%//g') echo "$DISK_USAGE" } # 检查系统进程 check_processes() { echo -e "\n==== 系统进程状态 ====\n" >> $TEMP_FILE echo -e "以下是CPU和内存占用最高的10个进程:\n" >> $TEMP_FILE ps aux --sort=-%cpu,%mem | head -11 >> $TEMP_FILE echo -e "\n" >> $TEMP_FILE } # 检查系统服务 check_services() { echo -e "\n==== 关键系统服务状态 ====\n" >> $TEMP_FILE # 检查常见的重要服务 for service in sshd crond firewalld network; do if systemctl is-active $service &>/dev/null; then echo -e "$service: 运行中" >> $TEMP_FILE else echo -e "$service: 未运行" >> $TEMP_FILE fi done echo -e "\n" >> $TEMP_FILE } # 检查网络连接 check_network() { echo -e "\n==== 网络连接状态 ====\n" >> $TEMP_FILE # 检查是否有netstat命令 if command -v netstat &> /dev/null; then echo -e "活动的网络连接数: $(netstat -an | grep ESTABLISHED | wc -l)" >> $TEMP_FILE echo -e "监听端口:" >> $TEMP_FILE netstat -tuln | grep LISTEN >> $TEMP_FILE # 尝试使用ss命令替代 elif command -v ss &> /dev/null; then echo -e "活动的网络连接数: $(ss -an | grep ESTAB | wc -l)" >> $TEMP_FILE echo -e "监听端口:" >> $TEMP_FILE ss -tuln | grep LISTEN >> $TEMP_FILE else echo -e "无法获取网络连接信息: netstat和ss命令均不可用" >> $TEMP_FILE echo -e "请安装net-tools或iproute2软件包" >> $TEMP_FILE fi echo -e "\n" >> $TEMP_FILE } # 检查最近的登录尝试 check_logins() { echo -e "\n==== 最近的登录尝试 ====\n" >> $TEMP_FILE last | head -10 >> $TEMP_FILE echo -e "\n" >> $TEMP_FILE } # 生成健康报告 generate_health_report() { local alert_level="正常" local alert_color="green" local alert_items="" # 清空临时文件 > $TEMP_FILE # 获取主机信息 HOSTNAME=$(hostname) IP_ADDRESS=$(hostname -I | awk '{print $1}') KERNEL=$(uname -r) UPTIME=$(uptime -p) # 获取各项指标 CPU_USAGE=$(get_cpu_usage) MEM_USAGE=$(get_mem_usage) SYSTEM_LOAD=$(get_system_load) # 报告头部 echo -e "==== Linux系统健康报告 ====\n" >> $TEMP_FILE echo -e "生成时间: $(date '+%Y-%m-%d %H:%M:%S')" >> $TEMP_FILE echo -e "主机名: $HOSTNAME" >> $TEMP_FILE echo -e "IP地址: $IP_ADDRESS" >> $TEMP_FILE echo -e "内核版本: $KERNEL" >> $TEMP_FILE echo -e "运行时间: $UPTIME\n" >> $TEMP_FILE echo -e "当前CPU使用率: ${CPU_USAGE}%" >> $TEMP_FILE echo -e "当前内存使用率: ${MEM_USAGE}%" >> $TEMP_FILE echo -e "当前系统负载: ${SYSTEM_LOAD}\n" >> $TEMP_FILE # CPU使用率 echo -e "\n==== CPU使用率 ====\n" >> $TEMP_FILE echo -e "当前CPU使用率: ${CPU_USAGE}% (阈值: ${CPU_THRESHOLD}%)" >> $TEMP_FILE if [[ $CPU_USAGE -ge $CPU_THRESHOLD ]]; then echo -e "警告: CPU使用率过高!" >> $TEMP_FILE alert_level="警告" alert_color="red" alert_items="${alert_items}CPU使用率(${CPU_USAGE}%)超过阈值(${CPU_THRESHOLD}%)\n" fi # 内存使用率 echo -e "\n==== 内存使用率 ====\n" >> $TEMP_FILE echo -e "当前内存使用率: ${MEM_USAGE}% (阈值: ${MEM_THRESHOLD}%)" >> $TEMP_FILE if [[ $MEM_USAGE -ge $MEM_THRESHOLD ]]; then echo -e "警告: 内存使用率过高!" >> $TEMP_FILE alert_level="警告" alert_color="red" alert_items="${alert_items}内存使用率(${MEM_USAGE}%)超过阈值(${MEM_THRESHOLD}%)\n" fi # 系统负载 echo -e "\n==== 系统负载 ====\n" >> $TEMP_FILE echo -e "当前系统负载: ${SYSTEM_LOAD} (阈值: ${LOAD_THRESHOLD})" >> $TEMP_FILE if (( $(echo "$SYSTEM_LOAD > $LOAD_THRESHOLD" | bc -l) )); then echo -e "警告: 系统负载过高!" >> $TEMP_FILE alert_level="警告" alert_color="red" alert_items="${alert_items}系统负载(${SYSTEM_LOAD})超过阈值(${LOAD_THRESHOLD})\n" fi # 磁盘使用率 echo -e "\n==== 磁盘使用率 ====\n" >> $TEMP_FILE echo -e "分区使用情况:" >> $TEMP_FILE while read -r line; do if [[ ! -z $line ]]; then # 确保数字格式正确 usage=$(echo $line | awk '{print $1}' | tr -d '[:alpha:]') mount=$(echo $line | awk '{print $2}') # 确保usage是数字 if [[ "$usage" =~ ^[0-9]+$ ]]; then echo -e "$mount: ${usage}% (阈值: ${DISK_THRESHOLD}%)" >> $TEMP_FILE if [[ $usage -ge $DISK_THRESHOLD ]]; then echo -e "警告: $mount 分区使用率过高!" >> $TEMP_FILE alert_level="警告" alert_color="red" alert_items="${alert_items}磁盘分区 ${mount} 使用率(${usage}%)超过阈值(${DISK_THRESHOLD}%)\n" fi else echo -e "$mount: 无法获取使用率" >> $TEMP_FILE fi fi done <<< "$(get_disk_usage)" # 添加其他系统信息 check_processes check_services check_network check_logins # 返回告警级别和告警项目 echo "$alert_level|$alert_color|$alert_items" } # 发送邮件告警 send_email_alert() { local subject="$1" local body="$2" echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 发送邮件告警...${NC}" # 使用mailx发送邮件,添加-S参数忽略证书验证错误 if cat $TEMP_FILE | mailx -S smtp-auth=none -s "$subject" $EMAIL_TO 2>/dev/null; then echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 邮件发送成功${NC}" return 0 else # 如果失败,尝试使用echo直接发送简单内容 if echo "系统健康报告,请查看附件" | mailx -S smtp-auth=none -s "$subject" $EMAIL_TO 2>/dev/null; then echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 邮件发送成功(简化内容)${NC}" return 0 else echo -e "${YELLOW}[$(date '+%Y-%m-%d %H:%M:%S')] 邮件发送失败,但脚本继续执行${NC}" # 忽略错误继续执行 return 0 fi fi } # 单次检查系统状态 check_once() { echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 开始系统健康检查...${NC}" | tee -a $LOG_FILE # 生成健康报告并获取告警级别 echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 生成系统健康报告...${NC}" | tee -a $LOG_FILE REPORT_INFO=$(generate_health_report) # 解析报告信息 ALERT_LEVEL=$(echo $REPORT_INFO | cut -d'|' -f1) ALERT_COLOR=$(echo $REPORT_INFO | cut -d'|' -f2) ALERT_ITEMS=$(echo $REPORT_INFO | cut -d'|' -f3) # 根据告警级别设置颜色 if [[ $ALERT_COLOR == "red" ]]; then COLOR=$RED elif [[ $ALERT_COLOR == "yellow" ]]; then COLOR=$YELLOW else COLOR=$GREEN fi # 显示告警级别 echo -e "${COLOR}[$(date '+%Y-%m-%d %H:%M:%S')] 系统状态: $ALERT_LEVEL${NC}" | tee -a $LOG_FILE # 只在系统状态异常时发送告警邮件 if [[ $ALERT_LEVEL != "正常" ]]; then echo -e "${COLOR}告警项目:${NC}" | tee -a $LOG_FILE echo -e $ALERT_ITEMS | tee -a $LOG_FILE # 发送告警邮件 SUBJECT="[系统告警] $HOSTNAME 系统健康检查 - $ALERT_LEVEL" send_email_alert "$SUBJECT" "$TEMP_FILE" # 记录告警到日志 echo -e "${COLOR}[$(date '+%Y-%m-%d %H:%M:%S')] 已发送告警邮件${NC}" | tee -a $LOG_FILE else # 系统正常时不发送邮件,只记录日志 echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 系统运行正常,无需发送邮件${NC}" | tee -a $LOG_FILE fi echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 系统健康检查完成${NC}" | tee -a $LOG_FILE } # 发送启动确认邮件 send_startup_email() { echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 发送启动确认邮件...${NC}" | tee -a $LOG_FILE HOSTNAME=$(hostname) IP_ADDRESS=$(hostname -I | awk '{print $1}') SUBJECT="[系统监控] $HOSTNAME 系统监控服务已启动" cat > $TEMP_FILE << EOF ==== 系统监控服务启动通知 ==== 主机名: $HOSTNAME IP地址: $IP_ADDRESS 启动时间: $(date '+%Y-%m-%d %H:%M:%S') 监控配置: - CPU使用率阈值: ${CPU_THRESHOLD}% - 内存使用率阈值: ${MEM_THRESHOLD}% - 磁盘使用率阈值: ${DISK_THRESHOLD}% - 系统负载阈值: ${LOAD_THRESHOLD} - 检测间隔: 60秒 系统监控服务已成功启动,将每分钟检测一次系统状态。 当系统指标超过设定阈值时,将自动发送告警邮件。 此邮件确认监控服务正常运行。 EOF if cat $TEMP_FILE | mailx -S smtp-auth=none -s "$SUBJECT" $EMAIL_TO 2>/dev/null; then echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 启动确认邮件发送成功${NC}" | tee -a $LOG_FILE else echo -e "${YELLOW}[$(date '+%Y-%m-%d %H:%M:%S')] 启动确认邮件发送失败${NC}" | tee -a $LOG_FILE fi } # 主函数 main() { # 检查依赖 check_dependencies # 配置邮件 configure_mail # 发送启动确认邮件 send_startup_email # 循环检测系统状态,每隔1分钟检测一次 echo -e "${GREEN}[$(date '+%Y-%m-%d %H:%M:%S')] 启动系统监控,每隔1分钟检测一次系统状态${NC}" | tee -a $LOG_FILE while true; do check_once echo -e "${BLUE}[$(date '+%Y-%m-%d %H:%M:%S')] 等待60秒后进行下一次检测...${NC}" | tee -a $LOG_FILE sleep 60 done } # 执行主函数 main exit 0
2401_82619496/pythonlab_code
实验9_shell实现24h监控/system_monitor.sh
Shell
mit
15,139
#!/bin/bash #set -e IMG=redis:7.0-alpine NET=redis-net SUBNET=172.30.0.0/24 # 1. 清旧环境 docker rm -f redis-master redis-slave1 redis-slave2 sentinel1 sentinel2 sentinel3 2>/dev/null docker network rm $NET 2>/dev/null # 2. 创建自定义桥接网络 docker network create --subnet $SUBNET --gateway 172.30.0.1 $NET # 3. 目录 mkdir -p /opt/redis/{master,slave1,slave2,sentinel{1..3}}/data # 4. 主配置 cat >/opt/redis/master/redis.conf <<'EOF' bind 0.0.0.0 port 6379 protected-mode no daemonize no requirepass 123456 masterauth 123456 appendonly yes dir /data EOF # 5. 从配置 for n in slave1 slave2; do cat >/opt/redis/$n/redis.conf <<'EOF' bind 0.0.0.0 port 6379 protected-mode no daemonize no requirepass 123456 masterauth 123456 replicaof 172.30.0.2 6379 appendonly yes dir /data EOF done # 6. 哨兵配置(统一) cat >/opt/redis/sentinel.conf <<'EOF' bind 0.0.0.0 port 26379 protected-mode no daemonize no sentinel monitor mymaster 172.30.0.2 6379 2 sentinel auth-pass mymaster 123456 sentinel down-after-milliseconds mymaster 5000 sentinel parallel-syncs mymaster 1 sentinel failover-timeout mymaster 10000 EOF for i in 1 2 3; do cp /opt/redis/sentinel.conf /opt/redis/sentinel$i/ done # 7. 启动 Redis 主从(按顺序,IP 即 172.30.0.2/3/4) docker run -d --name redis-master --network $NET -p 6379:6379 \ -v /opt/redis/master/redis.conf:/usr/local/etc/redis/redis.conf:ro \ -v /opt/redis/master/data:/data $IMG redis-server /usr/local/etc/redis/redis.conf docker run -d --name redis-slave1 --network $NET -p 6380:6379 \ -v /opt/redis/slave1/redis.conf:/usr/local/etc/redis/redis.conf:ro \ -v /opt/redis/slave1/data:/data $IMG redis-server /usr/local/etc/redis/redis.conf docker run -d --name redis-slave2 --network $NET -p 6381:6379 \ -v /opt/redis/slave2/redis.conf:/usr/local/etc/redis/redis.conf:ro \ -v /opt/redis/slave2/data:/data $IMG redis-server /usr/local/etc/redis/redis.conf # 8. 启动哨兵(同一网络,IP 即 172.30.0.5/6/7) for i in 1 2 3; do docker run -d --name sentinel$i --network $NET -p $((26379+i-1)):26379 \ -v /opt/redis/sentinel$i/sentinel.conf:/usr/local/etc/redis/sentinel.conf \ redis:7.0-alpine redis-sentinel /usr/local/etc/redis/sentinel.conf done # 9. 自检 sleep 5 echo ===== 主从 ===== docker exec redis-master redis-cli -a 123456 info replication | grep -E 'role|connected_slaves' echo ===== 哨兵 ===== for i in 1 2 3; do printf "sentinel$i: " docker exec sentinel$i redis-cli -p 26379 info sentinel | grep -E 'sentinel_masters|slaves|sentinels' | tr '\n' ' ' echo done
2401_82619496/pythonlab_code
脚本实现docker1主2从3哨兵/redis.sh
Shell
mit
2,589
#!/bin/bash # Kubernetes Prometheus & Grafana 一键部署脚本 # 作者:做运维的阿瑞 # 版本:v1.0 set -e # 颜色输出定义 RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m' # No Color # 日志函数 log_info() { echo -e "${BLUE}[INFO]${NC} $1" } log_success() { echo -e "${GREEN}[SUCCESS]${NC} $1" } log_warning() { echo -e "${YELLOW}[WARNING]${NC} $1" } log_error() { echo -e "${RED}[ERROR]${NC} $1" } # 检查命令是否存在 command_exists() { command -v "$1" >/dev/null 2>&1 } # 检查必需工具 check_requirements() { log_info "检查必需工具..." if ! command_exists kubectl; then log_error "kubectl 未安装,请先安装kubectl" exit 1 fi if ! command_exists jq; then log_warning "jq 未安装,建议安装以便更好地解析JSON输出" fi # 检查kubectl是否能连接到集群 if ! kubectl cluster-info >/dev/null 2>&1; then log_error "无法连接到Kubernetes集群,请检查kubectl配置" exit 1 fi log_success "集群连接正常" } # 获取用户输入 get_user_input() { log_info "开始配置部署参数..." echo "==================================" # 选择部署节点 log_info "可用的集群节点:" kubectl get nodes -o wide echo "" read -p "请选择用于部署Prometheus和Grafana的节点名称 (默认: node1): " DEPLOY_NODE DEPLOY_NODE=${DEPLOY_NODE:-node1} # 验证节点是否存在 if ! kubectl get node "$DEPLOY_NODE" >/dev/null 2>&1; then log_error "节点 $DEPLOY_NODE 不存在,请重新运行脚本并选择正确的节点" exit 1 fi # 获取节点IP NODE_IP=$(kubectl get node "$DEPLOY_NODE" -o jsonpath='{.status.addresses[?(@.type=="InternalIP")].address}') log_info "选择的节点IP: $NODE_IP" # 配置存储路径 read -p "请输入Prometheus数据存储路径 (默认: /data/prometheus): " STORAGE_PATH STORAGE_PATH=${STORAGE_PATH:-/data/prometheus} # 配置NodePort端口 read -p "请输入Prometheus NodePort端口 (默认: 30090): " PROMETHEUS_PORT PROMETHEUS_PORT=${PROMETHEUS_PORT:-30090} read -p "请输入Grafana NodePort端口 (默认: 32000): " GRAFANA_PORT GRAFANA_PORT=${GRAFANA_PORT:-32000} # 配置镜像仓库地址 read -p "请输入镜像仓库地址 (默认: docker.io): " REGISTRY_URL REGISTRY_URL=${REGISTRY_URL:-docker.io} # 配置数据保留期 read -p "请输入Prometheus数据保留期 (默认: 30d): " RETENTION_TIME RETENTION_TIME=${RETENTION_TIME:-30d} # 确认配置 echo "" echo "==================================" log_info "部署配置确认:" echo "部署节点: $DEPLOY_NODE" echo "节点IP: $NODE_IP" echo "存储路径: $STORAGE_PATH" echo "Prometheus端口: $PROMETHEUS_PORT" echo "Grafana端口: $GRAFANA_PORT" echo "镜像仓库: $REGISTRY_URL" echo "数据保留期: $RETENTION_TIME" echo "==================================" read -p "确认以上配置正确吗? (y/N): " CONFIRM if [[ "$CONFIRM" != "y" && "$CONFIRM" != "Y" ]]; then log_info "取消部署,请重新运行脚本进行配置" exit 0 fi } # 创建存储目录 create_storage() { log_info "在节点 $DEPLOY_NODE 上创建存储目录..." # 检查是否能SSH到目标节点 if ssh -o ConnectTimeout=5 "$DEPLOY_NODE" "echo 'SSH连接测试'" >/dev/null 2>&1; then ssh "$DEPLOY_NODE" "mkdir -p $STORAGE_PATH && chmod 777 $STORAGE_PATH" log_success "存储目录创建成功" else log_warning "无法通过SSH连接到 $DEPLOY_NODE,请手动在节点上执行:" log_warning "mkdir -p $STORAGE_PATH && chmod 777 $STORAGE_PATH" read -p "按Enter键继续..." fi } # 创建命名空间 create_namespaces() { log_info "创建命名空间..." kubectl create ns prometheus --dry-run=client -o yaml | kubectl apply -f - kubectl create ns grafana --dry-run=client -o yaml | kubectl apply -f - log_success "命名空间创建完成" } # 部署RBAC deploy_rbac() { log_info "部署RBAC权限..." kubectl -n prometheus apply -f - <<EOF apiVersion: v1 kind: ServiceAccount metadata: name: prometheus --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: prometheus roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: prometheus namespace: prometheus EOF log_success "RBAC权限部署完成" } # 部署Node-Exporter deploy_node_exporter() { log_info "部署Node-Exporter..." kubectl -n prometheus apply -f - <<EOF apiVersion: apps/v1 kind: DaemonSet metadata: name: node-exporter namespace: prometheus spec: selector: matchLabels: {app: node-exporter} template: metadata: labels: {app: node-exporter} spec: hostNetwork: true hostPID: true hostIPC: true tolerations: - operator: Exists containers: - name: node-exporter image: $REGISTRY_URL/prom/node-exporter:v1.8.0 args: - --path.procfs=/host/proc - --path.sysfs=/host/sys - --path.rootfs=/host/root - --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)(\$|/) ports: - containerPort: 9100 securityContext: {privileged: true} volumeMounts: - {name: proc, mountPath: /host/proc, readOnly: true} - {name: sys, mountPath: /host/sys, readOnly: true} - {name: root, mountPath: /host/root, readOnly: true} volumes: - name: proc hostPath: {path: /proc} - name: sys hostPath: {path: /sys} - name: root hostPath: {path: /} EOF log_success "Node-Exporter部署完成" } # 部署Prometheus配置 deploy_prometheus_config() { log_info "部署Prometheus配置..." kubectl -n prometheus apply -f - <<EOF apiVersion: v1 kind: ConfigMap metadata: name: prometheus-config namespace: prometheus data: prometheus.yml: | global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: 'node' kubernetes_sd_configs: - role: node relabel_configs: - source_labels: [__address__] regex: '(.*):10250' replacement: '\${1}:9100' target_label: __address__ - action: labelmap regex: __meta_kubernetes_node_label_(.+) - job_name: 'cadvisor' kubernetes_sd_configs: - role: node scheme: https tls_config: {ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt} bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token relabel_configs: - target_label: __address__ replacement: kubernetes.default.svc:443 - source_labels: [__meta_kubernetes_node_name] target_label: __metrics_path__ replacement: /api/v1/nodes/\${1}/proxy/metrics/cadvisor EOF log_success "Prometheus配置部署完成" } # 部署Prometheus deploy_prometheus() { log_info "部署Prometheus服务..." kubectl -n prometheus apply -f - <<EOF apiVersion: apps/v1 kind: Deployment metadata: name: prometheus namespace: prometheus spec: replicas: 1 selector: matchLabels: {app: prometheus} template: metadata: labels: {app: prometheus} spec: nodeName: $DEPLOY_NODE serviceAccountName: prometheus containers: - name: prometheus image: $REGISTRY_URL/prom/prometheus:v2.51.1 args: - --config.file=/etc/prometheus/prometheus.yml - --storage.tsdb.path=/prometheus - --storage.tsdb.retention=$RETENTION_TIME - --web.enable-lifecycle ports: - containerPort: 9090 volumeMounts: - {name: config, mountPath: /etc/prometheus} - {name: data, mountPath: /prometheus} volumes: - name: config configMap: {name: prometheus-config} - name: data hostPath: {path: $STORAGE_PATH, type: Directory} EOF log_success "Prometheus部署完成" } # 部署Prometheus Service deploy_prometheus_service() { log_info "部署Prometheus Service..." kubectl -n prometheus apply -f - <<EOF apiVersion: v1 kind: Service metadata: name: prometheus namespace: prometheus spec: type: NodePort ports: - port: 9090 nodePort: $PROMETHEUS_PORT targetPort: 9090 selector: {app: prometheus} EOF log_success "Prometheus Service部署完成" } # 部署Grafana deploy_grafana() { log_info "部署Grafana..." kubectl -n grafana apply -f - <<EOF apiVersion: v1 kind: ConfigMap metadata: name: grafana-config namespace: grafana data: grafana.ini: | [server] http_port = 3000 domain = $NODE_IP root_url = %(protocol)s://%(domain)s:$GRAFANA_PORT/ --- apiVersion: apps/v1 kind: Deployment metadata: name: grafana namespace: grafana spec: replicas: 1 selector: matchLabels: {app: grafana} template: metadata: labels: {app: grafana} spec: nodeName: $DEPLOY_NODE containers: - name: grafana image: $REGISTRY_URL/grafana/grafana:11.0.0 ports: - containerPort: 3000 volumeMounts: - name: config mountPath: /etc/grafana/grafana.ini subPath: grafana.ini volumes: - name: config configMap: {name: grafana-config} --- apiVersion: v1 kind: Service metadata: name: grafana namespace: grafana spec: type: NodePort ports: - port: 3000 nodePort: $GRAFANA_PORT targetPort: 3000 selector: {app: grafana} EOF log_success "Grafana部署完成" } # 等待Pod就绪 wait_for_pods() { local namespace=$1 local app_label=$2 local timeout=300 log_info "等待 $namespace 命名空间中的 $app_label Pod就绪..." local start_time=$(date +%s) while true; do if kubectl -n $namespace get pods -l app=$app_label | grep -q "Running"; then if kubectl -n $namespace get pods -l app=$app_label | grep -q "1/1"; then log_success "$app_label Pod已就绪" return 0 fi fi local current_time=$(date +%s) local elapsed=$((current_time - start_time)) if [ $elapsed -gt $timeout ]; then log_error "等待超时,请检查Pod状态" kubectl -n $namespace get pods -l app=$app_label return 1 fi echo -n "." sleep 5 done } # 验证部署 verify_deployment() { log_info "验证部署状态..." echo "" log_info "Prometheus Pod状态:" kubectl -n prometheus get pods -o wide echo "" log_info "Grafana Pod状态:" kubectl -n grafana get pods -o wide echo "" log_info "Node-Exporter Pod状态:" kubectl -n prometheus get pods -l app=node-exporter -o wide # 等待Pod就绪 wait_for_pods prometheus prometheus wait_for_pods grafana grafana # 验证服务 log_info "验证服务端口..." # 检查Prometheus if curl -s "http://$NODE_IP:$PROMETHEUS_PORT/api/v1/targets" >/dev/null 2>&1; then log_success "Prometheus服务正常运行" local targets=$(curl -s "http://$NODE_IP:$PROMETHEUS_PORT/api/v1/targets" | jq -r '.status' 2>/dev/null || echo "success") log_info "Prometheus目标状态: $targets" else log_warning "Prometheus服务可能还未完全就绪,请稍后再试" fi # 检查Grafana if curl -s "http://$NODE_IP:$GRAFANA_PORT/api/health" >/dev/null 2>&1; then log_success "Grafana服务正常运行" else log_warning "Grafana服务可能还未完全就绪,请稍后再试" fi } # 输出访问信息 show_access_info() { log_success "部署完成!访问信息如下:" echo "==================================" echo "Prometheus访问地址: http://$NODE_IP:$PROMETHEUS_PORT" echo "Grafana访问地址: http://$NODE_IP:$GRAFANA_PORT" echo "" echo "Grafana默认账号: admin/admin" echo "首次登录需要修改密码" echo "" echo "Prometheus目标检查: http://$NODE_IP:$PROMETHEUS_PORT/targets" echo "==================================" } # 保存配置信息 save_config() { local config_file="monitoring_deploy_config.txt" cat > "$config_file" <<EOF # Kubernetes监控部署配置 # 生成时间: $(date) DEPLOY_NODE=$DEPLOY_NODE NODE_IP=$NODE_IP STORAGE_PATH=$STORAGE_PATH PROMETHEUS_PORT=$PROMETHEUS_PORT GRAFANA_PORT=$GRAFANA_PORT REGISTRY_URL=$REGISTRY_URL RETENTION_TIME=$RETENTION_TIME # 访问地址 PROMETHEUS_URL=http://$NODE_IP:$PROMETHEUS_PORT GRAFANA_URL=http://$NODE_IP:$GRAFANA_PORT EOF log_info "配置信息已保存到: $config_file" } # 清理函数 cleanup() { log_info "开始清理监控组件..." kubectl delete ns prometheus --ignore-not-found=true kubectl delete ns grafana --ignore-not-found=true kubectl delete clusterrolebinding prometheus --ignore-not-found=true log_success "清理完成" } # 主函数 main() { echo "==================================" echo "Kubernetes Prometheus & Grafana" echo "一键部署脚本 v1.0" echo "==================================" echo "" # 检查参数 if [[ "$1" == "cleanup" ]]; then cleanup exit 0 fi # 执行部署流程 check_requirements get_user_input log_info "开始部署监控栈..." echo "" create_storage create_namespaces deploy_rbac deploy_node_exporter deploy_prometheus_config deploy_prometheus deploy_prometheus_service deploy_grafana log_info "等待服务启动..." sleep 10 verify_deployment save_config show_access_info log_success "监控栈部署完成!" } # 脚本入口 main "$@"
2401_82619496/pythonlab_code
脚本实验Prometheus部署/Prometheus.sh
Shell
mit
14,173
FROM anapsix/alpine-java:8_server-jre_unlimited MAINTAINER smallchill@163.com RUN mkdir -p /blade WORKDIR /blade EXPOSE 8800 ADD ./target/SpringBlade.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] CMD ["--spring.profiles.active=test"]
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/Dockerfile
Dockerfile
apache-2.0
291
/** * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springblade; import org.springblade.common.constant.LauncherConstant; import org.springblade.core.launch.BladeApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; /** * 启动器 * * @author Chill */ @EnableScheduling @SpringBootApplication public class Application { public static void main(String[] args) { BladeApplication.run(LauncherConstant.APPLICATION_NAME, Application.class, args); System.out.println("启动成功"); } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/Application.java
Java
apache-2.0
1,198
/** * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springblade.modules.auth.controller; import com.wf.captcha.SpecCaptcha; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import org.springblade.common.cache.CacheNames; import org.springblade.core.secure.AuthInfo; import org.springblade.core.tool.api.R; import org.springblade.core.tool.support.Kv; import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.RedisUtil; import org.springblade.core.tool.utils.WebUtil; import org.springblade.modules.auth.granter.TokenGranterBuilder; import org.springblade.modules.auth.granter.TokenParameter; import org.springblade.modules.auth.utils.TokenUtil; import org.springblade.modules.system.entity.UserInfo; import org.springframework.web.bind.annotation.*; import org.springblade.modules.auth.granter.ITokenGranter; import javax.servlet.http.HttpServletRequest; import java.util.UUID; import java.util.concurrent.TimeUnit; /** * 认证模块 * * @author Chill */ @RestController @AllArgsConstructor @RequestMapping("blade-auth") @Api(value = "用户授权认证", tags = "授权接口") public class AuthController { private RedisUtil redisUtil; @PostMapping("token") @ApiOperation(value = "获取认证token", notes = "传入租户ID:tenantId,账号:account,密码:password") public R<AuthInfo> token(@ApiParam(value = "授权类型", required = true) @RequestParam(defaultValue = "password", required = false) String grantType, @ApiParam(value = "刷新令牌") @RequestParam(required = false) String refreshToken, @ApiParam(value = "租户ID", required = true) @RequestParam(defaultValue = "000000", required = false) String tenantId, @ApiParam(value = "账号") @RequestParam(required = false) String account, @ApiParam(value = "密码") @RequestParam(required = false) String password, @ApiParam(value = "微信Code") @RequestParam(required = false) String wxCode, @ApiParam(value = "微信名") @RequestParam(required = false) String wxName, @ApiParam(value = "微信头像") @RequestParam(required = false) String wxAvatar, @ApiParam(value = "邀请码") @RequestParam(required = false) String invite_code, @ApiParam(value = "登录类型") @RequestParam(required = false) String login_type, @ApiParam(value = "手机号") @RequestParam(required = false) String phone, @ApiParam(value = "手机Code") @RequestParam(required = false) String phoneCode, @ApiParam(value = "uuid") @RequestParam(required = false) String uuid, HttpServletRequest request ) { //wxCode wxName wxAvatar invite_code login_type phone phoneCode password,uuid String userType = Func.toStr(WebUtil.getRequest().getHeader(TokenUtil.USER_TYPE_HEADER_KEY), TokenUtil.DEFAULT_USER_TYPE); TokenParameter tokenParameter = new TokenParameter(); tokenParameter.getArgs().set("tenantId", tenantId) .set("account", account) .set("password", password) .set("grantType", grantType) .set("refreshToken", refreshToken) .set("userType", userType) .set("wxCode", wxCode) .set("wxName", wxName) .set("wxAvatar", wxAvatar) .set("invite_code", invite_code) .set("login_type", login_type) .set("phone", phone) .set("phoneCode", phoneCode) .set("uuid", uuid); ITokenGranter granter = TokenGranterBuilder.getGranter(grantType); UserInfo userInfo = granter.grant(tokenParameter); if (userInfo == null || userInfo.getUser() == null || userInfo.getUser().getId() == null) { return R.fail(TokenUtil.USER_NOT_FOUND); } return R.data(TokenUtil.createAuthInfo(userInfo)); } @GetMapping("/captcha") @ApiOperation(value = "获取验证码") public R<Kv> captcha() { SpecCaptcha specCaptcha = new SpecCaptcha(130, 48, 5); String verCode = specCaptcha.text().toLowerCase(); String key = UUID.randomUUID().toString(); // 存入redis并设置过期时间为30分钟 redisUtil.set(CacheNames.CAPTCHA_KEY + key, verCode, 30L, TimeUnit.MINUTES); // 将key和base64返回给前端 return R.data(Kv.init().set("key", key).set("image", specCaptcha.toBase64())); } @GetMapping("/oauth/logout") @ApiOperation(value = "旧版退出接口", notes = "旧版退出接口") public Kv logout() { return Kv.create().set("success", "true").set("msg", "success"); } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/auth/controller/AuthController.java
Java
apache-2.0
5,031
/** * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springblade.modules.auth.granter; import lombok.AllArgsConstructor; import org.springblade.core.secure.exception.SecureException; import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.SpringUtil; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * TokenGranterBuilder * * @author Chill */ @AllArgsConstructor public class TokenGranterBuilder { /** * TokenGranter缓存池 */ private static final Map<String, ITokenGranter> GRANTER_POOL = new ConcurrentHashMap<>(); static { GRANTER_POOL.put(PasswordTokenGranter.GRANT_TYPE, SpringUtil.getBean(PasswordTokenGranter.class)); GRANTER_POOL.put(CaptchaTokenGranter.GRANT_TYPE, SpringUtil.getBean(CaptchaTokenGranter.class)); GRANTER_POOL.put(RefreshTokenGranter.GRANT_TYPE, SpringUtil.getBean(RefreshTokenGranter.class)); GRANTER_POOL.put(SocialTokenGranter.GRANT_TYPE, SpringUtil.getBean(SocialTokenGranter.class)); GRANTER_POOL.put(WxMiniTokenGranter.GRANT_TYPE, SpringUtil.getBean(WxMiniTokenGranter.class)); } /** * 获取TokenGranter * * @param grantType 授权类型 * @return ITokenGranter */ public static ITokenGranter getGranter(String grantType) { ITokenGranter tokenGranter = GRANTER_POOL.get(Func.toStr(grantType, PasswordTokenGranter.GRANT_TYPE)); if (tokenGranter == null) { throw new SecureException("no grantType was found"); } else { return tokenGranter; } } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/auth/granter/TokenGranterBuilder.java
Java
apache-2.0
2,090
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.auth.granter; import org.springblade.core.log.exception.ServiceException; import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.Func; import org.springblade.modules.system.entity.SmsCodeParam; import org.springblade.modules.system.entity.UserInfo; import org.springblade.modules.system.entity.WxOpenParam; import org.springblade.modules.system.entity.WxUserParam; import org.springblade.modules.system.service.IMjkjUserService; import org.springblade.modules.system.service.IUserService; import org.springframework.stereotype.Component; /** * 微信小程序登录 */ @Component public class WxMiniTokenGranter implements ITokenGranter { public static final String GRANT_TYPE = "wxmini"; private static final Integer AUTH_SUCCESS_CODE = 2000; private final IUserService userService; private IMjkjUserService mjkjUserService; public WxMiniTokenGranter(IUserService userService, IMjkjUserService mjkjUserService) { this.userService = userService; this.mjkjUserService = mjkjUserService; } @Override public UserInfo grant(TokenParameter tokenParameter) { String wxCode = tokenParameter.getArgs().getStr("wxCode");//微信-code String wxName = tokenParameter.getArgs().getStr("wxName");//微信-wxName String wxAvatar = tokenParameter.getArgs().getStr("wxAvatar");//微信-code String inviteCode = tokenParameter.getArgs().getStr("invite_code");//邀请码 String loginType = tokenParameter.getArgs().getStr("login_type");//登录类型 wx=微信小程序 phone=手机号码登录 wxopen_qrcode=微信开放平台 //wx_app=app微信登录 String phone = tokenParameter.getArgs().getStr("phone");//手机号码 String phoneCode = tokenParameter.getArgs().getStr("phoneCode");//手机-code String uuid = tokenParameter.getArgs().getStr("uuid"); String password = tokenParameter.getArgs().getStr("password"); if(Func.isEmpty(loginType)){ loginType="wx"; } //登录人id Long userId = AuthUtil.getUserId(); UserInfo userInfo = null; if(Func.isNotEmpty(userId) && userId!=-1){//当前人是登录状态 String userAccount = AuthUtil.getUserAccount(); String tenantId = AuthUtil.getTenantId(); userInfo = userService.userInfo(tenantId, userAccount,password); } if(Func.isEmpty(userInfo)){//登录------------- WxUserParam wxUserParam=new WxUserParam(); wxUserParam.setCode(wxCode); wxUserParam.setWxName(wxName); wxUserParam.setWxAvatar(wxAvatar); wxUserParam.setInviteCode(inviteCode); wxUserParam.setPhone(phone); if(Func.equals(loginType,"phone")){//手机号码登录 SmsCodeParam codeParam=new SmsCodeParam(); codeParam.setPhone(phone); codeParam.setCode(phoneCode); Boolean data =mjkjUserService.checkPhone(codeParam); if(!data){ throw new ServiceException("验证码不正确"); } wxUserParam=new WxUserParam(); wxUserParam.setCode(phoneCode); wxUserParam.setPhone(phone); wxUserParam.setInviteCode(inviteCode); userInfo = mjkjUserService.phoneLogin(wxUserParam); } else{ throw new ServiceException("登录类型有误"); } } return userInfo; // 远程调用,获取认证信息 } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/auth/granter/WxMiniTokenGranter.java
Java
apache-2.0
4,099
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.controller; import cn.hutool.http.HttpUtil; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.toolkit.IdWorker; import lombok.extern.slf4j.Slf4j; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.tool.utils.Func; import org.springblade.modules.mjkj.common.cgform.entity.CgformHead; import org.springblade.modules.mjkj.common.cgform.service.ICgformFieldService; import org.springblade.modules.mjkj.common.cgform.service.ICgformHeadService; import org.springblade.modules.mjkj.common.config.exception.DBException; import org.springblade.modules.mjkj.common.config.util.BrowserUtils; import org.springblade.modules.mjkj.common.config.util.ConvertUtils; import org.springblade.modules.mjkj.common.config.util.SqlSymbolUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer; import org.springframework.jdbc.support.incrementer.PostgresSequenceMaxValueIncrementer; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.sql.DataSource; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.sql.SQLException; import java.util.HashMap; import java.util.Map; /** * 魔晶科技公共Controller */ @Slf4j public class BaseController extends BladeController { @Autowired private ICgformHeadService cgformHeadService; @Autowired private ICgformFieldService cgformFieldService; //开放服务 public void isOpenServer(){ //可操作角色 //可查看角色 /* List<String> list=new ArrayList<>(); list.add("mjkj-bladex"); Properties props = System.getProperties(); if(Func.isNotEmpty(property) && list.contains(property)){ //通过逻辑 return; } throw new ServiceException("-------数据未开放--------");*/ } /*** * 参数转换 * @param request * @return */ public Map<String, Object> paramStr2Map(HttpServletRequest request){ // 获取request中key为"paramStr"的value String paramsStr = request.getParameter("paramsStr"); Map<String, Object> hashMap = new HashMap<>(); String paramStr = ""; if (Func.isNotEmpty(paramsStr)) { try { // utf-8编码 paramStr = URLDecoder.decode(paramsStr, "UTF-8"); } catch (UnsupportedEncodingException e) { log.error(e.getMessage(), e); } // 转成Map if (paramStr != null) { hashMap = JSONObject.parseObject(paramStr, Map.class); } } return hashMap; } /** * 输出到浏览器 * * @param request * @param response */ protected void outpuFile( String fileUrl,String name, HttpServletRequest request, HttpServletResponse response) { OutputStream out = null; try { byte[] buffer = HttpUtil.downloadBytes(fileUrl); response.setContentType("application/x-msdownload;charset=utf-8"); String browse = BrowserUtils.checkBrowse(request); String suffix = fileUrl.substring(fileUrl.lastIndexOf(".")); if ("MSIE".equalsIgnoreCase(browse.substring(0, 4))) { response.setHeader("content-disposition", "attachment;filename=" + URLEncoder.encode(name, "UTF-8") ); } else { String filename = new String(name.getBytes("UTF-8"), "ISO8859-1"); response.setHeader("content-disposition", "attachment;filename=" + filename ); } out = response.getOutputStream(); out.write(buffer); response.flushBuffer(); } catch (Exception e) { log.error("--通过流的方式获取文件异常--" + e.getMessage(), e); } finally { if (out != null) { try { out.close(); } catch (IOException e) { log.error(e.getMessage(), e); } } } } /** * 获取唯一id * @param head * @param dataSource * @param databaseType * @return * @throws SQLException * @throws DBException */ protected Object getIdByType(CgformHead head, DataSource dataSource, String databaseType) throws SQLException, DBException { Object result = null; String id = head.getIdType();//主键类型 String idSequence = head.getIdSequence(); if (ConvertUtils.isNotEmpty(id) && "UUID".equalsIgnoreCase(id)) {//主键为uuid return SqlSymbolUtil.getIdWorkerId(); } if (ConvertUtils.isNotEmpty(id) && "MJID".equalsIgnoreCase(id)) {//魔晶默认 return Func.toStr(IdWorker.getId()); } if (ConvertUtils.isNotEmpty(id) && "NATIVE".equalsIgnoreCase(id)) {//当前系统用该类型 if (ConvertUtils.isNotEmpty(databaseType) && "oracle".equalsIgnoreCase(databaseType)) { OracleSequenceMaxValueIncrementer oracleSequence = new OracleSequenceMaxValueIncrementer(dataSource, "HIBERNATE_SEQUENCE"); try { result = oracleSequence.nextLongValue(); } catch (Exception e) { log.error(e.getMessage(), e); } } else if (ConvertUtils.isNotEmpty(databaseType) && "postgres".equalsIgnoreCase(databaseType)) { PostgresSequenceMaxValueIncrementer postgresSequence = new PostgresSequenceMaxValueIncrementer(dataSource, "HIBERNATE_SEQUENCE"); try { result = postgresSequence.nextLongValue(); } catch (Exception e) { log.error(e.getMessage(), e); } } else {//mysql模式 result = null; } } else if (ConvertUtils.isNotEmpty(id) && "SEQUENCE".equalsIgnoreCase(id)) { if (ConvertUtils.isNotEmpty(databaseType) && "oracle".equalsIgnoreCase(databaseType)) { OracleSequenceMaxValueIncrementer oracleSequence = new OracleSequenceMaxValueIncrementer(dataSource, idSequence); try { result = oracleSequence.nextLongValue(); } catch (Exception e) { log.error(e.getMessage(), e); } } else if (ConvertUtils.isNotEmpty(databaseType) && "postgres".equalsIgnoreCase(databaseType)) { PostgresSequenceMaxValueIncrementer postgresSequence = new PostgresSequenceMaxValueIncrementer(dataSource, idSequence); try { result = postgresSequence.nextLongValue(); } catch (Exception e) { log.error(e.getMessage(), e); } } else { result = null; } } else { result = SqlSymbolUtil.getIdWorkerId(); } return result; } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/controller/BaseController.java
Java
apache-2.0
7,552
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.controller; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.google.common.collect.Lists; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringEscapeUtils; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.secure.BladeUser; import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tool.api.R; import org.springblade.core.tool.jackson.JsonUtil; import org.springblade.core.tool.utils.CacheUtil; import org.springblade.core.tool.utils.Func; import org.springblade.modules.mjkj.common.cgform.entity.*; import org.springblade.modules.mjkj.common.cgform.enums.CgformConstant; import org.springblade.modules.mjkj.common.cgform.model.CommonEntity; import org.springblade.modules.mjkj.common.cgform.model.OnlineConfigModel; import org.springblade.modules.mjkj.common.cgform.model.TreeDataModel; import org.springblade.modules.mjkj.common.cgform.model.query.QueryGenerator; import org.springblade.modules.mjkj.common.cgform.service.*; import org.springblade.modules.mjkj.common.config.constant.MjkjConstant; import org.springblade.modules.mjkj.common.config.exception.BusinessException; import org.springblade.modules.mjkj.common.config.util.ConvertUtils; import org.springblade.modules.mjkj.common.config.util.EnhanceJsUtil; import org.springblade.modules.mjkj.common.config.util.SqlSymbolUtil; import org.springblade.modules.mjkj.common.utils.MjkjUtils; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; import javax.servlet.http.HttpServletRequest; import javax.swing.tree.TreeModel; import java.util.*; import java.util.stream.Collectors; /** * 控制器 * * @author BladeX * @since 2021-05-20 */ @Slf4j @RestController @AllArgsConstructor @RequestMapping("mjkj-chat/cgform-api") @Api(value = "表单开发接口", tags = "表单开发接口") public class CgformApiController extends BaseController { private final ICgformHeadService cgformHeadService; private final ICgformFieldService cgformFieldService; private final ICgformIndexService cgformIndexService; private final ICgformEnhanceJsService jsService; private final ICgformEnhanceJavaService javaService; private final ICgformEnhanceSqlService sqlService; private final IOnlineService onlineService; private final IMjkjBaseSqlService mjkjBaseSqlService; //比较重要的表,不允许新增修改删除,只有超级管理员才有权限 private final String noSaveOrUpdateStr="coin_system_wallet"; /** * @param cgformHead * @param query * @param req * @return */ @GetMapping("/list") @ApiOperationSupport(order = 1) @ApiOperation(value = "获取列表", notes = "传入cgformField") public R<IPage<CgformHead>> list(CgformHead cgformHead, Query query, HttpServletRequest req) { QueryWrapper<CgformHead> wrapper = QueryGenerator.initQueryWrapper(cgformHead, req.getParameterMap()); wrapper.orderByDesc("id"); IPage<CgformHead> pages = cgformHeadService.page(Condition.getPage(query), wrapper); List<CgformHead> records = pages.getRecords(); if (cgformHead.getCopyType() != null && cgformHead.getCopyType() == 0) { cgformHeadService.initCopyState(records); } Map<String, Map<String, Object>> allRoleMap = mjkjBaseSqlService.getData2Map("blade_role", "id", false); if (Func.isNotEmpty(records)) { //获取所有表 List<CgformHead> allHeadList = cgformHeadService.list(); for (CgformHead head : records) { String remark = head.getRemark(); String nologinSelect = head.getNologinSelect(); String str=Func.equals(nologinSelect,"0")?"否":"是"; String nologinSelectStr="不登录是否可以查询:["+str+"]"; remark+=nologinSelectStr+"/n"; head.setRemark(remark); //处理为不能操作 和不能查看的角色 String noViewDataRoleListStr = head.getNoViewDataRole();//不允许查看数据的角色 if(Func.isNotEmpty(noViewDataRoleListStr)){ List<String> noViewDataRoleList = Func.toStrList(noViewDataRoleListStr); String noViewDataRoleStr="不允许查看数据的角色:"; for (String noViewDataRole:noViewDataRoleList) { Map<String, Object> roleMap = allRoleMap.get(noViewDataRole); if(Func.isEmpty(roleMap)){ noViewDataRoleStr+="["+noViewDataRole+"]"; }else{ noViewDataRoleStr+="["+ MjkjUtils.getMap2Str(roleMap,"role_name")+"]"; } } remark+=noViewDataRoleStr+"/n"; head.setRemark(remark); } String noOperationDataRoleListStr = head.getNoOperationDataRole();//不允许操作 if(Func.isNotEmpty(noOperationDataRoleListStr)){ List<String> noOperationDataRoleList = Func.toStrList(noOperationDataRoleListStr); String noViewDataRoleStr="不允许操作数据的角色:"; for (String noViewDataRole:noOperationDataRoleList) { Map<String, Object> roleMap = allRoleMap.get(noViewDataRole); if(Func.isEmpty(roleMap)){ noViewDataRoleStr+="["+noViewDataRole+"]"; }else{ noViewDataRoleStr+="["+MjkjUtils.getMap2Str(roleMap,"role_name")+"]"; } } remark+=noViewDataRoleStr+"/n"; head.setRemark(remark); } //获取所有sql增强 LambdaQueryWrapper<CgformEnhanceSql> sqlWrapper = new LambdaQueryWrapper<>(); sqlWrapper.eq(CgformEnhanceSql::getCgformHeadId, head.getPhysicId()); List<CgformEnhanceSql> sqlList = sqlService.list(sqlWrapper); if (Func.isEmpty(sqlList)) { continue; } Set<String> tableNameList = new HashSet<>(); for (CgformEnhanceSql sql : sqlList) { String content = sql.getCgbSql(); if (Func.isEmpty(content)) { continue; } content = content.replaceAll("\r", " "); content = content.replaceAll("\n", " "); String[] contens = content.split(" "); for (String conten : contens) { if(Func.isEmpty(conten)){ continue; } if(!conten.startsWith("zhdt_")){ continue; } for (CgformHead myHead : allHeadList) { if (Func.equals(conten.trim(), myHead.getTableName())) { tableNameList.add(myHead.getTableName()); } } } } if (Func.isNotEmpty(tableNameList)) { remark += ";sql增强涉及表:" + JsonUtil.toJson(tableNameList); head.setRemark(remark); } } } return R.data(pages); } @GetMapping("/detail/listByHeadId") @ApiOperationSupport(order = 4) @ApiOperation(value = "获取详情", notes = "获取详情") public R<Map> fieldListByHeadId(@RequestParam("headId") Long headId) { CgformHead head = cgformHeadService.getById(headId); LambdaQueryWrapper<CgformField> wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CgformField::getCgformHeadId, headId); wrapper.orderByAsc(CgformField::getOrderNum); List<CgformField> fieldList = cgformFieldService.list(wrapper); LambdaQueryWrapper<CgformIndex> indexWrapper = new LambdaQueryWrapper<>(); indexWrapper.eq(CgformIndex::getCgformHeadId, headId); indexWrapper.orderByAsc(CgformIndex::getCreateTime); List<CgformIndex> indexList = cgformIndexService.list(indexWrapper); Map<String, Object> resultMap = new HashMap<>(); resultMap.put("fieldList", fieldList); resultMap.put("head", head); resultMap.put("indexList", indexList); return R.data(resultMap); } @GetMapping({"/getColumns/{headId}"}) @ApiOperationSupport(order = 9) @ApiOperation(value = "功能测试 - 获取表头信息", notes = "获取表头信息") public R getColumns(@PathVariable("headId") Long headId) { // 根据表单基本属性id获取表单数据 CgformHead head = cgformHeadService.getById(headId); if (Func.isEmpty(head)) { return R.fail("实体不存在"); } OnlineConfigModel onlineConfigModel = onlineService.queryOnlineConfig(head); if (Func.isNotEmpty(onlineConfigModel)) { String enhanceJs = onlineConfigModel.getEnhanceJs(); String str = StringEscapeUtils.unescapeHtml(enhanceJs); onlineConfigModel.setEnhanceJs(str); String enhanceJsApp = onlineConfigModel.getEnhanceJsApp(); String strApp = StringEscapeUtils.unescapeHtml(enhanceJsApp); onlineConfigModel.setEnhanceJsApp(strApp); } return R.data(onlineConfigModel); } @GetMapping({"/getFormItem/{headId}"}) @ApiOperationSupport(order = 10) @ApiOperation(value = "功能测试 - 获取字段信息", notes = "获取字段信息") public R getFormItem(@PathVariable("headId") Long headId) { CgformHead head = cgformHeadService.getById(headId); if (Func.isEmpty(head)) { return R.fail("实体不存在"); } //获取js增强 CgformEnhanceJs onlCgformEnhanceJs = jsService.queryEnhanceJs(headId, "form"); JSONObject jsonObject = onlineService.queryOnlineFormObj(head, onlCgformEnhanceJs); if (head.getTableType() != CgformConstant.ONLINE_TABLE_TYPE_MAIN) {//表类型: 1单表、2主表、3附表 return R.data(jsonObject); } JSONObject schemaJson = jsonObject.getJSONObject("schema"); String subTableListStr = head.getSubTableStr(); if (Func.isNotEmpty(subTableListStr)) { List<CgformHead> subHeadList = new ArrayList<CgformHead>(); String[] subTableStrs = subTableListStr.split(","); for (String subTableStr : subTableStrs) { CgformHead subHead = cgformHeadService.getOne((new LambdaQueryWrapper<CgformHead>()).eq(CgformHead::getTableName, subTableStr)); if (Func.isEmpty(subHead)) { continue; } subHeadList.add(subHead); } if (subHeadList.size() > 0) { Collections.sort(subHeadList, new Comparator<CgformHead>() { @Override public int compare(CgformHead onlCgformHead1, CgformHead onlCgformHead2) { Integer orderNum1 = onlCgformHead1.getTabOrderNum(); if (orderNum1 == null) { orderNum1 = 0; } Integer orderNum2 = onlCgformHead2.getTabOrderNum(); if (orderNum2 == null) { orderNum2 = 0; } return orderNum1.compareTo(orderNum2); } }); Iterator<CgformHead> iterator = subHeadList.iterator(); while (iterator.hasNext()) { CgformHead subHead = iterator.next(); List<CgformField> availableFields = this.cgformFieldService.queryAvailableFields(subHead.getPhysicId(), subHead.getTableName(), (String) null, false); EnhanceJsUtil.getJsFunction(onlCgformEnhanceJs, subHead.getTableName(), availableFields); JSONObject jsonObject2 = new JSONObject(); List<String> disabledFields = new ArrayList<>(); if (1 == subHead.getRelationType()) {//一对一关系 jsonObject2 = SqlSymbolUtil.getFiledJson(availableFields, disabledFields, null); } else { jsonObject2.put("columns", SqlSymbolUtil.getColumns(availableFields, disabledFields)); } jsonObject2.put("id", subHead.getPhysicId()); jsonObject2.put("describe", subHead.getTableTxt()); jsonObject2.put("key", subHead.getTableName()); jsonObject2.put("view", "tab"); jsonObject2.put("order", subHead.getTabOrderNum()); jsonObject2.put("relationType", subHead.getRelationType()); schemaJson.getJSONObject("properties").put(subHead.getTableName(), jsonObject2); } } } if (onlCgformEnhanceJs != null && ConvertUtils.isNotEmpty(onlCgformEnhanceJs.getCgJs())) { String enhanceJs = EnhanceJsUtil.getCgJs(onlCgformEnhanceJs.getCgJs()); String str = StringEscapeUtils.unescapeHtml(enhanceJs); jsonObject.put("enhanceJs", str); } return R.data(jsonObject); } @ApiOperationSupport(order = 11) @GetMapping({"/getQueryInfo/{headId}"}) @ApiOperation(value = "功能测试 - 获取查询条件", notes = "获取查询条件") public R getQueryInfo(@PathVariable("headId") Long headId) { List<Map<String, String>> list = cgformFieldService.getAutoListQueryInfo(headId); return R.data(list); } @ApiOperationSupport(order = 12) @GetMapping({"/getData/{headId}"}) @ApiOperation(value = "功能测试 - 获取数据列表-ok", notes = "获取数据列表") public R<Map<String, Object>> getData(@PathVariable("headId") Long headId, HttpServletRequest req) { // 根据headId查询表单 CgformHead onlCgformHead = cgformHeadService.getById(headId); if (Func.isEmpty(onlCgformHead)) { return R.fail("实体不存在"); } //判断该接口是否要的登录 String nologinSelect = onlCgformHead.getNologinSelect(); if(Func.equals(nologinSelect,"0")){//需要登录 BladeUser user = AuthUtil.getUser(); if(Func.isEmpty(user)){ return R.fail("登录已过期,请重新登录"); } //登录成功,判断改表是否对外开放 String noViewRoleStrList = onlCgformHead.getNoViewDataRole(); if(Func.isNotEmpty(noViewRoleStrList)){//有设置某一个角色不允许访问 List<Long> roleList = Func.toLongList(noViewRoleStrList); BladeUser onlineUser = AuthUtil.getUser(); String roleIdStrList = onlineUser.getRoleId(); List<Long> onlineRoleList = Func.toLongList(roleIdStrList); List<Long> collect = roleList.stream().filter(item -> onlineRoleList.contains(item)).collect(Collectors.toList()); if(Func.isNotEmpty(collect)){ return R.fail("暂无查看数据权限"); } } } try { String tableName = onlCgformHead.getTableName(); Map<String, Object> params = SqlSymbolUtil.getParameterMap(req);//获取查询参数 Map<String, Object> resultMap =new HashMap<>(); if(Func.equals(onlCgformHead.getFormCategory(),"view")){//显示表 resultMap.put("total",0); resultMap.put("records",new ArrayList<>()); }else{ resultMap = cgformFieldService.queryAutolistPage(tableName, headId, params, null); } Long total = MjkjUtils.getMap2Long(resultMap, "total"); List<Map<String, Object>> dataList = (List) resultMap.get("records"); if (Func.isEmpty(dataList)) { dataList = new ArrayList<>(); } //走增强 javaService.executeEnhanceList(onlCgformHead, MjkjConstant.ENHANCE_QUERY, dataList, params); //sql增强 sqlService.executeEnhanceSqlList(onlCgformHead, MjkjConstant.ENHANCE_QUERY, params); //sql增强 sqlService.executeEnhanceSqlList(onlCgformHead, MjkjConstant.ENHANCE_QUERYANEXPORT, params); //分页 if (Func.isNotEmpty(params.get("dataTotal")) && Func.isNotEmpty(params.get("dataRecords"))) { resultMap.put("total", params.get("dataTotal")); resultMap.put("records", params.get("dataRecords")); resultMap.put("dataOther", params.get("dataOther")); resultMap.put("idList", params.get("idList")); return R.data(resultMap); } if (Func.isNotEmpty(params.get("dataOther"))) { resultMap.put("dataOther", params.get("dataOther")); } resultMap.put("dataOther", params.get("dataOther")); //自定义分页 Integer pageSzie = params.get("pageSize") == null ? 10 : Integer.parseInt(params.get("pageSize").toString()); if (Func.isNotEmpty(dataList) && pageSzie != -521) {//分组 int size = dataList.size(); Object pageNoObj = params.get("pageNo"); Object pageSizeObj = params.get("pageSize"); if (size > total.intValue() && Func.isNotEmpty(pageNoObj) && Func.isNotEmpty(pageNoObj)) {//查询出来的数据大于总数 Integer page = Func.toInt(pageNoObj); Integer pageSize = Func.toInt(pageSizeObj); dataList = dataList.stream().skip((page - 1) * pageSize).limit(pageSize).collect(Collectors.toList()); resultMap.put("total", size); resultMap.put("records", dataList); } } else if (Func.isNotEmpty(dataList) && pageSzie == -521) { resultMap.put("records", dataList); } else { //所有id Object idList = params.get("idList"); if (Func.isNotEmpty(idList)) { resultMap.put("idList", idList); } } return R.data(resultMap); } catch (Exception e) { e.getStackTrace(); return R.fail("数据库查询失败" + e.getMessage()); } } /** * 封装好的添加数据的接口,每个表单都可以调用 * * @param headId * @param jsonObject * @return * @throws Exception */ @ApiOperationSupport(order = 13) @PostMapping({"/addData/{headId}"}) @ApiOperation(value = "功能测试 - 新增数据-ok", notes = "新增数据") public R<String> addData(@PathVariable("headId") Long headId, @RequestBody JSONObject jsonObject) { // 根据表头id查询表单对象 CgformHead head = cgformHeadService.getById(headId); if (Func.isEmpty(head)) { return R.fail("实体对象不存在"); } String tableName = head.getTableName(); //普通人不允许操作 List<String> noSaveOrUpdateTableList = Func.toStrList(noSaveOrUpdateStr); if(noSaveOrUpdateTableList.contains(tableName) && !AuthUtil.isAdministrator()){//属于检测表,但是当前又不是超级管理员 return R.fail("该表只允许超级管理员操作"); } //登录成功,判断改表是否对外开放 String noRoleStrList = head.getNoOperationDataRole(); if(Func.isNotEmpty(noRoleStrList)){//有设置某一个角色不允许访问 List<Long> roleList = Func.toLongList(noRoleStrList); BladeUser onlineUser = AuthUtil.getUser(); String roleIdStrList = onlineUser.getRoleId(); List<Long> onlineRoleList = Func.toLongList(roleIdStrList); List<Long> collect = roleList.stream().filter(item -> onlineRoleList.contains(item)).collect(Collectors.toList()); if(Func.isNotEmpty(collect)){ return R.fail("暂无操作数据权限"); } } // 生成id String id = Func.toStr(SqlSymbolUtil.getIdWorkerId()); jsonObject.put("id", id); try { String resultId = cgformHeadService.saveManyFormData(head, jsonObject); return R.data(resultId); } catch (Exception e) { return R.fail(e.getMessage()); } } /** * 封装好的修改数据的接口,每个表单都可以调用 * (职称活动创建后调用此接口添加可申报的职称()) * * @param headId * @param jsonObject * @return * @throws Exception */ @ApiOperationSupport(order = 14) @PostMapping({"/editData/{headId}"}) @ApiOperation(value = "功能测试 - 编辑数据-ok", notes = "编辑数据") public R editData(@PathVariable("headId") Long headId, @RequestBody JSONObject jsonObject) throws Exception { CgformHead head = cgformHeadService.getById(headId); if (Func.isEmpty(head)) { return R.fail("实体对象不存在"); } String tableName = head.getTableName(); //普通人不允许操作 List<String> noSaveOrUpdateTableList = Func.toStrList(noSaveOrUpdateStr); if(noSaveOrUpdateTableList.contains(tableName) && !AuthUtil.isAdministrator()){//属于检测表,但是当前又不是超级管理员 return R.fail("该表只允许超级管理员操作"); } //登录成功,判断改表是否对外开放 String noRoleStrList = head.getNoOperationDataRole(); if(Func.isNotEmpty(noRoleStrList)){//有设置某一个角色不允许访问 List<Long> roleList = Func.toLongList(noRoleStrList); BladeUser onlineUser = AuthUtil.getUser(); String roleIdStrList = onlineUser.getRoleId(); List<Long> onlineRoleList = Func.toLongList(roleIdStrList); List<Long> collect = roleList.stream().filter(item -> onlineRoleList.contains(item)).collect(Collectors.toList()); if(Func.isNotEmpty(collect)){ return R.fail("暂无操作数据权限"); } } cgformHeadService.editManyFormData(head, jsonObject); return R.success("成功"); } @ApiOperationSupport(order = 15) @ApiOperation(value = "功能测试 - 详情数据-ok", notes = "详情数据") @GetMapping({"/detailData/{headId}/{id}"}) public R getForm(@PathVariable("headId") Long headId, @PathVariable("id") String id, HttpServletRequest request) throws Exception { CgformHead head = cgformHeadService.getById(headId); if (Func.isEmpty(head)) { return R.fail("实体不存在"); } //判断该接口是否要的登录 String nologinSelect = head.getNologinSelect(); if(Func.equals(nologinSelect,"0")){//需要登录 BladeUser user = AuthUtil.getUser(); if(Func.isEmpty(user)){ return R.fail("登录已过期,请重新登录"); } //登录成功,判断改表是否对外开放 String noRoleStrList = head.getNoViewDataRole(); if(Func.isNotEmpty(noRoleStrList)){//有设置某一个角色不允许访问 List<Long> roleList = Func.toLongList(noRoleStrList); BladeUser onlineUser = AuthUtil.getUser(); String roleIdStrList = onlineUser.getRoleId(); List<Long> onlineRoleList = Func.toLongList(roleIdStrList); List<Long> collect = roleList.stream().filter(item -> onlineRoleList.contains(item)).collect(Collectors.toList()); if(Func.isNotEmpty(collect)){ return R.fail("暂无查看数据权限"); } } } Map<String, Object> param = SqlSymbolUtil.getParameterMap(request); param.put("id", id); Map<String, Object> map =new HashMap<>(); if(!Func.equals(head.getFormCategory(),"view")) {//不是显示表 map = cgformHeadService.queryManyFormData(headId, id); } // 这个map有大用,不能为null if (Func.isEmpty(map)) { map = new HashMap<>(); } map = javaService.executeEnhanceDetail(head, MjkjConstant.ENHANCE_VIEW, map, param); map = sqlService.executeEnhanceSqlDetail(head, MjkjConstant.ENHANCE_VIEW, map, id);//sql 获取增强 return R.data(SqlSymbolUtil.getValueType(map)); } @ApiOperationSupport(order = 16) @ApiOperation(value = "功能测试 - 删除数据-ok", notes = "删除数据") @PostMapping({"/delete/form/{headId}/{dataId}"}) public R deleteForm(@PathVariable("headId") Long headId, @PathVariable("dataId") String dataIds) { try { // 获取表单对象 CgformHead onlCgformHead = cgformHeadService.getById(headId); if (onlCgformHead == null) { return R.fail("实体不存在"); } String tableName = onlCgformHead.getTableName(); //普通人不允许操作 List<String> noSaveOrUpdateTableList = Func.toStrList(noSaveOrUpdateStr); if(noSaveOrUpdateTableList.contains(tableName) && !AuthUtil.isAdministrator()){//属于检测表,但是当前又不是超级管理员 return R.fail("该表只允许超级管理员操作"); } //登录成功,判断改表是否对外开放 String noRoleStrList = onlCgformHead.getNoOperationDataRole(); if(Func.isNotEmpty(noRoleStrList)){//有设置某一个角色不允许访问 List<Long> roleList = Func.toLongList(noRoleStrList); BladeUser onlineUser = AuthUtil.getUser(); String roleIdStrList = onlineUser.getRoleId(); List<Long> onlineRoleList = Func.toLongList(roleIdStrList); List<Long> collect = roleList.stream().filter(item -> onlineRoleList.contains(item)).collect(Collectors.toList()); if(Func.isNotEmpty(collect)){ return R.fail("暂无操作数据权限"); } } if(!Func.equals(onlCgformHead.getFormCategory(),"view")) {//不是显示表 if ("Y".equals(onlCgformHead.getIsTree())) {//树结构 dataIds = this.cgformFieldService.queryTreeChildIds(onlCgformHead, dataIds); } } //主副表多记录不支持增强 if (dataIds.indexOf(",") > 0) { // 删除多条数据 if (onlCgformHead.getTableType() == 2) {//主表 if(!Func.equals(onlCgformHead.getFormCategory(),"view")) {//不是显示表 this.cgformFieldService.deleteAutoListMainAndSub(onlCgformHead, dataIds); } } else { String[] ids = dataIds.split(","); for (String id : ids) { this.cgformHeadService.deleteOneTableInfo(headId, id); } } // 删除单条数据 } else { this.cgformHeadService.deleteOneTableInfo(headId, dataIds); } } catch (BusinessException e) { return R.fail(e.getMessage()); } catch (Exception e) { e.getStackTrace(); } return R.success("成功"); } @ApiOperationSupport(order = 22) @ApiOperation(value = "上传文件", notes = "上传文件") @PostMapping("/upload/file") public R putMinioObject(@RequestParam MultipartFile file, String type) { return R.fail("上传失败"); } @ApiOperationSupport(order = 23) @ApiOperation(value = "根据link获取原名称", notes = "根据link获取原名称") @GetMapping("/get/original/name") public R getOriginalFilename(String link) { String key = "FILE_" + link; Object o = CacheUtil.get("system:file", "key", key); if (Func.isNotEmpty(o)) { return R.data(Func.toStr(o)); } return R.data(""); } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/controller/CgformApiController.java
Java
apache-2.0
25,532
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.Func; import org.springblade.modules.mjkj.common.cgform.entity.CgformButton; import org.springblade.modules.mjkj.common.cgform.service.ICgformButtonService; import org.springframework.web.bind.annotation.*; import javax.validation.Valid; /** * 控制器 * * @author BladeX * @since 2021-05-20 */ @RestController @AllArgsConstructor @RequestMapping("mjkj-chat/cgform-btton") @Api(value = "自定义表单按钮", tags = "自定义表单按钮") public class CgformButtonController extends BladeController { private final ICgformButtonService cgformButtonService; @GetMapping("/list/{headId}") @ApiOperationSupport(order = 1) @ApiOperation(value = "获取按钮列表") public R<IPage<CgformButton>> list(@PathVariable("headId") Long headId, Query query) { LambdaQueryWrapper<CgformButton> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(CgformButton::getCgformHeadId,headId); wrapper.orderByDesc(CgformButton::getId); IPage<CgformButton> pages = cgformButtonService.page(Condition.getPage(query), wrapper); return R.data(pages); } @PostMapping("/save") @ApiOperationSupport(order = 2) @ApiOperation(value = "新增自定义按钮", notes = "新增自定义按钮") public R save(@Valid @RequestBody CgformButton model) { return R.status(cgformButtonService.save(model)); } @PostMapping("/update") @ApiOperationSupport(order = 3) @ApiOperation(value = "修改", notes = "修改") public R update(@Valid @RequestBody CgformButton model) { return R.status(cgformButtonService.updateById(model)); } @PostMapping("/remove") @ApiOperationSupport(order = 4) @ApiOperation(value = "逻辑删除", notes = "传入ids") public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { return R.status(cgformButtonService.deleteLogic(Func.toLongList(ids))); } @GetMapping("/detail") @ApiOperationSupport(order = 5) @ApiOperation(value = "详情", notes = "详情") public R<CgformButton> detail(@ApiParam(value = "主键", required = true)Long id) { CgformButton detail = cgformButtonService.getById(id); return R.data(detail); } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/controller/CgformButtonController.java
Java
apache-2.0
3,582
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.controller; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.IdWorker; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import org.apache.commons.lang.StringEscapeUtils; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.RedisUtil; import org.springblade.modules.mjkj.common.cgform.entity.CgformButton; import org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceJava; import org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceJs; import org.springblade.modules.mjkj.common.cgform.entity.CgformEnhanceSql; import org.springblade.modules.mjkj.common.cgform.service.*; import org.springblade.modules.mjkj.common.config.util.DateUtils; import org.springblade.modules.mjkj.common.config.util.SqlSymbolUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import java.util.HashMap; import java.util.List; import java.util.Map; @RestController @AllArgsConstructor @RequestMapping("mjkj-chat/cgform-java/cgformenhance") @Api(value = "表单增强", tags = "表单增强") public class CgformEnhanceController extends BladeController { private final ICgformEnhanceJsService jsService; private final ICgformEnhanceJavaService javaService; private final ICgformEnhanceSqlService sqlService; private final ICgformButtonService buttonService; private final RedisUtil redisUtil; @Autowired private IMjkjBaseSqlService mjkjBaseSqlService; @PostMapping("/unlock/{headId}") @ApiOperationSupport(order = 1) @ApiOperation(value = "解锁", notes = "解锁") public R unlock(@PathVariable("headId") Long headId) { String redisKey = "CGFORMENHANCE_HEADID:" + headId; if(redisUtil.hasKey(redisKey)){ redisUtil.del(redisKey); } return R.success("成功"); } @GetMapping("/js/detail/{headId}") @ApiOperationSupport(order = 1) @ApiOperation(value = "js增强-详情", notes = "js-详情") public R<CgformEnhanceJs> detail(@PathVariable("headId") Long headId, @ApiParam(value = "类型:list 或者 form", required = true) String type, @ApiParam(value = "锁校验 true需要校验") String lock) { if (Func.isNotEmpty(lock) && Func.equals(lock, "true")) { String redisKey = "CGFORMENHANCE_HEADID:" + headId; if (redisUtil.hasKey(redisKey)) { return R.fail("该增强已锁"); } redisUtil.set(redisKey, "true");//上锁 } LambdaQueryWrapper<CgformEnhanceJs> wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CgformEnhanceJs::getCgformHeadId, headId); wrapper.eq(CgformEnhanceJs::getCgJsType, type); CgformEnhanceJs detail = jsService.getOne(wrapper); if (Func.isNotEmpty(detail)) { String cgJs = detail.getCgJs(); String str = StringEscapeUtils.unescapeHtml(cgJs); detail.setCgJs(str); } return R.data(detail); } @PostMapping("/js/saveOrUpdate") @ApiOperationSupport(order = 2) @ApiOperation(value = "js增强-新增或修改") public R cryptoByType(@RequestBody CgformEnhanceJs model) { LambdaQueryWrapper<CgformEnhanceJs> wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CgformEnhanceJs::getCgformHeadId, model.getCgformHeadId()); wrapper.eq(CgformEnhanceJs::getCgJsType, model.getCgJsType()); CgformEnhanceJs detail = jsService.getOne(wrapper); if (Func.isNotEmpty(detail)) { model.setId(detail.getId()); } String redisKey = "CGFORMENHANCE_HEADID:" + model.getCgformHeadId(); if (redisUtil.hasKey(redisKey)) { redisUtil.del(redisKey);//解锁 } jsService.saveOrUpdate(model);//操作完成,写入操作记录 //-----写入操作记录-------- detail = jsService.getOne(wrapper); Map<String,Object> historyMap=new HashMap<>(); historyMap.put("id", IdWorker.getId()); historyMap.put("cgform_head_id",model.getCgformHeadId()); historyMap.put("cg_js",model.getCgJs()); historyMap.put("cg_js_type",model.getCgJsType()); historyMap.put("content", model.getContent()); historyMap.put("czr", AuthUtil.getUserName()); historyMap.put("czsj", DateUtils.formatDate()); mjkjBaseSqlService.baseInsertData("onl_cgform_enhance_js_history",historyMap); return R.success("成功"); } @GetMapping("/java/list/{headId}") @ApiOperationSupport(order = 3) @ApiOperation(value = "java增强 - 获取列表") public R<IPage<CgformEnhanceJava>> javaList(@PathVariable("headId") Long headId, Query query) { LambdaQueryWrapper<CgformEnhanceJava> wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CgformEnhanceJava::getCgformHeadId, headId); wrapper.orderByDesc(CgformEnhanceJava::getCreateTime); IPage<CgformEnhanceJava> pages = javaService.page(Condition.getPage(query), wrapper); return R.data(pages); } @PostMapping("/java/save/{headId}") @ApiOperationSupport(order = 4) @ApiOperation(value = "java增强 - 新增", notes = "java增强 - 新增") public R javaSave(@PathVariable("headId") Long headId, @RequestBody CgformEnhanceJava model) { model.setCgformHeadId(headId); if (!SqlSymbolUtil.isExistJava(model)) { return R.fail("类实例化失败,请检查!"); } if (!javaService.checkOnlyEnhance(model)) { return R.fail("保存失败,数据不唯一!"); } this.javaService.save(model); return R.success("成功"); } @PostMapping("/java/edit/{headId}") @ApiOperationSupport(order = 5) @ApiOperation(value = "java增强 - 编辑", notes = "java增强 - 编辑") public R javaEdit(@PathVariable("headId") Long headId, @RequestBody CgformEnhanceJava model) { model.setCgformHeadId(headId); if (!SqlSymbolUtil.isExistJava(model)) { return R.fail("类实例化失败,请检查!"); } if (!javaService.checkOnlyEnhance(model)) { return R.fail("保存失败,数据不唯一!"); } this.javaService.updateById(model); return R.success("成功"); } @PostMapping("/java/delete") @ApiOperationSupport(order = 5) @ApiOperation(value = "java增强 - 删除", notes = "传入ids") public R javaRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { javaService.deleteLogic(Func.toLongList(ids)); return R.success("成功"); } @GetMapping("/sql/list/{headId}") @ApiOperationSupport(order = 6) @ApiOperation(value = "sql增强 - 获取列表") public R<IPage<CgformEnhanceSql>> sqlList(@PathVariable("headId") Long headId, Query query) { LambdaQueryWrapper<CgformEnhanceSql> wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CgformEnhanceSql::getCgformHeadId, headId); wrapper.orderByDesc(CgformEnhanceSql::getId); IPage<CgformEnhanceSql> pages = sqlService.page(Condition.getPage(query), wrapper); return R.data(pages); } @PostMapping("/sql/save/{headId}") @ApiOperationSupport(order = 7) @ApiOperation(value = "sql增强 - 新增", notes = "sql增强 - 新增") public R sqlSave(@PathVariable("headId") Long headId, @RequestBody CgformEnhanceSql model) { model.setCgformHeadId(headId); this.sqlService.save(model); //-----写入操作记录-------- Map<String,Object> historyMap=new HashMap<>(); historyMap.put("id", IdWorker.getId()); historyMap.put("cgform_head_id",model.getCgformHeadId()); historyMap.put("button_code", model.getButtonCode()); historyMap.put("cgb_sql", model.getCgbSql()); historyMap.put("cgb_sql_name",model.getCgbSqlName()); historyMap.put("content",model.getContent()); historyMap.put("cgform_head_id",model.getCgformHeadId()); historyMap.put("czr", AuthUtil.getUserName()); historyMap.put("czsj", DateUtils.formatDate()); historyMap.put("service_name",model.getServiceName()); mjkjBaseSqlService.baseInsertData("onl_cgform_enhance_sql_history",historyMap); return R.success("成功"); } @PostMapping("/sql/edit/{headId}") @ApiOperationSupport(order = 8) @ApiOperation(value = "sql增强 - 编辑", notes = "sql增强 - 编辑") public R sqlEdit(@PathVariable("headId") Long headId, @RequestBody CgformEnhanceSql model) { model.setCgformHeadId(headId); sqlService.updateById(model); //-----写入操作记录-------- Map<String,Object> historyMap=new HashMap<>(); historyMap.put("id", IdWorker.getId()); historyMap.put("cgform_head_id",model.getCgformHeadId()); historyMap.put("button_code", model.getButtonCode()); historyMap.put("cgb_sql", model.getCgbSql()); historyMap.put("cgb_sql_name",model.getCgbSqlName()); historyMap.put("content",model.getContent()); historyMap.put("cgform_head_id",model.getCgformHeadId()); historyMap.put("czr", AuthUtil.getUserName()); historyMap.put("czsj", DateUtils.formatDate()); historyMap.put("service_name",model.getServiceName()); mjkjBaseSqlService.baseInsertData("onl_cgform_enhance_sql_history",historyMap); return R.success("成功"); } @PostMapping("/sql/delete") @ApiOperationSupport(order = 9) @ApiOperation(value = "sql增强 - 删除", notes = "传入ids") public R sqlRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { sqlService.deleteLogic(Func.toLongList(ids)); return R.success("成功"); } @ApiOperation(value = "sql增强 - 获取按钮", notes = "sql增强 - 获取按钮") @ApiOperationSupport(order = 10) @GetMapping({"/sql/enhanceButton/{headId}"}) public R enhanceButton(@PathVariable("headId") Long headId, HttpServletRequest request) { List<CgformButton> list = buttonService.queryButtonList(headId); return R.data(list); } @ApiOperation(value = " 触发自定义增强", notes = "触发自定义增强") @PostMapping({"/doButton"}) public R doButton(@RequestBody JSONObject jsonObject) { Long formId = jsonObject.getLong("formId"); Long dataId = jsonObject.getLong("dataId"); String buttonCode = jsonObject.getString("buttonCode"); try { buttonService.executeCustomerButton(buttonCode, formId, dataId); } catch (Exception e) { return R.fail("执行失败!"); } return R.success("执行成功!"); } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/controller/CgformEnhanceController.java
Java
apache-2.0
11,304
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.secure.BladeUser; import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.RedisUtil; import org.springblade.modules.mjkj.common.cgform.entity.DesformData; import org.springblade.modules.mjkj.common.cgform.entity.DesformHead; import org.springblade.modules.mjkj.common.cgform.entity.DesformRoute; import org.springblade.modules.mjkj.common.cgform.model.DesformUpdateTimeModel; import org.springblade.modules.mjkj.common.cgform.model.query.QueryGenerator; import org.springblade.modules.mjkj.common.cgform.service.IDesformDataService; import org.springblade.modules.mjkj.common.cgform.service.IDesformHeadService; import org.springblade.modules.mjkj.common.cgform.service.IDesformRouteService; import org.springblade.modules.mjkj.common.cgform.service.IMjkjBaseSqlService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import java.util.*; import java.util.concurrent.TimeUnit; @Slf4j @RestController @AllArgsConstructor @RequestMapping("mjkj-chat/desform-api") @Api(value = "表单设计器开发接口", tags = "表单设计器开发接口") public class DesformApiController { private final IDesformHeadService headService; private final IDesformDataService dataService; private final IDesformRouteService routeService; private final RedisUtil redisUtil; @Autowired private IMjkjBaseSqlService mjkjBaseSqlService; @PostMapping("/unlock/{headId}") @ApiOperationSupport(order = 1) @ApiOperation(value = "解锁", notes = "解锁") public R unlock(@PathVariable("headId") Long headId) { String redisKey = "DESFORM_HEADID:" + headId; if(redisUtil.hasKey(redisKey)){ redisUtil.del(redisKey); } return R.success("成功"); } @GetMapping("/desform/openList") @ApiOperationSupport(order = 1) @ApiOperation(value = "表单设计器-获取列表", notes = "传入cgformField") public R<List<DesformHead>> openList(DesformHead head, Query query, HttpServletRequest req) { List<DesformHead> list = headService.openList(); return R.data(list); } @GetMapping("/desform/list") @ApiOperationSupport(order = 1) @ApiOperation(value = "表单设计器-获取列表", notes = "传入cgformField") public R<IPage<DesformHead>> formList(DesformHead head, Query query, HttpServletRequest req) { LambdaQueryWrapper<DesformHead> wrapper=new LambdaQueryWrapper<>(); if(Func.isNotEmpty(head.getId())){ wrapper.eq(DesformHead::getId,head.getId()); } if(Func.isNotEmpty(head.getFormName())){ wrapper.like(DesformHead::getFormName,head.getFormName()); } if(Func.isNotEmpty(head.getFormType())){ wrapper.eq(DesformHead::getFormType,head.getFormType()); } if(Func.isNotEmpty(head.getFormCode())){ wrapper.eq(DesformHead::getFormCode,head.getFormCode()); } wrapper.orderByDesc(DesformHead::getId); IPage<DesformHead> pages = headService.page(Condition.getPage(query), wrapper); return R.data(pages); } @ApiOperationSupport(order = 5) @ApiOperation(value = "表单设计器 - 详情数据", notes = "详情数据") @GetMapping({"/desform/{headId}"}) public R getFormDetail(@PathVariable("headId") Long headId, @ApiParam(value = "锁校验 true需要校验") String lock) throws Exception { String redisKey="desform_data:"+headId; DesformHead head=null; boolean flag=true; if(redisUtil.hasKey(redisKey)){ head=(DesformHead) redisUtil.get(redisKey); flag=false; }else{ head = headService.getById(headId); } if(Func.isEmpty(head)){ return R.data(head); } //判断该接口是否要的登录 String nologinSelect = head.getNologinSelect(); if(Func.equals(nologinSelect,"0")){//需要登录 BladeUser user = AuthUtil.getUser(); if(Func.isEmpty(user)){ return R.fail("登录已过期,请重新登录"); } } if(flag){ redisUtil.set(redisKey,head,600L, TimeUnit.SECONDS);//10分钟 } return R.data(head); } @ApiOperationSupport(order = 5) @ApiOperation(value = "表单设计器 - 详情数据", notes = "详情数据") @GetMapping({"/desform/code/{code}"}) public R getFormIdByCode(@PathVariable("code") String code) throws Exception { LambdaQueryWrapper<DesformHead> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(DesformHead::getFormCode,code); DesformHead head = headService.getOne(wrapper); return R.data(head); } @ApiOperationSupport(order = 5) @ApiOperation(value = "表单设计器 - 获取更新时间", notes = "获取更新时间") @PostMapping({"/desform/updateTime"}) public R getFormUpdateTimeByCode(@RequestBody DesformUpdateTimeModel model) throws Exception { QueryWrapper<DesformHead> wrapper=new QueryWrapper<>(); wrapper.select("id","update_time","create_time"); wrapper.in("id",model.getIdList()); List<DesformHead> list = headService.list(wrapper); List<Map<String,Object>> resultList=new ArrayList<>(); if(Func.isNotEmpty(list)){ for (DesformHead head:list) { Date updateTime = head.getUpdateTime(); Date createTime = head.getCreateTime(); if(Func.isEmpty(updateTime)){ head.setUpdateTime(createTime); } Map<String,Object> resultMap=new HashMap<>(); resultMap.put("id",head.getId()); resultMap.put("updateTime",head.getUpdateTime()); resultList.add(resultMap); } } return R.data(resultList); } @GetMapping("/desform/data/list") @ApiOperationSupport(order = 14) @ApiOperation(value = "表单设计器-数据-获取列表") public R<IPage<DesformData>> formDataList(DesformData data, Query query, HttpServletRequest req) { QueryWrapper<DesformData> wrapper = QueryGenerator.initQueryWrapper(data, req.getParameterMap()); wrapper.orderByDesc("id"); IPage<DesformData> pages = dataService.page(Condition.getPage(query), wrapper); return R.data(pages); } @ApiOperationSupport(order = 15) @ApiOperation(value = "通过表单开发数据id -数据- 详情数据", notes = "详情数据") @GetMapping({"/desform/data/onlineform/{dataId}"}) public R getFormDataDetailByOnLineFormDataId(@PathVariable("dataId") Long dataId) throws Exception { LambdaQueryWrapper<DesformData> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(DesformData::getOnlineFormDataId,dataId); wrapper.eq(DesformData::getIsDeleted,0); DesformData data = dataService.getOne(wrapper); return R.data(data); } @GetMapping("/desform/route/list") @ApiOperationSupport(order = 16) @ApiOperation(value = "表单设计器路由-获取列表") public R<IPage<DesformRoute>> formRoureList(DesformRoute route, Query query, HttpServletRequest req) { QueryWrapper<DesformRoute> wrapper = QueryGenerator.initQueryWrapper(route, req.getParameterMap()); wrapper.orderByDesc("id"); IPage<DesformRoute> pages = routeService.page(Condition.getPage(query), wrapper); return R.data(pages); } @PostMapping("/desform/route/save") @ApiOperationSupport(order = 17) @ApiOperation(value = "表单设计器路由-新增", notes = "表单设计器路由-新增") public R formRouteSave(@Valid @RequestBody DesformRoute route) { routeService.save(route); return R.success("成功"); } @PostMapping("/desform/route/edit") @ApiOperationSupport(order =18) @ApiOperation(value = "表单设计器路由-修改", notes = "表单设计器路由-修改") public R formRouteEdit(@Valid @RequestBody DesformRoute route) { routeService.formRouteEdit(route); return R.success("成功"); } @PostMapping("/desform/route/delete") @ApiOperationSupport(order = 19) @ApiOperation(value = "表单设计器路由-逻辑删除", notes = "传入ids") public R formRouteRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { routeService.deleteLogic(Func.toLongList(ids)); return R.success("成功"); } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/controller/DesformApiController.java
Java
apache-2.0
9,754
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import org.apache.commons.beanutils.PropertyUtils; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.Func; import org.springblade.modules.mjkj.common.cgform.entity.Category; import org.springblade.modules.mjkj.common.cgform.entity.CheckRule; import org.springblade.modules.mjkj.common.cgform.entity.SysDict; import org.springblade.modules.mjkj.common.cgform.entity.SysDictItem; import org.springblade.modules.mjkj.common.cgform.model.DictModel; import org.springblade.modules.mjkj.common.cgform.model.TreeSelectModel; import org.springblade.modules.mjkj.common.cgform.service.*; import org.springblade.modules.mjkj.common.config.util.FillRuleUtil; import org.springblade.modules.mjkj.common.config.util.SqlInjectionUtil; import org.springblade.modules.system.service.IDictService; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.List; import java.util.Map; import java.util.Properties; /** * 系统参数 */ @RestController @AllArgsConstructor @RequestMapping("mjkj-chat/sys") @Api(value = "分类字典", tags = "分类字典接口") public class SystemController extends BladeController { private final ICategoryService categoryService; private final ISysDictService dictService; private final ISysDictItemService dictItemService; private final ICheckRuleService checkRuleService; private final IMjkjBaseSqlService mjkjBaseSqlService; @GetMapping("/sys/category/detail") @ApiOperationSupport(order = 1) @ApiOperation(value = "分类字典-详情", notes = "传入category") public R<Category> categoryDetail(Category category) { Category detail = categoryService.getOne(Condition.getQueryWrapper(category)); return R.data(detail); } @GetMapping("/sys/category/list") @ApiOperationSupport(order = 2) @ApiOperation(value = "分类字典-分页", notes = "传入category") public R<IPage<Category>> categoryList(Category category, Query query) { IPage<Category> pages = categoryService.page(Condition.getPage(query), Condition.getQueryWrapper(category)); return R.data(pages); } @PostMapping("/sys/category/save") @ApiOperationSupport(order = 4) @ApiOperation(value = "分类字典-新增", notes = "传入category") public R categorySave(@Valid @RequestBody Category category) { LambdaQueryWrapper<Category> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(Category::getCode,category.getCode()); List<Category> list = categoryService.list(wrapper); if(Func.isNotEmpty(list)){ return R.fail("编码已存在"); } categoryService.addSysCategory(category); return R.success("成功"); } @PostMapping("/sys/category/update") @ApiOperationSupport(order = 5) @ApiOperation(value = "分类字典-修改", notes = "传入category") public R categoryUpdate(@Valid @RequestBody Category category) { LambdaQueryWrapper<Category> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(Category::getCode,category.getCode()); List<Category> list = categoryService.list(wrapper); if(Func.isNotEmpty(list) && list.size()>1){ return R.fail("编码已存在"); }else if(Func.isNotEmpty(list)){ Category select = list.get(0); if(select.getId()!=select.getId().longValue()){ return R.fail("编码已存在"); } } categoryService.updateSysCategory(category); return R.success("成功"); } @PostMapping("/sys/category/remove") @ApiOperationSupport(order = 7) @ApiOperation(value = "分类字典-逻辑删除", notes = "传入ids") public R categoryRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { List<Long> idList = Func.toLongList(ids); categoryService.batchDelete(idList); return R.success("成功"); } @GetMapping(value = "/sys/category/childList") @ApiOperationSupport(order = 7) @ApiOperation(value = "分类字典-获取子集", notes = "传入ids") public R<List<Category>> queryPageList(Category category,HttpServletRequest req) { QueryWrapper<Category> wrapper = Condition.getQueryWrapper(category); List<Category> list = categoryService.list(wrapper); return R.data(list); } @GetMapping("/sys/dict/detail") @ApiOperationSupport(order = 8) @ApiOperation(value = "字典-详情", notes = "传入dict") public R<SysDict> dictDetail(SysDict sysDict) { SysDict detail = dictService.getOne(Condition.getQueryWrapper(sysDict)); return R.data(detail); } @GetMapping("/sys/dict/list") @ApiOperationSupport(order = 9) @ApiOperation(value = "字典-分页", notes = "传入dict") public R<IPage<SysDict>> dictList(SysDict sysDict, Query query) { LambdaQueryWrapper<SysDict> lambdaQueryWrapper = new LambdaQueryWrapper<>(); if (Func.isNotBlank(sysDict.getDictName())){ lambdaQueryWrapper.like(SysDict::getDictName, sysDict.getDictName()); } if (Func.isNotBlank(sysDict.getDictCode())){ lambdaQueryWrapper.like(SysDict::getDictCode, sysDict.getDictCode()); } // lambdaQueryWrapper.orderByDesc(BaseEntity::getId); IPage<SysDict> pages = dictService.page(Condition.getPage(query),lambdaQueryWrapper ); if(Func.isNotEmpty(pages)){ List<SysDict> dictList = pages.getRecords(); if(Func.isNotEmpty(dictList)){ for (SysDict dict:dictList) { String remark=""; LambdaQueryWrapper<SysDictItem> itemQueryWrapper = new LambdaQueryWrapper<>(); itemQueryWrapper.eq(SysDictItem::getDictId,dict.getId()); List<SysDictItem> itemList = dictItemService.list(itemQueryWrapper); if(Func.isEmpty(itemList)){ continue; } for (SysDictItem item:itemList) { remark+="【"+item.getItemText()+"->"+item.getItemValue()+"】"; } dict.setDescription(remark); } } } return R.data(pages); } @PostMapping("/sys/dict/save") @ApiOperationSupport(order = 10) @ApiOperation(value = "字典-新增", notes = "传入dict") public R dictSave(@Valid @RequestBody SysDict sysDict) { LambdaQueryWrapper<SysDict> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(SysDict::getDictCode, sysDict.getDictCode()); List<SysDict> list = dictService.list(wrapper); if(Func.isNotEmpty(list)){ return R.fail("编码已存在"); } return R.status(dictService.save(sysDict)); } @PostMapping("/sys/dict/update") @ApiOperationSupport(order = 11) @ApiOperation(value = "字典-修改", notes = "传入dict") public R dicUupdate(@Valid @RequestBody SysDict sysDict) { LambdaQueryWrapper<SysDict> wrapper=new LambdaQueryWrapper<>(); wrapper.eq(SysDict::getDictCode, sysDict.getDictCode()); List<SysDict> list = dictService.list(wrapper); if(Func.isNotEmpty(list) && list.size()>1){ return R.fail("编码已存在"); }else if(Func.isNotEmpty(list)){ SysDict select = list.get(0); if(select.getId()!= sysDict.getId()){ return R.fail("编码已存在"); } } return R.status(dictService.updateById(sysDict)); } @PostMapping("/sys/dict/remove") @ApiOperationSupport(order = 12) @ApiOperation(value = "字典-逻辑删除", notes = "传入ids") public R dictRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { return R.status(dictService.deleteLogic(Func.toLongList(ids))); } @GetMapping("/sys/dictitem/detail") @ApiOperationSupport(order = 13) @ApiOperation(value = "字典内容-详情", notes = "传入dictItem") public R<SysDictItem> dictItemDetail(SysDictItem sysDictItem) { SysDictItem detail = dictItemService.getOne(Condition.getQueryWrapper(sysDictItem)); return R.data(detail); } @GetMapping("/sys/dictitem/list") @ApiOperationSupport(order = 14) @ApiOperation(value = "字典内容-分页", notes = "传入dictItem") public R<IPage<SysDictItem>> dictItemList(SysDictItem sysDictItem, Query query) { IPage<SysDictItem> pages = dictItemService.page(Condition.getPage(query), Condition.getQueryWrapper(sysDictItem)); return R.data(pages); } @PostMapping("/sys/dictitem/save") @ApiOperationSupport(order = 15) @ApiOperation(value = "字典内容-新增", notes = "传入dictItem") public R dictItemSave(@Valid @RequestBody SysDictItem sysDictItem) { return R.status(dictItemService.save(sysDictItem)); } @PostMapping("/sys/dictitem/update") @ApiOperationSupport(order = 16) @ApiOperation(value = "字典内容-修改", notes = "传入dictItem") public R dictItemUpdate(@Valid @RequestBody SysDictItem sysDictItem) { return R.status(dictItemService.updateById(sysDictItem)); } @PostMapping("/sys/dictitem/remove") @ApiOperationSupport(order = 17) @ApiOperation(value = "字典内容-逻辑删除", notes = "传入ids") public R dictItemRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { return R.status(dictItemService.deleteLogic(Func.toLongList(ids))); } @ApiOperationSupport(order = 18) @ApiOperation(value = "获取树数据类型", notes = "获取树数据类型") @RequestMapping(value = "/loadTreeData", method = RequestMethod.GET) public R<List<TreeSelectModel>> loadTreeData(@RequestParam(name="pid") String pid, @RequestParam(name="pidField") String pidField, @RequestParam(name="tableName") String tbname, @RequestParam(name="text") String text, @RequestParam(name="code") String code, @RequestParam(name="hasChildField") String hasChildField, @RequestParam(name="condition") String condition, @RequestParam(value = "sign",required = false) String sign, HttpServletRequest request) { Map<String, String> query = null; if(Func.isNotEmpty(condition)) { query = JSON.parseObject(condition, Map.class); } // SQL注入漏洞 sign签名校验(表名,label字段,val字段,条件) //String dictCode = tbname+","+text+","+code+","+condition; List<TreeSelectModel> list = dictService.queryTreeList(query,tbname, text, code, pidField, pid,hasChildField); return R.data(list); } @ApiOperationSupport(order = 19) @ApiOperation(value = "根据字典code加载字典text 返回", notes = "根据字典code加载字典text 返回") @RequestMapping(value = "/sys/dictitem/loadDictItem/{dictCode}", method = RequestMethod.GET) public R loadDictItem(@PathVariable String dictCode,@RequestParam(name="key") String keys,HttpServletRequest request) { if(dictCode.indexOf(",")==-1) { return R.fail("字典Code格式不正确!"); } String[] params = dictCode.split(","); if(params.length!=3) { return R.fail("字典Code格式不正确!"); } List<String> list = dictService.queryTableDictByKeys(params[0], params[1], params[2], keys); return R.data(list); } /** * 获取字典数据 * @param dictCode 字典code * @param dictCode 表名,文本字段,code字段 | 举例:sys_user,realname,id * @return */ @ApiOperationSupport(order = 20) @ApiOperation(value = "获取字典数据", notes = "获取字典数据") @RequestMapping(value = "/sys/dict/getDictItems/{dictCode}", method = RequestMethod.GET) public R<List<DictModel>> getDictItems(@PathVariable String dictCode, HttpServletRequest request) { List<DictModel> resultList = null; try { if(dictCode.indexOf(",")!=-1) { //关联表字典(举例:sys_user,realname,id) String[] params = dictCode.split(","); if(params.length<3) { return R.fail("字典Code格式不正确!"); } //SQL注入校验(只限制非法串改数据库) final String[] sqlInjCheck = {params[0],params[1],params[2]}; SqlInjectionUtil.filterContent(sqlInjCheck); if(params.length==4) { //SQL注入校验(查询条件SQL 特殊check,此方法仅供此处使用) SqlInjectionUtil.specialFilterContent(params[3]); resultList = dictService.queryTableDictItemsByCodeAndFilter(params[0],params[1],params[2],params[3]); }else if (params.length==3) { resultList = dictService.queryTableDictItemsByCode(params[0],params[1],params[2]); }else{ return R.fail("字典Code格式不正确!"); } }else { //字典表 resultList = dictService.queryDictItemsByCode(dictCode); } } catch (Exception e) { return R.fail("操作失败"); } return R.data(resultList); } /** * 大数据量的字典表 走异步加载 即前端输入内容过滤数据 * @param dictCode * @return */ @ApiOperationSupport(order = 21) @ApiOperation(value = "获取字典数据", notes = "获取字典数据") @RequestMapping(value = "/sys/dict/getDict/{dictCode}", method = RequestMethod.GET) public R<List<DictModel>> loadDict(@PathVariable String dictCode,@RequestParam(name="keyword") String keyword) { if(dictCode.indexOf(",")!=-1) { String[] params = dictCode.split(","); if(params.length!=3) { return R.fail("字典Code格式不正确!"); } List<DictModel> list = dictService.queryTableDictItems(params[0], params[1], params[2], keyword); return R.data(list); }else { return R.fail("字典Code格式不正确!"); } } @ApiOperationSupport(order = 29) @ApiOperation(value = "填值规则-执行自定义填值规则", notes = "填值规则-执行自定义填值规则") @PostMapping("/sys/fill/executeRuleByCode/{ruleCode}") public R executeByRuleCode(@PathVariable("ruleCode") String ruleCode, @RequestBody JSONObject formData) { Object result = FillRuleUtil.executeRule(ruleCode, formData); return R.data(result); } @ApiOperationSupport(order = 30) @ApiOperation(value = "填值规则-批量通过 ruleCode 执行自定义填值规则", notes = "填值规则-批量通过 ruleCode 执行自定义填值规则") @PutMapping("/executeRuleByCodeBatch") public R executeByRuleCodeBatch(@RequestBody JSONObject ruleData) { JSONObject commonFormData = ruleData.getJSONObject("commonFormData"); JSONArray rules = ruleData.getJSONArray("rules"); // 遍历 rules ,批量执行规则 JSONArray results = new JSONArray(rules.size()); for (int i = 0; i < rules.size(); i++) { JSONObject rule = rules.getJSONObject(i); String ruleCode = rule.getString("ruleCode"); JSONObject formData = rule.getJSONObject("formData"); // 如果没有传递 formData,就用common的 if (formData == null) { formData = commonFormData; } // 执行填值规则 Object result = FillRuleUtil.executeRule(ruleCode, formData); JSONObject obj = new JSONObject(rules.size()); obj.put("ruleCode", ruleCode); obj.put("result", result); results.add(obj); } return R.data(results); } @GetMapping("/sys/check/list") @ApiOperationSupport(order = 31) @ApiOperation(value = "编码校验规则 - 列表", notes = "传入checkRule") public R<IPage<CheckRule>> checkRuleList(CheckRule checkRule, Query query) { IPage<CheckRule> pages = checkRuleService.page(Condition.getPage(query), Condition.getQueryWrapper(checkRule)); return R.data(pages); } @GetMapping("/sys/check/detail") @ApiOperationSupport(order = 32) @ApiOperation(value = "编码校验规则 - 详情", notes = "编码校验规则 - 详情") public R<CheckRule> checkRuleDetail(CheckRule checkRule) { CheckRule detail = checkRuleService.getOne(Condition.getQueryWrapper(checkRule)); return R.data(detail); } @PostMapping("/sys/check/save") @ApiOperationSupport(order = 33) @ApiOperation(value = "编码校验规则 - 新增", notes = "编码校验规则 - 新增") public R checkRuleSave(@Valid @RequestBody CheckRule checkRule) { return R.status(checkRuleService.save(checkRule)); } @PostMapping("/sys/check/update") @ApiOperationSupport(order = 34) @ApiOperation(value = "编码校验规则 - 修改", notes = "编码校验规则 - 修改") public R checkRuleUpdate(@Valid @RequestBody CheckRule checkRule) { return R.status(checkRuleService.updateById(checkRule)); } @PostMapping("/sys/check/remove") @ApiOperationSupport(order = 35) @ApiOperation(value = "编码校验规则 - 逻辑删除", notes = "编码校验规则 - 逻辑删除") public R checkRuleRemove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { return R.status(checkRuleService.deleteLogic(Func.toLongList(ids))); } @ApiOperationSupport(order = 36) @ApiOperation(value = "编码校验规则-通过Code校验传入的值", notes = "编码校验规则-通过Code校验传入的值") @GetMapping(value = "/sys/check/checkByCode") public R<Object> checkByCode( @RequestParam(name = "ruleCode") String ruleCode, @RequestParam(name = "value") String value ) throws UnsupportedEncodingException { LambdaQueryWrapper<CheckRule> queryWrapper = new LambdaQueryWrapper<>(); queryWrapper.eq(CheckRule::getRuleCode, ruleCode); CheckRule sysCheckRule = checkRuleService.getOne(queryWrapper); if (sysCheckRule == null) { return R.fail("该编码不存在"); } JSONObject errorResult = checkRuleService.checkValue(sysCheckRule, URLDecoder.decode(value, "UTF-8")); if (errorResult == null) { return R.success("成功"); } else { return R.fail(errorResult.getString("message")); } } @GetMapping(value = "/sys/getAllTenant") @ApiOperationSupport(order = 37) @ApiOperation(value = "获取所有租户信息", notes = "获取所有租户") public R getAllTenant() { List<Map<String, Object>> list = dictService.getAllTenantList(); return R.data(list); } /** * 获取对象ID * * @return */ private String getCheckRuleId(CheckRule item) { try { return PropertyUtils.getProperty(item, "id").toString(); } catch (Exception e) { e.printStackTrace(); return null; } } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/controller/SystemController.java
Java
apache-2.0
19,100
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springblade.core.mp.base.TenantEntity; /** * 分类字典实体类 * * @author BladeX * @since 2021-05-27 */ @Data @TableName("sys_category") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "Category对象", description = "分类字典") public class Category extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty(value = "父级节点") private Long pid; @ApiModelProperty(value = "类型名称") private String name; @ApiModelProperty(value = "类型编码") private String code; @ApiModelProperty(value = "父级id") private String pstr; @ApiModelProperty(value = "是否有子节点:0=有子集 1=没子集") private String hasChild; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/Category.java
Java
apache-2.0
2,038
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.TenantEntity; /** * 自定义表单实体类 * * @author BladeX * @since 2021-05-22 */ @Data @TableName("onl_cgform_button") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformButton对象", description = "自定义表单") public class CgformButton extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private String id; @ApiModelProperty(value = "按钮编码") private String buttonCode; @ApiModelProperty(value = "按钮图标") private String buttonIcon; @ApiModelProperty(value = "按钮名称") private String buttonName; @ApiModelProperty(value = "按钮状态") private String buttonStatus; @ApiModelProperty(value = "按钮样式") private String buttonStyle; @ApiModelProperty(value = "表达式") private String exp; @ApiModelProperty(value = "表单ID") private Long cgformHeadId; @ApiModelProperty(value = "按钮类型") private String optType; @ApiModelProperty(value = "排序") private Integer orderNum; @ApiModelProperty(value = "按钮位置1侧面 2底部") private String optPosition; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformButton.java
Java
apache-2.0
2,445
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springblade.core.mp.base.TenantEntity; /** * java增强实体类 * * @author BladeX * @since 2021-05-22 */ @Data @TableName("onl_cgform_enhance_java") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformEnhanceJava对象", description = "java增强") public class CgformEnhanceJava extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private String id; /** * 按钮编码 */ @ApiModelProperty(value = "按钮编码") private String buttonCode; /** * 类型 */ @ApiModelProperty(value = "类型") private String cgJavaType; /** * 数值 */ @ApiModelProperty(value = "数值") private String cgJavaValue; /** * 表单ID */ @ApiModelProperty(value = "表单ID") private Long cgformHeadId; /** * 生效状态 */ @ApiModelProperty(value = "生效状态") private String activeStatus; /** * 事件状态(end:结束,start:开始) */ @ApiModelProperty(value = "事件状态(end:结束,start:开始)") private String event; @ApiModelProperty(value = "服务名") private String serviceName; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformEnhanceJava.java
Java
apache-2.0
2,443
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springblade.core.mp.base.TenantEntity; /** * js增强实体类 * * @author BladeX * @since 2021-05-22 */ @Data @TableName("onl_cgform_enhance_js") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformEnhanceJs对象", description = "js增强") public class CgformEnhanceJs extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private String id; /** * JS增强内容 */ @ApiModelProperty(value = "JS增强内容") private String cgJs; /** * 类型 */ @ApiModelProperty(value = "类型") private String cgJsType; /** * 备注 */ @ApiModelProperty(value = "备注") private String content; /** * 表单ID */ @ApiModelProperty(value = "表单ID") private Long cgformHeadId; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformEnhanceJs.java
Java
apache-2.0
2,082
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springblade.core.mp.base.TenantEntity; /** * sql增强实体类 * * @author BladeX * @since 2021-05-22 */ @Data @TableName("onl_cgform_enhance_sql") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformEnhanceSql对象", description = "sql增强") public class CgformEnhanceSql extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private String id; /** * 按钮编码 */ @ApiModelProperty(value = "按钮编码") private String buttonCode; /** * SQL内容 */ @ApiModelProperty(value = "SQL内容") private String cgbSql; /** * Sql名称 */ @ApiModelProperty(value = "Sql名称") private String cgbSqlName; /** * 备注 */ @ApiModelProperty(value = "备注") private String content; /** * 表单ID */ @ApiModelProperty(value = "表单ID") private Long cgformHeadId; @ApiModelProperty(value = "服务名") private String serviceName; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformEnhanceSql.java
Java
apache-2.0
2,264
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.TenantEntity; import org.springblade.core.secure.BladeUser; import org.springblade.core.tool.utils.DateUtil; /** * 表单数据库字段属性 */ @Data @TableName("onl_cgform_field") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformField对象", description = "CgformField对象") public class CgformField extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private String id; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "表ID") private Long cgformHeadId; @ApiModelProperty(value = "字段名字") private String dbFieldName; @ApiModelProperty(value = "字段备注") private String dbFieldTxt; @ApiModelProperty(value = "原字段名") private String dbFieldNameOld; @ApiModelProperty(value = "是否主键 0否 1是") private Integer dbIsKey; @ApiModelProperty(value = "是否允许为空0否 1是") private Integer dbIsNull; @ApiModelProperty(value = "数据库字段类型") private String dbType; @ApiModelProperty(value = "数据库字段长度") private Integer dbLength; @ApiModelProperty(value = "小数点") private Integer dbPointLength; @ApiModelProperty(value = "表字段默认值") private String dbDefaultVal; @ApiModelProperty(value = "字典code") private String dictField; @ApiModelProperty(value = "字典表") private String dictTable; @ApiModelProperty(value = "字典Text") private String dictText; @ApiModelProperty(value = "表单控件类型") private String fieldShowType; /*label: '文本框', value: 'text', label: '密码', value: 'password', label: '下拉框', value: 'list', label: '单选框', value: 'radio', label: '多选框', value: 'checkbox', label: '开关', value: 'switch', label: '日期(yyyy-MM-dd)', value: 'date', label: '日期(yyyy-MM-dd HH:mm:ss)', value: 'datetime', label: '时间(HH:mm:ss)', value: 'time', label: '文件', value: 'file', label: '图片', value: 'image', label: '多行文本', value: 'textarea', label: '下拉多选框', value: 'list_multi', label: '下拉搜索框', value: 'sel_search', label: 'Popup弹框', value: 'popup', label: '分类字典树', value: 'cat_tree', label: '部门选择', value: 'sel_depart', label: '用户选择', value: 'sel_user', label: '富文本', value: 'umeditor', label: 'MarkDown', value: 'markdown', label: '省市区组件', value: 'pca', label: '联动组件', value: 'link_down', label: '自定义树控件', value: 'sel_tree',*/ @ApiModelProperty(value = "跳转URL") private String fieldHref; @ApiModelProperty(value = "表单控件长度") private Integer fieldLength; @ApiModelProperty(value = "表单字段校验规则") private String fieldValidType; @ApiModelProperty(value = "字段是否必填") private String fieldMustInput; @ApiModelProperty(value = "扩展参数JSON") private String fieldExtendJson; @ApiModelProperty(value = "控件默认值,不同的表达式展示不同的结果。 1. 纯字符串直接赋给默认值; 2. #{普通变量}; 3. {{ 动态JS表达式 }}; 4. ${填值规则编码}; 填值规则表达式只允许存在一个,且不能和其他规则混用。") private String fieldDefaultValue; private Long createDept; @ApiModelProperty(value = "是否查询条件0否 1是") private Integer isQuery; @ApiModelProperty(value = "表单是否显示0否 1是") private Integer isShowForm; @ApiModelProperty(value = "列表是否显示0否 1是") private Integer isShowList; @ApiModelProperty(value = "是否是只读(1是 0否)") private Integer isReadOnly; @ApiModelProperty(value = "查询模式") private String queryMode; @ApiModelProperty(value = "外键主表名") private String mainTable; @ApiModelProperty(value = "外键主键字段") private String mainField; @ApiModelProperty(value = "排序") private Integer orderNum; @ApiModelProperty(value = "自定义值转换器") private String converter; @ApiModelProperty(value = "查询默认值") private String queryDefVal; @ApiModelProperty(value = "查询配置字典text") private String queryDictText; @ApiModelProperty(value = "查询配置字典code") private String queryDictField; @ApiModelProperty(value = "查询配置字典table") private String queryDictTable; @ApiModelProperty(value = "查询显示控件") private String queryShowType; @ApiModelProperty(value = "是否启用查询配置1是0否") private String queryConfigFlag; @ApiModelProperty(value = "查询字段校验类型") private String queryValidType; @ApiModelProperty(value = "查询字段是否必填1是0否") private String queryMustInput; @ApiModelProperty(value = "是否支持排序1是0否") private String sortFlag; @ApiModelProperty(value = "导出模板0=不导出 1=导出") private Long importFlag; @ApiModelProperty(value = "是否标题列0=否 1=是") private Long moveShowTitle; @ApiModelProperty(value = "是否展开列0=否 1=是") private Long moveShowUnfold; @ApiModelProperty(value = "是否栅格0=否 1=是") private Long moveSpan; @ApiModelProperty(value = "导出排序0=否 1=是") private Integer moveShowSort; @ApiModelProperty(value = "是否可控0=否 1=是") private Integer isShowColumn; @ApiModelProperty(value = "是否搜索0=否 1=是") private Integer isShowSearch; @ApiModelProperty(value = "连表字段") private String uniteFormKey; /** * js增强 */ @TableField(exist = false) private String jsEnhance; public static CgformField init(CgformField field, String tenantId, BladeUser createUser){ String deptId = createUser.getDeptId(); Long userId = createUser.getUserId(); field.setCreateUser(userId); field.setCreateDept(Long.parseLong(deptId)); field.setCreateTime(DateUtil.now()); field.setTenantId(tenantId); return field; } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformField.java
Java
apache-2.0
7,561
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.TenantEntity; import org.springblade.core.secure.BladeUser; import org.springblade.core.tool.utils.DateUtil; /** * 表单表名称 */ @Data @TableName("onl_cgform_head") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformHead对象", description = "CgformHead对象") public class CgformHead extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private Long id; @JsonSerialize(using = ToStringSerializer.class) private Long createDept; @ApiModelProperty(value = "表名") private String tableName; @ApiModelProperty(value = "表类型: 1单表、2主表、3附表") private Integer tableType; @ApiModelProperty(value = "表版本") private Integer tableVersion; @ApiModelProperty(value = "表说明") private String tableTxt; @ApiModelProperty(value = "表单基本属性") private String tableRemark; @ApiModelProperty(value = "是否带checkbox") private String isCheckbox; @ApiModelProperty(value = "同步数据库状态") private String isDbSynch; @ApiModelProperty(value = "是否分页") private String isPage; @ApiModelProperty(value = "是否是树") private String isTree; @ApiModelProperty(value = "主键生成序列") private String idSequence; @ApiModelProperty(value = "主键类型") private String idType; @ApiModelProperty(value = "查询模式") private String queryMode; @ApiModelProperty(value = "映射关系 0一对多 1一对一") private Integer relationType; @ApiModelProperty(value = "子表") private String subTableStr; @ApiModelProperty(value = "附表排序序号") private Integer tabOrderNum; @ApiModelProperty(value = "树形表单父id") private String treeParentIdField; @ApiModelProperty(value = "树表主键字段") private String treeIdField; @ApiModelProperty(value = "树开表单列字段") private String treeFieldname; @ApiModelProperty(value = "表单分类") private String formCategory; @ApiModelProperty(value = "PC表单模板") private String formTemplate; @ApiModelProperty(value = "表单模板样式(移动端)") private String formTemplateMobile; @ApiModelProperty(value = "是否有横向滚动条") private Integer scroll; @ApiModelProperty(value = "复制版本号") private Integer copyVersion; @ApiModelProperty(value = "复制表类型1为复制表 0为原始表") private Integer copyType; @ApiModelProperty(value = "原始表ID") private Long physicId; @ApiModelProperty(value = "主题模板") private String themeTemplate; @ApiModelProperty(value = "是否用设计器表单") private String isDesForm; @ApiModelProperty(value = "设计器表单编码") private String desFormCode; @TableField(exist = false) private transient Integer hascopy; @ApiModelProperty(value = "序号名称") private String indexTitle; @ApiModelProperty(value = "是否显示序号") private String indexShow; @ApiModelProperty(value = "备注") private String remark; @ApiModelProperty(value = "隐藏头部") private String hideHeader; @ApiModelProperty(value = "隐藏操作列") private String hideMenu; @ApiModelProperty(value = "基础数据") private String basicFunction; @ApiModelProperty(value = "操作列样式") private String menuStyle; @ApiModelProperty(value = "移动端表单设计id") private String moveFormId; @ApiModelProperty(value = "是否开启按钮权限") private String isAuthBtn; @ApiModelProperty(value = "不加载数据") private String isTableData; @ApiModelProperty(value = "移动端表格模式") private String moveTablePattern; @ApiModelProperty(value = "表格搜索模式") private String searchPattern; @ApiModelProperty(value = "不登录是否可以查询-0=否,1=是") private String nologinSelect; @ApiModelProperty(value = "不允许查看数据的角色") private String noViewDataRole; @ApiModelProperty(value = "不允许操作数据的角色") private String noOperationDataRole; public static CgformHead init(CgformHead head, String tenantId, BladeUser createUser) { String deptId = createUser.getDeptId(); Long userId = createUser.getUserId(); head.setCreateUser(userId); head.setCreateDept(Long.parseLong(deptId)); head.setCreateTime(DateUtil.now()); head.setTenantId(tenantId); head.setIsDbSynch("N");//同步数据库状态 head.setTableVersion(1);//表版本 head.setCopyType(0);//0为原始表 if (head.getTableType() == 3 && head.getTabOrderNum() == null) { head.setTabOrderNum(1); } return head; } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformHead.java
Java
apache-2.0
5,863
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.TenantEntity; import org.springblade.core.secure.BladeUser; import org.springblade.core.tool.utils.DateUtil; /** * 表单索引 */ @Data @TableName("onl_cgform_index") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformIndex对象", description = "CgformIndex对象") public class CgformIndex extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private Long id; private String createDept; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "主表id") private Long cgformHeadId; @ApiModelProperty(value = "索引名称") private String indexName; @ApiModelProperty(value = "索引栏位") private String indexField; @ApiModelProperty(value = "索引类型") private String indexType; @ApiModelProperty(value = "是否同步数据库 N未同步 Y已同步") private String isDbSynch; public static CgformIndex init(CgformIndex index, String tenantId, BladeUser createUser){ String deptId = createUser.getDeptId(); Long userId = createUser.getUserId(); index.setCreateUser(userId); index.setCreateDept(deptId); index.setCreateTime(DateUtil.now()); index.setTenantId(tenantId); return index; } }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformIndex.java
Java
apache-2.0
2,569
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.TenantEntity; /** * 表单校验 */ @Data @TableName("onl_cgform_valid") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CgformValid对象", description = "自定义表单字段校验规则表") public class CgformValid extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private String id; private String createDept; @ApiModelProperty(value = "类型") private String type; @ApiModelProperty(value = "校验表达式") private String pattern; @ApiModelProperty(value = "描述") private String msg; @ApiModelProperty(value = "校验字段名") private String name; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CgformValid.java
Java
apache-2.0
1,945
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import org.springblade.core.mp.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * 编码校验规则实体类 * * @author BladeX * @since 2021-07-03 */ @Data @TableName("sys_check_rule") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "CheckRule对象", description = "编码校验规则") public class CheckRule extends BaseEntity { private static final long serialVersionUID = 1L; private String id; private Long createDept; /** * 规则名称 */ @ApiModelProperty(value = "规则名称") private String ruleName; /** * 规则Code */ @ApiModelProperty(value = "规则Code") private String ruleCode; /** * 规则JSON */ @ApiModelProperty(value = "规则JSON") private String ruleJson; /** * 规则描述 */ @ApiModelProperty(value = "规则描述") private String ruleDescription; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/CheckRule.java
Java
apache-2.0
1,892
/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.mjkj.common.cgform.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springblade.core.mp.base.TenantEntity; /** * 表单设计器-数据实体类 * * @author BladeX * @since 2021-07-02 */ @Data @TableName("design_desform_data") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "DesformData对象", description = "表单设计器-数据") public class DesformData extends TenantEntity { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private Long id; @JsonSerialize(using = ToStringSerializer.class) private Long createDept; /** * 表单设计id */ @ApiModelProperty(value = "表单设计id") @JsonSerialize(using = ToStringSerializer.class) private Long desformHeadId; /** * 表单json */ @ApiModelProperty(value = "表单json") private String formDataJson; /** * 流程定义id */ private String processDefinitionId; /** * 流程实例id */ private String processInstanceId; /** * 表单开发表名 */ private String onlineFormCode; /** * 表单开发数据id */ private String onlineFormDataId; }
2301_78526554/springboot-openai-chatgpt
chatgpt-boot/src/main/java/org/springblade/modules/mjkj/common/cgform/entity/DesformData.java
Java
apache-2.0
2,353