sinzmise-cetastories 1.7.0-1719906245362 → 1.7.0-1719906729469

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/404/index.html +1 -1
  2. package/404.html +1 -1
  3. package/about/index.html +1 -1
  4. package/album/index.html +1 -1
  5. package/archives/2021/12/index.html +1 -1
  6. package/archives/2021/index.html +1 -1
  7. package/archives/2022/12/index.html +1 -1
  8. package/archives/2022/index.html +1 -1
  9. package/archives/2023/01/index.html +1 -1
  10. package/archives/2023/02/index.html +1 -1
  11. package/archives/2023/03/index.html +1 -1
  12. package/archives/2023/04/index.html +1 -1
  13. package/archives/2023/07/index.html +1 -1
  14. package/archives/2023/08/index.html +1 -1
  15. package/archives/2023/09/index.html +1 -1
  16. package/archives/2023/10/index.html +1 -1
  17. package/archives/2023/11/index.html +1 -1
  18. package/archives/2023/12/index.html +1 -1
  19. package/archives/2023/index.html +1 -1
  20. package/archives/2023/page/2/index.html +1 -1
  21. package/archives/2023/page/3/index.html +1 -1
  22. package/archives/2024/01/index.html +1 -1
  23. package/archives/2024/02/index.html +1 -1
  24. package/archives/2024/03/index.html +1 -1
  25. package/archives/2024/04/index.html +1 -1
  26. package/archives/2024/05/index.html +1 -1
  27. package/archives/2024/06/index.html +1 -1
  28. package/archives/2024/index.html +1 -1
  29. package/archives/2024/page/2/index.html +1 -1
  30. package/archives/index.html +1 -1
  31. package/archives/page/2/index.html +1 -1
  32. package/archives/page/3/index.html +1 -1
  33. package/archives/page/4/index.html +1 -1
  34. package/atom.xml +21 -21
  35. package/baidu_verify_codeva-NA6uDlCuZg.html +1 -1
  36. package/bangumis/index.html +1 -1
  37. package/bbs/index.html +1 -1
  38. package/cacheList.json +1 -1
  39. package/categories/index.html +1 -1
  40. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  41. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  42. package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  43. package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  44. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  45. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  46. package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  47. package/charts/index.html +1 -1
  48. package/comments/index.html +1 -1
  49. package/essay/index.html +1 -1
  50. package/fcircle/index.html +1 -1
  51. package/google8073542809160a67.html +1 -1
  52. package/index.html +1 -1
  53. package/link/index.html +1 -1
  54. package/music/index.html +1 -1
  55. package/package.json +1 -1
  56. package/page/2/index.html +1 -1
  57. package/page/3/index.html +1 -1
  58. package/page/4/index.html +1 -1
  59. package/posts/10021/index.html +1 -1
  60. package/posts/10045/index.html +1 -1
  61. package/posts/10996/index.html +1 -1
  62. package/posts/12779/index.html +1 -1
  63. package/posts/13624/index.html +1 -1
  64. package/posts/15748/index.html +1 -1
  65. package/posts/15842/index.html +1 -1
  66. package/posts/16107/index.html +1 -1
  67. package/posts/18063/index.html +1 -1
  68. package/posts/20412/index.html +1 -1
  69. package/posts/21375/index.html +1 -1
  70. package/posts/22945/index.html +1 -1
  71. package/posts/23021/index.html +1 -1
  72. package/posts/27531/index.html +1 -1
  73. package/posts/27762/index.html +1 -1
  74. package/posts/28536/index.html +1 -1
  75. package/posts/28733/index.html +1 -1
  76. package/posts/29196/index.html +1 -1
  77. package/posts/38917/index.html +1 -1
  78. package/posts/38964/index.html +1 -1
  79. package/posts/42487/index.html +1 -1
  80. package/posts/42580/index.html +1 -1
  81. package/posts/45875/index.html +1 -1
  82. package/posts/48762/index.html +1 -1
  83. package/posts/50710/index.html +1 -1
  84. package/posts/52677/index.html +1 -1
  85. package/posts/53662/index.html +1 -1
  86. package/posts/54386/index.html +1 -1
  87. package/posts/54481/index.html +1 -1
  88. package/posts/54787/index.html +1 -1
  89. package/posts/56467/index.html +1 -1
  90. package/posts/57692/index.html +1 -1
  91. package/posts/58203/index.html +1 -1
  92. package/posts/61417/index.html +1 -1
  93. package/posts/646/index.html +1 -1
  94. package/seas/index.html +1 -1
  95. package/sitemap.xml +52 -52
  96. package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
  97. package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
  98. package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
  99. package/tags/index.html +1 -1
  100. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  101. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  102. package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
  103. package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
  104. package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  105. package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  106. package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
  107. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  108. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  109. package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
  110. package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
  111. package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  112. package/update/index.html +1 -1
  113. package/update.json +1 -1
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><script>(()=>{let r=navigator.serviceWorker,e=()=>console.error("Service Worker 注册失败!可能是由于您的浏览器不支持该功能!");r?.register("/sw.js")?.catch(e)||e()})()</script><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><title>给你的站点添加个可可爱爱的看板娘——伪春菜 | 星空故事·魔法小屋</title><meta name="author" content="王九弦SZ·Ninty"><meta name="copyright" content="王九弦SZ·Ninty"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><link rel="authorization_endpoint" href="https://indieauth.com/auth"><link rel="token_endpoint" href="https://tokens.indieauth.com/token"><link rel="webmention" href="https://webmention.io/blog.sinzmise.top/webmention"><meta name="description" content="前言什么是伪春菜?请看这里作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格 某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘就去去搜了一下,得到的结果是:http://www.lmyoaoa.com/inn/archives/4504/又因为这玩"><meta property="og:type" content="article"><meta property="og:title" content="给你的站点添加个可可爱爱的看板娘——伪春菜"><meta property="og:url" content="https://blog.sinzmise.top/posts/54787/"><meta property="og:site_name" content="星空故事·魔法小屋"><meta property="og:description" content="前言什么是伪春菜?请看这里作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格 某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘就去去搜了一下,得到的结果是:http://www.lmyoaoa.com/inn/archives/4504/又因为这玩"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg"><meta property="article:published_time" content="2024-02-16T17:17:26.000Z"><meta property="article:modified_time" content="2024-07-02T07:43:02.742Z"><meta property="article:author" content="王九弦SZ·Ninty"><meta property="article:tag" content="站点折腾"><meta property="article:tag" content="悬浮宠物/看板娘"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg"><link rel="shortcut icon" href="/img/icon-dark.png"><link rel="canonical" href="https://blog.sinzmise.top/posts/54787/"><link rel="preconnect"><link rel="preconnect" href="//www.google-analytics.com" crossorigin=""><link rel="preconnect" href="//hm.baidu.com"><link rel="preconnect" href="//static.cloudflareinsights.com"><link rel="preconnect" href="//busuanzi.ibruce.info"><link rel="preconnect" href="//sdk.51.la"><meta name="baidu-site-verification" content="codeva-NA6uDlCuZg"><meta name="msvalidate.01" content="18428535B4425286753107589FC35E79"><meta name="google-site-verification" content="H2O2-443XGKJh5l1ik9o6ZgFmcBEf9AKSoMRRlNIltQ"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/animate.min.css" media="print" onload='this.media="all"'><link rel="manifest" href="/manifest.json"><meta name="msapplication-TileColor" content="var(--anzhiyu-main)"><link rel="mask-icon" href="/img/siteicon/safari-pinned-tab.svg" color="#5bbad5"><link rel="apple-touch-icon" sizes="180x180" href="/img/siteicon/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" sizes="180x180" href="/img/siteicon/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/img/siteicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/siteicon/favicon-16x16.png"><link rel="bookmark" href="/img/siteicon/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1668-2388.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1290-2796.jpg" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2796-1290.jpg" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1179-2556.jpg" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2556-1179.jpg" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/anzhiyu-theme-static/icon/ali_iconfont_css.min.css"><link rel="stylesheet" href="//at.alicdn.com/t/c/font_4199232_gh7up2nbg3c.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/tag_plugins.min.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/font-awesome-animation.min.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/node-snackbar/dist/snackbar.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload='this.media="all"'><script>var _hmt=_hmt||[];!function(){var e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?59986c9d6715c06178a2b6e2f118f837";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-7MR59SK1DP"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-7MR59SK1DP")</script><script defer data-pjax="data-pjax" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon="{&quot;token&quot;: &quot;9156db3f439e470d9c3e7bf91a7aa995&quot;}"></script><script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script><script>LA.init({id:"K9WDMA2h2AfDg5GG",ck:"K9WDMA2h2AfDg5GG",autoTrack:!0,hashMode:!0})</script><script src="https://sdk.51.la/perf/js-sdk-perf.min.js" crossorigin="anonymous"></script><script>(new LingQue.Monitor).init({id:"K94JRCDsbHJJSjNs"})</script><script>const GLOBAL_CONFIG={root:"/",algolia:void 0,localSearch:void 0,translate:{defaultEncoding:2,translateDelay:0,msgToTraditionalChinese:"繁",msgToSimplifiedChinese:"簡"},noticeOutdate:void 0,highlight:void 0,postHeadAiDescription:{enable:!0,gptName:"MagicRing",mode:"tianli",switchBtn:!1,btnLink:"https://afdian.net/item/886a79d4db6711eda42a52540025c377",randomNum:1,basicWordCount:1e3,key:"3782872dfbfe495c1c52",Referer:"https://blog.sinzmise.top/"},date:"2021/12/17 14:53:11",copy:{success:"复制成功",error:"复制错误",noSupport:"浏览器不支持"},relativeDate:{homepage:!1,post:!1},runtime:"",date_suffix:{just:"刚刚",min:"分钟前",hour:"小时前",day:"天前",month:"个月前"},copyright:{limitCount:50,languages:{author:"作者: 王九弦SZ·Ninty",link:"链接: ",source:"来源: 星空故事·魔法小屋",info:"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},lightbox:"fancybox",Snackbar:{chs_to_cht:"你已切换为繁体",cht_to_chs:"你已切换为简体",day_to_night:"你已切换为深色模式",night_to_day:"你已切换为浅色模式",bgLight:"#49b1f5",bgDark:"#1f1f1f",position:"top-left"},source:{justifiedGallery:{js:"https://jsd.cdn.storisinz.site/npm/flickr-justified-gallery/dist/fjGallery.min.js",css:"https://jsd.cdn.storisinz.site/npm/flickr-justified-gallery/dist/fjGallery.min.css"}},isPhotoFigcaption:!1,islazyload:!0,isAnchor:!1,percent:{toc:!0,rightside:!1},player:{key:"661a038c31f2b",mobile:"1"},uiversion:"v1.7.0"},GLOBAL_LANG={fps:{normal1:"非常好",normal2:"很好",laggy1:"卡",laggy2:"难受",laggy3:"电竞级帧率",laggy4:"卡成ppt"},about:{comments:"个评论",introduction:["测试一下","测试",233],comment_error:"错误:评论总数功能无法获取到正确的元素,请检查页面是否正常!",stats:{today_users:"今日人数",today_uv:"今日访问",yesterday_users:"昨日人数",yesterday_uv:"昨日访问",month_uv:"本月访问",recent:"最近访问",years:"已稳定运行 ${q} 年"}}}</script><script id="config-diff">var GLOBAL_CONFIG_SITE={title:"给你的站点添加个可可爱爱的看板娘——伪春菜",isPost:!0,isHome:!1,isHighlightShrink:!1,isToc:!0,postUpdate:"2024-07-02 07:43:02"}</script><noscript><style>#nav{opacity:1}.justified-gallery img{opacity:1}#post-meta time,#recent-posts time{display:inline!important}</style></noscript><script src="https://jsd.cdn.storisinz.site/npm/jquery/dist/jquery.min.js"></script><script>(e=>{e.saveToLocal={set:function(e,t,o){if(0===o)return;const a=864e5*o,n={value:t,expiry:(new Date).getTime()+a};localStorage.setItem(e,JSON.stringify(n))},get:function(e){const t=localStorage.getItem(e);if(!t)return;const o=JSON.parse(t);if(!((new Date).getTime()>o.expiry))return o.value;localStorage.removeItem(e)}},e.getScript=e=>new Promise(((t,o)=>{const a=document.createElement("script");a.src=e,a.async=!0,a.onerror=o,a.onload=a.onreadystatechange=function(){const e=this.readyState;e&&"loaded"!==e&&"complete"!==e||(a.onload=a.onreadystatechange=null,t())},document.head.appendChild(a)})),e.getCSS=e=>new Promise(((t,o)=>{const a=document.createElement("link");a.rel="stylesheet",a.href=e,a.onload=()=>t(),a.onerror=()=>o(),document.head.appendChild(a)})),e.activateDarkMode=function(){document.documentElement.setAttribute("data-theme","dark"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#0d0d0d")},e.activateLightMode=function(){document.documentElement.setAttribute("data-theme","light"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#ffffff")};const t=saveToLocal.get("theme"),o=window.matchMedia("(prefers-color-scheme: dark)").matches,a=window.matchMedia("(prefers-color-scheme: light)").matches,n=window.matchMedia("(prefers-color-scheme: no-preference)").matches,c=!o&&!a&&!n;if(void 0===t){if(a)activateLightMode();else if(o)activateDarkMode();else if(n||c){const e=(new Date).getHours();e<=6||e>=18?activateDarkMode():activateLightMode()}window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){void 0===saveToLocal.get("theme")&&(e.matches?activateDarkMode():activateLightMode())}))}else"light"===t?activateLightMode():activateDarkMode();const d=saveToLocal.get("aside-status");void 0!==d&&("hide"===d?document.documentElement.classList.add("hide-aside"):document.documentElement.classList.remove("hide-aside"));/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)&&document.documentElement.classList.add("apple")})(window)</script><link rel="stylesheet" href="/css/custom.css"><link rel="stylesheet" href="/css/custom2.css"><link rel="stylesheet" href="/css/anzhiyu-var.css"><link rel="stylesheet" href="/css/heo-var.css"><link rel="stylesheet" href="/css/bywind-var.css"><link rel="stylesheet" href="/css/icat-var.css"><link rel="stylesheet" href="https://cdn2.codesign.qq.com/icons/XMx86jzlQw0brz3/latest/iconfont.css"><link rel="stylesheet" href="/css/rightmenu.css"><link rel="stylesheet" href="/css/iconfont.css"><link rel="stylesheet" href="/css/categoryBar.css"><script async src="/js/categoryBar.js"></script><link rel="stylesheet" href="/css/orlike.css"><link rel="stylesheet" href="/css/footer.css"><link rel="stylesheet" href="/css/404.css"><link rel="stylesheet" href="/css/plane.css"><link rel="stylesheet" href="/css/console.css"><style id="settingStyle"></style><style id="css"></style><style id="yjjs"></style><style id="themeColor"></style><script defer src="/sw-dom.js"></script><meta name="generator" content="Hexo 7.3.0"><link rel="alternate" href="/atom.xml" title="星空故事·魔法小屋" type="application/atom+xml"></head><body><div class="float-box left top"></div><div class="float-box left bottom"></div><div class="float-box right top"></div><div class="float-box right bottom"></div><div id="loading-box" onclick="preloader.endLoading()"><div class="loader-wrapper"><div class="container"><div class="circle"></div><div class="circle"></div><div class="circle"></div></div><div id="preload"><span></span><span></span><span></span><span></span><span></span><span></span></div></div></div><script>const preloader={endLoading:()=>{document.body.style.overflow="auto",document.getElementById("loading-box").classList.add("loaded"),setTimeout((()=>{document.getElementById("loading-box").style.display="none"}),1e3)},initLoading:()=>{document.body.style.overflow="",document.getElementById("loading-box").style.display="block",document.getElementById("loading-box").classList.remove("loaded")}};window.addEventListener("load",(()=>{preloader.endLoading()})),document.addEventListener("pjax:send",(()=>{preloader.initLoading()})),document.addEventListener("pjax:complete",(()=>{preloader.endLoading()}))</script><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/pace-js/themes/blue/pace-theme-minimal.min.css"><script src="https://jsd.cdn.storisinz.site/npm/pace-js/pace.min.js"></script><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror='onerror=null,src="/img/friend_404.gif"' alt="avatar"></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">36</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">5</div></a><a href="/comments/"><div class="headline">评论</div><div class="length-num icat-pe-comment">0</div></a></div><hr><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-wenzhang"></use></svg> <span>站点</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-a-xiangzishouna"></use></svg> <span>隧道</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei"></use></svg> <span>分类</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei-copy"></use></svg> <span>标签</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/update/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-gengxin"></use></svg> <span>更新日志</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-youlian"></use></svg> <span>友链</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/link/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-lianjie"></use></svg> <span>友人帐</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/fcircle/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon_pengyouquan"></use></svg> <span>朋友圈</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/comments/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-liuyanban"></use></svg> <span>留言板</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bbs/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-laba"></use></svg> <span>哔哔广场</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-guanyuwomenicon"></use></svg> <span>关于</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/about/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zhifeiji"></use></svg> <span>关于屋主</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bangumis/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-bilibili"></use></svg> <span>屋主追番</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/essay/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon-test"></use></svg> <span>闲言碎语</span></a></li><li><a class="site-page child faa-parent animated-hover" href="javascript:toRandomPost()"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zuji"></use></svg> <span>随便逛逛</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg nav-fixed nav-visible" id="page-header" style="background-image:url('https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg')"><nav id="nav"><span id="blog-info"><a href="/" title="星空故事·魔法小屋"><img class="site-logo" src="/img/icon-dark.png"></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-wenzhang"></use></svg> <span>站点</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-a-xiangzishouna"></use></svg> <span>隧道</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei"></use></svg> <span>分类</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei-copy"></use></svg> <span>标签</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/update/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-gengxin"></use></svg> <span>更新日志</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-youlian"></use></svg> <span>友链</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/link/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-lianjie"></use></svg> <span>友人帐</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/fcircle/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon_pengyouquan"></use></svg> <span>朋友圈</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/comments/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-liuyanban"></use></svg> <span>留言板</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bbs/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-laba"></use></svg> <span>哔哔广场</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-guanyuwomenicon"></use></svg> <span>关于</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/about/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zhifeiji"></use></svg> <span>关于屋主</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bangumis/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-bilibili"></use></svg> <span>屋主追番</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/essay/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon-test"></use></svg> <span>闲言碎语</span></a></li><li><a class="site-page child faa-parent animated-hover" href="javascript:toRandomPost()"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zuji"></use></svg> <span>随便逛逛</span></a></li></ul></div></div><center id="name-container"><a id="page-name" href="javascript:rmf.scrollToTop()">PAGE_NAME</a></center></div><div id="nav-right"><div id="travellings"><a class="site-page" target="_blank" rel="noopener" href="https://www.travellings.cn/go.html" title="随机前往一个开往项目网站"><i class="fas fa-train fa-fw"></i></a></div><div id="random"><a class="site-page" href="javascript:toRandomPost()" title="随机前往一个文章"><i class="fas fa-paper-plane fa-fw"></i></a></div><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i></a></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">给你的站点添加个可可爱爱的看板娘——伪春菜</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-orlike"><i class="iconfont icon-aixin fa-fw post-meta-icon"></i><span class="post-meta-label">点赞数:</span><a href="/posts/54787/#orlike-box"><span class="orlike-count"></span></a></span><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2024-02-16T17:17:26.000Z" title="发表于 2024-02-16 17:17:26">2024-02-16</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2024-07-02T07:43:02.742Z" title="更新于 2024-07-02 07:43:02">2024-07-02</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E7%AB%99%E7%82%B9%E6%8A%98%E8%85%BE/">站点折腾</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" data-flag-title="给你的站点添加个可可爱爱的看板娘——伪春菜"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div><section class="main-hero-waves-area waves-area"><svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s58 18 88 18 58-18 88-18 58 18 88 18v44h-352Z"></path></defs><g class="parallax"><use href="#gentle-wave" x="48" y="0"></use><use href="#gentle-wave" x="48" y="3"></use><use href="#gentle-wave" x="48" y="5"></use><use href="#gentle-wave" x="48" y="7"></use></g></svg></section></header><main class="layout" id="content-inner"><div class="h-entry" id="post"><article class="post-content e-content" id="article-container"><h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>什么是伪春菜?<a target="_blank" rel="noopener" href="https://mzh.moegirl.org.cn/%E4%BC%AA%E6%98%A5%E8%8F%9C">请看这里</a><br>作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气<br>后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少<br>我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格</p><p>某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘<br>就去去搜了一下,得到的结果是:<a target="_blank" rel="noopener" href="http://www.lmyoaoa.com/inn/archives/4504/">http://www.lmyoaoa.com/inn/archives/4504/</a><br>又因为这玩意已经很久没更新,所以我将这个的js、css和图片提取出来,然后魔改了一下,方便放在hexo里面<br>废话不多说,开始吧!</p><h1 id="引入js和css"><a href="#引入js和css" class="headerlink" title="引入js和css"></a>引入js和css</h1><p>{blogroot}/source/weichuncai/css/style.css<br></p><figure class="highlight css"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br></pre></td><td class="code"><pre><span class="line"><span class="selector-id">#smchuncai</span> {<span class="attribute">opacity</span>:<span class="number">0.85</span>;<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">position</span>:fixed;<span class="attribute">top</span>:<span class="number">400px</span>;<span class="attribute">left</span>:<span class="number">800px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#smchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#chuncaiface</span> {<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">background-repeat</span>:no-repeat;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:<span class="number">0px</span>;}</span><br><span class="line"><span class="comment">/*#chuncaimenu {width:46px;line-height:16px;float:left;font-size:12px;cursor:pointer;background-color:#666;color:#FFF;text-align:center;}*/</span></span><br><span class="line"><span class="selector-id">#showchuncaimenu</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="comment">/*#showchuncaimenu ul, */</span><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">margin</span>:<span class="number">1px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">5px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-class">.wcc_mlist</span> {<span class="attribute">text-align</span>:center;<span class="attribute">width</span>:<span class="number">47%</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">4px</span> <span class="number">0px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">width</span>:<span class="number">96%</span>;}</span><br><span class="line"><span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:fixed;<span class="attribute">width</span>:<span class="number">60px</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">display</span>:none;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#dialog_chat</span> {<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:-<span class="number">205px</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_loading</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">30px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/loading.gif"</span>) no-repeat center center;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#chat_top</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">5px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_top.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span>, <span class="selector-id">#chuncaisaying</span>, <span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding-left</span>:<span class="number">0px</span>;<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">background-color</span>:<span class="number">#ffffee</span>;}</span><br><span class="line"><span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span>,<span class="selector-id">#chuncaisaying</span> {<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">2px</span>; <span class="attribute">width</span>:<span class="number">196px</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span> {<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">border-left</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">border-right</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;}</span><br><span class="line"><span class="selector-id">#chat_bottom</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">10px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_bottom.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#chat_top</span>, <span class="selector-id">#chat_bottom</span> {}</span><br><span class="line"><span class="selector-id">#tempsaying</span>, <span class="selector-id">#hiddenfaces</span> {<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#getmenu</span> {<span class="attribute">width</span>:<span class="number">95%</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/menu.jpg"</span>) no-repeat top right;}</span><br><span class="line"><span class="selector-id">#addinput</span> {<span class="attribute">width</span>:<span class="number">240px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">150px</span>;<span class="attribute">left</span>:-<span class="number">260px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#888</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;<span class="attribute">padding-top</span>:<span class="number">2px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#inp_l</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">220px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;}</span><br><span class="line"><span class="selector-id">#inp_r</span> {<span class="attribute">float</span><span class="selector-pseudo">:right</span>;<span class="attribute">width</span>:<span class="number">20px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">text-align</span>:center;<span class="attribute">cursor</span>:pointer;}</span><br><span class="line"><span class="selector-id">#talk</span> {<span class="attribute">border</span>:none;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">180px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;}</span><br><span class="line"><span class="selector-id">#talkto</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">border</span>:none;<span class="attribute">width</span>:<span class="number">30px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/ok.jpg"</span>);<span class="attribute">cursor</span>:pointer;}</span><br></pre></td></tr></tbody></table></figure><br>{blogroot}/source/weichuncai/js/common.js<br><figure class="highlight javascript"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br><span class="line">234</span><br><span class="line">235</span><br><span class="line">236</span><br><span class="line">237</span><br><span class="line">238</span><br><span class="line">239</span><br><span class="line">240</span><br><span class="line">241</span><br><span class="line">242</span><br><span class="line">243</span><br><span class="line">244</span><br><span class="line">245</span><br><span class="line">246</span><br><span class="line">247</span><br><span class="line">248</span><br><span class="line">249</span><br><span class="line">250</span><br><span class="line">251</span><br><span class="line">252</span><br><span class="line">253</span><br><span class="line">254</span><br><span class="line">255</span><br><span class="line">256</span><br><span class="line">257</span><br><span class="line">258</span><br><span class="line">259</span><br><span class="line">260</span><br><span class="line">261</span><br><span class="line">262</span><br><span class="line">263</span><br><span class="line">264</span><br><span class="line">265</span><br><span class="line">266</span><br><span class="line">267</span><br><span class="line">268</span><br><span class="line">269</span><br><span class="line">270</span><br><span class="line">271</span><br><span class="line">272</span><br><span class="line">273</span><br><span class="line">274</span><br><span class="line">275</span><br><span class="line">276</span><br><span class="line">277</span><br><span class="line">278</span><br><span class="line">279</span><br><span class="line">280</span><br><span class="line">281</span><br><span class="line">282</span><br><span class="line">283</span><br><span class="line">284</span><br><span class="line">285</span><br><span class="line">286</span><br><span class="line">287</span><br><span class="line">288</span><br><span class="line">289</span><br><span class="line">290</span><br><span class="line">291</span><br><span class="line">292</span><br><span class="line">293</span><br><span class="line">294</span><br><span class="line">295</span><br><span class="line">296</span><br><span class="line">297</span><br><span class="line">298</span><br><span class="line">299</span><br><span class="line">300</span><br><span class="line">301</span><br><span class="line">302</span><br><span class="line">303</span><br><span class="line">304</span><br><span class="line">305</span><br><span class="line">306</span><br><span class="line">307</span><br><span class="line">308</span><br><span class="line">309</span><br><span class="line">310</span><br><span class="line">311</span><br><span class="line">312</span><br><span class="line">313</span><br><span class="line">314</span><br><span class="line">315</span><br><span class="line">316</span><br><span class="line">317</span><br><span class="line">318</span><br><span class="line">319</span><br><span class="line">320</span><br><span class="line">321</span><br><span class="line">322</span><br><span class="line">323</span><br><span class="line">324</span><br><span class="line">325</span><br><span class="line">326</span><br><span class="line">327</span><br><span class="line">328</span><br><span class="line">329</span><br><span class="line">330</span><br><span class="line">331</span><br><span class="line">332</span><br><span class="line">333</span><br><span class="line">334</span><br><span class="line">335</span><br><span class="line">336</span><br><span class="line">337</span><br><span class="line">338</span><br><span class="line">339</span><br><span class="line">340</span><br><span class="line">341</span><br><span class="line">342</span><br><span class="line">343</span><br><span class="line">344</span><br><span class="line">345</span><br><span class="line">346</span><br><span class="line">347</span><br><span class="line">348</span><br><span class="line">349</span><br><span class="line">350</span><br><span class="line">351</span><br><span class="line">352</span><br><span class="line">353</span><br><span class="line">354</span><br><span class="line">355</span><br><span class="line">356</span><br><span class="line">357</span><br><span class="line">358</span><br><span class="line">359</span><br><span class="line">360</span><br><span class="line">361</span><br><span class="line">362</span><br><span class="line">363</span><br><span class="line">364</span><br><span class="line">365</span><br><span class="line">366</span><br><span class="line">367</span><br><span class="line">368</span><br><span class="line">369</span><br><span class="line">370</span><br><span class="line">371</span><br><span class="line">372</span><br><span class="line">373</span><br><span class="line">374</span><br><span class="line">375</span><br><span class="line">376</span><br><span class="line">377</span><br><span class="line">378</span><br><span class="line">379</span><br><span class="line">380</span><br><span class="line">381</span><br><span class="line">382</span><br><span class="line">383</span><br><span class="line">384</span><br><span class="line">385</span><br><span class="line">386</span><br><span class="line">387</span><br><span class="line">388</span><br><span class="line">389</span><br><span class="line">390</span><br><span class="line">391</span><br><span class="line">392</span><br><span class="line">393</span><br><span class="line">394</span><br><span class="line">395</span><br><span class="line">396</span><br><span class="line">397</span><br><span class="line">398</span><br><span class="line">399</span><br><span class="line">400</span><br><span class="line">401</span><br><span class="line">402</span><br><span class="line">403</span><br><span class="line">404</span><br><span class="line">405</span><br><span class="line">406</span><br><span class="line">407</span><br><span class="line">408</span><br><span class="line">409</span><br><span class="line">410</span><br><span class="line">411</span><br><span class="line">412</span><br><span class="line">413</span><br><span class="line">414</span><br><span class="line">415</span><br><span class="line">416</span><br><span class="line">417</span><br><span class="line">418</span><br><span class="line">419</span><br><span class="line">420</span><br><span class="line">421</span><br><span class="line">422</span><br><span class="line">423</span><br><span class="line">424</span><br><span class="line">425</span><br><span class="line">426</span><br><span class="line">427</span><br><span class="line">428</span><br><span class="line">429</span><br><span class="line">430</span><br><span class="line">431</span><br><span class="line">432</span><br><span class="line">433</span><br><span class="line">434</span><br><span class="line">435</span><br><span class="line">436</span><br><span class="line">437</span><br><span class="line">438</span><br><span class="line">439</span><br><span class="line">440</span><br><span class="line">441</span><br><span class="line">442</span><br><span class="line">443</span><br><span class="line">444</span><br><span class="line">445</span><br><span class="line">446</span><br><span class="line">447</span><br><span class="line">448</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> smjq = jQuery;</span><br><span class="line"><span class="keyword">var</span> _typei = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">var</span> weichuncai_text = <span class="string">''</span>;</span><br><span class="line"><span class="title function_">smjq</span>(<span class="variable language_">document</span>).<span class="title function_">ready</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> getwidth = <span class="title function_">getCookie</span>(<span class="string">"historywidth"</span>);</span><br><span class="line"> <span class="keyword">var</span> getheight = <span class="title function_">getCookie</span>(<span class="string">"historyheight"</span>);</span><br><span class="line"> <span class="keyword">if</span>(getwidth != <span class="literal">null</span> &amp;&amp; getheight != <span class="literal">null</span>){</span><br><span class="line"> <span class="keyword">var</span> width = getwidth;</span><br><span class="line"> <span class="keyword">var</span> height = getheight;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> width = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>- <span class="number">200</span> - imagewidth;</span><br><span class="line"> <span class="keyword">var</span> height = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>- <span class="number">180</span> - imageheight;</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> cwidth = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>-<span class="number">100</span>;</span><br><span class="line"> <span class="keyword">var</span> cheight = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>-<span class="number">20</span>;</span><br><span class="line"> <span class="comment">//var height = document.body.clientHeight-200;</span></span><br><span class="line"> <span class="keyword">var</span> moveX = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveY = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveTop = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveLeft = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveable = <span class="literal">false</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseMoveEvent = <span class="variable language_">document</span>.<span class="property">onmousemove</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseUpEvent = <span class="variable language_">document</span>.<span class="property">onmouseup</span>;</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="smchuncai" onfocus="this.blur();" style="color:#626262;z-index:999;"&gt;&lt;div id="chuncaiface"&gt;&lt;/div&gt;&lt;div id="dialog_chat"&gt;&lt;div id="chat_top"&gt;&lt;/div&gt;&lt;div id="dialog_chat_contents"&gt;&lt;div id="dialog_chat_loading"&gt;&lt;/div&gt;&lt;div id="tempsaying"&gt;&lt;/div&gt;&lt;div id="showchuncaimenu"&gt;&lt;ul class="wcc_mlist" id="shownotice"&gt;显示公告&lt;/ul&gt;&lt;ul class="wcc_mlist" id="chatTochuncai"&gt;聊&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;天&lt;/ul&gt;&lt;ul class="wcc_mlist" id="foods"&gt;吃 零 食&lt;/ul&gt;&lt;ul class="wcc_mlist" id="aboutmanage"&gt;关&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;于&lt;/ul&gt;&lt;ul class="wcc_mlist" id="lifetimechuncai"&gt;生存时间&lt;/ul&gt;&lt;ul class="wcc_mlist" id="closechuncai"&gt;关闭春菜&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;ul id="chuncaisaying"&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div id="getmenu"&gt; &lt;/div&gt;&lt;/div&gt;&lt;div id="chat_bottom"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="addinput"&gt;&lt;div id="inp_l"&gt;&lt;input id="talk" type="text" name="mastersay" value="" /&gt; &lt;input id="talkto" type="button" value=" " /&gt;&lt;/div&gt;&lt;div id="inp_r"&gt; X &lt;/div&gt;&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="callchuncai"&gt;召唤春菜&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="comment">//判断春菜是否处于隐藏状态</span></span><br><span class="line"> <span class="keyword">var</span> is_closechuncai = <span class="title function_">getCookie</span>(<span class="string">"is_closechuncai"</span>);</span><br><span class="line"> <span class="keyword">if</span>(is_closechuncai == <span class="string">'close'</span>){</span><br><span class="line"> <span class="title function_">closechuncai_init</span>();</span><br><span class="line"> }</span><br><span class="line"> <span class="comment">//设置初始状态</span></span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'left'</span>, width+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'top'</span>, height+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'width'</span>, imagewidth+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'height'</span>, imageheight+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"top:"</span>+cheight+<span class="string">"px; left:"</span>+cwidth+<span class="string">"px; text-align:center;"</span>);</span><br><span class="line"></span><br><span class="line"> smcc = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> smcc.<span class="property">onmousedown</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> moveable = <span class="literal">true</span>;</span><br><span class="line"> moveX = ent.<span class="property">clientX</span>;</span><br><span class="line"> moveY = ent.<span class="property">clientY</span>;</span><br><span class="line"> <span class="keyword">var</span> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> moveTop = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">top</span>);</span><br><span class="line"> moveLeft = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">left</span>);</span><br><span class="line"> <span class="keyword">if</span>(isFirefox=navigator.<span class="property">userAgent</span>.<span class="title function_">indexOf</span>(<span class="string">"Firefox"</span>)&gt;<span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="title function_">getSelection</span>().<span class="title function_">removeAllRanges</span>();</span><br><span class="line"> } </span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> <span class="keyword">var</span> x = moveLeft + ent.<span class="property">clientX</span> - moveX;</span><br><span class="line"> <span class="keyword">var</span> y = moveTop + ent.<span class="property">clientY</span> - moveY;</span><br><span class="line"> <span class="keyword">var</span> w = <span class="number">200</span>;</span><br><span class="line"> <span class="keyword">var</span> h = <span class="number">200</span>; <span class="comment">//w,h为浮层宽高</span></span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">left</span> = x + <span class="string">"px"</span>;</span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">top</span> = y + <span class="string">"px"</span>;</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> historywidth = obj.<span class="property">style</span>.<span class="property">left</span>;</span><br><span class="line"> <span class="keyword">var</span> historyheight = obj.<span class="property">style</span>.<span class="property">top</span>;</span><br><span class="line"> historywidth = historywidth.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> historyheight = historyheight.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historywidth"</span>, historywidth, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historyheight"</span>, historyheight, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = docMouseMoveEvent;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = docMouseUpEvent;</span><br><span class="line"> moveable = <span class="literal">false</span>; </span><br><span class="line"> moveX = <span class="number">0</span>;</span><br><span class="line"> moveY = <span class="number">0</span>;</span><br><span class="line"> moveTop = <span class="number">0</span>;</span><br><span class="line"> moveLeft = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#closechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">callchuncai</span>();</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#lifetimechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'showlifetime'</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chatTochuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">showInput</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#inp_r"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'不聊天了吗?(→_→)'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#talkto"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"talking"</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#aboutmanage"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"你想了解我主人?跟我来吧~~~"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="property">location</span>.<span class="property">href</span> = _about_path ;</span><br><span class="line"> }, <span class="number">2000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#foods"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"foods"</span>);</span><br><span class="line"> });</span><br><span class="line"><span class="comment">/* smjq("#showchuncaimenu").hover(function(){</span></span><br><span class="line"><span class="comment"> },function(){</span></span><br><span class="line"><span class="comment"> smjq("#showchuncaimenu").slideUp('slow').show();</span></span><br><span class="line"><span class="comment"> });*/</span></span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> tol = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">setTime</span>();</span><br><span class="line"> <span class="comment">//chuncaiSay("啊,野生的主人出现了! ~~~O口O");</span></span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>).<span class="property">onmouseover</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line"> talktime = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getEvent</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">return</span> <span class="variable language_">window</span>.<span class="property">event</span> || <span class="variable language_">arguments</span>.<span class="property">callee</span>.<span class="property">caller</span>.<span class="property">arguments</span>[<span class="number">0</span>];</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> eattimes = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">eatfood</span>(<span class="params">obj</span>){</span><br><span class="line"> <span class="keyword">var</span> gettimes = <span class="title function_">getCookie</span>(<span class="string">"eattimes"</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) &gt; <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人是个大混蛋!!"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai_evil</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) &gt; <span class="built_in">parseInt</span>(<span class="number">7</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">".....................肚子要炸了,死也不要再吃了~~!!!TAT"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">5</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经吃饱了,不要再吃啦......"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">3</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"多谢款待,我吃饱啦~~~ ╰( ̄▽ ̄)╭"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> id = obj.<span class="title function_">replace</span>(<span class="string">"f"</span>,<span class="string">''</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'eatsay'</span>, id);</span><br><span class="line"> }</span><br><span class="line"> eattimes++;</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"eattimes"</span>, eattimes, <span class="number">60</span>*<span class="number">10</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#showchuncaimenu").slideDown('fast').show();</span></span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"准备做什么呢?"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeChuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#chuncaisaying").css("display", "block");</span></span><br><span class="line"> <span class="title function_">showNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"记得再叫我出来哦..."</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line"> <span class="comment">//保存关闭状态的春菜</span></span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">'close'</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_evil</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_init</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">30</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">callchuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeIn</span>(<span class="string">'normal'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我回来啦~"</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiSay</span>(<span class="params">s</span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">append</span>(s);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> weichuncai_text = s;</span><br><span class="line"> <span class="title function_">typeWords</span>();</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearChuncaiSay</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"............?"</span>);</span><br><span class="line"> <span class="comment">//setFace(1);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"talk"</span>).<span class="property">value</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">createFace</span>(<span class="params">a, b, c</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"head"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="hiddenfaces"&gt;&lt;img id="hf1" src="'</span>+a+<span class="string">'" /&gt;&lt;img id="hf2" src="'</span>+b+<span class="string">'" /&gt;&lt;img id="hf3" src="'</span>+c+<span class="string">'" /&gt;&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setFace</span>(<span class="params">num</span>){</span><br><span class="line"> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"hf"</span>+num).<span class="property">src</span>;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaiface"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"background:url("</span>+obj+<span class="string">") no-repeat scroll 50% 0% transparent; width:"</span>+imagewidth+<span class="string">"px;height:"</span>+imageheight+<span class="string">"px;"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getdata</span>(<span class="params">el, id</span>){</span><br><span class="line"> smjq.<span class="title function_">ajax</span>({</span><br><span class="line"> <span class="attr">type</span>: <span class="string">'GET'</span>,</span><br><span class="line"> <span class="attr">url</span>: _weichuncai_jsonpath,</span><br><span class="line"> <span class="attr">cache</span>: <span class="string">'false'</span>,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">'html'</span>,</span><br><span class="line"> <span class="attr">contentType</span>: <span class="string">'application/json; charset=utf8'</span>,</span><br><span class="line"> <span class="attr">beforeSend</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeOut("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">fadeIn</span>(<span class="string">"normal"</span>);</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">success</span>: <span class="keyword">function</span>(<span class="params">data</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeIn("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">""</span>);</span><br><span class="line"> <span class="keyword">var</span> dat = <span class="built_in">eval</span>(<span class="string">"("</span>+data+<span class="string">")"</span>);</span><br><span class="line"> <span class="keyword">if</span>(el == <span class="string">'getnotice'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">notice</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'showlifetime'</span>){</span><br><span class="line"> <span class="title class_">BirthDay</span>=<span class="keyword">new</span> <span class="title class_">Date</span>(dat.<span class="property">showlifetime</span>);<span class="comment">//建站日期</span></span><br><span class="line"> today=<span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> timeold=(today.<span class="title function_">getTime</span>()-<span class="title class_">BirthDay</span>.<span class="title function_">getTime</span>());</span><br><span class="line"> sectimeold=timeold/<span class="number">1000</span></span><br><span class="line"> secondsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(sectimeold);</span><br><span class="line"> msPerDay=<span class="number">24</span>*<span class="number">60</span>*<span class="number">60</span>*<span class="number">1000</span></span><br><span class="line"> e_daysold=timeold/msPerDay</span><br><span class="line"> daysold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_daysold);</span><br><span class="line"> e_hrsold=(daysold-e_daysold)*-<span class="number">24</span>;</span><br><span class="line"> hrsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_hrsold);</span><br><span class="line"> e_minsold=(hrsold-e_hrsold)*-<span class="number">60</span>;</span><br><span class="line"> minsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>((hrsold-e_hrsold)*-<span class="number">60</span>);</span><br><span class="line"> seconds=<span class="title class_">Math</span>.<span class="title function_">floor</span>((minsold-e_minsold)*-<span class="number">60</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经与主人 一起生存了 "</span>+daysold+<span class="string">" 天 "</span>+hrsold+<span class="string">" 小时 "</span>+minsold+<span class="string">" 分钟 "</span>+seconds+<span class="string">" 秒的快乐时光啦~*^_^*"</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'talking'</span>){</span><br><span class="line"> <span class="keyword">var</span> talkcon = <span class="title function_">smjq</span>(<span class="string">"#talk"</span>).<span class="title function_">val</span>();</span><br><span class="line"> <span class="keyword">var</span> i = <span class="title function_">in_array</span>(talkcon, dat.<span class="property">ques</span>);</span><br><span class="line"> <span class="keyword">var</span> types = <span class="title function_">typeof</span>(i);</span><br><span class="line"> <span class="keyword">if</span>(types != <span class="string">'boolean'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">ans</span>[i]);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'.......................嗯?'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">clearInput</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'foods'</span>){</span><br><span class="line"> <span class="keyword">var</span> str=<span class="string">''</span>;</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">foods</span>;</span><br><span class="line"> <span class="keyword">var</span> preg = <span class="regexp">/function/</span>; </span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] != <span class="string">''</span> &amp;&amp; !preg.<span class="title function_">test</span>(arr[i]) ){</span><br><span class="line"> str +=<span class="string">'&lt;ul id="f'</span>+i+<span class="string">'" class="eatfood" onclick="eatfood(this.id)"&gt;'</span>+arr[i]+<span class="string">'&lt;/ul&gt;'</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"eatsay"</span>){</span><br><span class="line"> <span class="keyword">var</span> str = dat.<span class="property">eatsay</span>[id];</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"talkself"</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">talkself</span>;</span><br><span class="line"> <span class="keyword">return</span> arr;</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">error</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'好像出错了,是什么错误呢...请联系管理猿'</span>);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">in_array</span>(<span class="params">str, arr</span>){</span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] == str){</span><br><span class="line"> <span class="keyword">return</span> i;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> <span class="literal">false</span>;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> timenum;</span><br><span class="line"><span class="keyword">var</span> tol=<span class="number">0</span>;</span><br><span class="line"><span class="comment">//10分钟后页面没有响应就停止活动</span></span><br><span class="line"><span class="keyword">var</span> goal = <span class="number">10</span>*<span class="number">60</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setTime</span>(<span class="params"></span>){</span><br><span class="line"> tol++;</span><br><span class="line"> <span class="comment">//document.body.innerHTML(tol);</span></span><br><span class="line"> timenum = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"setTime('"</span>+tol+<span class="string">"')"</span>, <span class="number">1000</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(tol) == <span class="built_in">parseInt</span>(goal)){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人跑到哪里去了呢...."</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stoptime</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(timenum){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(timenum);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">var</span> talktime = <span class="number">0</span>;</span><br><span class="line"><span class="comment">//设置自言自语频率(单位:秒)</span></span><br><span class="line"><span class="keyword">var</span> talkself = <span class="number">60</span>;</span><br><span class="line"><span class="keyword">var</span> talkobj;</span><br><span class="line"><span class="keyword">var</span> tsi = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"昨天我好像看见主人又在众人之前卖萌了哦~"</span>, <span class="string">"2"</span>]</span><br><span class="line">];</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">talkSelf</span>(<span class="params">talktime</span>){</span><br><span class="line"> talktime++;</span><br><span class="line"> <span class="keyword">var</span> yushu = talktime%talkself;</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(yushu) == <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> tsi = <span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>() * talkself_arr.<span class="property">length</span> + <span class="number">1</span>)-<span class="number">1</span>;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(talkself_arr[tsi][<span class="number">0</span>]);</span><br><span class="line"> <span class="title function_">setFace</span>(talkself_arr[tsi][<span class="number">1</span>]);</span><br><span class="line"> }</span><br><span class="line"> talkobj = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"talkSelf("</span>+talktime+<span class="string">")"</span>, <span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stopTalkSelf</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">arrayShuffle</span>(<span class="params">arr</span>){</span><br><span class="line"> <span class="keyword">var</span> result = [],</span><br><span class="line"> len = arr.<span class="property">length</span>;</span><br><span class="line"> <span class="keyword">while</span>(len--){</span><br><span class="line"> result[result.<span class="property">length</span>] = arr.<span class="title function_">splice</span>(<span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>()*(len+<span class="number">1</span>)),<span class="number">1</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">typeWords</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">var</span> p = <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">var</span> str = weichuncai_text.<span class="title function_">substr</span>(<span class="number">0</span>,_typei);</span><br><span class="line"> <span class="keyword">var</span> w = weichuncai_text.<span class="title function_">substr</span>(_typei,<span class="number">1</span>);</span><br><span class="line"> <span class="keyword">if</span>(w==<span class="string">"&lt;"</span>){</span><br><span class="line"> str += weichuncai_text.<span class="title function_">substr</span>(_typei,weichuncai_text.<span class="title function_">substr</span>(_typei).<span class="title function_">indexOf</span>(<span class="string">"&gt;"</span>)+<span class="number">1</span>);</span><br><span class="line"> p= weichuncai_text.<span class="title function_">substr</span>(_typei).<span class="title function_">indexOf</span>(<span class="string">"&gt;"</span>)+<span class="number">1</span>;</span><br><span class="line"> }</span><br><span class="line"> _typei+=p;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = str;</span><br><span class="line"> txtst = <span class="built_in">setTimeout</span>(<span class="string">"typeWords()"</span>,<span class="number">20</span>);</span><br><span class="line"> <span class="keyword">if</span> (_typei&gt; weichuncai_text.<span class="property">length</span>){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(txtst);</span><br><span class="line"> _typei = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setCookie</span>(<span class="params">name, val, ex</span>){</span><br><span class="line"> <span class="keyword">var</span> times = <span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> times.<span class="title function_">setTime</span>(times.<span class="title function_">getTime</span>() + ex);</span><br><span class="line"> <span class="keyword">if</span>(ex == <span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">";"</span>;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">"; expires="</span>+times.<span class="title function_">toGMTString</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getCookie</span>(<span class="params">name</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = <span class="variable language_">document</span>.<span class="property">cookie</span>.<span class="title function_">match</span>(<span class="keyword">new</span> <span class="title class_">RegExp</span>(<span class="string">"(^| )"</span>+name+<span class="string">"=([^;]*)(;|$)"</span>)); </span><br><span class="line"> <span class="keyword">if</span>(arr != <span class="literal">null</span>) <span class="keyword">return</span> <span class="built_in">unescape</span>(arr[<span class="number">2</span>]); <span class="keyword">return</span> <span class="literal">null</span>;</span><br><span class="line">}</span><br></pre></td></tr></tbody></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight json"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">{</span></span><br><span class="line"> <span class="attr">"notice"</span><span class="punctuation">:</span> <span class="string">"欢迎来到我的新家,没想到在2024我会被人注意到,真幸福~~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ques"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ans"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"foods"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"金坷垃"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"咸梅干"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"eatsay"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"吃了金坷垃,一刀能秒一万八~!"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"吃咸梅干,变超人!哦耶~~~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"showlifetime"</span><span class="punctuation">:</span><span class="string">"02-16-2024 15:30:00"</span></span><br><span class="line"><span class="punctuation">}</span></span><br></pre></td></tr></tbody></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight javascript"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> _about_path = <span class="string">"https://blog.sinzmise.top/about"</span>; <span class="comment">//你的关于页面地址</span></span><br><span class="line"><span class="keyword">var</span> _weichuncai_jsonpath = <span class="string">"/weichuncai/chuncai.json"</span>; <span class="comment">//chuncai.json的位置</span></span><br><span class="line"><span class="keyword">var</span> imagewidth = <span class="string">'85'</span>; <span class="comment">//人格长度</span></span><br><span class="line"><span class="keyword">var</span> imageheight = <span class="string">'152'</span>; <span class="comment">//人格高度</span></span><br><span class="line"><span class="comment">//设置人格的自言自语,前面的双引号是内容后面的双引号是人格表情,后面的1、2、3对应createFace设置的第几个表情</span></span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>]</span><br><span class="line">];</span><br><span class="line"><span class="comment">//设置表情</span></span><br><span class="line"><span class="title function_">createFace</span>(</span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face1.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face2.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face3.gif"</span></span><br><span class="line">);</span><br></pre></td></tr></tbody></table></figure><br>butterfly、anzhiyu主题引入:<br><figure class="highlight yaml"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># Inject</span></span><br><span class="line"><span class="comment"># Insert the code to head (before '&lt;/head&gt;' tag) and the bottom (before '&lt;/body&gt;' tag)</span></span><br><span class="line"><span class="comment"># 插入代码到头部 &lt;/head&gt; 之前 和 底部 &lt;/body&gt; 之前</span></span><br><span class="line"><span class="attr">inject:</span></span><br><span class="line"> <span class="attr">head:</span></span><br><span class="line"> <span class="comment"># jQuery(必须在之前引入)</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js"&gt;&lt;/script&gt;</span></span><br><span class="line"> <span class="attr">bottom:</span></span><br><span class="line"> <span class="comment"># 主体</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;link</span> <span class="string">rel="stylesheet"</span> <span class="string">type="text/css"</span> <span class="string">href="/weichuncai/css/style.css"&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src="/weichuncai/js/common.js"&gt;&lt;/script&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src="/weichuncai/wcc-config.js"&gt;&lt;/script&gt;</span></span><br></pre></td></tr></tbody></table></figure><p></p><h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>我为什么会将伪春菜定义为桌面精灵而不是桌宠?<br>是因为相比于桌宠来说,伪春菜比桌宠的功能还多得多<br>因此我即使开着虚拟桌宠模拟器,我有时也会开着伪春菜<br><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/ssp_OgKZgUjISo.1rssdhcjowjk.webp" alt="ssp_OgKZgUjISo"><br>(甚至我电脑卡的时候也会提醒我,虽然我电脑没有卡死QWQ)</p><p>还有,我之前看<a target="_blank" rel="noopener" href="https://steve02081504.github.io/2020/02/27/about-kikka/">关于Kikka</a>这篇文章,有一句话很吸引我:<br><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/msedge_h7th45Tk9U.47mkdav98180.webp" alt="msedge_h7th45Tk9U"><br>也据此可以看出,在2020年,伪春菜这个圈子越来越难活下去<br>更何况现在是2024。。。。。。</p><p>但不管怎么说,还是有人在用这个桌面精灵的,至少有我一个。。。。。。<br>后面我打算写个有关伪春菜的配置教程吧。。。。。。</p></article><div class="orlike-box" id="orlike-box"><script>(()=>{function e(){new OrLike({serverUrl:"https://orlike.blog.sinzmise.top/",el:".orlike-box",days:30})}window.pjax?e():window.addEventListener("load",e)})()</script></div><div class="post-copyright"><div class="post-copyright__title"><span class="post-copyright-info"><h class="p-name">给你的站点添加个可可爱爱的看板娘——伪春菜</h></span></div><div class="post-copyright__type"><span class="post-copyright-info"><a class="u-url" href="https://blog.sinzmise.top/posts/54787/">https://blog.sinzmise.top/posts/54787/</a></span></div><div class="post-copyright-m"><div class="post-copyright-m-info"><div class="post-copyright-a"><h>作者</h><div class="post-copyright-cc-info"><h class="p-author">王九弦SZ·Ninty</h></div></div><div class="post-copyright-c"><h>发布于</h><div class="post-copyright-cc-info"><h class="dt-published">2024-02-16</h></div></div><div class="post-copyright-u"><h>更新于</h><div class="post-copyright-cc-info"><h class="dt-updated">2024-07-02</h></div></div><div class="post-copyright-c"><h>许可协议</h><div class="post-copyright-cc-info"><a class="icon" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="fab fa-creative-commons"></i></a><a rel="noopener" target="_blank" title="CC BY-NC-SA 4.0" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a></div></div></div></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags p-category" href="/tags/%E7%AB%99%E7%82%B9%E6%8A%98%E8%85%BE/">站点折腾</a><a class="post-meta__tags p-category" href="/tags/%E6%82%AC%E6%B5%AE%E5%AE%A0%E7%89%A9-%E7%9C%8B%E6%9D%BF%E5%A8%98/">悬浮宠物/看板娘</a></div><div class="post_share"><div class="social-share" data-image="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload='this.media="all"'><script src="https://jsd.cdn.storisinz.site/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/posts/15842/"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-02.1aou0vacvu.png" onerror='onerror=null,src="/img/404.jpg"' alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">2024-02小记</div></div></a></div><div class="next-post pull-right"><a href="/posts/52677/"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/riceshower-image@master/pc/420b45c1-cdd7-4803-b9ad-e1d690790017.png" onerror='onerror=null,src="/img/404.jpg"' alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">2024.01小记</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/posts/53662/" title="博客大更新"><img class="cover" src="https://files.blog.sinzmise.top/images/645fa3cf90d70.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-07-05</div><div class="title">博客大更新</div></div></a></div><div><a href="/posts/16107/" title="新起点,新出发"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20221230/46348.3e004dfapae0.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-12-17</div><div class="title">新起点,新出发</div></div></a></div><div><a href="/posts/57692/" title="Ruffle测试"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240525/logo.4913vyk2ki.svg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2024-05-25</div><div class="title">Ruffle测试</div></div></a></div><div><a href="/posts/28536/" title="自建不蒜子API"><img class="cover" src="https://vip1.loli.io/2022/05/11/eKfrdV9p48IcCj5.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2024-01-11</div><div class="title">自建不蒜子API</div></div></a></div><div><a href="/posts/646/" title="本站已经更换新域名"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/R-C.70q39brxg8g0.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-03-28</div><div class="title">本站已经更换新域名</div></div></a></div><div><a href="/posts/61417/" title="自建Meting服务"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230128/30165599-36623bea-93a6-11e7-8956-1ddf99ce0e6f.2rbu2i9xfvy0.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-01-19</div><div class="title">自建Meting服务</div></div></a></div></div></div><hr><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i> <span>评论</span></div><div id="comment-switch"><span class="first-comment">Twikoo</span><span class="switch-btn"></span><span class="second-comment">Webmention</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div><div><div id="webmention-warp"></div><div id="webmentions"></div></div></div><div class="comment-barrage"></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info h-card"><div class="is-center"><div class="avatar-img"><img class="u-photo" src="/img/avatar.png" onerror='this.onerror=null,this.src="/img/friend_404.gif"' alt="avatar"></div><div class="author-info__name p-name">王九弦SZ·Ninty</div><div class="author-info__description p-note">The Story,The Dream.</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">36</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">5</div></a><a href="/comments/"><div class="headline">评论</div><div class="length-num icat-pc-comment">0</div></a></div><div class="card-info-social-icons is-center"><a class="social-icon u-url" href="https://www.sinzmise.top/" target="_blank" title="Home" rel="me"><i class="fas fa-house"></i></a><a class="social-icon u-url" href="https://github.com/SinzMise" target="_blank" title="Github" rel="me"><i class="fab fa-github"></i></a><a class="social-icon u-email" href="mailto:email@sinzmise.top" target="_blank" title="Email" rel="me"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-clock-weather"><div class="item-headline"><i class="iconfont icon-pjh-shijian"></i><span>时间</span></div><div class="item-content"><canvas id="canvas" style="width:100%" width="100%" height="150"></canvas><script src="/js/clock.js"></script><div id="weather"></div></div></div><div class="card-widget card-clock-kickass"><div class="item-headline"><i class="iconfont icon-pjh-fasong"></i><span>Kick Ass</span></div><div class="item-content"><img src="https://cdn.jsdmirror.com/npm/pzai-staticr@1.0.2/blog/img/planeBg.png" style="width:100%"><div class="planeOpt"><p>退出:<kbd>esc</kbd></p><p>方向控制: <kbd>←</kbd><kbd>↑</kbd><kbd>→</kbd></p><p>射击:<kbd>Space</kbd></p><p>轰炸:<kbd>B</kbd></p><div style="display:flex;justify-content:center"><button onclick='const s=document.createElement("script");s.type="text/javascript",document.body.appendChild(s),s.src="/js/plane.js"'><div class="svg-wrapper-1"><div class="svg-wrapper"><svg height="20" width="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z" fill="currentColor"></path></svg></div></div><span>开始游戏</span></button></div></div></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%89%8D%E8%A8%80"><span class="toc-number">1.</span> <span class="toc-text">前言</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BC%95%E5%85%A5js%E5%92%8Ccss"><span class="toc-number">2.</span> <span class="toc-text">引入js和css</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%90%8E%E8%AE%B0"><span class="toc-number">3.</span> <span class="toc-text">后记</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/10021/" title="2024-06小记"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-05.13lm5fgrki.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="2024-06小记"></a><div class="content"><a class="title" href="/posts/10021/" title="2024-06小记">2024-06小记</a><time datetime="2024-06-28T22:31:59.000Z" title="发表于 2024-06-28 22:31:59">2024-06-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/10021/" title="2024-05小记"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-05.13lm5fgrki.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="2024-05小记"></a><div class="content"><a class="title" href="/posts/10021/" title="2024-05小记">2024-05小记</a><time datetime="2024-05-26T21:18:33.000Z" title="发表于 2024-05-26 21:18:33">2024-05-26</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/57692/" title="Ruffle测试"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240525/logo.4913vyk2ki.svg" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="Ruffle测试"></a><div class="content"><a class="title" href="/posts/57692/" title="Ruffle测试">Ruffle测试</a><time datetime="2024-05-25T21:12:39.000Z" title="发表于 2024-05-25 21:12:39">2024-05-25</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/15748/" title="2024-04小记"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-04.70a6cgjrof.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="2024-04小记"></a><div class="content"><a class="title" href="/posts/15748/" title="2024-04小记">2024-04小记</a><time datetime="2024-05-02T18:31:42.000Z" title="发表于 2024-05-02 18:31:42">2024-05-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/10996/" title="马里奥制造1打百人团教程"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/dp2l6fpd1yfj0sxcjsi8.9kfzckr3ik.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="马里奥制造1打百人团教程"></a><div class="content"><a class="title" href="/posts/10996/" title="马里奥制造1打百人团教程">马里奥制造1打百人团教程</a><time datetime="2024-04-27T19:43:40.000Z" title="发表于 2024-04-27 19:43:40">2024-04-27</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="footer_custom_text"><section class="footer-wave-svg main-hero-waves-area-footer waves-area" id="jsi-flying-fish-container"><svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s58 18 88 18 58-18 88-18 58 18 88 18v44h-352Z"></path></defs><g class="parallax"><use href="#gentle-wave" x="48" y="0"></use><use href="#gentle-wave" x="48" y="3"></use><use href="#gentle-wave" x="48" y="5"></use><use href="#gentle-wave" x="48" y="7"></use></g></svg></section><div class="footer-content"><div class="footer-content-column"><div class="footer-logo"><a class="footer-logo-link" href="#"><span class="hidden-link-text">LOGO</span><img src="/img/icon-light.png" style="height:40%;width:40%"></a></div><div class="footer-menu"><h2 class="footer-menu-name">开始</h2><ul class="footer-menu-list" id="menu-get-started"><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://www.sinzmise.top/">个人主页</a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a href="/sitemap.xml">站点地图</a></li></ul></div></div><div class="footer-content-column"><div class="footer-menu"><h2 class="footer-menu-name">我加入的</h2><ul class="footer-menu-list" id="menu-company"><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://www.travellings.cn/go.html">开往·友链接力</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://storeweb.cn/s/1707">虫洞·个站商店</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://zhblogs.ohyee.cc/go">中文博客随机跳转</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://travel.moe/go.html">异次元之旅</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://bokelu.suijiboke.gs">博客录-随机博客</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://forever.dreamerhe.cn/planet-shuttle">梦境列车 · 时空穿梭</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://blogscn.fun/random.html">笔墨迹·随机访问</a></li></ul></div></div><div class="footer-content-column"><div class="footer-menu"><h2 class="footer-menu-name">联系我</h2><ul class="footer-menu-list" id="menu-company"><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=TK1cLmWzuZ-LhACNH8GCntLD6zbo-nUW&amp;authKey=Lym2j6%2BggcPrl77XV1vwVTSM12%2B7O7yMMf02Xi6meCVPEFASHTFX01k%2F1KbFrv1%2B&amp;noverify=0&amp;group_code=623816093">官方Q群</a></li></ul></div></div><div class="footer-content-column"><ul class="footer-menu-list" id="menu-get-started"><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img class="img-not-ai" width="120" height="42" alt="署名-非商业性使用-相同方式共享 4.0 国际" src="https://cdn.gallery.uuanqin.top/img/by-nc-sa.svg"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://blogscn.fun/"><img class="img-not-ai" width="120" height="42" alt="本站已加入BLOGS·CN" src="https://photo.xiangming.site/img/blogscnlogo.png"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://boringbay.com"><img class="img-not-ai" width="120" height="42" alt="无聊湾 🥱 The Boring Bay" src="https://boringbay.com/api/badge/blog.sinzmise.top"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type">©2024 By 王九弦SZ·Ninty</li></ul></div><div class="footer-social-links"><a class="footer-social-link link1" href="mailto:email@sinzmise.top" target="_self"><span class="hidden-link-text">Email</span><i class="footer-social-icon-svg fa fa-envelope"></i></a><a class="footer-social-link link2" href="https://github.com/SinzMise" target="_blank"><span class="hidden-link-text">Github</span><i class="footer-social-icon-svg fab fa-github"></i></a><a class="footer-social-link link3" href="/atom.xml" target="_self"><span class="hidden-link-text">RSS</span><i class="footer-social-icon-svg fas fa-square-rss"></i></a><a class="footer-social-link link4" href="https://xlog.sinzmise.top/" target="_blank"><span class="hidden-link-text">星空魔法书·Delta</span><i class="footer-social-icon-svg iconfont icon-pjh-icon_riji"></i></a></div></div><div class="footer-copyright"><div class="footer-copyright-wrapper"><p class="footer-copyright-text"><a href="https://hexo.io" rel="noopener external nofollow noreferrer" target="_blank">Hexo v4.9.0</a>&nbsp;|&nbsp;<a href="https://github.com/jerryc127/hexo-theme-butterfly" rel="noopener external nofollow noreferrer" target="_blank">Butterfly v6.3.0</a>&nbsp;|&nbsp;<a href="https://blog.sinzmise.top/update/" rel="noopener external nofollow noreferrer" target="_blank">CetaStories v1.7.0</a></p><p class="footer-copyright-text"><a href="https://icp.gov.moe/?keyword=20231033" target="_blank">萌ICP备20231033号</a>&nbsp;<br><a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws/previous">←</a>An <a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws">IndieWeb Webring</a> 🕸💍<a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws/next">→</a><br><span>我加入的:</span><a href="https://zhblogs.ohyee.cc/" target="_blank">中文博客列表</a>&nbsp;<a href="https://storeweb.cn/member/o/1585" target="_blank">个站商店</a>&nbsp;<a href="https://bf.zzxworld.com/s/995" target="_blank">BlogFinder</a>&nbsp;<a href="https://sites.link/site-info?siteType=life&amp;siteId=64cb373190e35300a8eec654" target="_blank">站点聚合平台</a>&nbsp;<a href="https://boke.lu" target="_blank">博客录</a>&nbsp;<a href="https://rssblog.cn/member/d711afd659d65c2ba2d3b18697818cf7/" target="_blank">RssBlog</a>&nbsp;<a href="https://blogscn.fun" target="_blank">笔墨迹</a>&nbsp;<a href="https://forever.dreamerhe.cn/" target="_blank">梦境列车</a>&nbsp;<a href="https://firewood.news/" target="_blank">积薪</a>&nbsp;<a href="https://daohang.lusongsong.com/" target="_blank">博客大全</a>&nbsp;</p></div></div></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><a href="javascript:toggleWinbox();"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button></a><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div class="docsearch-wrap"><div id="docsearch" style="display:none"></div><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@docsearch/css/dist/style.min.css"><script src="https://jsd.cdn.storisinz.site/npm/@docsearch/js/dist/umd/index.min.js"></script><script>(()=>{docsearch(Object.assign({appId:"QAS05YI2PH",apiKey:"67ffd4c9fa1234148ec4f8b27dfdb2a7",indexName:"sinzmise",container:"#docsearch"},null));const e=()=>{document.querySelector(".DocSearch-Button").click()},c=()=>{document.querySelector("#search-button > .search").addEventListener("click",e)};c(),window.addEventListener("pjax:complete",c)})()</script></div><div class="js-pjax" id="settingWindow"><span class="setting-title"><button id="backer" onclick='$(".asetting").hide(),$(".settingx").show(),$("#backer").hide(),$("#stt-style").hide(),$("#stt-font").hide(),$("#stt-background").hide(),$("#stt-count").hide(),$("#stt-about").hide()'><i class="fa fa-chevron-left"></i></button><span id="stt">设置</span><span id="stt-style">&amp;nbsp;-&gt; 站点</span><span id="stt-font">&amp;nbsp;-&gt; 字体</span><span id="stt-background">&amp;nbsp;-&gt; 背景</span><span id="stt-count">&amp;nbsp;-&gt; 统计</span><span id="stt-about">&amp;nbsp;-&gt;</span> <a id="close-console" onclick="toggleWinbox()">×</a></span><div class="settings"><div id="setting-buttons"><button class="settingx" onclick='$("#theme-settings").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-style").show()'><i class="fas fa-layer-group"></i><span>站点</span></button><button class="settingx" onclick='$("#font-settings").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-font").show()'><i class="fa fa-font"></i><span>字体</span></button><button class="settingx" onclick="$('#con-echarts').show();$('.settingx').hide();$('#backer').show();$('#stt-count').show();var evt = document.createEvent(&quot;HTMLEvents&quot;);evt.initEvent(&quot;resize&quot;, false, false);window.dispatchEvent(evt);"><i class="fas fa-chart-pie"></i><span>统计</span></button><button class="settingx" onclick='$("#con-abouts").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-about").show()'><i class="fa fa-cloud-download"></i><span>关于</span></button></div><div id="setting-hides"><div class="asetting" id="theme-settings"><h2 class="content-head">站点设置</h2><p></p><div class="content" style="display:flex"><input id="blur" type="checkbox" onclick="setBlur()"><div class="content-text">启用模糊效果</div></div><div class="content" style="display:flex"><input id="fpson" type="checkbox" onclick="fpssw()" style="flex-shrink:0"><div class="content-text"><span>开启帧率检测(</span><a href="javascript:window.location.reload()">刷新</a><span>后生效)</span></div></div><p></p><p></p><h2 class="content-head">主题设置</h2><div class="content" style="display:flex"><input id="hideAplayer" type="checkbox" onclick="toggleAplayer()"><div class="content-text"><span>音乐播放器</span></div></div><div class="content" style="display:flex"><input id="hideSakura" type="checkbox" onclick="toggleSakuras()"><div class="content-text">落樱特效</div></div><div class="content" style="display:flex"><input id="autoTheme" type="checkbox" onclick="toggleAutoTheme()"><div class="content-text">明暗模式自动切换</div></div><p></p><p></p><h3 class="content-head">主题色</h3><div class="content" id="themeColorSettings" style="display:flex"><input id="default" type="radio" name="colors" onclick='setColor("default")' checked><span id="deftext">默认</span><input id="red" type="radio" name="colors" onclick='setColor("red")'><input id="orange" type="radio" name="colors" onclick='setColor("orange")'><input id="yellow" type="radio" name="colors" onclick='setColor("yellow")'><input id="green" type="radio" name="colors" onclick='setColor("green")'><input id="blue" type="radio" name="colors" onclick='setColor("blue")'><input id="heoblue" type="radio" name="colors" onclick='setColor("heoblue")'><input id="darkblue" type="radio" name="colors" onclick='setColor("darkblue")'><input id="purple" type="radio" name="colors" onclick='setColor("purple")'><input id="pink" type="radio" name="colors" onclick='setColor("pink")'><input id="black" type="radio" name="colors" onclick='setColor("black")'><input id="blackgray" type="radio" name="colors" onclick='setColor("blackgray")'></div><p></p></div><div class="asetting" id="font-settings"><h2 class="content-head">字体设置</h2><p id="swfs"><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HYTMR!important;color:#000" onclick='setFont("HYTMR")'>汉仪唐美人</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HYPailou!important;color:#000" onclick='setFont("HYPailou")'>汉仪新蒂牌楼</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZXJLJ!important;color:#000" onclick='setFont("FZXJLJ")'>方正金陵体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZXS!important;color:#000" onclick='setFont("FZXS")'>方正像素体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:ZhuZiAWan!important;color:#000" onclick='setFont("ZhuZiAWan")'>筑紫A丸ゴシック</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZODZK!important;color:#000" onclick='setFont("FZODZK")'>方正欧蝶正楷</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Serif'!important;color:#000" onclick='setFont("Source Serif")'>思源宋体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Sans'!important;color:#000" onclick='setFont("Source Sans")'>思源黑体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HMOSANS!important;color:#000" onclick='setFont("HMOSANS")'>HarmonyOS Sans</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:-apple-system,IBM Plex Mono,monosapce,'微软雅黑',sans-serif" onclick='setFont("main")'>系统默认</a><br></p></div><div class="asetting" id="con-echarts"><h1>统计</h1><img src="https://moe.counter.blog.sinzmise.top/sznhouse?theme=asoul"><h2>文章统计</h2><div id="posts-chart" data-start="2021-01" style="border-radius:8px;height:300px;padding:10px"></div><script id="postsChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",postsChart=echarts.init(document.getElementById("posts-chart"),"light"),postsOption={title:{text:"文章发布统计图",x:"center",textStyle:{color:color}},tooltip:{trigger:"axis"},xAxis:{name:"日期",type:"category",boundaryGap:!1,nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}},data:["2021-01","2021-02","2021-03","2021-04","2021-05","2021-06","2021-07","2021-08","2021-09","2021-10","2021-11","2021-12","2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12","2023-01","2023-02","2023-03","2023-04","2023-05","2023-06","2023-07","2023-08","2023-09","2023-10","2023-11","2023-12","2024-01","2024-02","2024-03","2024-04","2024-05","2024-06","2024-07"]},yAxis:{name:"文章篇数",type:"value",nameTextStyle:{color:color},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}}},series:[{name:"文章篇数",type:"line",smooth:!0,lineStyle:{width:0},showSymbol:!1,itemStyle:{opacity:1,color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},areaStyle:{opacity:1,color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},data:[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,3,1,3,2,0,0,5,3,1,1,1,1,4,1,1,3,3,1,0],markLine:{data:[{name:"平均值",type:"average",label:{color:color}}]}}]};postsChart.setOption(postsOption),window.addEventListener("resize",(()=>{postsChart.resize()})),postsChart.on("click","series",(e=>{"series"===e.componentType&&(window.location.href="/archives/"+e.name.replace("-","/"))}))</script><div id="tags-chart" data-length="10" style="border-radius:8px;height:300px;padding:10px"></div><script id="tagsChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",tagsChart=echarts.init(document.getElementById("tags-chart"),"light"),tagsOption={title:{text:"Top 10 标签统计图",x:"center",textStyle:{color:color}},tooltip:{},xAxis:{name:"标签",type:"category",nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color,interval:0},axisLine:{show:!0,lineStyle:{color:color}},data:["个人小记","站点折腾","自建部署","游戏相关","其它游戏","页面魔改","项目折腾","Windows软件","歌曲收集","站点底部魔改"]},yAxis:{name:"文章篇数",type:"value",splitLine:{show:!1},nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}}},series:[{name:"文章篇数",type:"bar",data:[{name:"个人小记",value:15,path:"tags/个人小记/"},{name:"站点折腾",value:13,path:"tags/站点折腾/"},{name:"自建部署",value:5,path:"tags/自建部署/"},{name:"游戏相关",value:4,path:"tags/游戏相关/"},{name:"其它游戏",value:3,path:"tags/其它游戏/"},{name:"页面魔改",value:3,path:"tags/页面魔改/"},{name:"项目折腾",value:3,path:"tags/项目折腾/"},{name:"Windows软件",value:2,path:"tags/Windows软件/"},{name:"歌曲收集",value:1,path:"tags/歌曲收集/"},{name:"站点底部魔改",value:1,path:"tags/站点底部魔改/"},{name:"Flash相关",value:1,path:"tags/Flash相关/"},{name:"Steam游戏",value:1,path:"tags/Steam游戏/"},{name:"悬浮宠物/看板娘",value:1,path:"tags/悬浮宠物-看板娘/"}],itemStyle:{borderRadius:[5,5,0,0],color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},emphasis:{itemStyle:{color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 195)"},{offset:1,color:"rgba(1, 211, 255)"}])}},markLine:{data:[{name:"平均值",type:"average",label:{color:color}}]}}]};tagsChart.setOption(tagsOption),window.addEventListener("resize",(()=>{tagsChart.resize()})),tagsChart.on("click","series",(a=>{a.data.path&&(window.location.href="/"+a.data.path)}))</script><div id="categories-chart" data-parent="true" style="border-radius:8px;height:300px;padding:10px"></div><script id="categoriesChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",categoriesChart=echarts.init(document.getElementById("categories-chart"),"light"),categoryParentFlag=!1,categoriesOption={title:{text:"文章分类统计图",x:"center",textStyle:{color:color}},legend:{top:"bottom",data:["个人小记","站点折腾","游戏相关","项目折腾","歌曲收集"],textStyle:{color:color}},tooltip:{trigger:"item"},series:[]};categoriesOption.series.push(categoryParentFlag?{nodeClick:!1,name:"文章篇数",type:"sunburst",radius:["15%","90%"],center:["50%","55%"],sort:"desc",data:[{name:"个人小记",value:15,path:"categories/个人小记/",id:"cly43r7is0004m2pxbymnhjoq",parentId:"0"},{name:"站点折腾",value:13,path:"categories/站点折腾/",id:"cly43r7j7001em2pxe05a5ybc",parentId:"0"},{name:"游戏相关",value:4,path:"categories/游戏相关/",id:"cly43r7j2000vm2pxee41f5un",parentId:"0"},{name:"项目折腾",value:3,path:"categories/项目折腾/",id:"cly43r7j50015m2pxfrv75own",parentId:"0"},{name:"歌曲收集",value:1,path:"categories/歌曲收集/",id:"cly43r7jk0030m2px2e9c56rb",parentId:"0"}],itemStyle:{borderColor:"#fff",borderWidth:2,emphasis:{focus:"ancestor",shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(255, 255, 255, 0.5)"}}}:{name:"文章篇数",type:"pie",radius:[30,80],roseType:"area",label:{color:color,formatter:"{b} : {c} ({d}%)"},data:[{name:"个人小记",value:15,path:"categories/个人小记/",id:"cly43r7is0004m2pxbymnhjoq",parentId:"0"},{name:"站点折腾",value:13,path:"categories/站点折腾/",id:"cly43r7j7001em2pxe05a5ybc",parentId:"0"},{name:"游戏相关",value:4,path:"categories/游戏相关/",id:"cly43r7j2000vm2pxee41f5un",parentId:"0"},{name:"项目折腾",value:3,path:"categories/项目折腾/",id:"cly43r7j50015m2pxfrv75own",parentId:"0"},{name:"歌曲收集",value:1,path:"categories/歌曲收集/",id:"cly43r7jk0030m2px2e9c56rb",parentId:"0"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(255, 255, 255, 0.5)"}}}),categoriesChart.setOption(categoriesOption),window.addEventListener("resize",(()=>{categoriesChart.resize()})),categoriesChart.on("click","series",(e=>{e.data.path&&(window.location.href="/"+e.data.path)}))</script><h2>访问统计 显示不出来请刷新页面</h2><p>站点访问量:<span id="qexo-site-pv"></span></p><p>站点访客数:<span id="qexo-site-uv"></span></p><script src="https://jsd.onmicrosoft.cn/npm/qexo-static/hexo/statistic.js"></script><script>loadStatistic("https://houtai.hexo.sinzmise.top")</script></div><div class="asetting" id="con-abouts"><h1>关于</h1>基于 Ariasaka Console v1.0 魔改,目前功能尚未完善<br>欢迎<a href="/comments">反馈!</a></div></div></div><div class="app-refresh" id="app-refresh-setting" style="display:none"><div class="app-refresh-wrap"><label>检测到魔法屋已装修</label><a href="javascript:void(0)" onclick="location.reload(!0)"><span style="text-decoration:underline;cursor:pointer;float:right">点我查看</span></a></div></div><div id="setting-sidesl"><button class="reSettings con-rightside" title="恢复默认设置"><i class="fa fa-repeat"></i></button><div id="setting-sides"><button class="con-rightside" title="繁简转换" id="con-translate" onclick="rmf.translate()"><i class="iconfont icon-fanti"></i></button><button class="con-rightside" title="昼夜切换" id="con-mode" onclick="switchDarkMode()"><i class="fa fa-adjust"></i></button><button class="con-rightside" title="阅读模式" id="con-reading" onclick="rmf.switchReadMode()"><i class="fa fa-book-open"></i></button><button class="con-rightside" title="单双栏切换" id="con-toggleaside" onclick="toggleAside()"><i class="fas fa-arrows-alt-h"></i></button><button class="con-rightside" title="左右栏切换" id="con-toggleleftaside" onclick="switchAside()"><i class="fas fa-binoculars"></i></button><button class="con-rightside" title="全屏" id="con-fullscreen" onclick="fullScreen()"><i class="fas fa-expand"></i></button></div></div></div><div class="js-pjax" id="rightMenu"><div class="rightMenu-group rightMenu-small"><a class="rightMenu-item" href="javascript:window.history.back();"><i class="fa fa-arrow-left"></i></a><a class="rightMenu-item" href="javascript:window.history.forward();"><i class="fa fa-arrow-right"></i></a><a class="rightMenu-item" href="javascript:window.location.reload();"><i class="fa fa-refresh"></i></a><a class="rightMenu-item" href="javascript:rmf.scrollToTop();"><i class="fa fa-arrow-up"></i></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-text"><a class="rightMenu-item" href="javascript:rmf.copySelect();"><i class="fa fa-copy"></i><span>复制</span></a><a class="rightMenu-item" href="javascript:window.open(&quot;https://www.baidu.com/s?wd=&quot;+window.getSelection().toString());window.location.reload();"><i class="iconfont icon-baidu"></i><span>百度搜索</span></a><a class="rightMenu-item" href="javascript:rmf.searchinThisPage();"><i class="fas fa-search"></i><span>站内搜索</span></a><a class="rightMenu-item" href="#post-comment" onclick="rmf.yinyong()"><i class="fa-solid fa-message"></i><span>引用文本评论</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-too"><a class="rightMenu-item" href="javascript:window.open(window.getSelection().toString());window.location.reload();"><i class="fa fa-link"></i><span>转到链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-paste"><a class="rightMenu-item" href="javascript:rmf.paste()"><i class="fa fa-copy"></i><span>粘贴</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-post"><a class="rightMenu-item" href="#post-comment"><i class="fas fa-comment"></i><span>空降评论</span></a><a class="rightMenu-item" href="javascript:rmf.copyWordsLink()"><i class="fa fa-link"></i><span>复制本文地址</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-to"><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()"><i class="fa fa-window-restore"></i><span>新窗口打开</span></a><a class="rightMenu-item" id="menu-too" href="javascript:rmf.open()"><i class="fa fa-link"></i><span>转到链接</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()"><i class="fa fa-copy"></i><span>复制链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-img"><a class="rightMenu-item" href="javascript:rmf.saveAs()"><i class="fa fa-download"></i><span>保存图片</span></a><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()"><i class="fa fa-window-restore"></i><span>在新窗口打开</span></a><a class="rightMenu-item" href="javascript:rmf.click()"><i class="fa fa-arrows-alt"></i><span>全屏显示</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()"><i class="fa fa-copy"></i><span>复制图片链接</span></a></div><div class="rightMenu-group rightMenu-line"><a class="rightMenu-item" href="javascript:toRandomPost()"><i class="fa fa-paper-plane"></i><span>随便逛逛</span></a><a class="rightMenu-item" href="javascript:rmf.switchDarkMode();"><i class="fa fa-moon"></i><span>昼夜切换</span></a><a class="rightMenu-item" href="javascript:rmf.translate();"><i class="iconfont icon-fanti"></i><span>繁简转换</span></a><a class="rightMenu-item" href="javascript:pjax.loadUrl(&quot;/license/&quot;);"><i class="fa fa-info-circle"></i><span>版权声明</span></a><a class="rightMenu-item" href="javascript:toggleWinbox();"><i class="fas fa-cog"></i><span>博客设置</span></a><a class="rightMenu-item" href="javascript:fullScreen();"><i class="fas fa-expand"></i><span>进入全屏</span></a></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script async src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/carousel-touch.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/echarts/dist/echarts.min.js"></script><script src="/js/tw_cn.js"></script><script src="https://jsd.cdn.storisinz.site/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script async src="//at.alicdn.com/t/c/font_4199232_gh7up2nbg3c.js"></script><script async src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/issues.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>(()=>{const t=()=>{twikoo.init(Object.assign({el:"#twikoo-wrap",envId:"https://tk.pl.blog.sinzmise.top/",region:"",onCommentLoaded:()=>{btf.loadLightbox(document.querySelectorAll("#twikoo .tk-content img:not(.tk-owo-emotion)"))}},null)),GLOBAL_CONFIG_SITE.isPost&&(()=>{const t=document.getElementById("twikoo-count");t&&twikoo.getCommentsCount({envId:"https://tk.pl.blog.sinzmise.top/",region:"",urls:[window.location.pathname],includeReply:!1}).then((o=>{t.textContent=o[0].count})).catch((t=>{console.error(t)}))})()},o=()=>{"object"==typeof twikoo?setTimeout(t,0):getScript("https://jsd.cdn.storisinz.site/npm/twikoo/dist/twikoo.all.min.js").then(t)};btf.loadComment(document.getElementById("twikoo-wrap"),o)})()</script><script>function loadWebmention(){const e=Object.assign({src:"https://jsd.onmicrosoft.cn/gh/PlaidWeb/webmention.js@main/static/webmention.min.js",async:!0},null);let t=document.createElement("script");for(let n in e)t.setAttribute(n,e[n]);if(document.getElementById("webmention_css"))document.getElementById("webmention-warp").insertAdjacentElement("afterbegin",t);else{(n="https://jsd.onmicrosoft.cn/gh/PlaidWeb/webmention.js@main/static/webmention.css",i=document.createElement("link"),i.id="webmention_css",i.rel="stylesheet",i.type="text/css",i.href=n,void document.getElementsByTagName("head")[0].appendChild(i)).then(document.getElementById("webmention-warp").insertAdjacentElement("afterbegin",t))}var n,i}{function loadOtherComment(){loadWebmention()}}</script></div><script src="https://jsd.onmicrosoft.cn/npm/@ruffle-rs/ruffle"></script><script src="https://jsd.onmicrosoft.cn/gh/swfobject/swfobject@master/swfobject/swfobject.js"></script><script src="/js/welcome.js"></script><script data-pjax="" defer src="/js/custom/fixed_card_widget.js"></script><script src="/js/lunar.js"></script><script src="/js/day.js"></script><script src="https://jsd.onmicrosoft.cn/npm/sweetalert2@8.19.0/dist/sweetalert2.all.js"></script><script src="/js/autoload.js"></script><script src="/js/sakura.js"></script><script src="/js/fps.js"></script><script src="/js/randompost.js"></script><script data-pjax="" defer src="/js/custom.js"></script><script data-pjax="" async src="/js/waterfall/waterfall.js"></script><script src="/js/about.js"></script><script src="/js/hometop.js"></script><script src="/js/owobig.js"></script><div id="fps"></div><script defer src="/js/orlike.js"></script><script src="/js/nav.js"></script><script src="/js/console.js"></script><script src="https://jsd.cdn.storisinz.site/gh/nextapps-de/winbox/dist/winbox.bundle.min.js"></script><script src="/js/rightmenu.js"></script><script async src="https://umami.status.sinzmise.top/a8f9c04189c7d6a2b6b03f4f3948ef41" data-website-id="f18a2137-2dfe-45b9-a524-21413e09bd68"></script><script async src="/js/comments.js"></script><script src="https://jsd.cdn.storisinz.site/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors=["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show","#fixedcard-dashboard",".js-pjax"];var pjax=new Pjax({elements:'a:not([target="_blank"]):not([href="/bbs/"])',selectors:pjaxSelectors,cacheBust:!1,analytics:!0,scrollRestoration:!1});document.addEventListener("pjax:send",(function(){if(window.tocScrollFn&&window.removeEventListener("scroll",window.tocScrollFn),window.scrollCollect&&window.removeEventListener("scroll",scrollCollect),document.getElementById("rightside").style.cssText="opacity: ''; transform: ''",window.aplayers)for(let e=0;e<window.aplayers.length;e++)window.aplayers[e].options.fixed||window.aplayers[e].destroy();"object"==typeof typed&&typed.destroy();const e=document.body.classList;e.contains("read-mode")&&e.remove("read-mode"),"object"==typeof disqusjs&&disqusjs.destroy()})),document.addEventListener("pjax:complete",(function(){window.refreshFn(),document.querySelectorAll("script[data-pjax], .pjax-reload script").forEach((e=>{const t=document.createElement("script"),o=e.text||e.textContent||e.innerHTML||"";Array.from(e.attributes).forEach((e=>t.setAttribute(e.name,e.value))),t.appendChild(document.createTextNode(o)),e.parentNode.replaceChild(t,e)})),GLOBAL_CONFIG.islazyload&&window.lazyLoadInstance.update(),"function"==typeof chatBtnFn&&chatBtnFn(),"function"==typeof panguInit&&panguInit(),"function"==typeof gtag&&gtag("config","G-7MR59SK1DP",{page_path:window.location.pathname}),"object"==typeof _hmt&&_hmt.push(["_trackPageview",window.location.pathname]),"function"==typeof loadMeting&&document.getElementsByClassName("aplayer").length&&loadMeting(),"object"==typeof Prism&&Prism.highlightAll()})),document.addEventListener("pjax:error",(e=>{404===e.request.status&&pjax.loadUrl("/404.html")}))</script><div class="pjax-reload"></div><script defer src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/wow.min.js"></script><script defer src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/wow_init.min.js"></script><div class="app-refresh" id="app-refresh" style="position:fixed;top:-2.2rem;left:0;right:0;z-index:99999;padding:0 1rem;font-size:15px;height:2.2rem;transition:all .3s ease"><div class="app-refresh-wrap" style="display:flex;color:#fff;height:100%;align-items:center;justify-content:center"><label>✨ 星空魔法屋站点已更新! 👉</label><a href="javascript:void(0)" onclick="location.reload(!0)"><span style="color:#fff;text-decoration:underline;cursor:pointer">⭐点我刷新⭐</span></a></div></div><script>function showNotification(){if(GLOBAL_CONFIG.Snackbar){var e="light"===document.documentElement.getAttribute("data-theme")?GLOBAL_CONFIG.Snackbar.bgLight:GLOBAL_CONFIG.Snackbar.bgDark,t=GLOBAL_CONFIG.Snackbar.position;Snackbar.show({text:"✨ 星空魔法屋又装修了 👉",backgroundColor:e,duration:5e5,pos:t,actionText:"⭐点我查看⭐",actionTextColor:"#fff",onActionClick:function(e){location.reload(!0)}}),document.getElementById("app-refresh-setting").style.display="block"}else{var o=`top: 0; background: ${"light"===document.documentElement.getAttribute("data-theme")?"#49b1f5":"#1f1f1f"};`;document.getElementById("app-refresh").style.cssText=o}}"serviceWorker"in navigator&&(navigator.serviceWorker.controller&&navigator.serviceWorker.addEventListener("controllerchange",(function(){showNotification()})),window.addEventListener("load",(function(){navigator.serviceWorker.register("/sw.js")})))</script><script async data-pjax="" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="fixedcard-dashboard"><button class="fixedcard-activebtn" type="button" title="用户信息" onclick="FixedCardWidget(&quot;class&quot;,&quot;card-info&quot;,&quot;0&quot;)"><i class="fas fa-address-book"></i></button><button class="fixedcard-activebtn" type="button" title="电子钟" onclick="FixedCardWidget(&quot;class&quot;,&quot;card-clock-weather&quot;,&quot;0&quot;)"><i class="fas fa-cloud-sun"></i></button><button class="fixedcard-activebtn" type="button" title="最新文章" onclick="FixedCardWidget(&quot;class&quot;,&quot;card-recent-post&quot;,&quot;0&quot;)"><i class="fas fa-history"></i></button><div class="fixedcard-user-avatar fixedcard-activebtn" onclick="RemoveFixedCardWidget()"><img class="fixedcard-user-avatar-img" src="/img/avatar.png" title="王九弦SZ·Ninty"></div></div></div></body></html>
1
+ <!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><script>(()=>{let r=navigator.serviceWorker,e=()=>console.error("Service Worker 注册失败!可能是由于您的浏览器不支持该功能!");r?.register("/sw.js")?.catch(e)||e()})()</script><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><title>给你的站点添加个可可爱爱的看板娘——伪春菜 | 星空故事·魔法小屋</title><meta name="author" content="王九弦SZ·Ninty"><meta name="copyright" content="王九弦SZ·Ninty"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><link rel="authorization_endpoint" href="https://indieauth.com/auth"><link rel="token_endpoint" href="https://tokens.indieauth.com/token"><link rel="webmention" href="https://webmention.io/blog.sinzmise.top/webmention"><meta name="description" content="前言什么是伪春菜?请看这里作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格 某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘就去去搜了一下,得到的结果是:http://www.lmyoaoa.com/inn/archives/4504/又因为这玩"><meta property="og:type" content="article"><meta property="og:title" content="给你的站点添加个可可爱爱的看板娘——伪春菜"><meta property="og:url" content="https://blog.sinzmise.top/posts/54787/"><meta property="og:site_name" content="星空故事·魔法小屋"><meta property="og:description" content="前言什么是伪春菜?请看这里作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格 某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘就去去搜了一下,得到的结果是:http://www.lmyoaoa.com/inn/archives/4504/又因为这玩"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg"><meta property="article:published_time" content="2024-02-16T17:17:26.000Z"><meta property="article:modified_time" content="2024-07-02T07:51:10.299Z"><meta property="article:author" content="王九弦SZ·Ninty"><meta property="article:tag" content="站点折腾"><meta property="article:tag" content="悬浮宠物/看板娘"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg"><link rel="shortcut icon" href="/img/icon-dark.png"><link rel="canonical" href="https://blog.sinzmise.top/posts/54787/"><link rel="preconnect"><link rel="preconnect" href="//www.google-analytics.com" crossorigin=""><link rel="preconnect" href="//hm.baidu.com"><link rel="preconnect" href="//static.cloudflareinsights.com"><link rel="preconnect" href="//busuanzi.ibruce.info"><link rel="preconnect" href="//sdk.51.la"><meta name="baidu-site-verification" content="codeva-NA6uDlCuZg"><meta name="msvalidate.01" content="18428535B4425286753107589FC35E79"><meta name="google-site-verification" content="H2O2-443XGKJh5l1ik9o6ZgFmcBEf9AKSoMRRlNIltQ"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/animate.min.css" media="print" onload='this.media="all"'><link rel="manifest" href="/manifest.json"><meta name="msapplication-TileColor" content="var(--anzhiyu-main)"><link rel="mask-icon" href="/img/siteicon/safari-pinned-tab.svg" color="#5bbad5"><link rel="apple-touch-icon" sizes="180x180" href="/img/siteicon/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" sizes="180x180" href="/img/siteicon/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/img/siteicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/siteicon/favicon-16x16.png"><link rel="bookmark" href="/img/siteicon/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1668-2388.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1290-2796.jpg" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2796-1290.jpg" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1179-2556.jpg" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2556-1179.jpg" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"><link rel="apple-touch-startup-image" href="/img/siteicon/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/anzhiyu-theme-static/icon/ali_iconfont_css.min.css"><link rel="stylesheet" href="//at.alicdn.com/t/c/font_4199232_gh7up2nbg3c.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/tag_plugins.min.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/font-awesome-animation.min.css"><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/node-snackbar/dist/snackbar.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload='this.media="all"'><script>var _hmt=_hmt||[];!function(){var e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?59986c9d6715c06178a2b6e2f118f837";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-7MR59SK1DP"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-7MR59SK1DP")</script><script defer data-pjax="data-pjax" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon="{&quot;token&quot;: &quot;9156db3f439e470d9c3e7bf91a7aa995&quot;}"></script><script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script><script>LA.init({id:"K9WDMA2h2AfDg5GG",ck:"K9WDMA2h2AfDg5GG",autoTrack:!0,hashMode:!0})</script><script src="https://sdk.51.la/perf/js-sdk-perf.min.js" crossorigin="anonymous"></script><script>(new LingQue.Monitor).init({id:"K94JRCDsbHJJSjNs"})</script><script>const GLOBAL_CONFIG={root:"/",algolia:void 0,localSearch:void 0,translate:{defaultEncoding:2,translateDelay:0,msgToTraditionalChinese:"繁",msgToSimplifiedChinese:"簡"},noticeOutdate:void 0,highlight:void 0,postHeadAiDescription:{enable:!0,gptName:"MagicRing",mode:"tianli",switchBtn:!1,btnLink:"https://afdian.net/item/886a79d4db6711eda42a52540025c377",randomNum:1,basicWordCount:1e3,key:"3782872dfbfe495c1c52",Referer:"https://blog.sinzmise.top/"},date:"2021/12/17 14:53:11",copy:{success:"复制成功",error:"复制错误",noSupport:"浏览器不支持"},relativeDate:{homepage:!1,post:!1},runtime:"",date_suffix:{just:"刚刚",min:"分钟前",hour:"小时前",day:"天前",month:"个月前"},copyright:{limitCount:50,languages:{author:"作者: 王九弦SZ·Ninty",link:"链接: ",source:"来源: 星空故事·魔法小屋",info:"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},lightbox:"fancybox",Snackbar:{chs_to_cht:"你已切换为繁体",cht_to_chs:"你已切换为简体",day_to_night:"你已切换为深色模式",night_to_day:"你已切换为浅色模式",bgLight:"#49b1f5",bgDark:"#1f1f1f",position:"top-left"},source:{justifiedGallery:{js:"https://jsd.cdn.storisinz.site/npm/flickr-justified-gallery/dist/fjGallery.min.js",css:"https://jsd.cdn.storisinz.site/npm/flickr-justified-gallery/dist/fjGallery.min.css"}},isPhotoFigcaption:!1,islazyload:!0,isAnchor:!1,percent:{toc:!0,rightside:!1},player:{key:"661a038c31f2b",mobile:"1"},uiversion:"v1.7.0"},GLOBAL_LANG={fps:{normal1:"非常好",normal2:"很好",laggy1:"卡",laggy2:"难受",laggy3:"电竞级帧率",laggy4:"卡成ppt"},about:{comments:"个评论",introduction:["测试一下","测试",233],comment_error:"错误:评论总数功能无法获取到正确的元素,请检查页面是否正常!",stats:{today_users:"今日人数",today_uv:"今日访问",yesterday_users:"昨日人数",yesterday_uv:"昨日访问",month_uv:"本月访问",recent:"最近访问",years:"已稳定运行 ${q} 年"}}}</script><script id="config-diff">var GLOBAL_CONFIG_SITE={title:"给你的站点添加个可可爱爱的看板娘——伪春菜",isPost:!0,isHome:!1,isHighlightShrink:!1,isToc:!0,postUpdate:"2024-07-02 07:51:10"}</script><noscript><style>#nav{opacity:1}.justified-gallery img{opacity:1}#post-meta time,#recent-posts time{display:inline!important}</style></noscript><script src="https://jsd.cdn.storisinz.site/npm/jquery/dist/jquery.min.js"></script><script>(e=>{e.saveToLocal={set:function(e,t,o){if(0===o)return;const a=864e5*o,n={value:t,expiry:(new Date).getTime()+a};localStorage.setItem(e,JSON.stringify(n))},get:function(e){const t=localStorage.getItem(e);if(!t)return;const o=JSON.parse(t);if(!((new Date).getTime()>o.expiry))return o.value;localStorage.removeItem(e)}},e.getScript=e=>new Promise(((t,o)=>{const a=document.createElement("script");a.src=e,a.async=!0,a.onerror=o,a.onload=a.onreadystatechange=function(){const e=this.readyState;e&&"loaded"!==e&&"complete"!==e||(a.onload=a.onreadystatechange=null,t())},document.head.appendChild(a)})),e.getCSS=e=>new Promise(((t,o)=>{const a=document.createElement("link");a.rel="stylesheet",a.href=e,a.onload=()=>t(),a.onerror=()=>o(),document.head.appendChild(a)})),e.activateDarkMode=function(){document.documentElement.setAttribute("data-theme","dark"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#0d0d0d")},e.activateLightMode=function(){document.documentElement.setAttribute("data-theme","light"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#ffffff")};const t=saveToLocal.get("theme"),o=window.matchMedia("(prefers-color-scheme: dark)").matches,a=window.matchMedia("(prefers-color-scheme: light)").matches,n=window.matchMedia("(prefers-color-scheme: no-preference)").matches,c=!o&&!a&&!n;if(void 0===t){if(a)activateLightMode();else if(o)activateDarkMode();else if(n||c){const e=(new Date).getHours();e<=6||e>=18?activateDarkMode():activateLightMode()}window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){void 0===saveToLocal.get("theme")&&(e.matches?activateDarkMode():activateLightMode())}))}else"light"===t?activateLightMode():activateDarkMode();const d=saveToLocal.get("aside-status");void 0!==d&&("hide"===d?document.documentElement.classList.add("hide-aside"):document.documentElement.classList.remove("hide-aside"));/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)&&document.documentElement.classList.add("apple")})(window)</script><link rel="stylesheet" href="/css/custom.css"><link rel="stylesheet" href="/css/custom2.css"><link rel="stylesheet" href="/css/anzhiyu-var.css"><link rel="stylesheet" href="/css/heo-var.css"><link rel="stylesheet" href="/css/bywind-var.css"><link rel="stylesheet" href="/css/icat-var.css"><link rel="stylesheet" href="https://cdn2.codesign.qq.com/icons/XMx86jzlQw0brz3/latest/iconfont.css"><link rel="stylesheet" href="/css/rightmenu.css"><link rel="stylesheet" href="/css/iconfont.css"><link rel="stylesheet" href="/css/categoryBar.css"><script async src="/js/categoryBar.js"></script><link rel="stylesheet" href="/css/orlike.css"><link rel="stylesheet" href="/css/footer.css"><link rel="stylesheet" href="/css/404.css"><link rel="stylesheet" href="/css/plane.css"><link rel="stylesheet" href="/css/console.css"><style id="settingStyle"></style><style id="css"></style><style id="yjjs"></style><style id="themeColor"></style><script defer src="/sw-dom.js"></script><meta name="generator" content="Hexo 7.3.0"><link rel="alternate" href="/atom.xml" title="星空故事·魔法小屋" type="application/atom+xml"></head><body><div class="float-box left top"></div><div class="float-box left bottom"></div><div class="float-box right top"></div><div class="float-box right bottom"></div><div id="loading-box" onclick="preloader.endLoading()"><div class="loader-wrapper"><div class="container"><div class="circle"></div><div class="circle"></div><div class="circle"></div></div><div id="preload"><span></span><span></span><span></span><span></span><span></span><span></span></div></div></div><script>const preloader={endLoading:()=>{document.body.style.overflow="auto",document.getElementById("loading-box").classList.add("loaded"),setTimeout((()=>{document.getElementById("loading-box").style.display="none"}),1e3)},initLoading:()=>{document.body.style.overflow="",document.getElementById("loading-box").style.display="block",document.getElementById("loading-box").classList.remove("loaded")}};window.addEventListener("load",(()=>{preloader.endLoading()})),document.addEventListener("pjax:send",(()=>{preloader.initLoading()})),document.addEventListener("pjax:complete",(()=>{preloader.endLoading()}))</script><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/pace-js/themes/blue/pace-theme-minimal.min.css"><script src="https://jsd.cdn.storisinz.site/npm/pace-js/pace.min.js"></script><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror='onerror=null,src="/img/friend_404.gif"' alt="avatar"></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">36</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">5</div></a><a href="/comments/"><div class="headline">评论</div><div class="length-num icat-pe-comment">0</div></a></div><hr><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-wenzhang"></use></svg> <span>站点</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-a-xiangzishouna"></use></svg> <span>隧道</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei"></use></svg> <span>分类</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei-copy"></use></svg> <span>标签</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/update/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-gengxin"></use></svg> <span>更新日志</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-youlian"></use></svg> <span>友链</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/link/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-lianjie"></use></svg> <span>友人帐</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/fcircle/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon_pengyouquan"></use></svg> <span>朋友圈</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/comments/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-liuyanban"></use></svg> <span>留言板</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bbs/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-laba"></use></svg> <span>哔哔广场</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-guanyuwomenicon"></use></svg> <span>关于</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/about/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zhifeiji"></use></svg> <span>关于屋主</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bangumis/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-bilibili"></use></svg> <span>屋主追番</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/essay/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon-test"></use></svg> <span>闲言碎语</span></a></li><li><a class="site-page child faa-parent animated-hover" href="javascript:toRandomPost()"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zuji"></use></svg> <span>随便逛逛</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg nav-fixed nav-visible" id="page-header" style="background-image:url('https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg')"><nav id="nav"><span id="blog-info"><a href="/" title="星空故事·魔法小屋"><img class="site-logo" src="/img/icon-dark.png"></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-wenzhang"></use></svg> <span>站点</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-a-xiangzishouna"></use></svg> <span>隧道</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei"></use></svg> <span>分类</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-fenlei-copy"></use></svg> <span>标签</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/update/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-gengxin"></use></svg> <span>更新日志</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-youlian"></use></svg> <span>友链</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/link/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-lianjie"></use></svg> <span>友人帐</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/fcircle/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon_pengyouquan"></use></svg> <span>朋友圈</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/comments/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-liuyanban"></use></svg> <span>留言板</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bbs/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-laba"></use></svg> <span>哔哔广场</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-guanyuwomenicon"></use></svg> <span>关于</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/about/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zhifeiji"></use></svg> <span>关于屋主</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/bangumis/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-bilibili"></use></svg> <span>屋主追番</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/essay/"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-icon-test"></use></svg> <span>闲言碎语</span></a></li><li><a class="site-page child faa-parent animated-hover" href="javascript:toRandomPost()"><svg class="icon faa-tada" aria-hidden="true"><use xlink:href="#icon-pjh-zuji"></use></svg> <span>随便逛逛</span></a></li></ul></div></div><center id="name-container"><a id="page-name" href="javascript:rmf.scrollToTop()">PAGE_NAME</a></center></div><div id="nav-right"><div id="travellings"><a class="site-page" target="_blank" rel="noopener" href="https://www.travellings.cn/go.html" title="随机前往一个开往项目网站"><i class="fas fa-train fa-fw"></i></a></div><div id="random"><a class="site-page" href="javascript:toRandomPost()" title="随机前往一个文章"><i class="fas fa-paper-plane fa-fw"></i></a></div><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i></a></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">给你的站点添加个可可爱爱的看板娘——伪春菜</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-orlike"><i class="iconfont icon-aixin fa-fw post-meta-icon"></i><span class="post-meta-label">点赞数:</span><a href="/posts/54787/#orlike-box"><span class="orlike-count"></span></a></span><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2024-02-16T17:17:26.000Z" title="发表于 2024-02-16 17:17:26">2024-02-16</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2024-07-02T07:51:10.299Z" title="更新于 2024-07-02 07:51:10">2024-07-02</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E7%AB%99%E7%82%B9%E6%8A%98%E8%85%BE/">站点折腾</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" data-flag-title="给你的站点添加个可可爱爱的看板娘——伪春菜"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div><section class="main-hero-waves-area waves-area"><svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s58 18 88 18 58-18 88-18 58 18 88 18v44h-352Z"></path></defs><g class="parallax"><use href="#gentle-wave" x="48" y="0"></use><use href="#gentle-wave" x="48" y="3"></use><use href="#gentle-wave" x="48" y="5"></use><use href="#gentle-wave" x="48" y="7"></use></g></svg></section></header><main class="layout" id="content-inner"><div class="h-entry" id="post"><article class="post-content e-content" id="article-container"><h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>什么是伪春菜?<a target="_blank" rel="noopener" href="https://mzh.moegirl.org.cn/%E4%BC%AA%E6%98%A5%E8%8F%9C">请看这里</a><br>作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气<br>后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少<br>我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格</p><p>某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘<br>就去去搜了一下,得到的结果是:<a target="_blank" rel="noopener" href="http://www.lmyoaoa.com/inn/archives/4504/">http://www.lmyoaoa.com/inn/archives/4504/</a><br>又因为这玩意已经很久没更新,所以我将这个的js、css和图片提取出来,然后魔改了一下,方便放在hexo里面<br>废话不多说,开始吧!</p><h1 id="引入js和css"><a href="#引入js和css" class="headerlink" title="引入js和css"></a>引入js和css</h1><p>{blogroot}/source/weichuncai/css/style.css<br></p><figure class="highlight css"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br></pre></td><td class="code"><pre><span class="line"><span class="selector-id">#smchuncai</span> {<span class="attribute">opacity</span>:<span class="number">0.85</span>;<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">position</span>:fixed;<span class="attribute">top</span>:<span class="number">400px</span>;<span class="attribute">left</span>:<span class="number">800px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#smchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#chuncaiface</span> {<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">background-repeat</span>:no-repeat;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:<span class="number">0px</span>;}</span><br><span class="line"><span class="comment">/*#chuncaimenu {width:46px;line-height:16px;float:left;font-size:12px;cursor:pointer;background-color:#666;color:#FFF;text-align:center;}*/</span></span><br><span class="line"><span class="selector-id">#showchuncaimenu</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="comment">/*#showchuncaimenu ul, */</span><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">margin</span>:<span class="number">1px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">5px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-class">.wcc_mlist</span> {<span class="attribute">text-align</span>:center;<span class="attribute">width</span>:<span class="number">47%</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">4px</span> <span class="number">0px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">width</span>:<span class="number">96%</span>;}</span><br><span class="line"><span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:fixed;<span class="attribute">width</span>:<span class="number">60px</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">display</span>:none;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#dialog_chat</span> {<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:-<span class="number">205px</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_loading</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">30px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/loading.gif"</span>) no-repeat center center;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#chat_top</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">5px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_top.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span>, <span class="selector-id">#chuncaisaying</span>, <span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding-left</span>:<span class="number">0px</span>;<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">background-color</span>:<span class="number">#ffffee</span>;}</span><br><span class="line"><span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span>,<span class="selector-id">#chuncaisaying</span> {<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">2px</span>; <span class="attribute">width</span>:<span class="number">196px</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span> {<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">border-left</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">border-right</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;}</span><br><span class="line"><span class="selector-id">#chat_bottom</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">10px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_bottom.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#chat_top</span>, <span class="selector-id">#chat_bottom</span> {}</span><br><span class="line"><span class="selector-id">#tempsaying</span>, <span class="selector-id">#hiddenfaces</span> {<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#getmenu</span> {<span class="attribute">width</span>:<span class="number">95%</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/menu.jpg"</span>) no-repeat top right;}</span><br><span class="line"><span class="selector-id">#addinput</span> {<span class="attribute">width</span>:<span class="number">240px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">150px</span>;<span class="attribute">left</span>:-<span class="number">260px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#888</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;<span class="attribute">padding-top</span>:<span class="number">2px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#inp_l</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">220px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;}</span><br><span class="line"><span class="selector-id">#inp_r</span> {<span class="attribute">float</span><span class="selector-pseudo">:right</span>;<span class="attribute">width</span>:<span class="number">20px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">text-align</span>:center;<span class="attribute">cursor</span>:pointer;}</span><br><span class="line"><span class="selector-id">#talk</span> {<span class="attribute">border</span>:none;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">180px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;}</span><br><span class="line"><span class="selector-id">#talkto</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">border</span>:none;<span class="attribute">width</span>:<span class="number">30px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/ok.jpg"</span>);<span class="attribute">cursor</span>:pointer;}</span><br></pre></td></tr></tbody></table></figure><br>{blogroot}/source/weichuncai/js/common.js<br><figure class="highlight javascript"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br><span class="line">234</span><br><span class="line">235</span><br><span class="line">236</span><br><span class="line">237</span><br><span class="line">238</span><br><span class="line">239</span><br><span class="line">240</span><br><span class="line">241</span><br><span class="line">242</span><br><span class="line">243</span><br><span class="line">244</span><br><span class="line">245</span><br><span class="line">246</span><br><span class="line">247</span><br><span class="line">248</span><br><span class="line">249</span><br><span class="line">250</span><br><span class="line">251</span><br><span class="line">252</span><br><span class="line">253</span><br><span class="line">254</span><br><span class="line">255</span><br><span class="line">256</span><br><span class="line">257</span><br><span class="line">258</span><br><span class="line">259</span><br><span class="line">260</span><br><span class="line">261</span><br><span class="line">262</span><br><span class="line">263</span><br><span class="line">264</span><br><span class="line">265</span><br><span class="line">266</span><br><span class="line">267</span><br><span class="line">268</span><br><span class="line">269</span><br><span class="line">270</span><br><span class="line">271</span><br><span class="line">272</span><br><span class="line">273</span><br><span class="line">274</span><br><span class="line">275</span><br><span class="line">276</span><br><span class="line">277</span><br><span class="line">278</span><br><span class="line">279</span><br><span class="line">280</span><br><span class="line">281</span><br><span class="line">282</span><br><span class="line">283</span><br><span class="line">284</span><br><span class="line">285</span><br><span class="line">286</span><br><span class="line">287</span><br><span class="line">288</span><br><span class="line">289</span><br><span class="line">290</span><br><span class="line">291</span><br><span class="line">292</span><br><span class="line">293</span><br><span class="line">294</span><br><span class="line">295</span><br><span class="line">296</span><br><span class="line">297</span><br><span class="line">298</span><br><span class="line">299</span><br><span class="line">300</span><br><span class="line">301</span><br><span class="line">302</span><br><span class="line">303</span><br><span class="line">304</span><br><span class="line">305</span><br><span class="line">306</span><br><span class="line">307</span><br><span class="line">308</span><br><span class="line">309</span><br><span class="line">310</span><br><span class="line">311</span><br><span class="line">312</span><br><span class="line">313</span><br><span class="line">314</span><br><span class="line">315</span><br><span class="line">316</span><br><span class="line">317</span><br><span class="line">318</span><br><span class="line">319</span><br><span class="line">320</span><br><span class="line">321</span><br><span class="line">322</span><br><span class="line">323</span><br><span class="line">324</span><br><span class="line">325</span><br><span class="line">326</span><br><span class="line">327</span><br><span class="line">328</span><br><span class="line">329</span><br><span class="line">330</span><br><span class="line">331</span><br><span class="line">332</span><br><span class="line">333</span><br><span class="line">334</span><br><span class="line">335</span><br><span class="line">336</span><br><span class="line">337</span><br><span class="line">338</span><br><span class="line">339</span><br><span class="line">340</span><br><span class="line">341</span><br><span class="line">342</span><br><span class="line">343</span><br><span class="line">344</span><br><span class="line">345</span><br><span class="line">346</span><br><span class="line">347</span><br><span class="line">348</span><br><span class="line">349</span><br><span class="line">350</span><br><span class="line">351</span><br><span class="line">352</span><br><span class="line">353</span><br><span class="line">354</span><br><span class="line">355</span><br><span class="line">356</span><br><span class="line">357</span><br><span class="line">358</span><br><span class="line">359</span><br><span class="line">360</span><br><span class="line">361</span><br><span class="line">362</span><br><span class="line">363</span><br><span class="line">364</span><br><span class="line">365</span><br><span class="line">366</span><br><span class="line">367</span><br><span class="line">368</span><br><span class="line">369</span><br><span class="line">370</span><br><span class="line">371</span><br><span class="line">372</span><br><span class="line">373</span><br><span class="line">374</span><br><span class="line">375</span><br><span class="line">376</span><br><span class="line">377</span><br><span class="line">378</span><br><span class="line">379</span><br><span class="line">380</span><br><span class="line">381</span><br><span class="line">382</span><br><span class="line">383</span><br><span class="line">384</span><br><span class="line">385</span><br><span class="line">386</span><br><span class="line">387</span><br><span class="line">388</span><br><span class="line">389</span><br><span class="line">390</span><br><span class="line">391</span><br><span class="line">392</span><br><span class="line">393</span><br><span class="line">394</span><br><span class="line">395</span><br><span class="line">396</span><br><span class="line">397</span><br><span class="line">398</span><br><span class="line">399</span><br><span class="line">400</span><br><span class="line">401</span><br><span class="line">402</span><br><span class="line">403</span><br><span class="line">404</span><br><span class="line">405</span><br><span class="line">406</span><br><span class="line">407</span><br><span class="line">408</span><br><span class="line">409</span><br><span class="line">410</span><br><span class="line">411</span><br><span class="line">412</span><br><span class="line">413</span><br><span class="line">414</span><br><span class="line">415</span><br><span class="line">416</span><br><span class="line">417</span><br><span class="line">418</span><br><span class="line">419</span><br><span class="line">420</span><br><span class="line">421</span><br><span class="line">422</span><br><span class="line">423</span><br><span class="line">424</span><br><span class="line">425</span><br><span class="line">426</span><br><span class="line">427</span><br><span class="line">428</span><br><span class="line">429</span><br><span class="line">430</span><br><span class="line">431</span><br><span class="line">432</span><br><span class="line">433</span><br><span class="line">434</span><br><span class="line">435</span><br><span class="line">436</span><br><span class="line">437</span><br><span class="line">438</span><br><span class="line">439</span><br><span class="line">440</span><br><span class="line">441</span><br><span class="line">442</span><br><span class="line">443</span><br><span class="line">444</span><br><span class="line">445</span><br><span class="line">446</span><br><span class="line">447</span><br><span class="line">448</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> smjq = jQuery;</span><br><span class="line"><span class="keyword">var</span> _typei = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">var</span> weichuncai_text = <span class="string">''</span>;</span><br><span class="line"><span class="title function_">smjq</span>(<span class="variable language_">document</span>).<span class="title function_">ready</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> getwidth = <span class="title function_">getCookie</span>(<span class="string">"historywidth"</span>);</span><br><span class="line"> <span class="keyword">var</span> getheight = <span class="title function_">getCookie</span>(<span class="string">"historyheight"</span>);</span><br><span class="line"> <span class="keyword">if</span>(getwidth != <span class="literal">null</span> &amp;&amp; getheight != <span class="literal">null</span>){</span><br><span class="line"> <span class="keyword">var</span> width = getwidth;</span><br><span class="line"> <span class="keyword">var</span> height = getheight;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> width = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>- <span class="number">200</span> - imagewidth;</span><br><span class="line"> <span class="keyword">var</span> height = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>- <span class="number">180</span> - imageheight;</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> cwidth = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>-<span class="number">100</span>;</span><br><span class="line"> <span class="keyword">var</span> cheight = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>-<span class="number">20</span>;</span><br><span class="line"> <span class="comment">//var height = document.body.clientHeight-200;</span></span><br><span class="line"> <span class="keyword">var</span> moveX = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveY = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveTop = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveLeft = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveable = <span class="literal">false</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseMoveEvent = <span class="variable language_">document</span>.<span class="property">onmousemove</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseUpEvent = <span class="variable language_">document</span>.<span class="property">onmouseup</span>;</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="smchuncai" onfocus="this.blur();" style="color:#626262;z-index:999;"&gt;&lt;div id="chuncaiface"&gt;&lt;/div&gt;&lt;div id="dialog_chat"&gt;&lt;div id="chat_top"&gt;&lt;/div&gt;&lt;div id="dialog_chat_contents"&gt;&lt;div id="dialog_chat_loading"&gt;&lt;/div&gt;&lt;div id="tempsaying"&gt;&lt;/div&gt;&lt;div id="showchuncaimenu"&gt;&lt;ul class="wcc_mlist" id="shownotice"&gt;显示公告&lt;/ul&gt;&lt;ul class="wcc_mlist" id="chatTochuncai"&gt;聊&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;天&lt;/ul&gt;&lt;ul class="wcc_mlist" id="foods"&gt;吃 零 食&lt;/ul&gt;&lt;ul class="wcc_mlist" id="aboutmanage"&gt;关&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;于&lt;/ul&gt;&lt;ul class="wcc_mlist" id="lifetimechuncai"&gt;生存时间&lt;/ul&gt;&lt;ul class="wcc_mlist" id="closechuncai"&gt;关闭春菜&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;ul id="chuncaisaying"&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div id="getmenu"&gt; &lt;/div&gt;&lt;/div&gt;&lt;div id="chat_bottom"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="addinput"&gt;&lt;div id="inp_l"&gt;&lt;input id="talk" type="text" name="mastersay" value="" /&gt; &lt;input id="talkto" type="button" value=" " /&gt;&lt;/div&gt;&lt;div id="inp_r"&gt; X &lt;/div&gt;&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="callchuncai"&gt;召唤春菜&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="comment">//判断春菜是否处于隐藏状态</span></span><br><span class="line"> <span class="keyword">var</span> is_closechuncai = <span class="title function_">getCookie</span>(<span class="string">"is_closechuncai"</span>);</span><br><span class="line"> <span class="keyword">if</span>(is_closechuncai == <span class="string">'close'</span>){</span><br><span class="line"> <span class="title function_">closechuncai_init</span>();</span><br><span class="line"> }</span><br><span class="line"> <span class="comment">//设置初始状态</span></span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'left'</span>, width+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'top'</span>, height+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'width'</span>, imagewidth+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'height'</span>, imageheight+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"top:"</span>+cheight+<span class="string">"px; left:"</span>+cwidth+<span class="string">"px; text-align:center;"</span>);</span><br><span class="line"></span><br><span class="line"> smcc = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> smcc.<span class="property">onmousedown</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> moveable = <span class="literal">true</span>;</span><br><span class="line"> moveX = ent.<span class="property">clientX</span>;</span><br><span class="line"> moveY = ent.<span class="property">clientY</span>;</span><br><span class="line"> <span class="keyword">var</span> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> moveTop = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">top</span>);</span><br><span class="line"> moveLeft = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">left</span>);</span><br><span class="line"> <span class="keyword">if</span>(isFirefox=navigator.<span class="property">userAgent</span>.<span class="title function_">indexOf</span>(<span class="string">"Firefox"</span>)&gt;<span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="title function_">getSelection</span>().<span class="title function_">removeAllRanges</span>();</span><br><span class="line"> } </span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> <span class="keyword">var</span> x = moveLeft + ent.<span class="property">clientX</span> - moveX;</span><br><span class="line"> <span class="keyword">var</span> y = moveTop + ent.<span class="property">clientY</span> - moveY;</span><br><span class="line"> <span class="keyword">var</span> w = <span class="number">200</span>;</span><br><span class="line"> <span class="keyword">var</span> h = <span class="number">200</span>; <span class="comment">//w,h为浮层宽高</span></span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">left</span> = x + <span class="string">"px"</span>;</span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">top</span> = y + <span class="string">"px"</span>;</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> historywidth = obj.<span class="property">style</span>.<span class="property">left</span>;</span><br><span class="line"> <span class="keyword">var</span> historyheight = obj.<span class="property">style</span>.<span class="property">top</span>;</span><br><span class="line"> historywidth = historywidth.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> historyheight = historyheight.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historywidth"</span>, historywidth, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historyheight"</span>, historyheight, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = docMouseMoveEvent;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = docMouseUpEvent;</span><br><span class="line"> moveable = <span class="literal">false</span>; </span><br><span class="line"> moveX = <span class="number">0</span>;</span><br><span class="line"> moveY = <span class="number">0</span>;</span><br><span class="line"> moveTop = <span class="number">0</span>;</span><br><span class="line"> moveLeft = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#closechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">callchuncai</span>();</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#lifetimechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'showlifetime'</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chatTochuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">showInput</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#inp_r"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'不聊天了吗?(→_→)'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#talkto"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"talking"</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#aboutmanage"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"你想了解我主人?跟我来吧~~~"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="property">location</span>.<span class="property">href</span> = _about_path ;</span><br><span class="line"> }, <span class="number">2000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#foods"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"foods"</span>);</span><br><span class="line"> });</span><br><span class="line"><span class="comment">/* smjq("#showchuncaimenu").hover(function(){</span></span><br><span class="line"><span class="comment"> },function(){</span></span><br><span class="line"><span class="comment"> smjq("#showchuncaimenu").slideUp('slow').show();</span></span><br><span class="line"><span class="comment"> });*/</span></span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> tol = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">setTime</span>();</span><br><span class="line"> <span class="comment">//chuncaiSay("啊,野生的主人出现了! ~~~O口O");</span></span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>).<span class="property">onmouseover</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line"> talktime = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getEvent</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">return</span> <span class="variable language_">window</span>.<span class="property">event</span> || <span class="variable language_">arguments</span>.<span class="property">callee</span>.<span class="property">caller</span>.<span class="property">arguments</span>[<span class="number">0</span>];</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> eattimes = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">eatfood</span>(<span class="params">obj</span>){</span><br><span class="line"> <span class="keyword">var</span> gettimes = <span class="title function_">getCookie</span>(<span class="string">"eattimes"</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) &gt; <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人是个大混蛋!!"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai_evil</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) &gt; <span class="built_in">parseInt</span>(<span class="number">7</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">".....................肚子要炸了,死也不要再吃了~~!!!TAT"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">5</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经吃饱了,不要再吃啦......"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">3</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"多谢款待,我吃饱啦~~~ ╰( ̄▽ ̄)╭"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> id = obj.<span class="title function_">replace</span>(<span class="string">"f"</span>,<span class="string">''</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'eatsay'</span>, id);</span><br><span class="line"> }</span><br><span class="line"> eattimes++;</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"eattimes"</span>, eattimes, <span class="number">60</span>*<span class="number">10</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#showchuncaimenu").slideDown('fast').show();</span></span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"准备做什么呢?"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeChuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#chuncaisaying").css("display", "block");</span></span><br><span class="line"> <span class="title function_">showNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"记得再叫我出来哦..."</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line"> <span class="comment">//保存关闭状态的春菜</span></span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">'close'</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_evil</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_init</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">30</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">callchuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeIn</span>(<span class="string">'normal'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我回来啦~"</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiSay</span>(<span class="params">s</span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">append</span>(s);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> weichuncai_text = s;</span><br><span class="line"> <span class="title function_">typeWords</span>();</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearChuncaiSay</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"............?"</span>);</span><br><span class="line"> <span class="comment">//setFace(1);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"talk"</span>).<span class="property">value</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">createFace</span>(<span class="params">a, b, c</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"head"</span>).<span class="title function_">append</span>(<span class="string">'&lt;div id="hiddenfaces"&gt;&lt;img id="hf1" src="'</span>+a+<span class="string">'" /&gt;&lt;img id="hf2" src="'</span>+b+<span class="string">'" /&gt;&lt;img id="hf3" src="'</span>+c+<span class="string">'" /&gt;&lt;/div&gt;'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setFace</span>(<span class="params">num</span>){</span><br><span class="line"> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"hf"</span>+num).<span class="property">src</span>;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaiface"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"background:url("</span>+obj+<span class="string">") no-repeat scroll 50% 0% transparent; width:"</span>+imagewidth+<span class="string">"px;height:"</span>+imageheight+<span class="string">"px;"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getdata</span>(<span class="params">el, id</span>){</span><br><span class="line"> smjq.<span class="title function_">ajax</span>({</span><br><span class="line"> <span class="attr">type</span>: <span class="string">'GET'</span>,</span><br><span class="line"> <span class="attr">url</span>: _weichuncai_jsonpath,</span><br><span class="line"> <span class="attr">cache</span>: <span class="string">'false'</span>,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">'html'</span>,</span><br><span class="line"> <span class="attr">contentType</span>: <span class="string">'application/json; charset=utf8'</span>,</span><br><span class="line"> <span class="attr">beforeSend</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeOut("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">fadeIn</span>(<span class="string">"normal"</span>);</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">success</span>: <span class="keyword">function</span>(<span class="params">data</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeIn("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">""</span>);</span><br><span class="line"> <span class="keyword">var</span> dat = <span class="built_in">eval</span>(<span class="string">"("</span>+data+<span class="string">")"</span>);</span><br><span class="line"> <span class="keyword">if</span>(el == <span class="string">'getnotice'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">notice</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'showlifetime'</span>){</span><br><span class="line"> <span class="title class_">BirthDay</span>=<span class="keyword">new</span> <span class="title class_">Date</span>(dat.<span class="property">showlifetime</span>);<span class="comment">//建站日期</span></span><br><span class="line"> today=<span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> timeold=(today.<span class="title function_">getTime</span>()-<span class="title class_">BirthDay</span>.<span class="title function_">getTime</span>());</span><br><span class="line"> sectimeold=timeold/<span class="number">1000</span></span><br><span class="line"> secondsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(sectimeold);</span><br><span class="line"> msPerDay=<span class="number">24</span>*<span class="number">60</span>*<span class="number">60</span>*<span class="number">1000</span></span><br><span class="line"> e_daysold=timeold/msPerDay</span><br><span class="line"> daysold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_daysold);</span><br><span class="line"> e_hrsold=(daysold-e_daysold)*-<span class="number">24</span>;</span><br><span class="line"> hrsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_hrsold);</span><br><span class="line"> e_minsold=(hrsold-e_hrsold)*-<span class="number">60</span>;</span><br><span class="line"> minsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>((hrsold-e_hrsold)*-<span class="number">60</span>);</span><br><span class="line"> seconds=<span class="title class_">Math</span>.<span class="title function_">floor</span>((minsold-e_minsold)*-<span class="number">60</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经与主人 一起生存了 "</span>+daysold+<span class="string">" 天 "</span>+hrsold+<span class="string">" 小时 "</span>+minsold+<span class="string">" 分钟 "</span>+seconds+<span class="string">" 秒的快乐时光啦~*^_^*"</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'talking'</span>){</span><br><span class="line"> <span class="keyword">var</span> talkcon = <span class="title function_">smjq</span>(<span class="string">"#talk"</span>).<span class="title function_">val</span>();</span><br><span class="line"> <span class="keyword">var</span> i = <span class="title function_">in_array</span>(talkcon, dat.<span class="property">ques</span>);</span><br><span class="line"> <span class="keyword">var</span> types = <span class="title function_">typeof</span>(i);</span><br><span class="line"> <span class="keyword">if</span>(types != <span class="string">'boolean'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">ans</span>[i]);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'.......................嗯?'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">clearInput</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'foods'</span>){</span><br><span class="line"> <span class="keyword">var</span> str=<span class="string">''</span>;</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">foods</span>;</span><br><span class="line"> <span class="keyword">var</span> preg = <span class="regexp">/function/</span>; </span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] != <span class="string">''</span> &amp;&amp; !preg.<span class="title function_">test</span>(arr[i]) ){</span><br><span class="line"> str +=<span class="string">'&lt;ul id="f'</span>+i+<span class="string">'" class="eatfood" onclick="eatfood(this.id)"&gt;'</span>+arr[i]+<span class="string">'&lt;/ul&gt;'</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"eatsay"</span>){</span><br><span class="line"> <span class="keyword">var</span> str = dat.<span class="property">eatsay</span>[id];</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"talkself"</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">talkself</span>;</span><br><span class="line"> <span class="keyword">return</span> arr;</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">error</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'好像出错了,是什么错误呢...请联系管理猿'</span>);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">in_array</span>(<span class="params">str, arr</span>){</span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] == str){</span><br><span class="line"> <span class="keyword">return</span> i;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> <span class="literal">false</span>;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> timenum;</span><br><span class="line"><span class="keyword">var</span> tol=<span class="number">0</span>;</span><br><span class="line"><span class="comment">//10分钟后页面没有响应就停止活动</span></span><br><span class="line"><span class="keyword">var</span> goal = <span class="number">10</span>*<span class="number">60</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setTime</span>(<span class="params"></span>){</span><br><span class="line"> tol++;</span><br><span class="line"> <span class="comment">//document.body.innerHTML(tol);</span></span><br><span class="line"> timenum = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"setTime('"</span>+tol+<span class="string">"')"</span>, <span class="number">1000</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(tol) == <span class="built_in">parseInt</span>(goal)){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人跑到哪里去了呢...."</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stoptime</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(timenum){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(timenum);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">var</span> talktime = <span class="number">0</span>;</span><br><span class="line"><span class="comment">//设置自言自语频率(单位:秒)</span></span><br><span class="line"><span class="keyword">var</span> talkself = <span class="number">60</span>;</span><br><span class="line"><span class="keyword">var</span> talkobj;</span><br><span class="line"><span class="keyword">var</span> tsi = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"昨天我好像看见主人又在众人之前卖萌了哦~"</span>, <span class="string">"2"</span>]</span><br><span class="line">];</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">talkSelf</span>(<span class="params">talktime</span>){</span><br><span class="line"> talktime++;</span><br><span class="line"> <span class="keyword">var</span> yushu = talktime%talkself;</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(yushu) == <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> tsi = <span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>() * talkself_arr.<span class="property">length</span> + <span class="number">1</span>)-<span class="number">1</span>;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(talkself_arr[tsi][<span class="number">0</span>]);</span><br><span class="line"> <span class="title function_">setFace</span>(talkself_arr[tsi][<span class="number">1</span>]);</span><br><span class="line"> }</span><br><span class="line"> talkobj = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"talkSelf("</span>+talktime+<span class="string">")"</span>, <span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stopTalkSelf</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">arrayShuffle</span>(<span class="params">arr</span>){</span><br><span class="line"> <span class="keyword">var</span> result = [],</span><br><span class="line"> len = arr.<span class="property">length</span>;</span><br><span class="line"> <span class="keyword">while</span>(len--){</span><br><span class="line"> result[result.<span class="property">length</span>] = arr.<span class="title function_">splice</span>(<span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>()*(len+<span class="number">1</span>)),<span class="number">1</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">typeWords</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">var</span> p = <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">var</span> str = weichuncai_text.<span class="title function_">substr</span>(<span class="number">0</span>,_typei);</span><br><span class="line"> <span class="keyword">var</span> w = weichuncai_text.<span class="title function_">substr</span>(_typei,<span class="number">1</span>);</span><br><span class="line"> <span class="keyword">if</span>(w==<span class="string">"&lt;"</span>){</span><br><span class="line"> str += weichuncai_text.<span class="title function_">substr</span>(_typei,weichuncai_text.<span class="title function_">substr</span>(_typei).<span class="title function_">indexOf</span>(<span class="string">"&gt;"</span>)+<span class="number">1</span>);</span><br><span class="line"> p= weichuncai_text.<span class="title function_">substr</span>(_typei).<span class="title function_">indexOf</span>(<span class="string">"&gt;"</span>)+<span class="number">1</span>;</span><br><span class="line"> }</span><br><span class="line"> _typei+=p;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = str;</span><br><span class="line"> txtst = <span class="built_in">setTimeout</span>(<span class="string">"typeWords()"</span>,<span class="number">20</span>);</span><br><span class="line"> <span class="keyword">if</span> (_typei&gt; weichuncai_text.<span class="property">length</span>){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(txtst);</span><br><span class="line"> _typei = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setCookie</span>(<span class="params">name, val, ex</span>){</span><br><span class="line"> <span class="keyword">var</span> times = <span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> times.<span class="title function_">setTime</span>(times.<span class="title function_">getTime</span>() + ex);</span><br><span class="line"> <span class="keyword">if</span>(ex == <span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">";"</span>;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">"; expires="</span>+times.<span class="title function_">toGMTString</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getCookie</span>(<span class="params">name</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = <span class="variable language_">document</span>.<span class="property">cookie</span>.<span class="title function_">match</span>(<span class="keyword">new</span> <span class="title class_">RegExp</span>(<span class="string">"(^| )"</span>+name+<span class="string">"=([^;]*)(;|$)"</span>)); </span><br><span class="line"> <span class="keyword">if</span>(arr != <span class="literal">null</span>) <span class="keyword">return</span> <span class="built_in">unescape</span>(arr[<span class="number">2</span>]); <span class="keyword">return</span> <span class="literal">null</span>;</span><br><span class="line">}</span><br></pre></td></tr></tbody></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight json"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">{</span></span><br><span class="line"> <span class="attr">"notice"</span><span class="punctuation">:</span> <span class="string">"欢迎来到我的新家,没想到在2024我会被人注意到,真幸福~~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ques"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ans"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"foods"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"金坷垃"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"咸梅干"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"eatsay"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"吃了金坷垃,一刀能秒一万八~!"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"吃咸梅干,变超人!哦耶~~~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"showlifetime"</span><span class="punctuation">:</span><span class="string">"02-16-2024 15:30:00"</span></span><br><span class="line"><span class="punctuation">}</span></span><br></pre></td></tr></tbody></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight javascript"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> _about_path = <span class="string">"https://blog.sinzmise.top/about"</span>; <span class="comment">//你的关于页面地址</span></span><br><span class="line"><span class="keyword">var</span> _weichuncai_jsonpath = <span class="string">"/weichuncai/chuncai.json"</span>; <span class="comment">//chuncai.json的位置</span></span><br><span class="line"><span class="keyword">var</span> imagewidth = <span class="string">'85'</span>; <span class="comment">//人格长度</span></span><br><span class="line"><span class="keyword">var</span> imageheight = <span class="string">'152'</span>; <span class="comment">//人格高度</span></span><br><span class="line"><span class="comment">//设置人格的自言自语,前面的双引号是内容后面的双引号是人格表情,后面的1、2、3对应createFace设置的第几个表情</span></span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>]</span><br><span class="line">];</span><br><span class="line"><span class="comment">//设置表情</span></span><br><span class="line"><span class="title function_">createFace</span>(</span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face1.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face2.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face3.gif"</span></span><br><span class="line">);</span><br></pre></td></tr></tbody></table></figure><br>butterfly、anzhiyu主题引入:<br><figure class="highlight yaml"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># Inject</span></span><br><span class="line"><span class="comment"># Insert the code to head (before '&lt;/head&gt;' tag) and the bottom (before '&lt;/body&gt;' tag)</span></span><br><span class="line"><span class="comment"># 插入代码到头部 &lt;/head&gt; 之前 和 底部 &lt;/body&gt; 之前</span></span><br><span class="line"><span class="attr">inject:</span></span><br><span class="line"> <span class="attr">head:</span></span><br><span class="line"> <span class="comment"># jQuery(必须在之前引入)</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js"&gt;&lt;/script&gt;</span></span><br><span class="line"> <span class="attr">bottom:</span></span><br><span class="line"> <span class="comment"># 主体</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;link</span> <span class="string">rel="stylesheet"</span> <span class="string">type="text/css"</span> <span class="string">href="/weichuncai/css/style.css"&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src="/weichuncai/js/common.js"&gt;&lt;/script&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src="/weichuncai/wcc-config.js"&gt;&lt;/script&gt;</span></span><br></pre></td></tr></tbody></table></figure><p></p><h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>我为什么会将伪春菜定义为桌面精灵而不是桌宠?<br>是因为相比于桌宠来说,伪春菜比桌宠的功能还多得多<br>因此我即使开着虚拟桌宠模拟器,我有时也会开着伪春菜<br><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/ssp_OgKZgUjISo.1rssdhcjowjk.webp" alt="ssp_OgKZgUjISo"><br>(甚至我电脑卡的时候也会提醒我,虽然我电脑没有卡死QWQ)</p><p>还有,我之前看<a target="_blank" rel="noopener" href="https://steve02081504.github.io/2020/02/27/about-kikka/">关于Kikka</a>这篇文章,有一句话很吸引我:<br><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/msedge_h7th45Tk9U.47mkdav98180.webp" alt="msedge_h7th45Tk9U"><br>也据此可以看出,在2020年,伪春菜这个圈子越来越难活下去<br>更何况现在是2024。。。。。。</p><p>但不管怎么说,还是有人在用这个桌面精灵的,至少有我一个。。。。。。<br>后面我打算写个有关伪春菜的配置教程吧。。。。。。</p></article><div class="orlike-box" id="orlike-box"><script>(()=>{function e(){new OrLike({serverUrl:"https://orlike.blog.sinzmise.top/",el:".orlike-box",days:30})}window.pjax?e():window.addEventListener("load",e)})()</script></div><div class="post-copyright"><div class="post-copyright__title"><span class="post-copyright-info"><h class="p-name">给你的站点添加个可可爱爱的看板娘——伪春菜</h></span></div><div class="post-copyright__type"><span class="post-copyright-info"><a class="u-url" href="https://blog.sinzmise.top/posts/54787/">https://blog.sinzmise.top/posts/54787/</a></span></div><div class="post-copyright-m"><div class="post-copyright-m-info"><div class="post-copyright-a"><h>作者</h><div class="post-copyright-cc-info"><h class="p-author">王九弦SZ·Ninty</h></div></div><div class="post-copyright-c"><h>发布于</h><div class="post-copyright-cc-info"><h class="dt-published">2024-02-16</h></div></div><div class="post-copyright-u"><h>更新于</h><div class="post-copyright-cc-info"><h class="dt-updated">2024-07-02</h></div></div><div class="post-copyright-c"><h>许可协议</h><div class="post-copyright-cc-info"><a class="icon" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="fab fa-creative-commons"></i></a><a rel="noopener" target="_blank" title="CC BY-NC-SA 4.0" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a></div></div></div></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags p-category" href="/tags/%E7%AB%99%E7%82%B9%E6%8A%98%E8%85%BE/">站点折腾</a><a class="post-meta__tags p-category" href="/tags/%E6%82%AC%E6%B5%AE%E5%AE%A0%E7%89%A9-%E7%9C%8B%E6%9D%BF%E5%A8%98/">悬浮宠物/看板娘</a></div><div class="post_share"><div class="social-share" data-image="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/16V9BANNER091002000.4rmqc30bwnc0.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload='this.media="all"'><script src="https://jsd.cdn.storisinz.site/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/posts/15842/"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-02.1aou0vacvu.png" onerror='onerror=null,src="/img/404.jpg"' alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">2024-02小记</div></div></a></div><div class="next-post pull-right"><a href="/posts/52677/"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/riceshower-image@master/pc/420b45c1-cdd7-4803-b9ad-e1d690790017.png" onerror='onerror=null,src="/img/404.jpg"' alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">2024.01小记</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/posts/53662/" title="博客大更新"><img class="cover" src="https://files.blog.sinzmise.top/images/645fa3cf90d70.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-07-05</div><div class="title">博客大更新</div></div></a></div><div><a href="/posts/16107/" title="新起点,新出发"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20221230/46348.3e004dfapae0.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-12-17</div><div class="title">新起点,新出发</div></div></a></div><div><a href="/posts/57692/" title="Ruffle测试"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240525/logo.4913vyk2ki.svg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2024-05-25</div><div class="title">Ruffle测试</div></div></a></div><div><a href="/posts/28536/" title="自建不蒜子API"><img class="cover" src="https://vip1.loli.io/2022/05/11/eKfrdV9p48IcCj5.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2024-01-11</div><div class="title">自建不蒜子API</div></div></a></div><div><a href="/posts/646/" title="本站已经更换新域名"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/R-C.70q39brxg8g0.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-03-28</div><div class="title">本站已经更换新域名</div></div></a></div><div><a href="/posts/61417/" title="自建Meting服务"><img class="cover" src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230128/30165599-36623bea-93a6-11e7-8956-1ddf99ce0e6f.2rbu2i9xfvy0.webp" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-01-19</div><div class="title">自建Meting服务</div></div></a></div></div></div><hr><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i> <span>评论</span></div><div id="comment-switch"><span class="first-comment">Twikoo</span><span class="switch-btn"></span><span class="second-comment">Webmention</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div><div><div id="webmention-warp"></div><div id="webmentions"></div></div></div><div class="comment-barrage"></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info h-card"><div class="is-center"><div class="avatar-img"><img class="u-photo" src="/img/avatar.png" onerror='this.onerror=null,this.src="/img/friend_404.gif"' alt="avatar"></div><div class="author-info__name p-name">王九弦SZ·Ninty</div><div class="author-info__description p-note">The Story,The Dream.</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">36</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">5</div></a><a href="/comments/"><div class="headline">评论</div><div class="length-num icat-pc-comment">0</div></a></div><div class="card-info-social-icons is-center"><a class="social-icon u-url" href="https://www.sinzmise.top/" target="_blank" title="Home" rel="me"><i class="fas fa-house"></i></a><a class="social-icon u-url" href="https://github.com/SinzMise" target="_blank" title="Github" rel="me"><i class="fab fa-github"></i></a><a class="social-icon u-email" href="mailto:email@sinzmise.top" target="_blank" title="Email" rel="me"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-clock-weather"><div class="item-headline"><i class="iconfont icon-pjh-shijian"></i><span>时间</span></div><div class="item-content"><canvas id="canvas" style="width:100%" width="100%" height="150"></canvas><script src="/js/clock.js"></script><div id="weather"></div></div></div><div class="card-widget card-clock-kickass"><div class="item-headline"><i class="iconfont icon-pjh-fasong"></i><span>Kick Ass</span></div><div class="item-content"><img src="https://cdn.jsdmirror.com/npm/pzai-staticr@1.0.2/blog/img/planeBg.png" style="width:100%"><div class="planeOpt"><p>退出:<kbd>esc</kbd></p><p>方向控制: <kbd>←</kbd><kbd>↑</kbd><kbd>→</kbd></p><p>射击:<kbd>Space</kbd></p><p>轰炸:<kbd>B</kbd></p><div style="display:flex;justify-content:center"><button onclick='const s=document.createElement("script");s.type="text/javascript",document.body.appendChild(s),s.src="/js/plane.js"'><div class="svg-wrapper-1"><div class="svg-wrapper"><svg height="20" width="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z" fill="currentColor"></path></svg></div></div><span>开始游戏</span></button></div></div></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%89%8D%E8%A8%80"><span class="toc-number">1.</span> <span class="toc-text">前言</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BC%95%E5%85%A5js%E5%92%8Ccss"><span class="toc-number">2.</span> <span class="toc-text">引入js和css</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%90%8E%E8%AE%B0"><span class="toc-number">3.</span> <span class="toc-text">后记</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/10021/" title="2024-06小记"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-05.13lm5fgrki.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="2024-06小记"></a><div class="content"><a class="title" href="/posts/10021/" title="2024-06小记">2024-06小记</a><time datetime="2024-06-28T22:31:59.000Z" title="发表于 2024-06-28 22:31:59">2024-06-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/10021/" title="2024-05小记"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-05.13lm5fgrki.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="2024-05小记"></a><div class="content"><a class="title" href="/posts/10021/" title="2024-05小记">2024-05小记</a><time datetime="2024-05-26T21:18:33.000Z" title="发表于 2024-05-26 21:18:33">2024-05-26</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/57692/" title="Ruffle测试"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240525/logo.4913vyk2ki.svg" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="Ruffle测试"></a><div class="content"><a class="title" href="/posts/57692/" title="Ruffle测试">Ruffle测试</a><time datetime="2024-05-25T21:12:39.000Z" title="发表于 2024-05-25 21:12:39">2024-05-25</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/15748/" title="2024-04小记"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240531/2024-04.70a6cgjrof.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="2024-04小记"></a><div class="content"><a class="title" href="/posts/15748/" title="2024-04小记">2024-04小记</a><time datetime="2024-05-02T18:31:42.000Z" title="发表于 2024-05-02 18:31:42">2024-05-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/10996/" title="马里奥制造1打百人团教程"><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/dp2l6fpd1yfj0sxcjsi8.9kfzckr3ik.webp" onerror='this.onerror=null,this.src="/img/404.jpg"' alt="马里奥制造1打百人团教程"></a><div class="content"><a class="title" href="/posts/10996/" title="马里奥制造1打百人团教程">马里奥制造1打百人团教程</a><time datetime="2024-04-27T19:43:40.000Z" title="发表于 2024-04-27 19:43:40">2024-04-27</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="footer_custom_text"><section class="footer-wave-svg main-hero-waves-area-footer waves-area" id="jsi-flying-fish-container"><svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s58 18 88 18 58-18 88-18 58 18 88 18v44h-352Z"></path></defs><g class="parallax"><use href="#gentle-wave" x="48" y="0"></use><use href="#gentle-wave" x="48" y="3"></use><use href="#gentle-wave" x="48" y="5"></use><use href="#gentle-wave" x="48" y="7"></use></g></svg></section><div class="footer-content"><div class="footer-content-column"><div class="footer-logo"><a class="footer-logo-link" href="#"><span class="hidden-link-text">LOGO</span><img src="/img/icon-light.png" style="height:40%;width:40%"></a></div><div class="footer-menu"><h2 class="footer-menu-name">开始</h2><ul class="footer-menu-list" id="menu-get-started"><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://www.sinzmise.top/">个人主页</a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a href="/sitemap.xml">站点地图</a></li></ul></div></div><div class="footer-content-column"><div class="footer-menu"><h2 class="footer-menu-name">我加入的</h2><ul class="footer-menu-list" id="menu-company"><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://www.travellings.cn/go.html">开往·友链接力</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://storeweb.cn/s/1707">虫洞·个站商店</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://zhblogs.ohyee.cc/go">中文博客随机跳转</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://travel.moe/go.html">异次元之旅</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://bokelu.suijiboke.gs">博客录-随机博客</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://forever.dreamerhe.cn/planet-shuttle">梦境列车 · 时空穿梭</a></li><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="https://blogscn.fun/random.html">笔墨迹·随机访问</a></li></ul></div></div><div class="footer-content-column"><div class="footer-menu"><h2 class="footer-menu-name">联系我</h2><ul class="footer-menu-list" id="menu-company"><li class="menu-item menu-item-object-category menu-item-type-taxonomy"><a target="_blank" rel="noopener" href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&amp;k=TK1cLmWzuZ-LhACNH8GCntLD6zbo-nUW&amp;authKey=Lym2j6%2BggcPrl77XV1vwVTSM12%2B7O7yMMf02Xi6meCVPEFASHTFX01k%2F1KbFrv1%2B&amp;noverify=0&amp;group_code=623816093">官方Q群</a></li></ul></div></div><div class="footer-content-column"><ul class="footer-menu-list" id="menu-get-started"><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img class="img-not-ai" width="120" height="42" alt="署名-非商业性使用-相同方式共享 4.0 国际" src="https://cdn.gallery.uuanqin.top/img/by-nc-sa.svg"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://blogscn.fun/"><img class="img-not-ai" width="120" height="42" alt="本站已加入BLOGS·CN" src="https://photo.xiangming.site/img/blogscnlogo.png"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type"><a target="_blank" rel="noopener" href="https://boringbay.com"><img class="img-not-ai" width="120" height="42" alt="无聊湾 🥱 The Boring Bay" src="https://boringbay.com/api/badge/blog.sinzmise.top"></a></li><li class="menu-item menu-item-object-product menu-item-type-post_type">©2024 By 王九弦SZ·Ninty</li></ul></div><div class="footer-social-links"><a class="footer-social-link link1" href="mailto:email@sinzmise.top" target="_self"><span class="hidden-link-text">Email</span><i class="footer-social-icon-svg fa fa-envelope"></i></a><a class="footer-social-link link2" href="https://github.com/SinzMise" target="_blank"><span class="hidden-link-text">Github</span><i class="footer-social-icon-svg fab fa-github"></i></a><a class="footer-social-link link3" href="/atom.xml" target="_self"><span class="hidden-link-text">RSS</span><i class="footer-social-icon-svg fas fa-square-rss"></i></a><a class="footer-social-link link4" href="https://xlog.sinzmise.top/" target="_blank"><span class="hidden-link-text">星空魔法书·Delta</span><i class="footer-social-icon-svg iconfont icon-pjh-icon_riji"></i></a></div></div><div class="footer-copyright"><div class="footer-copyright-wrapper"><p class="footer-copyright-text"><a href="https://hexo.io" rel="noopener external nofollow noreferrer" target="_blank">Hexo v4.9.0</a>&nbsp;|&nbsp;<a href="https://github.com/jerryc127/hexo-theme-butterfly" rel="noopener external nofollow noreferrer" target="_blank">Butterfly v6.3.0</a>&nbsp;|&nbsp;<a href="https://blog.sinzmise.top/update/" rel="noopener external nofollow noreferrer" target="_blank">CetaStories v1.7.0</a></p><p class="footer-copyright-text"><a href="https://icp.gov.moe/?keyword=20231033" target="_blank">萌ICP备20231033号</a>&nbsp;<br><a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws/previous">←</a>An <a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws">IndieWeb Webring</a> 🕸💍<a target="_blank" rel="noopener" href="https://xn--sr8hvo.ws/next">→</a><br><span>我加入的:</span><a href="https://zhblogs.ohyee.cc/" target="_blank">中文博客列表</a>&nbsp;<a href="https://storeweb.cn/member/o/1585" target="_blank">个站商店</a>&nbsp;<a href="https://bf.zzxworld.com/s/995" target="_blank">BlogFinder</a>&nbsp;<a href="https://sites.link/site-info?siteType=life&amp;siteId=64cb373190e35300a8eec654" target="_blank">站点聚合平台</a>&nbsp;<a href="https://boke.lu" target="_blank">博客录</a>&nbsp;<a href="https://rssblog.cn/member/d711afd659d65c2ba2d3b18697818cf7/" target="_blank">RssBlog</a>&nbsp;<a href="https://blogscn.fun" target="_blank">笔墨迹</a>&nbsp;<a href="https://forever.dreamerhe.cn/" target="_blank">梦境列车</a>&nbsp;<a href="https://firewood.news/" target="_blank">积薪</a>&nbsp;<a href="https://daohang.lusongsong.com/" target="_blank">博客大全</a>&nbsp;</p></div></div></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><a href="javascript:toggleWinbox();"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button></a><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div class="docsearch-wrap"><div id="docsearch" style="display:none"></div><link rel="stylesheet" href="https://jsd.cdn.storisinz.site/npm/@docsearch/css/dist/style.min.css"><script src="https://jsd.cdn.storisinz.site/npm/@docsearch/js/dist/umd/index.min.js"></script><script>(()=>{docsearch(Object.assign({appId:"QAS05YI2PH",apiKey:"67ffd4c9fa1234148ec4f8b27dfdb2a7",indexName:"sinzmise",container:"#docsearch"},null));const e=()=>{document.querySelector(".DocSearch-Button").click()},c=()=>{document.querySelector("#search-button > .search").addEventListener("click",e)};c(),window.addEventListener("pjax:complete",c)})()</script></div><div class="js-pjax" id="settingWindow"><span class="setting-title"><button id="backer" onclick='$(".asetting").hide(),$(".settingx").show(),$("#backer").hide(),$("#stt-style").hide(),$("#stt-font").hide(),$("#stt-background").hide(),$("#stt-count").hide(),$("#stt-about").hide()'><i class="fa fa-chevron-left"></i></button><span id="stt">设置</span><span id="stt-style">&amp;nbsp;-&gt; 站点</span><span id="stt-font">&amp;nbsp;-&gt; 字体</span><span id="stt-background">&amp;nbsp;-&gt; 背景</span><span id="stt-count">&amp;nbsp;-&gt; 统计</span><span id="stt-about">&amp;nbsp;-&gt;</span> <a id="close-console" onclick="toggleWinbox()">×</a></span><div class="settings"><div id="setting-buttons"><button class="settingx" onclick='$("#theme-settings").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-style").show()'><i class="fas fa-layer-group"></i><span>站点</span></button><button class="settingx" onclick='$("#font-settings").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-font").show()'><i class="fa fa-font"></i><span>字体</span></button><button class="settingx" onclick="$('#con-echarts').show();$('.settingx').hide();$('#backer').show();$('#stt-count').show();var evt = document.createEvent(&quot;HTMLEvents&quot;);evt.initEvent(&quot;resize&quot;, false, false);window.dispatchEvent(evt);"><i class="fas fa-chart-pie"></i><span>统计</span></button><button class="settingx" onclick='$("#con-abouts").show(),$(".settingx").hide(),$("#backer").show(),$("#stt-about").show()'><i class="fa fa-cloud-download"></i><span>关于</span></button></div><div id="setting-hides"><div class="asetting" id="theme-settings"><h2 class="content-head">站点设置</h2><p></p><div class="content" style="display:flex"><input id="blur" type="checkbox" onclick="setBlur()"><div class="content-text">启用模糊效果</div></div><div class="content" style="display:flex"><input id="fpson" type="checkbox" onclick="fpssw()" style="flex-shrink:0"><div class="content-text"><span>开启帧率检测(</span><a href="javascript:window.location.reload()">刷新</a><span>后生效)</span></div></div><p></p><p></p><h2 class="content-head">主题设置</h2><div class="content" style="display:flex"><input id="hideAplayer" type="checkbox" onclick="toggleAplayer()"><div class="content-text"><span>音乐播放器</span></div></div><div class="content" style="display:flex"><input id="hideSakura" type="checkbox" onclick="toggleSakuras()"><div class="content-text">落樱特效</div></div><div class="content" style="display:flex"><input id="autoTheme" type="checkbox" onclick="toggleAutoTheme()"><div class="content-text">明暗模式自动切换</div></div><p></p><p></p><h3 class="content-head">主题色</h3><div class="content" id="themeColorSettings" style="display:flex"><input id="default" type="radio" name="colors" onclick='setColor("default")' checked><span id="deftext">默认</span><input id="red" type="radio" name="colors" onclick='setColor("red")'><input id="orange" type="radio" name="colors" onclick='setColor("orange")'><input id="yellow" type="radio" name="colors" onclick='setColor("yellow")'><input id="green" type="radio" name="colors" onclick='setColor("green")'><input id="blue" type="radio" name="colors" onclick='setColor("blue")'><input id="heoblue" type="radio" name="colors" onclick='setColor("heoblue")'><input id="darkblue" type="radio" name="colors" onclick='setColor("darkblue")'><input id="purple" type="radio" name="colors" onclick='setColor("purple")'><input id="pink" type="radio" name="colors" onclick='setColor("pink")'><input id="black" type="radio" name="colors" onclick='setColor("black")'><input id="blackgray" type="radio" name="colors" onclick='setColor("blackgray")'></div><p></p></div><div class="asetting" id="font-settings"><h2 class="content-head">字体设置</h2><p id="swfs"><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HYTMR!important;color:#000" onclick='setFont("HYTMR")'>汉仪唐美人</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HYPailou!important;color:#000" onclick='setFont("HYPailou")'>汉仪新蒂牌楼</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZXJLJ!important;color:#000" onclick='setFont("FZXJLJ")'>方正金陵体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZXS!important;color:#000" onclick='setFont("FZXS")'>方正像素体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:ZhuZiAWan!important;color:#000" onclick='setFont("ZhuZiAWan")'>筑紫A丸ゴシック</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:FZODZK!important;color:#000" onclick='setFont("FZODZK")'>方正欧蝶正楷</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Serif'!important;color:#000" onclick='setFont("Source Serif")'>思源宋体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Sans'!important;color:#000" onclick='setFont("Source Sans")'>思源黑体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:HMOSANS!important;color:#000" onclick='setFont("HMOSANS")'>HarmonyOS Sans</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:-apple-system,IBM Plex Mono,monosapce,'微软雅黑',sans-serif" onclick='setFont("main")'>系统默认</a><br></p></div><div class="asetting" id="con-echarts"><h1>统计</h1><img src="https://moe.counter.blog.sinzmise.top/sznhouse?theme=asoul"><h2>文章统计</h2><div id="posts-chart" data-start="2021-01" style="border-radius:8px;height:300px;padding:10px"></div><script id="postsChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",postsChart=echarts.init(document.getElementById("posts-chart"),"light"),postsOption={title:{text:"文章发布统计图",x:"center",textStyle:{color:color}},tooltip:{trigger:"axis"},xAxis:{name:"日期",type:"category",boundaryGap:!1,nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}},data:["2021-01","2021-02","2021-03","2021-04","2021-05","2021-06","2021-07","2021-08","2021-09","2021-10","2021-11","2021-12","2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12","2023-01","2023-02","2023-03","2023-04","2023-05","2023-06","2023-07","2023-08","2023-09","2023-10","2023-11","2023-12","2024-01","2024-02","2024-03","2024-04","2024-05","2024-06","2024-07"]},yAxis:{name:"文章篇数",type:"value",nameTextStyle:{color:color},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}}},series:[{name:"文章篇数",type:"line",smooth:!0,lineStyle:{width:0},showSymbol:!1,itemStyle:{opacity:1,color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},areaStyle:{opacity:1,color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},data:[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,3,1,3,2,0,0,5,3,1,1,1,1,4,1,1,3,3,1,0],markLine:{data:[{name:"平均值",type:"average",label:{color:color}}]}}]};postsChart.setOption(postsOption),window.addEventListener("resize",(()=>{postsChart.resize()})),postsChart.on("click","series",(e=>{"series"===e.componentType&&(window.location.href="/archives/"+e.name.replace("-","/"))}))</script><div id="tags-chart" data-length="10" style="border-radius:8px;height:300px;padding:10px"></div><script id="tagsChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",tagsChart=echarts.init(document.getElementById("tags-chart"),"light"),tagsOption={title:{text:"Top 10 标签统计图",x:"center",textStyle:{color:color}},tooltip:{},xAxis:{name:"标签",type:"category",nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color,interval:0},axisLine:{show:!0,lineStyle:{color:color}},data:["个人小记","站点折腾","自建部署","游戏相关","其它游戏","页面魔改","项目折腾","Windows软件","歌曲收集","站点底部魔改"]},yAxis:{name:"文章篇数",type:"value",splitLine:{show:!1},nameTextStyle:{color:color},axisTick:{show:!1},axisLabel:{show:!0,color:color},axisLine:{show:!0,lineStyle:{color:color}}},series:[{name:"文章篇数",type:"bar",data:[{name:"个人小记",value:15,path:"tags/个人小记/"},{name:"站点折腾",value:13,path:"tags/站点折腾/"},{name:"自建部署",value:5,path:"tags/自建部署/"},{name:"游戏相关",value:4,path:"tags/游戏相关/"},{name:"其它游戏",value:3,path:"tags/其它游戏/"},{name:"页面魔改",value:3,path:"tags/页面魔改/"},{name:"项目折腾",value:3,path:"tags/项目折腾/"},{name:"Windows软件",value:2,path:"tags/Windows软件/"},{name:"歌曲收集",value:1,path:"tags/歌曲收集/"},{name:"站点底部魔改",value:1,path:"tags/站点底部魔改/"},{name:"Flash相关",value:1,path:"tags/Flash相关/"},{name:"Steam游戏",value:1,path:"tags/Steam游戏/"},{name:"悬浮宠物/看板娘",value:1,path:"tags/悬浮宠物-看板娘/"}],itemStyle:{borderRadius:[5,5,0,0],color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 165)"},{offset:1,color:"rgba(1, 191, 236)"}])},emphasis:{itemStyle:{color:new echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(128, 255, 195)"},{offset:1,color:"rgba(1, 211, 255)"}])}},markLine:{data:[{name:"平均值",type:"average",label:{color:color}}]}}]};tagsChart.setOption(tagsOption),window.addEventListener("resize",(()=>{tagsChart.resize()})),tagsChart.on("click","series",(a=>{a.data.path&&(window.location.href="/"+a.data.path)}))</script><div id="categories-chart" data-parent="true" style="border-radius:8px;height:300px;padding:10px"></div><script id="categoriesChart">var color="light"===document.documentElement.getAttribute("data-theme")?"#4c4948":"rgba(255,255,255,0.7)",categoriesChart=echarts.init(document.getElementById("categories-chart"),"light"),categoryParentFlag=!1,categoriesOption={title:{text:"文章分类统计图",x:"center",textStyle:{color:color}},legend:{top:"bottom",data:["个人小记","站点折腾","游戏相关","项目折腾","歌曲收集"],textStyle:{color:color}},tooltip:{trigger:"item"},series:[]};categoriesOption.series.push(categoryParentFlag?{nodeClick:!1,name:"文章篇数",type:"sunburst",radius:["15%","90%"],center:["50%","55%"],sort:"desc",data:[{name:"个人小记",value:15,path:"categories/个人小记/",id:"cly441mau0004jrq9exz355be",parentId:"0"},{name:"站点折腾",value:13,path:"categories/站点折腾/",id:"cly441mb8001ejrq957evgwoi",parentId:"0"},{name:"游戏相关",value:4,path:"categories/游戏相关/",id:"cly441mb4000vjrq9dan327t5",parentId:"0"},{name:"项目折腾",value:3,path:"categories/项目折腾/",id:"cly441mb60015jrq9a3obhu0m",parentId:"0"},{name:"歌曲收集",value:1,path:"categories/歌曲收集/",id:"cly441mbl0031jrq98jjpbj2e",parentId:"0"}],itemStyle:{borderColor:"#fff",borderWidth:2,emphasis:{focus:"ancestor",shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(255, 255, 255, 0.5)"}}}:{name:"文章篇数",type:"pie",radius:[30,80],roseType:"area",label:{color:color,formatter:"{b} : {c} ({d}%)"},data:[{name:"个人小记",value:15,path:"categories/个人小记/",id:"cly441mau0004jrq9exz355be",parentId:"0"},{name:"站点折腾",value:13,path:"categories/站点折腾/",id:"cly441mb8001ejrq957evgwoi",parentId:"0"},{name:"游戏相关",value:4,path:"categories/游戏相关/",id:"cly441mb4000vjrq9dan327t5",parentId:"0"},{name:"项目折腾",value:3,path:"categories/项目折腾/",id:"cly441mb60015jrq9a3obhu0m",parentId:"0"},{name:"歌曲收集",value:1,path:"categories/歌曲收集/",id:"cly441mbl0031jrq98jjpbj2e",parentId:"0"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(255, 255, 255, 0.5)"}}}),categoriesChart.setOption(categoriesOption),window.addEventListener("resize",(()=>{categoriesChart.resize()})),categoriesChart.on("click","series",(e=>{e.data.path&&(window.location.href="/"+e.data.path)}))</script><h2>访问统计 显示不出来请刷新页面</h2><p>站点访问量:<span id="qexo-site-pv"></span></p><p>站点访客数:<span id="qexo-site-uv"></span></p><script src="https://jsd.onmicrosoft.cn/npm/qexo-static/hexo/statistic.js"></script><script>loadStatistic("https://houtai.hexo.sinzmise.top")</script></div><div class="asetting" id="con-abouts"><h1>关于</h1>基于 Ariasaka Console v1.0 魔改,目前功能尚未完善<br>欢迎<a href="/comments">反馈!</a></div></div></div><div class="app-refresh" id="app-refresh-setting" style="display:none"><div class="app-refresh-wrap"><label>检测到魔法屋已装修</label><a href="javascript:void(0)" onclick="location.reload(!0)"><span style="text-decoration:underline;cursor:pointer;float:right">点我查看</span></a></div></div><div id="setting-sidesl"><button class="reSettings con-rightside" title="恢复默认设置"><i class="fa fa-repeat"></i></button><div id="setting-sides"><button class="con-rightside" title="繁简转换" id="con-translate" onclick="rmf.translate()"><i class="iconfont icon-fanti"></i></button><button class="con-rightside" title="昼夜切换" id="con-mode" onclick="switchDarkMode()"><i class="fa fa-adjust"></i></button><button class="con-rightside" title="阅读模式" id="con-reading" onclick="rmf.switchReadMode()"><i class="fa fa-book-open"></i></button><button class="con-rightside" title="单双栏切换" id="con-toggleaside" onclick="toggleAside()"><i class="fas fa-arrows-alt-h"></i></button><button class="con-rightside" title="左右栏切换" id="con-toggleleftaside" onclick="switchAside()"><i class="fas fa-binoculars"></i></button><button class="con-rightside" title="全屏" id="con-fullscreen" onclick="fullScreen()"><i class="fas fa-expand"></i></button></div></div></div><div class="js-pjax" id="rightMenu"><div class="rightMenu-group rightMenu-small"><a class="rightMenu-item" href="javascript:window.history.back();"><i class="fa fa-arrow-left"></i></a><a class="rightMenu-item" href="javascript:window.history.forward();"><i class="fa fa-arrow-right"></i></a><a class="rightMenu-item" href="javascript:window.location.reload();"><i class="fa fa-refresh"></i></a><a class="rightMenu-item" href="javascript:rmf.scrollToTop();"><i class="fa fa-arrow-up"></i></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-text"><a class="rightMenu-item" href="javascript:rmf.copySelect();"><i class="fa fa-copy"></i><span>复制</span></a><a class="rightMenu-item" href="javascript:window.open(&quot;https://www.baidu.com/s?wd=&quot;+window.getSelection().toString());window.location.reload();"><i class="iconfont icon-baidu"></i><span>百度搜索</span></a><a class="rightMenu-item" href="javascript:rmf.searchinThisPage();"><i class="fas fa-search"></i><span>站内搜索</span></a><a class="rightMenu-item" href="#post-comment" onclick="rmf.yinyong()"><i class="fa-solid fa-message"></i><span>引用文本评论</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-too"><a class="rightMenu-item" href="javascript:window.open(window.getSelection().toString());window.location.reload();"><i class="fa fa-link"></i><span>转到链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-paste"><a class="rightMenu-item" href="javascript:rmf.paste()"><i class="fa fa-copy"></i><span>粘贴</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-post"><a class="rightMenu-item" href="#post-comment"><i class="fas fa-comment"></i><span>空降评论</span></a><a class="rightMenu-item" href="javascript:rmf.copyWordsLink()"><i class="fa fa-link"></i><span>复制本文地址</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-to"><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()"><i class="fa fa-window-restore"></i><span>新窗口打开</span></a><a class="rightMenu-item" id="menu-too" href="javascript:rmf.open()"><i class="fa fa-link"></i><span>转到链接</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()"><i class="fa fa-copy"></i><span>复制链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-img"><a class="rightMenu-item" href="javascript:rmf.saveAs()"><i class="fa fa-download"></i><span>保存图片</span></a><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()"><i class="fa fa-window-restore"></i><span>在新窗口打开</span></a><a class="rightMenu-item" href="javascript:rmf.click()"><i class="fa fa-arrows-alt"></i><span>全屏显示</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()"><i class="fa fa-copy"></i><span>复制图片链接</span></a></div><div class="rightMenu-group rightMenu-line"><a class="rightMenu-item" href="javascript:toRandomPost()"><i class="fa fa-paper-plane"></i><span>随便逛逛</span></a><a class="rightMenu-item" href="javascript:rmf.switchDarkMode();"><i class="fa fa-moon"></i><span>昼夜切换</span></a><a class="rightMenu-item" href="javascript:rmf.translate();"><i class="iconfont icon-fanti"></i><span>繁简转换</span></a><a class="rightMenu-item" href="javascript:pjax.loadUrl(&quot;/license/&quot;);"><i class="fa fa-info-circle"></i><span>版权声明</span></a><a class="rightMenu-item" href="javascript:toggleWinbox();"><i class="fas fa-cog"></i><span>博客设置</span></a><a class="rightMenu-item" href="javascript:fullScreen();"><i class="fas fa-expand"></i><span>进入全屏</span></a></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script async src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/carousel-touch.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/echarts/dist/echarts.min.js"></script><script src="/js/tw_cn.js"></script><script src="https://jsd.cdn.storisinz.site/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script async src="//at.alicdn.com/t/c/font_4199232_gh7up2nbg3c.js"></script><script async src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-tag-plugins-plus/lib/assets/issues.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://jsd.cdn.storisinz.site/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>(()=>{const t=()=>{twikoo.init(Object.assign({el:"#twikoo-wrap",envId:"https://tk.pl.blog.sinzmise.top/",region:"",onCommentLoaded:()=>{btf.loadLightbox(document.querySelectorAll("#twikoo .tk-content img:not(.tk-owo-emotion)"))}},null)),GLOBAL_CONFIG_SITE.isPost&&(()=>{const t=document.getElementById("twikoo-count");t&&twikoo.getCommentsCount({envId:"https://tk.pl.blog.sinzmise.top/",region:"",urls:[window.location.pathname],includeReply:!1}).then((o=>{t.textContent=o[0].count})).catch((t=>{console.error(t)}))})()},o=()=>{"object"==typeof twikoo?setTimeout(t,0):getScript("https://jsd.cdn.storisinz.site/npm/twikoo/dist/twikoo.all.min.js").then(t)};btf.loadComment(document.getElementById("twikoo-wrap"),o)})()</script><script>function loadWebmention(){const e=Object.assign({src:"https://jsd.onmicrosoft.cn/gh/PlaidWeb/webmention.js@main/static/webmention.min.js",async:!0},null);let t=document.createElement("script");for(let n in e)t.setAttribute(n,e[n]);if(document.getElementById("webmention_css"))document.getElementById("webmention-warp").insertAdjacentElement("afterbegin",t);else{(n="https://jsd.onmicrosoft.cn/gh/PlaidWeb/webmention.js@main/static/webmention.css",i=document.createElement("link"),i.id="webmention_css",i.rel="stylesheet",i.type="text/css",i.href=n,void document.getElementsByTagName("head")[0].appendChild(i)).then(document.getElementById("webmention-warp").insertAdjacentElement("afterbegin",t))}var n,i}{function loadOtherComment(){loadWebmention()}}</script></div><script src="https://jsd.onmicrosoft.cn/npm/@ruffle-rs/ruffle"></script><script src="https://jsd.onmicrosoft.cn/gh/swfobject/swfobject@master/swfobject/swfobject.js"></script><script src="/js/welcome.js"></script><script data-pjax="" defer src="/js/custom/fixed_card_widget.js"></script><script src="/js/lunar.js"></script><script src="/js/day.js"></script><script src="https://jsd.onmicrosoft.cn/npm/sweetalert2@8.19.0/dist/sweetalert2.all.js"></script><script src="/js/autoload.js"></script><script src="/js/sakura.js"></script><script src="/js/fps.js"></script><script src="/js/randompost.js"></script><script data-pjax="" defer src="/js/custom.js"></script><script data-pjax="" async src="/js/waterfall/waterfall.js"></script><script src="/js/about.js"></script><script src="/js/hometop.js"></script><script src="/js/owobig.js"></script><div id="fps"></div><script defer src="/js/orlike.js"></script><script src="/js/nav.js"></script><script src="/js/console.js"></script><script src="https://jsd.cdn.storisinz.site/gh/nextapps-de/winbox/dist/winbox.bundle.min.js"></script><script src="/js/rightmenu.js"></script><script async src="https://umami.status.sinzmise.top/a8f9c04189c7d6a2b6b03f4f3948ef41" data-website-id="f18a2137-2dfe-45b9-a524-21413e09bd68"></script><script async src="/js/comments.js"></script><script src="https://jsd.cdn.storisinz.site/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors=["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show","#fixedcard-dashboard",".js-pjax"];var pjax=new Pjax({elements:'a:not([target="_blank"]):not([href="/bbs/"])',selectors:pjaxSelectors,cacheBust:!1,analytics:!0,scrollRestoration:!1});document.addEventListener("pjax:send",(function(){if(window.tocScrollFn&&window.removeEventListener("scroll",window.tocScrollFn),window.scrollCollect&&window.removeEventListener("scroll",scrollCollect),document.getElementById("rightside").style.cssText="opacity: ''; transform: ''",window.aplayers)for(let e=0;e<window.aplayers.length;e++)window.aplayers[e].options.fixed||window.aplayers[e].destroy();"object"==typeof typed&&typed.destroy();const e=document.body.classList;e.contains("read-mode")&&e.remove("read-mode"),"object"==typeof disqusjs&&disqusjs.destroy()})),document.addEventListener("pjax:complete",(function(){window.refreshFn(),document.querySelectorAll("script[data-pjax], .pjax-reload script").forEach((e=>{const t=document.createElement("script"),o=e.text||e.textContent||e.innerHTML||"";Array.from(e.attributes).forEach((e=>t.setAttribute(e.name,e.value))),t.appendChild(document.createTextNode(o)),e.parentNode.replaceChild(t,e)})),GLOBAL_CONFIG.islazyload&&window.lazyLoadInstance.update(),"function"==typeof chatBtnFn&&chatBtnFn(),"function"==typeof panguInit&&panguInit(),"function"==typeof gtag&&gtag("config","G-7MR59SK1DP",{page_path:window.location.pathname}),"object"==typeof _hmt&&_hmt.push(["_trackPageview",window.location.pathname]),"function"==typeof loadMeting&&document.getElementsByClassName("aplayer").length&&loadMeting(),"object"==typeof Prism&&Prism.highlightAll()})),document.addEventListener("pjax:error",(e=>{404===e.request.status&&pjax.loadUrl("/404.html")}))</script><div class="pjax-reload"></div><script defer src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/wow.min.js"></script><script defer src="https://jsd.cdn.storisinz.site/npm/hexo-butterfly-wowjs/lib/wow_init.min.js"></script><div class="app-refresh" id="app-refresh" style="position:fixed;top:-2.2rem;left:0;right:0;z-index:99999;padding:0 1rem;font-size:15px;height:2.2rem;transition:all .3s ease"><div class="app-refresh-wrap" style="display:flex;color:#fff;height:100%;align-items:center;justify-content:center"><label>✨ 星空魔法屋站点已更新! 👉</label><a href="javascript:void(0)" onclick="location.reload(!0)"><span style="color:#fff;text-decoration:underline;cursor:pointer">⭐点我刷新⭐</span></a></div></div><script>function showNotification(){if(GLOBAL_CONFIG.Snackbar){var e="light"===document.documentElement.getAttribute("data-theme")?GLOBAL_CONFIG.Snackbar.bgLight:GLOBAL_CONFIG.Snackbar.bgDark,t=GLOBAL_CONFIG.Snackbar.position;Snackbar.show({text:"✨ 星空魔法屋又装修了 👉",backgroundColor:e,duration:5e5,pos:t,actionText:"⭐点我查看⭐",actionTextColor:"#fff",onActionClick:function(e){location.reload(!0)}}),document.getElementById("app-refresh-setting").style.display="block"}else{var o=`top: 0; background: ${"light"===document.documentElement.getAttribute("data-theme")?"#49b1f5":"#1f1f1f"};`;document.getElementById("app-refresh").style.cssText=o}}"serviceWorker"in navigator&&(navigator.serviceWorker.controller&&navigator.serviceWorker.addEventListener("controllerchange",(function(){showNotification()})),window.addEventListener("load",(function(){navigator.serviceWorker.register("/sw.js")})))</script><script async data-pjax="" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="fixedcard-dashboard"><button class="fixedcard-activebtn" type="button" title="用户信息" onclick="FixedCardWidget(&quot;class&quot;,&quot;card-info&quot;,&quot;0&quot;)"><i class="fas fa-address-book"></i></button><button class="fixedcard-activebtn" type="button" title="电子钟" onclick="FixedCardWidget(&quot;class&quot;,&quot;card-clock-weather&quot;,&quot;0&quot;)"><i class="fas fa-cloud-sun"></i></button><button class="fixedcard-activebtn" type="button" title="最新文章" onclick="FixedCardWidget(&quot;class&quot;,&quot;card-recent-post&quot;,&quot;0&quot;)"><i class="fas fa-history"></i></button><div class="fixedcard-user-avatar fixedcard-activebtn" onclick="RemoveFixedCardWidget()"><img class="fixedcard-user-avatar-img" src="/img/avatar.png" title="王九弦SZ·Ninty"></div></div></div></body></html>