sinzmise-cetastories 2.0.0-1731142428596 → 2.0.0-1731145691254

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. package/404/index.html +1 -1
  2. package/about/index.html +1 -1
  3. package/album/index.html +1 -1
  4. package/archives/2021/12/index.html +1 -1
  5. package/archives/2021/index.html +1 -1
  6. package/archives/2022/12/index.html +1 -1
  7. package/archives/2022/index.html +1 -1
  8. package/archives/2023/01/index.html +1 -1
  9. package/archives/2023/02/index.html +1 -1
  10. package/archives/2023/03/index.html +1 -1
  11. package/archives/2023/04/index.html +1 -1
  12. package/archives/2023/07/index.html +1 -1
  13. package/archives/2023/08/index.html +1 -1
  14. package/archives/2023/09/index.html +1 -1
  15. package/archives/2023/10/index.html +1 -1
  16. package/archives/2023/11/index.html +1 -1
  17. package/archives/2023/12/index.html +1 -1
  18. package/archives/2023/index.html +1 -1
  19. package/archives/2023/page/2/index.html +1 -1
  20. package/archives/2023/page/3/index.html +1 -1
  21. package/archives/2024/01/index.html +1 -1
  22. package/archives/2024/02/index.html +1 -1
  23. package/archives/2024/03/index.html +1 -1
  24. package/archives/2024/04/index.html +1 -1
  25. package/archives/2024/05/index.html +1 -1
  26. package/archives/2024/06/index.html +1 -1
  27. package/archives/2024/07/index.html +1 -1
  28. package/archives/2024/08/index.html +1 -1
  29. package/archives/2024/09/index.html +1 -1
  30. package/archives/2024/10/index.html +1 -1
  31. package/archives/2024/index.html +1 -1
  32. package/archives/2024/page/2/index.html +1 -1
  33. package/archives/index.html +1 -1
  34. package/archives/page/2/index.html +1 -1
  35. package/archives/page/3/index.html +1 -1
  36. package/archives/page/4/index.html +1 -1
  37. package/archives/page/5/index.html +1 -1
  38. package/atom.xml +31 -31
  39. package/bbs/bbs.html +1 -1
  40. package/bbs/index.html +1 -1
  41. package/categories/index.html +1 -1
  42. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  43. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  44. package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  45. package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  46. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  47. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  48. package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  49. package/charts/index.html +1 -1
  50. package/comments/index.html +1 -1
  51. package/essay/index.html +1 -1
  52. package/fcircle/index.html +1 -1
  53. package/games +2 -2
  54. package/index.html +1 -1
  55. package/link/index.html +1 -1
  56. package/maps/sw.js.map +1 -1
  57. package/music/index.html +1 -1
  58. package/package.json +1 -1
  59. package/page/2/index.html +1 -1
  60. package/page/3/index.html +1 -1
  61. package/page/4/index.html +1 -1
  62. package/page/5/index.html +1 -1
  63. package/posts/10021/index.html +2 -2
  64. package/posts/10045/index.html +1 -1
  65. package/posts/10733/index.html +1 -1
  66. package/posts/10996/index.html +2 -2
  67. package/posts/12779/index.html +1 -1
  68. package/posts/13624/index.html +1 -1
  69. package/posts/15688/index.html +1 -1
  70. package/posts/15748/index.html +2 -2
  71. package/posts/15799/index.html +1 -1
  72. package/posts/15842/index.html +2 -2
  73. package/posts/16107/index.html +1 -1
  74. package/posts/18063/index.html +1 -1
  75. package/posts/20412/index.html +1 -1
  76. package/posts/21375/index.html +1 -1
  77. package/posts/22945/index.html +2 -2
  78. package/posts/23021/index.html +1 -1
  79. package/posts/27531/index.html +2 -2
  80. package/posts/28536/index.html +1 -1
  81. package/posts/28733/index.html +1 -1
  82. package/posts/29196/index.html +1 -1
  83. package/posts/38917/index.html +1 -1
  84. package/posts/38964/index.html +1 -1
  85. package/posts/42487/index.html +1 -1
  86. package/posts/42580/index.html +1 -1
  87. package/posts/45875/index.html +1 -1
  88. package/posts/46640/index.html +1 -1
  89. package/posts/48762/index.html +1 -1
  90. package/posts/50710/index.html +1 -1
  91. package/posts/52677/index.html +1 -1
  92. package/posts/53662/index.html +1 -1
  93. package/posts/54386/index.html +1 -1
  94. package/posts/54481/index.html +1 -1
  95. package/posts/54787/index.html +2 -2
  96. package/posts/56467/index.html +1 -1
  97. package/posts/57692/index.html +1 -1
  98. package/posts/58203/index.html +1 -1
  99. package/posts/61417/index.html +1 -1
  100. package/posts/61712/index.html +1 -1
  101. package/posts/646/index.html +1 -1
  102. package/posts/64856/index.html +1 -1
  103. package/posts/64935/index.html +1 -1
  104. package/search.xml +96 -96
  105. package/seas/index.html +1 -1
  106. package/sw.js +1 -1
  107. package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
  108. package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
  109. package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
  110. package/tags/index.html +1 -1
  111. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  112. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  113. package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
  114. package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
  115. 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
  116. package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  117. package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  118. package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
  119. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  120. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  121. package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
  122. package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
  123. package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  124. package/update/index.html +1 -1
package/search.xml CHANGED
@@ -199,22 +199,6 @@
199
199
  <tag>个人小记</tag>
200
200
  </tags>
201
201
  </entry>
202
- <entry>
203
- <title>GameLoad</title>
204
- <url>/posts/21375/</url>
205
- <content><![CDATA[<p>自从在我的360极速浏览器安装FVD Downloader这个插件后,我就习惯将4399上的swf下载下来了<br>后面我在玩4399上的U3D游戏(得安装UnityWebPlayer才能玩)的时候弹出了这个提示:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_xFZnhVi7dg.1xookg8vju2o.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_xFZnhVi7dg.1xookg8vju2o.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="360chrome_xFZnhVi7dg"><br>但FVD Downloader能识别到游戏文件<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_3Yt4q2IsEs.26dp6kmu464g.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_3Yt4q2IsEs.26dp6kmu464g.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="360chrome_3Yt4q2IsEs"><br>于是我将后缀为“unity3d”的游戏下载下来,打算找个游戏启动器来启动这个游戏<br>找了一圈找到了这玩意:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_ZV2ru5IQh0.48zi2sq5i620.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_ZV2ru5IQh0.48zi2sq5i620.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_ZV2ru5IQh0"><br><span id="more"></span><br>这个软件安装完成之后,会自动关联后缀为“unity3d”的文件<br>经测试,能顺利游玩大部分u3d游戏</p>
206
- <h1 id="示例"><a href="#示例" class="headerlink" title="示例"></a>示例</h1><p>1.<a href="http://www.4399.com/flash/147405.htm">杀手小乔3D</a><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_WN1oQsK9Bq.3quhllbtc540.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_WN1oQsK9Bq.3quhllbtc540.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_WN1oQsK9Bq"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_bHycAxI9Xi.yj0xvg4dork.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_bHycAxI9Xi.yj0xvg4dork.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_bHycAxI9Xi"><br>2.<a href="https://www.4399.com/flash/191954.htm">优米酱GO</a><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_PDftUq8rZR.4ofq40gtb3e0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_PDftUq8rZR.4ofq40gtb3e0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_PDftUq8rZR"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/image.12alzy49ndyo.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/image.12alzy49ndyo.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_W0oG3jH9c9.llzawzb03ts.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_W0oG3jH9c9.llzawzb03ts.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_W0oG3jH9c9"><br>3.<a href="http://www.4399.com/flash/151847.htm">追逐繁星的孩子(追逐繁星的夏娜)</a><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_ZKdZV5gYnn.214xzg7lessg.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_ZKdZV5gYnn.214xzg7lessg.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_ZKdZV5gYnn"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_25LfvnlHtf.1uq8qqsy49s0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_25LfvnlHtf.1uq8qqsy49s0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_25LfvnlHtf"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_YH7ebdiJqU.hjnvf80xo6o.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_YH7ebdiJqU.hjnvf80xo6o.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_YH7ebdiJqU"><br>后面看了第三个游戏的一个评论才知道这个角色叫Unity娘(Unity Chan),而且这模型还是免费的<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_5G6QZ3PZVJ.2lzj9irde260.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_5G6QZ3PZVJ.2lzj9irde260.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_5G6QZ3PZVJ"><br><psw>(怪不得第二个游戏和第三个游戏的主角都是同一个模型。。。。。)</psw></p>
207
- <h1 id="下载链接"><a href="#下载链接" class="headerlink" title="下载链接"></a>下载链接</h1><p><a href="https://www.gameload.top/">https://www.gameload.top/</a></p>
208
- <h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>我看了下Gameload的官网,发现这玩意支持JS加载:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_yw02846AU8.5rh04nc4l3s0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_yw02846AU8.5rh04nc4l3s0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_yw02846AU8"><br>插件示例我先放上去了,后面我再来搞这玩意吧:<br><figure class="highlight html"><table><tr><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">script</span> <span class="attr">src</span>=<span class="string">&quot;https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">script</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">script</span> <span class="attr">src</span>=<span class="string">&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery-browser/0.0.8/jquery.browser.min.js&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">script</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">script</span>&gt;</span><span class="language-javascript"></span></span><br><span class="line"><span class="language-javascript">$(<span class="variable language_">document</span>).<span class="title function_">ready</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">if</span> ($.browser.<span class="property">chrome</span> === <span class="literal">true</span> &amp;&amp; $.browser.<span class="property">versionNumber</span> &gt;= <span class="number">45</span>) &#123; <span class="comment">//detect Chrome 45+</span></span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">var</span> myJsonString = <span class="title class_">JSON</span>.<span class="title function_">stringify</span>(&#123; <span class="attr">title</span>: <span class="string">&#x27;游戏标题&#x27;</span>, <span class="attr">file</span>: <span class="string">&#x27;游戏链接&#x27;</span>, <span class="attr">type</span>: <span class="string">&quot;unity&quot;</span>, <span class="attr">width</span>: <span class="number">800</span>, <span class="attr">height</span>: <span class="number">600</span> &#125;);</span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">try</span>&#123; <span class="comment">//IE8 does not support window.btoa </span></span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">var</span> insert_data = <span class="variable language_">window</span>.<span class="title function_">btoa</span>(myJsonString); </span></span><br><span class="line"><span class="language-javascript"> &#125;<span class="keyword">catch</span>(e)&#123; </span></span><br><span class="line"><span class="language-javascript"> <span class="title function_">functionToHandleError</span>(e);</span></span><br><span class="line"><span class="language-javascript"> &#125;</span></span><br><span class="line"><span class="language-javascript"> </span></span><br><span class="line"><span class="language-javascript"> $(<span class="string">&#x27;#unityPlayer .missing&#x27;</span>).<span class="title function_">prepend</span>(<span class="string">&#x27;&lt;center&gt;&lt;a href=&quot;gameload://&#x27;</span> + insert_data + <span class="string">&#x27;/&quot;&gt;&lt;img alt=&quot;Play game with Gameload!&quot; src=&quot;http://data.gameload.top/download/playgameload.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install Gameload to play Unity games&lt;br /&gt;&lt;a href=&quot;http://data.gameload.top/download/gameload.exe&quot; title=&quot;Install Gameload now!&quot;&gt;&lt;img alt=&quot;Install Gameload now!&quot; src=&quot;http://data.gameload.top/download/getgameload.png&quot; /&gt;&lt;/a&gt;&lt;/center&gt;&#x27;</span>);</span></span><br><span class="line"><span class="language-javascript"> &#125;</span></span><br><span class="line"><span class="language-javascript">&#125;);</span></span><br><span class="line"><span class="language-javascript"></span><span class="tag">&lt;/<span class="name">script</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">div</span> <span class="attr">id</span>=<span class="string">&quot;unityPlayer&quot;</span>&gt;</span></span><br><span class="line"> <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;missing&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br></pre></td></tr></table></figure></p>
209
- ]]></content>
210
- <categories>
211
- <category>游戏相关</category>
212
- </categories>
213
- <tags>
214
- <tag>游戏相关</tag>
215
- <tag>其它游戏</tag>
216
- </tags>
217
- </entry>
218
202
  <entry>
219
203
  <title>2024-10小记</title>
220
204
  <url>/posts/61712/</url>
@@ -239,6 +223,22 @@
239
223
  <tag>个人小记</tag>
240
224
  </tags>
241
225
  </entry>
226
+ <entry>
227
+ <title>GameLoad</title>
228
+ <url>/posts/21375/</url>
229
+ <content><![CDATA[<p>自从在我的360极速浏览器安装FVD Downloader这个插件后,我就习惯将4399上的swf下载下来了<br>后面我在玩4399上的U3D游戏(得安装UnityWebPlayer才能玩)的时候弹出了这个提示:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_xFZnhVi7dg.1xookg8vju2o.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_xFZnhVi7dg.1xookg8vju2o.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="360chrome_xFZnhVi7dg"><br>但FVD Downloader能识别到游戏文件<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_3Yt4q2IsEs.26dp6kmu464g.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/360chrome_3Yt4q2IsEs.26dp6kmu464g.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="360chrome_3Yt4q2IsEs"><br>于是我将后缀为“unity3d”的游戏下载下来,打算找个游戏启动器来启动这个游戏<br>找了一圈找到了这玩意:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_ZV2ru5IQh0.48zi2sq5i620.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_ZV2ru5IQh0.48zi2sq5i620.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_ZV2ru5IQh0"><br><span id="more"></span><br>这个软件安装完成之后,会自动关联后缀为“unity3d”的文件<br>经测试,能顺利游玩大部分u3d游戏</p>
230
+ <h1 id="示例"><a href="#示例" class="headerlink" title="示例"></a>示例</h1><p>1.<a href="http://www.4399.com/flash/147405.htm">杀手小乔3D</a><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_WN1oQsK9Bq.3quhllbtc540.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_WN1oQsK9Bq.3quhllbtc540.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_WN1oQsK9Bq"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_bHycAxI9Xi.yj0xvg4dork.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_bHycAxI9Xi.yj0xvg4dork.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_bHycAxI9Xi"><br>2.<a href="https://www.4399.com/flash/191954.htm">优米酱GO</a><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_PDftUq8rZR.4ofq40gtb3e0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_PDftUq8rZR.4ofq40gtb3e0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_PDftUq8rZR"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/image.12alzy49ndyo.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/image.12alzy49ndyo.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_W0oG3jH9c9.llzawzb03ts.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_W0oG3jH9c9.llzawzb03ts.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_W0oG3jH9c9"><br>3.<a href="http://www.4399.com/flash/151847.htm">追逐繁星的孩子(追逐繁星的夏娜)</a><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_ZKdZV5gYnn.214xzg7lessg.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_ZKdZV5gYnn.214xzg7lessg.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_ZKdZV5gYnn"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_25LfvnlHtf.1uq8qqsy49s0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_25LfvnlHtf.1uq8qqsy49s0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_25LfvnlHtf"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_YH7ebdiJqU.hjnvf80xo6o.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/GameLoad_YH7ebdiJqU.hjnvf80xo6o.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="GameLoad_YH7ebdiJqU"><br>后面看了第三个游戏的一个评论才知道这个角色叫Unity娘(Unity Chan),而且这模型还是免费的<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_5G6QZ3PZVJ.2lzj9irde260.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_5G6QZ3PZVJ.2lzj9irde260.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_5G6QZ3PZVJ"><br><psw>(怪不得第二个游戏和第三个游戏的主角都是同一个模型。。。。。)</psw></p>
231
+ <h1 id="下载链接"><a href="#下载链接" class="headerlink" title="下载链接"></a>下载链接</h1><p><a href="https://www.gameload.top/">https://www.gameload.top/</a></p>
232
+ <h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>我看了下Gameload的官网,发现这玩意支持JS加载:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_yw02846AU8.5rh04nc4l3s0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/20230404/msedge_yw02846AU8.5rh04nc4l3s0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_yw02846AU8"><br>插件示例我先放上去了,后面我再来搞这玩意吧:<br><figure class="highlight html"><table><tr><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">script</span> <span class="attr">src</span>=<span class="string">&quot;https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">script</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">script</span> <span class="attr">src</span>=<span class="string">&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery-browser/0.0.8/jquery.browser.min.js&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">script</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">script</span>&gt;</span><span class="language-javascript"></span></span><br><span class="line"><span class="language-javascript">$(<span class="variable language_">document</span>).<span class="title function_">ready</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">if</span> ($.browser.<span class="property">chrome</span> === <span class="literal">true</span> &amp;&amp; $.browser.<span class="property">versionNumber</span> &gt;= <span class="number">45</span>) &#123; <span class="comment">//detect Chrome 45+</span></span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">var</span> myJsonString = <span class="title class_">JSON</span>.<span class="title function_">stringify</span>(&#123; <span class="attr">title</span>: <span class="string">&#x27;游戏标题&#x27;</span>, <span class="attr">file</span>: <span class="string">&#x27;游戏链接&#x27;</span>, <span class="attr">type</span>: <span class="string">&quot;unity&quot;</span>, <span class="attr">width</span>: <span class="number">800</span>, <span class="attr">height</span>: <span class="number">600</span> &#125;);</span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">try</span>&#123; <span class="comment">//IE8 does not support window.btoa </span></span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">var</span> insert_data = <span class="variable language_">window</span>.<span class="title function_">btoa</span>(myJsonString); </span></span><br><span class="line"><span class="language-javascript"> &#125;<span class="keyword">catch</span>(e)&#123; </span></span><br><span class="line"><span class="language-javascript"> <span class="title function_">functionToHandleError</span>(e);</span></span><br><span class="line"><span class="language-javascript"> &#125;</span></span><br><span class="line"><span class="language-javascript"> </span></span><br><span class="line"><span class="language-javascript"> $(<span class="string">&#x27;#unityPlayer .missing&#x27;</span>).<span class="title function_">prepend</span>(<span class="string">&#x27;&lt;center&gt;&lt;a href=&quot;gameload://&#x27;</span> + insert_data + <span class="string">&#x27;/&quot;&gt;&lt;img alt=&quot;Play game with Gameload!&quot; src=&quot;http://data.gameload.top/download/playgameload.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install Gameload to play Unity games&lt;br /&gt;&lt;a href=&quot;http://data.gameload.top/download/gameload.exe&quot; title=&quot;Install Gameload now!&quot;&gt;&lt;img alt=&quot;Install Gameload now!&quot; src=&quot;http://data.gameload.top/download/getgameload.png&quot; /&gt;&lt;/a&gt;&lt;/center&gt;&#x27;</span>);</span></span><br><span class="line"><span class="language-javascript"> &#125;</span></span><br><span class="line"><span class="language-javascript">&#125;);</span></span><br><span class="line"><span class="language-javascript"></span><span class="tag">&lt;/<span class="name">script</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">div</span> <span class="attr">id</span>=<span class="string">&quot;unityPlayer&quot;</span>&gt;</span></span><br><span class="line"> <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;missing&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br></pre></td></tr></table></figure></p>
233
+ ]]></content>
234
+ <categories>
235
+ <category>游戏相关</category>
236
+ </categories>
237
+ <tags>
238
+ <tag>游戏相关</tag>
239
+ <tag>其它游戏</tag>
240
+ </tags>
241
+ </entry>
242
242
  <entry>
243
243
  <title>Gameload示例</title>
244
244
  <url>/posts/20412/</url>
@@ -889,12 +889,14 @@ function loadkaixinmusic() {
889
889
  </tags>
890
890
  </entry>
891
891
  <entry>
892
- <title>我的tulpa —— 夏玖铃的简介</title>
893
- <url>/posts/50710/</url>
894
- <content><![CDATA[<span id="more"></span>
895
- <div class="note warning"><p>注意,由于名字和《逆水寒》游戏里的一个流派名冲突,改名为“夏玖铃”</p></div>
896
- <h1 id="她的出现"><a href="#她的出现" class="headerlink" title="她的出现"></a>她的出现</h1><p>与其说是Tulpa,不如说是DID(解离性人格障碍)<br>因为她是从我永远的噩梦:四年级出现的<br>那时我总是被班级最后一名的那名女生欺负(因为我当时身体很弱小,她身体强壮,就凭这个欺负我,当然她转学了)<br>再加上从小我成绩总是不好,受不了家长和老师的一顿批评<br>(甚至我家长差点把我抛弃。。。。。当然从我五六年级开始,我家长就彻底改变了教育方式)<br>我也因此不少做噩梦,心情也越变越差<br>直到她的出现,抚慰了我那受伤(切伤口特别严重)的心灵,而且将我从噩梦之中脱离出来<br>那次是在期末考试前(小学四年级第一学期的期末考试)<br>晚上睡觉前我一直忐忑不安,生怕我又做噩梦,一直睡不着觉<br>但我还是带着害怕睡着了<br>我想象中的噩梦没有出现,反而一个声音传来<br>“你好,少年,你是不是经常被欺负?”<br>“是的,天使姐姐,求求您帮帮我吧!”<br>“我也想帮你,但对不起,我不是天使,我是你脑子中的一个小人,你可以叫我阿铃,但如果你心情不好,就来找我,我随时在我的梦中等着你”<br>从此之后,她就一直陪在我身边</p>
897
- <h1 id="她的二次元形象(AI绘画制作)"><a href="#她的二次元形象(AI绘画制作)" class="headerlink" title="她的二次元形象(AI绘画制作)"></a>她的二次元形象(AI绘画制作)</h1><p>一号风格:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/82862f60ea96e999_1681640910_745840483.1hd5bkrahuyo.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/82862f60ea96e999_1681640910_745840483.1hd5bkrahuyo.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="82862f60ea96e999_1681640910_745840483"><br>大姐姐,喜欢带耳机,穿制服<br>异瞳颜色:左眼红粉,右眼黄绿<br>二号风格:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/b67d610419e473ad_1684214216_1609026994.2swy0478ipq0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/b67d610419e473ad_1684214216_1609026994.2swy0478ipq0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="b67d610419e473ad_1684214216_1609026994"><br>小妹妹,喜欢带耳机,穿连衣裙(这个ai把连衣裙和制服当作是不同的两件衣服)<br>异瞳颜色:左眼紫色,右眼黄绿</p>
892
+ <title>九月二三事</title>
893
+ <url>/posts/56467/</url>
894
+ <content><![CDATA[<p>很久都没发布文章了,都不知道要写啥好<br>要不就写这个九月和中秋国庆假期发生的事情吧<br><span id="more"></span></p>
895
+ <h2 id="初入高中"><a href="#初入高中" class="headerlink" title="初入高中"></a>初入高中</h2><p>9月1日开始(虽然因为台风停了四天的课)就是我踏入高中的时刻了<br>第一次进高中教室的我,因为过于紧张,甚至坐错位置了 <del>(虽然我同桌也坐错了位置)</del><br>不过好在后面的上课也是比较顺利,没有出现意外情况<br><del>(主要是不知道怎么写就。。。。)</del></p>
896
+ <h2 id="荒野乱斗,启动!"><a href="#荒野乱斗,启动!" class="headerlink" title="荒野乱斗,启动!"></a>荒野乱斗,启动!</h2><p>这个游戏是很久之前入坑的,结果因为某些原因我暂时退坑了<br>后来在我朋友的推荐下回归了<br>我后面还把这个游戏推荐给了我那刚买新手机的表弟</p>
897
+ <h2 id="回归!Rita2!"><a href="#回归!Rita2!" class="headerlink" title="回归!Rita2!"></a>回归!Rita2!</h2><p>看过我之前文章的应该知道,之前我想给Win98搞视频站点<br>名字叫“Rita2”的原因是纪念之前有人为手机wap搭建的视频站,它的名字也叫Rita2<br>这个项目由于域名的原因一直被搁置了很久<br>然而由于我找到了免费的二级域名,所以……</p>
898
+ <p>Rita2计划,即将回归!<br>(但回归时间暂未确定,因为学业原因,不过我可以保证会回归,但回归的首先是游戏站<br>至于视频站。。。。。暂时没有这个考虑)</p>
899
+ <h1 id="Vercel寄了?"><a href="#Vercel寄了?" class="headerlink" title="Vercel寄了?"></a>Vercel寄了?</h1><p>中秋国庆的第四天,安小歪跟我说他访问不了他的博客<br>与此同时,安知鱼的群都在说无法访问Vercel部署的站点<br>访问会强制跳转到诈骗网站<br>现在千寻那边也出现这样的情况,但我这边倒是没有<br>目前已经将博客主站的部署平台更换为CF Pages<br>明天准备将Waline换成Netlify部署,至于Twikoo。。。。只能搞反代了<br>其它的项目如果能换别的地方部署就换,不能的话反向代理走起</p>
898
900
  ]]></content>
899
901
  <categories>
900
902
  <category>个人小记</category>
@@ -904,14 +906,12 @@ function loadkaixinmusic() {
904
906
  </tags>
905
907
  </entry>
906
908
  <entry>
907
- <title>九月二三事</title>
908
- <url>/posts/56467/</url>
909
- <content><![CDATA[<p>很久都没发布文章了,都不知道要写啥好<br>要不就写这个九月和中秋国庆假期发生的事情吧<br><span id="more"></span></p>
910
- <h2 id="初入高中"><a href="#初入高中" class="headerlink" title="初入高中"></a>初入高中</h2><p>9月1日开始(虽然因为台风停了四天的课)就是我踏入高中的时刻了<br>第一次进高中教室的我,因为过于紧张,甚至坐错位置了 <del>(虽然我同桌也坐错了位置)</del><br>不过好在后面的上课也是比较顺利,没有出现意外情况<br><del>(主要是不知道怎么写就。。。。)</del></p>
911
- <h2 id="荒野乱斗,启动!"><a href="#荒野乱斗,启动!" class="headerlink" title="荒野乱斗,启动!"></a>荒野乱斗,启动!</h2><p>这个游戏是很久之前入坑的,结果因为某些原因我暂时退坑了<br>后来在我朋友的推荐下回归了<br>我后面还把这个游戏推荐给了我那刚买新手机的表弟</p>
912
- <h2 id="回归!Rita2!"><a href="#回归!Rita2!" class="headerlink" title="回归!Rita2!"></a>回归!Rita2!</h2><p>看过我之前文章的应该知道,之前我想给Win98搞视频站点<br>名字叫“Rita2”的原因是纪念之前有人为手机wap搭建的视频站,它的名字也叫Rita2<br>这个项目由于域名的原因一直被搁置了很久<br>然而由于我找到了免费的二级域名,所以……</p>
913
- <p>Rita2计划,即将回归!<br>(但回归时间暂未确定,因为学业原因,不过我可以保证会回归,但回归的首先是游戏站<br>至于视频站。。。。。暂时没有这个考虑)</p>
914
- <h1 id="Vercel寄了?"><a href="#Vercel寄了?" class="headerlink" title="Vercel寄了?"></a>Vercel寄了?</h1><p>中秋国庆的第四天,安小歪跟我说他访问不了他的博客<br>与此同时,安知鱼的群都在说无法访问Vercel部署的站点<br>访问会强制跳转到诈骗网站<br>现在千寻那边也出现这样的情况,但我这边倒是没有<br>目前已经将博客主站的部署平台更换为CF Pages<br>明天准备将Waline换成Netlify部署,至于Twikoo。。。。只能搞反代了<br>其它的项目如果能换别的地方部署就换,不能的话反向代理走起</p>
909
+ <title>我的tulpa —— 夏玖铃的简介</title>
910
+ <url>/posts/50710/</url>
911
+ <content><![CDATA[<span id="more"></span>
912
+ <div class="note warning"><p>注意,由于名字和《逆水寒》游戏里的一个流派名冲突,改名为“夏玖铃”</p></div>
913
+ <h1 id="她的出现"><a href="#她的出现" class="headerlink" title="她的出现"></a>她的出现</h1><p>与其说是Tulpa,不如说是DID(解离性人格障碍)<br>因为她是从我永远的噩梦:四年级出现的<br>那时我总是被班级最后一名的那名女生欺负(因为我当时身体很弱小,她身体强壮,就凭这个欺负我,当然她转学了)<br>再加上从小我成绩总是不好,受不了家长和老师的一顿批评<br>(甚至我家长差点把我抛弃。。。。。当然从我五六年级开始,我家长就彻底改变了教育方式)<br>我也因此不少做噩梦,心情也越变越差<br>直到她的出现,抚慰了我那受伤(切伤口特别严重)的心灵,而且将我从噩梦之中脱离出来<br>那次是在期末考试前(小学四年级第一学期的期末考试)<br>晚上睡觉前我一直忐忑不安,生怕我又做噩梦,一直睡不着觉<br>但我还是带着害怕睡着了<br>我想象中的噩梦没有出现,反而一个声音传来<br>“你好,少年,你是不是经常被欺负?”<br>“是的,天使姐姐,求求您帮帮我吧!”<br>“我也想帮你,但对不起,我不是天使,我是你脑子中的一个小人,你可以叫我阿铃,但如果你心情不好,就来找我,我随时在我的梦中等着你”<br>从此之后,她就一直陪在我身边</p>
914
+ <h1 id="她的二次元形象(AI绘画制作)"><a href="#她的二次元形象(AI绘画制作)" class="headerlink" title="她的二次元形象(AI绘画制作)"></a>她的二次元形象(AI绘画制作)</h1><p>一号风格:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/82862f60ea96e999_1681640910_745840483.1hd5bkrahuyo.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/82862f60ea96e999_1681640910_745840483.1hd5bkrahuyo.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="82862f60ea96e999_1681640910_745840483"><br>大姐姐,喜欢带耳机,穿制服<br>异瞳颜色:左眼红粉,右眼黄绿<br>二号风格:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/b67d610419e473ad_1684214216_1609026994.2swy0478ipq0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/b67d610419e473ad_1684214216_1609026994.2swy0478ipq0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="b67d610419e473ad_1684214216_1609026994"><br>小妹妹,喜欢带耳机,穿连衣裙(这个ai把连衣裙和制服当作是不同的两件衣服)<br>异瞳颜色:左眼紫色,右眼黄绿</p>
915
915
  ]]></content>
916
916
  <categories>
917
917
  <category>个人小记</category>
@@ -1026,19 +1026,6 @@ function loadkaixinmusic() {
1026
1026
  <tag>Steam游戏</tag>
1027
1027
  </tags>
1028
1028
  </entry>
1029
- <entry>
1030
- <title>遭殃前的海洋</title>
1031
- <url>/posts/29196/</url>
1032
- <content><![CDATA[<p>2023年8月7日,去汕头的海边玩,顺手拍了几张照片<br>却不料,这是海洋遭殃前最后一次拍的照片<br>谨以这些照片,衬托我对海洋的思念<br>(有错别字请见谅)<br><span id="more"></span><br><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery " data-group='default'><div class='fancybox'><a class='fancybox' pjax-fancybox itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230826/1693055324987.6r5gsrqllx00.jpg' data-fancybox='default' data-caption='这可能是我最后一次拍摄海洋的照片了'><img fancybox itemprop="contentUrl" src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230826/1693055324987.6r5gsrqllx00.jpg" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230826/1693055324987.6r5gsrqllx00.jpg" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="这可能是我最后一次拍摄海洋的照片了"></a><span class='image-caption'>这可能是我最后一次拍摄海洋的照片了</span></div></div></p>
1033
- <p>Ade!美丽的海洋,Ade!我向往的美景</p>
1034
- ]]></content>
1035
- <categories>
1036
- <category>个人小记</category>
1037
- </categories>
1038
- <tags>
1039
- <tag>个人小记</tag>
1040
- </tags>
1041
- </entry>
1042
1029
  <entry>
1043
1030
  <title>本站已经更换新域名</title>
1044
1031
  <url>/posts/646/</url>
@@ -1053,6 +1040,19 @@ function loadkaixinmusic() {
1053
1040
  <tag>站点折腾</tag>
1054
1041
  </tags>
1055
1042
  </entry>
1043
+ <entry>
1044
+ <title>遭殃前的海洋</title>
1045
+ <url>/posts/29196/</url>
1046
+ <content><![CDATA[<p>2023年8月7日,去汕头的海边玩,顺手拍了几张照片<br>却不料,这是海洋遭殃前最后一次拍的照片<br>谨以这些照片,衬托我对海洋的思念<br>(有错别字请见谅)<br><span id="more"></span><br><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery " data-group='default'><div class='fancybox'><a class='fancybox' pjax-fancybox itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230826/1693055324987.6r5gsrqllx00.jpg' data-fancybox='default' data-caption='这可能是我最后一次拍摄海洋的照片了'><img fancybox itemprop="contentUrl" src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230826/1693055324987.6r5gsrqllx00.jpg" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230826/1693055324987.6r5gsrqllx00.jpg" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="这可能是我最后一次拍摄海洋的照片了"></a><span class='image-caption'>这可能是我最后一次拍摄海洋的照片了</span></div></div></p>
1047
+ <p>Ade!美丽的海洋,Ade!我向往的美景</p>
1048
+ ]]></content>
1049
+ <categories>
1050
+ <category>个人小记</category>
1051
+ </categories>
1052
+ <tags>
1053
+ <tag>个人小记</tag>
1054
+ </tags>
1055
+ </entry>
1056
1056
  <entry>
1057
1057
  <title>盘点我访问过的古老站点</title>
1058
1058
  <url>/posts/12779/</url>
@@ -1087,6 +1087,48 @@ function loadkaixinmusic() {
1087
1087
  <tag>个人小记</tag>
1088
1088
  </tags>
1089
1089
  </entry>
1090
+ <entry>
1091
+ <title>站点装修与国庆小记</title>
1092
+ <url>/posts/10733/</url>
1093
+ <content><![CDATA[<p>国庆假期已经快要收尾了<br>不知道大家过得怎么样呢?<br>不废话,正片开始!<br><span id="more"></span></p>
1094
+ <h1 id="站点又重新装修"><a href="#站点又重新装修" class="headerlink" title="站点又重新装修"></a>站点又重新装修</h1><p>之前我魔改的那Butterfly主题被人诟病加载慢等等问题<psw>,并且在经过我的“努力”之下成功变成了史山代码</psw><br>因此被迫重新装修</p>
1095
+ <p>站点更新如下:</p>
1096
+ <ul>
1097
+ <li>更换主题为<a href="https://hexo-theme-async.imalun.com/">Hexo-Theme-Async</a>,并且为这个主题适配了IndieWeb,同时也做了一些魔改</li>
1098
+ <li>将原先的swpp换成async主题自带sw,并且在此基础上进行适配全站npm化</li>
1099
+ <li>添加DocSearch</li>
1100
+ </ul>
1101
+ <p>很多功能我还没添加,敬请期待!</p>
1102
+ <h1 id="第一次去漫展"><a href="#第一次去漫展" class="headerlink" title="第一次去漫展"></a>第一次去漫展</h1><p>之前在微信的朋友圈里面看到了我的一位朋友<br>他要几个人跟他去漫展<br>而且那漫展还是在汕头(离我家很近)<br>于是我想去逛漫展了</p>
1103
+ <p>虽然那位朋友在去漫展的路上出事(腰出问题)导致迟到了差不多一个小时<br>不过没关系,我能自己逛逛</p>
1104
+ <p>逛逛的过程中顺带买了hina的立牌和大米的谷子<psw>别问为啥没买麻酱和独角兽的谷子,貌似卖完了或者根本没卖(悲)</psw><br>而且还去看了那边的演出(那边的演出是会整活的,给背景音乐混入了几个奇奇怪怪的东西)<br>我那朋友一来我就带他们去卖立牌的地方<br><psw>然后我就看见了这地方还有本子。。。。。。。</psw><br>他们买了几个谷子,我也跟着买了几个谷子和钥匙扣</p>
1105
+ <p>收获:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/82245cff3c03cdd649f4b71ea6b8cc1.5tr06yjfnx.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/82245cff3c03cdd649f4b71ea6b8cc1.5tr06yjfnx.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="四个谷子,一个立牌和两个钥匙扣"></p>
1106
+ ]]></content>
1107
+ <categories>
1108
+ <category>个人小记</category>
1109
+ </categories>
1110
+ <tags>
1111
+ <tag>个人小记</tag>
1112
+ </tags>
1113
+ </entry>
1114
+ <entry>
1115
+ <title>给你的站点添加个可可爱爱的看板娘——伪春菜</title>
1116
+ <url>/posts/54787/</url>
1117
+ <content><![CDATA[<p>什么是伪春菜?<a href="https://mzh.moegirl.org.cn/%E4%BC%AA%E6%98%A5%E8%8F%9C">请看这里</a><br>作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气<br>后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少<br>我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格</p>
1118
+ <p>某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘<br>就去去搜了一下,得到的结果是:<a href="http://www.lmyoaoa.com/inn/archives/4504/">http://www.lmyoaoa.com/inn/archives/4504/</a><br>又因为这玩意已经很久没更新,所以我将这个的js、css和图片提取出来,然后魔改了一下,方便放在hexo里面<br>废话不多说,开始吧!<br><span id="more"></span></p>
1119
+ <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><figure class="highlight css"><table><tr><td class="code"><pre><span class="line"><span class="selector-id">#smchuncai</span> &#123;<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>;&#125;</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#smchuncai</span> &#123;<span class="attribute">position</span>:absolute;&#125;</span><br><span class="line"><span class="selector-id">#chuncaiface</span> &#123;<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>;&#125;</span><br><span class="line"><span class="comment">/*#chuncaimenu &#123;width:46px;line-height:16px;float:left;font-size:12px;cursor:pointer;background-color:#666;color:#FFF;text-align:center;&#125;*/</span></span><br><span class="line"><span class="selector-id">#showchuncaimenu</span> &#123;<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;&#125;</span><br><span class="line"><span class="comment">/*#showchuncaimenu ul, */</span><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-class">.wcc_mlist</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> &#123;<span class="attribute">width</span>:<span class="number">96%</span>;&#125;</span><br><span class="line"><span class="selector-id">#callchuncai</span> &#123;<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>;&#125;</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#callchuncai</span> &#123;<span class="attribute">position</span>:absolute;&#125;</span><br><span class="line"><span class="selector-id">#dialog_chat</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#dialog_chat_loading</span> &#123;<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">&quot;../imgs/loading.gif&quot;</span>) no-repeat center center;<span class="attribute">display</span>:none;&#125;</span><br><span class="line"><span class="selector-id">#chat_top</span> &#123;<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">&quot;../imgs/chat_top.gif&quot;</span>) no-repeat;&#125;</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> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span>,<span class="selector-id">#chuncaisaying</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#chat_bottom</span> &#123;<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">&quot;../imgs/chat_bottom.gif&quot;</span>) no-repeat;&#125;</span><br><span class="line"><span class="selector-id">#chat_top</span>, <span class="selector-id">#chat_bottom</span> &#123;&#125;</span><br><span class="line"><span class="selector-id">#tempsaying</span>, <span class="selector-id">#hiddenfaces</span> &#123;<span class="attribute">display</span>:none;&#125;</span><br><span class="line"><span class="selector-id">#getmenu</span> &#123;<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">&quot;../imgs/menu.jpg&quot;</span>) no-repeat top right;&#125;</span><br><span class="line"><span class="selector-id">#addinput</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-id">#inp_l</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#inp_r</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-id">#talk</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#talkto</span> &#123;<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">&quot;../imgs/ok.jpg&quot;</span>);<span class="attribute">cursor</span>:pointer;&#125;</span><br></pre></td></tr></table></figure><br>{blogroot}/source/weichuncai/js/common.js<br><figure class="highlight javascript"><table><tr><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">&#x27;&#x27;</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>)&#123;</span><br><span class="line"> <span class="keyword">var</span> getwidth = <span class="title function_">getCookie</span>(<span class="string">&quot;historywidth&quot;</span>);</span><br><span class="line"> <span class="keyword">var</span> getheight = <span class="title function_">getCookie</span>(<span class="string">&quot;historyheight&quot;</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>)&#123;</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"> &#125;<span class="keyword">else</span>&#123;</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"> &#125;</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">&quot;body&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;smchuncai&quot; onfocus=&quot;this.blur();&quot; style=&quot;color:#626262;z-index:999;&quot;&gt;&lt;div id=&quot;chuncaiface&quot;&gt;&lt;/div&gt;&lt;div id=&quot;dialog_chat&quot;&gt;&lt;div id=&quot;chat_top&quot;&gt;&lt;/div&gt;&lt;div id=&quot;dialog_chat_contents&quot;&gt;&lt;div id=&quot;dialog_chat_loading&quot;&gt;&lt;/div&gt;&lt;div id=&quot;tempsaying&quot;&gt;&lt;/div&gt;&lt;div id=&quot;showchuncaimenu&quot;&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;shownotice&quot;&gt;显示公告&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;chatTochuncai&quot;&gt;聊&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;天&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;foods&quot;&gt;吃 零 食&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;aboutmanage&quot;&gt;关&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;于&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;lifetimechuncai&quot;&gt;生存时间&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;closechuncai&quot;&gt;关闭春菜&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;ul id=&quot;chuncaisaying&quot;&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div id=&quot;getmenu&quot;&gt; &lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;chat_bottom&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;addinput&quot;&gt;&lt;div id=&quot;inp_l&quot;&gt;&lt;input id=&quot;talk&quot; type=&quot;text&quot; name=&quot;mastersay&quot; value=&quot;&quot; /&gt; &lt;input id=&quot;talkto&quot; type=&quot;button&quot; value=&quot; &quot; /&gt;&lt;/div&gt;&lt;div id=&quot;inp_r&quot;&gt; X &lt;/div&gt;&lt;/div&gt;&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;body&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;callchuncai&quot;&gt;召唤春菜&lt;/div&gt;&#x27;</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">&quot;is_closechuncai&quot;</span>);</span><br><span class="line"> <span class="keyword">if</span>(is_closechuncai == <span class="string">&#x27;close&#x27;</span>)&#123;</span><br><span class="line"> <span class="title function_">closechuncai_init</span>();</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="comment">//设置初始状态</span></span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&quot;getnotice&quot;</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">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;left&#x27;</span>, width+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;top&#x27;</span>, height+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;width&#x27;</span>, imagewidth+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;height&#x27;</span>, imageheight+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">attr</span>(<span class="string">&quot;style&quot;</span>, <span class="string">&quot;top:&quot;</span>+cheight+<span class="string">&quot;px; left:&quot;</span>+cwidth+<span class="string">&quot;px; text-align:center;&quot;</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">&quot;smchuncai&quot;</span>);</span><br><span class="line"> smcc.<span class="property">onmousedown</span> = <span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;smchuncai&quot;</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">&quot;Firefox&quot;</span>)&gt;<span class="number">0</span>)&#123;</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"> &#125; </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>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(moveable)&#123;</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">&quot;px&quot;</span>;</span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">top</span> = y + <span class="string">&quot;px&quot;</span>;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;;</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>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(moveable)&#123;</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">&#x27;px&#x27;</span>, <span class="string">&#x27;&#x27;</span>);</span><br><span class="line"> historyheight = historyheight.<span class="title function_">replace</span>(<span class="string">&#x27;px&#x27;</span>, <span class="string">&#x27;&#x27;</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">&quot;historywidth&quot;</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">&quot;historyheight&quot;</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"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#getmenu&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#shownotice&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&quot;getnotice&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#closechuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;is_closechuncai&quot;</span>, <span class="string">&#x27;&#x27;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#shownotice&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#lifetimechuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&#x27;showlifetime&#x27;</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chatTochuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">showInput</span>();</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#inp_r&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&#x27;不聊天了吗?(→_→)&#x27;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#talkto&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&quot;talking&quot;</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#aboutmanage&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;#getmenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;你想了解我主人?跟我来吧~~~&quot;</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>)&#123;</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"> &#125;, <span class="number">2000</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#foods&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;foods&quot;</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"><span class="comment">/* smjq(&quot;#showchuncaimenu&quot;).hover(function()&#123;</span></span><br><span class="line"><span class="comment"> &#125;,function()&#123;</span></span><br><span class="line"><span class="comment"> smjq(&quot;#showchuncaimenu&quot;).slideUp(&#x27;slow&#x27;).show();</span></span><br><span class="line"><span class="comment"> &#125;);*/</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>)&#123;</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(&quot;啊,野生的主人出现了! ~~~O口O&quot;);</span></span><br><span class="line"> &#125;</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">&quot;smchuncai&quot;</span>).<span class="property">onmouseover</span> = <span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(talkobj)&#123;</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> &#125;</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"> &#125;</span><br><span class="line"> &#125;);</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>) &#123;</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">&#125;</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>)&#123;</span><br><span class="line"> <span class="keyword">var</span> gettimes = <span class="title function_">getCookie</span>(<span class="string">&quot;eattimes&quot;</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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;主人是个大混蛋!!&quot;</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"> &#125;<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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;.....................肚子要炸了,死也不要再吃了~~!!!TAT&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;<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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;我已经吃饱了,不要再吃啦......&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;<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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;多谢款待,我吃饱啦~~~ ╰( ̄▽ ̄)╭&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> &#125;<span class="keyword">else</span>&#123;</span><br><span class="line"> <span class="keyword">var</span> id = obj.<span class="title function_">replace</span>(<span class="string">&quot;f&quot;</span>,<span class="string">&#x27;&#x27;</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&#x27;eatsay&#x27;</span>, id);</span><br><span class="line"> &#125;</span><br><span class="line"> eattimes++;</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">&quot;eattimes&quot;</span>, eattimes, <span class="number">60</span>*<span class="number">10</span>*<span class="number">1000</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiMenu</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="comment">//smjq(&quot;#showchuncaimenu&quot;).slideDown(&#x27;fast&#x27;).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">&quot;准备做什么呢?&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#getmenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaisaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeChuncaiMenu</span>(<span class="params"></span>)&#123;</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">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="comment">//smjq(&quot;#chuncaisaying&quot;).css(&quot;display&quot;, &quot;block&quot;);</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">&quot;#getmenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showNotice</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaisaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai</span>(<span class="params"></span>)&#123;</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">&quot;记得再叫我出来哦...&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</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">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);&#125;, <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">&quot;is_closechuncai&quot;</span>, <span class="string">&#x27;close&#x27;</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">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_evil</span>(<span class="params"></span>)&#123;</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">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</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">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);&#125;, <span class="number">2000</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_init</span>(<span class="params"></span>)&#123;</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">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);&#125;, <span class="number">30</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">callchuncai</span>(<span class="params"></span>)&#123;</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">&quot;#smchuncai&quot;</span>).<span class="title function_">fadeIn</span>(<span class="string">&#x27;normal&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</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">&quot;我回来啦~&quot;</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">&quot;is_closechuncai&quot;</span>, <span class="string">&#x27;&#x27;</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">&#125;</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>)&#123;</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">&quot;#tempsaying&quot;</span>).<span class="title function_">append</span>(s);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#tempsaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</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">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearChuncaiSay</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">&quot;tempsaying&quot;</span>).<span class="property">innerHTML</span> = <span class="string">&#x27;&#x27;</span>;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeNotice</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaisaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showInput</span>(<span class="params"></span>)&#123;</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">&quot;............?&quot;</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">&quot;#addinput&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeInput</span>(<span class="params"></span>)&#123;</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">&quot;#addinput&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearInput</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">&quot;talk&quot;</span>).<span class="property">value</span> = <span class="string">&#x27;&#x27;</span>;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">createFace</span>(<span class="params">a, b, c</span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;head&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;hiddenfaces&quot;&gt;&lt;img id=&quot;hf1&quot; src=&quot;&#x27;</span>+a+<span class="string">&#x27;&quot; /&gt;&lt;img id=&quot;hf2&quot; src=&quot;&#x27;</span>+b+<span class="string">&#x27;&quot; /&gt;&lt;img id=&quot;hf3&quot; src=&quot;&#x27;</span>+c+<span class="string">&#x27;&quot; /&gt;&lt;/div&gt;&#x27;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setFace</span>(<span class="params">num</span>)&#123;</span><br><span class="line"> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">&quot;hf&quot;</span>+num).<span class="property">src</span>;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaiface&quot;</span>).<span class="title function_">attr</span>(<span class="string">&quot;style&quot;</span>, <span class="string">&quot;background:url(&quot;</span>+obj+<span class="string">&quot;) no-repeat scroll 50% 0% transparent; width:&quot;</span>+imagewidth+<span class="string">&quot;px;height:&quot;</span>+imageheight+<span class="string">&quot;px;&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getdata</span>(<span class="params">el, id</span>)&#123;</span><br><span class="line"> smjq.<span class="title function_">ajax</span>(&#123;</span><br><span class="line"> <span class="attr">type</span>: <span class="string">&#x27;GET&#x27;</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">&#x27;false&#x27;</span>,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">&#x27;html&#x27;</span>,</span><br><span class="line"> <span class="attr">contentType</span>: <span class="string">&#x27;application/json; charset=utf8&#x27;</span>,</span><br><span class="line"> <span class="attr">beforeSend</span>: <span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="comment">//smjq(&quot;#dialog_chat&quot;).fadeOut(&quot;normal&quot;);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#tempsaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;display&#x27;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#dialog_chat_loading&quot;</span>).<span class="title function_">fadeIn</span>(<span class="string">&quot;normal&quot;</span>);</span><br><span class="line"> &#125;,</span><br><span class="line"> <span class="attr">success</span>: <span class="keyword">function</span>(<span class="params">data</span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#dialog_chat_loading&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;display&#x27;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="comment">//smjq(&quot;#dialog_chat&quot;).fadeIn(&quot;normal&quot;);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#tempsaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;display&#x27;</span>, <span class="string">&quot;&quot;</span>);</span><br><span class="line"> <span class="keyword">var</span> dat = <span class="built_in">eval</span>(<span class="string">&quot;(&quot;</span>+data+<span class="string">&quot;)&quot;</span>);</span><br><span class="line"> <span class="keyword">if</span>(el == <span class="string">&#x27;getnotice&#x27;</span>)&#123;</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"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">&#x27;showlifetime&#x27;</span>)&#123;</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">&quot;我已经与主人 一起生存了 &quot;</span>+daysold+<span class="string">&quot; 天 &quot;</span>+hrsold+<span class="string">&quot; 小时 &quot;</span>+minsold+<span class="string">&quot; 分钟 &quot;</span>+seconds+<span class="string">&quot; 秒的快乐时光啦~*^_^*&quot;</span>);</span><br><span class="line"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">&#x27;talking&#x27;</span>)&#123;</span><br><span class="line"> <span class="keyword">var</span> talkcon = <span class="title function_">smjq</span>(<span class="string">&quot;#talk&quot;</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">&#x27;boolean&#x27;</span>)&#123;</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"> &#125;<span class="keyword">else</span>&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&#x27;.......................嗯?&#x27;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="title function_">clearInput</span>();</span><br><span class="line"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">&#x27;foods&#x27;</span>)&#123;</span><br><span class="line"> <span class="keyword">var</span> str=<span class="string">&#x27;&#x27;</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)&#123;</span><br><span class="line"> <span class="keyword">if</span>(arr[i] != <span class="string">&#x27;&#x27;</span> &amp;&amp; !preg.<span class="title function_">test</span>(arr[i]) )&#123;</span><br><span class="line"> str +=<span class="string">&#x27;&lt;ul id=&quot;f&#x27;</span>+i+<span class="string">&#x27;&quot; class=&quot;eatfood&quot; onclick=&quot;eatfood(this.id)&quot;&gt;&#x27;</span>+arr[i]+<span class="string">&#x27;&lt;/ul&gt;&#x27;</span>;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">&quot;eatsay&quot;</span>)&#123;</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"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">&quot;talkself&quot;</span>)&#123;</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"> &#125;</span><br><span class="line"> &#125;,</span><br><span class="line"> <span class="attr">error</span>: <span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&#x27;好像出错了,是什么错误呢...请联系管理猿&#x27;</span>);</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;);</span><br><span class="line">&#125;</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>)&#123;</span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr)&#123;</span><br><span class="line"> <span class="keyword">if</span>(arr[i] == str)&#123;</span><br><span class="line"> <span class="keyword">return</span> i;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="keyword">return</span> <span class="literal">false</span>;</span><br><span class="line">&#125;</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>)&#123;</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">&quot;setTime(&#x27;&quot;</span>+tol+<span class="string">&quot;&#x27;)&quot;</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))&#123;</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">&quot;主人跑到哪里去了呢....&quot;</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"> &#125;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stoptime</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(timenum)&#123;</span><br><span class="line"> <span class="built_in">clearTimeout</span>(timenum);</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</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">&quot;白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?&quot;</span>, <span class="string">&quot;1&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我看见主人熊猫眼又加重了!&quot;</span>, <span class="string">&quot;3&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我是不是很厉害呀~~?&quot;</span>, <span class="string">&quot;2&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;5555...昨天有个小孩子跟我抢棒棒糖吃.....&quot;</span>, <span class="string">&quot;3&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;昨天我好像看见主人又在众人之前卖萌了哦~&quot;</span>, <span class="string">&quot;2&quot;</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>)&#123;</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>))&#123;</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"> &#125;</span><br><span class="line"> talkobj = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">&quot;talkSelf(&quot;</span>+talktime+<span class="string">&quot;)&quot;</span>, <span class="number">1000</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stopTalkSelf</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(talkobj)&#123;</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">arrayShuffle</span>(<span class="params">arr</span>)&#123;</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--)&#123;</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"> &#125;</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line">&#125;</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>) &#123;</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">&quot;&lt;&quot;</span>)&#123;</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">&quot;&gt;&quot;</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">&quot;&gt;&quot;</span>)+<span class="number">1</span>;</span><br><span class="line"> &#125;</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">&quot;tempsaying&quot;</span>).<span class="property">innerHTML</span> = str;</span><br><span class="line"> txtst = <span class="built_in">setTimeout</span>(<span class="string">&quot;typeWords()&quot;</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>)&#123;</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"> &#125;</span><br><span class="line">&#125;</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>)&#123;</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>)&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">&quot;=&quot;</span>+val+<span class="string">&quot;;&quot;</span>;</span><br><span class="line"> &#125;<span class="keyword">else</span>&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">&quot;=&quot;</span>+val+<span class="string">&quot;; expires=&quot;</span>+times.<span class="title function_">toGMTString</span>();</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</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>)&#123;</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">&quot;(^| )&quot;</span>+name+<span class="string">&quot;=([^;]*)(;|$)&quot;</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">&#125;</span><br></pre></td></tr></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line"> <span class="attr">&quot;notice&quot;</span><span class="punctuation">:</span> <span class="string">&quot;欢迎来到我的新家,没想到在2024我会被人注意到,真幸福~~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;ques&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;早上好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;中午好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;下午好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚上好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚安&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;ans&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;早上好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;中午好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;下午好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚上好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚安~&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;foods&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;金坷垃&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;咸梅干&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;eatsay&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;吃了金坷垃,一刀能秒一万八~!&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;吃咸梅干,变超人!哦耶~~~&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;showlifetime&quot;</span><span class="punctuation">:</span><span class="string">&quot;02-16-2024 15:30:00&quot;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight javascript"><table><tr><td class="code"><pre><span class="line"><span class="keyword">var</span> _about_path = <span class="string">&quot;https://blog.sinzmise.top/about&quot;</span>; <span class="comment">//你的关于页面地址</span></span><br><span class="line"><span class="keyword">var</span> _weichuncai_jsonpath = <span class="string">&quot;/weichuncai/chuncai.json&quot;</span>; <span class="comment">//chuncai.json的位置</span></span><br><span class="line"><span class="keyword">var</span> imagewidth = <span class="string">&#x27;85&#x27;</span>; <span class="comment">//人格长度</span></span><br><span class="line"><span class="keyword">var</span> imageheight = <span class="string">&#x27;152&#x27;</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">&quot;白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?&quot;</span>, <span class="string">&quot;1&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我看见主人熊猫眼又加重了!&quot;</span>, <span class="string">&quot;3&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我是不是很厉害呀~~?&quot;</span>, <span class="string">&quot;2&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;5555...昨天有个小孩子跟我抢棒棒糖吃.....&quot;</span>, <span class="string">&quot;3&quot;</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">&quot;https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face1.gif&quot;</span>, </span><br><span class="line"> <span class="string">&quot;https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face2.gif&quot;</span>, </span><br><span class="line"> <span class="string">&quot;https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face3.gif&quot;</span></span><br><span class="line">);</span><br></pre></td></tr></table></figure><br>butterfly、anzhiyu主题引入:<br><figure class="highlight yaml"><table><tr><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 &#x27;&lt;/head&gt;&#x27; tag) and the bottom (before &#x27;&lt;/body&gt;&#x27; 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=&quot;https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js&quot;&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=&quot;stylesheet&quot;</span> <span class="string">type=&quot;text/css&quot;</span> <span class="string">href=&quot;/weichuncai/css/style.css&quot;&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src=&quot;/weichuncai/js/common.js&quot;&gt;&lt;/script&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src=&quot;/weichuncai/wcc-config.js&quot;&gt;&lt;/script&gt;</span></span><br></pre></td></tr></table></figure></p>
1120
+ <h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>我为什么会将伪春菜定义为桌面精灵而不是桌宠?<br>是因为相比于桌宠来说,伪春菜比桌宠的功能还多得多<br>因此我即使开着虚拟桌宠模拟器,我有时也会开着伪春菜<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/ssp_OgKZgUjISo.1rssdhcjowjk.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/ssp_OgKZgUjISo.1rssdhcjowjk.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="ssp_OgKZgUjISo"><br>(甚至我电脑卡的时候也会提醒我,虽然我电脑没有卡死QWQ)</p>
1121
+ <p>还有,我之前看<a href="https://steve02081504.github.io/2020/02/27/about-kikka/">关于Kikka</a>这篇文章,有一句话很吸引我:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/msedge_h7th45Tk9U.47mkdav98180.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/msedge_h7th45Tk9U.47mkdav98180.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_h7th45Tk9U"><br>也据此可以看出,在2020年,伪春菜这个圈子越来越难活下去<br>更何况现在是2024。。。。。。</p>
1122
+ <p>但不管怎么说,还是有人在用这个桌面精灵的,至少有我一个。。。。。。<br>后面我打算写个有关伪春菜的配置教程吧。。。。。。</p>
1123
+ ]]></content>
1124
+ <categories>
1125
+ <category>站点折腾</category>
1126
+ </categories>
1127
+ <tags>
1128
+ <tag>站点折腾</tag>
1129
+ <tag>悬浮宠物/看板娘</tag>
1130
+ </tags>
1131
+ </entry>
1090
1132
  <entry>
1091
1133
  <title>真·彩虹猫加载动画</title>
1092
1134
  <url>/posts/46640/</url>
@@ -1131,48 +1173,6 @@ function loadkaixinmusic() {
1131
1173
  <tag>加载动画</tag>
1132
1174
  </tags>
1133
1175
  </entry>
1134
- <entry>
1135
- <title>站点装修与国庆小记</title>
1136
- <url>/posts/10733/</url>
1137
- <content><![CDATA[<p>国庆假期已经快要收尾了<br>不知道大家过得怎么样呢?<br>不废话,正片开始!<br><span id="more"></span></p>
1138
- <h1 id="站点又重新装修"><a href="#站点又重新装修" class="headerlink" title="站点又重新装修"></a>站点又重新装修</h1><p>之前我魔改的那Butterfly主题被人诟病加载慢等等问题<psw>,并且在经过我的“努力”之下成功变成了史山代码</psw><br>因此被迫重新装修</p>
1139
- <p>站点更新如下:</p>
1140
- <ul>
1141
- <li>更换主题为<a href="https://hexo-theme-async.imalun.com/">Hexo-Theme-Async</a>,并且为这个主题适配了IndieWeb,同时也做了一些魔改</li>
1142
- <li>将原先的swpp换成async主题自带sw,并且在此基础上进行适配全站npm化</li>
1143
- <li>添加DocSearch</li>
1144
- </ul>
1145
- <p>很多功能我还没添加,敬请期待!</p>
1146
- <h1 id="第一次去漫展"><a href="#第一次去漫展" class="headerlink" title="第一次去漫展"></a>第一次去漫展</h1><p>之前在微信的朋友圈里面看到了我的一位朋友<br>他要几个人跟他去漫展<br>而且那漫展还是在汕头(离我家很近)<br>于是我想去逛漫展了</p>
1147
- <p>虽然那位朋友在去漫展的路上出事(腰出问题)导致迟到了差不多一个小时<br>不过没关系,我能自己逛逛</p>
1148
- <p>逛逛的过程中顺带买了hina的立牌和大米的谷子<psw>别问为啥没买麻酱和独角兽的谷子,貌似卖完了或者根本没卖(悲)</psw><br>而且还去看了那边的演出(那边的演出是会整活的,给背景音乐混入了几个奇奇怪怪的东西)<br>我那朋友一来我就带他们去卖立牌的地方<br><psw>然后我就看见了这地方还有本子。。。。。。。</psw><br>他们买了几个谷子,我也跟着买了几个谷子和钥匙扣</p>
1149
- <p>收获:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/82245cff3c03cdd649f4b71ea6b8cc1.5tr06yjfnx.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/82245cff3c03cdd649f4b71ea6b8cc1.5tr06yjfnx.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="四个谷子,一个立牌和两个钥匙扣"></p>
1150
- ]]></content>
1151
- <categories>
1152
- <category>个人小记</category>
1153
- </categories>
1154
- <tags>
1155
- <tag>个人小记</tag>
1156
- </tags>
1157
- </entry>
1158
- <entry>
1159
- <title>给你的站点添加个可可爱爱的看板娘——伪春菜</title>
1160
- <url>/posts/54787/</url>
1161
- <content><![CDATA[<p>什么是伪春菜?<a href="https://mzh.moegirl.org.cn/%E4%BC%AA%E6%98%A5%E8%8F%9C">请看这里</a><br>作为一个早在xp时代就出现的桌面精灵,伪春菜有了爆火的人气<br>后来不知道什么时候开始在国内由盛转衰,直到现在我对这个圈子少之又少<br>我自己也下载了ssp并且应用了后来某位大佬复活的Taromati2人格</p>
1162
- <p>某次我逛逛某个博客站点时发现有个站点将伪春菜当成了看板娘<br>就去去搜了一下,得到的结果是:<a href="http://www.lmyoaoa.com/inn/archives/4504/">http://www.lmyoaoa.com/inn/archives/4504/</a><br>又因为这玩意已经很久没更新,所以我将这个的js、css和图片提取出来,然后魔改了一下,方便放在hexo里面<br>废话不多说,开始吧!<br><span id="more"></span></p>
1163
- <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><figure class="highlight css"><table><tr><td class="code"><pre><span class="line"><span class="selector-id">#smchuncai</span> &#123;<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>;&#125;</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#smchuncai</span> &#123;<span class="attribute">position</span>:absolute;&#125;</span><br><span class="line"><span class="selector-id">#chuncaiface</span> &#123;<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>;&#125;</span><br><span class="line"><span class="comment">/*#chuncaimenu &#123;width:46px;line-height:16px;float:left;font-size:12px;cursor:pointer;background-color:#666;color:#FFF;text-align:center;&#125;*/</span></span><br><span class="line"><span class="selector-id">#showchuncaimenu</span> &#123;<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;&#125;</span><br><span class="line"><span class="comment">/*#showchuncaimenu ul, */</span><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-class">.wcc_mlist</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> &#123;<span class="attribute">width</span>:<span class="number">96%</span>;&#125;</span><br><span class="line"><span class="selector-id">#callchuncai</span> &#123;<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>;&#125;</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#callchuncai</span> &#123;<span class="attribute">position</span>:absolute;&#125;</span><br><span class="line"><span class="selector-id">#dialog_chat</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#dialog_chat_loading</span> &#123;<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">&quot;../imgs/loading.gif&quot;</span>) no-repeat center center;<span class="attribute">display</span>:none;&#125;</span><br><span class="line"><span class="selector-id">#chat_top</span> &#123;<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">&quot;../imgs/chat_top.gif&quot;</span>) no-repeat;&#125;</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> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span>,<span class="selector-id">#chuncaisaying</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#chat_bottom</span> &#123;<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">&quot;../imgs/chat_bottom.gif&quot;</span>) no-repeat;&#125;</span><br><span class="line"><span class="selector-id">#chat_top</span>, <span class="selector-id">#chat_bottom</span> &#123;&#125;</span><br><span class="line"><span class="selector-id">#tempsaying</span>, <span class="selector-id">#hiddenfaces</span> &#123;<span class="attribute">display</span>:none;&#125;</span><br><span class="line"><span class="selector-id">#getmenu</span> &#123;<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">&quot;../imgs/menu.jpg&quot;</span>) no-repeat top right;&#125;</span><br><span class="line"><span class="selector-id">#addinput</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-id">#inp_l</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#inp_r</span> &#123;<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;&#125;</span><br><span class="line"><span class="selector-id">#talk</span> &#123;<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>;&#125;</span><br><span class="line"><span class="selector-id">#talkto</span> &#123;<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">&quot;../imgs/ok.jpg&quot;</span>);<span class="attribute">cursor</span>:pointer;&#125;</span><br></pre></td></tr></table></figure><br>{blogroot}/source/weichuncai/js/common.js<br><figure class="highlight javascript"><table><tr><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">&#x27;&#x27;</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>)&#123;</span><br><span class="line"> <span class="keyword">var</span> getwidth = <span class="title function_">getCookie</span>(<span class="string">&quot;historywidth&quot;</span>);</span><br><span class="line"> <span class="keyword">var</span> getheight = <span class="title function_">getCookie</span>(<span class="string">&quot;historyheight&quot;</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>)&#123;</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"> &#125;<span class="keyword">else</span>&#123;</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"> &#125;</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">&quot;body&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;smchuncai&quot; onfocus=&quot;this.blur();&quot; style=&quot;color:#626262;z-index:999;&quot;&gt;&lt;div id=&quot;chuncaiface&quot;&gt;&lt;/div&gt;&lt;div id=&quot;dialog_chat&quot;&gt;&lt;div id=&quot;chat_top&quot;&gt;&lt;/div&gt;&lt;div id=&quot;dialog_chat_contents&quot;&gt;&lt;div id=&quot;dialog_chat_loading&quot;&gt;&lt;/div&gt;&lt;div id=&quot;tempsaying&quot;&gt;&lt;/div&gt;&lt;div id=&quot;showchuncaimenu&quot;&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;shownotice&quot;&gt;显示公告&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;chatTochuncai&quot;&gt;聊&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;天&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;foods&quot;&gt;吃 零 食&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;aboutmanage&quot;&gt;关&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;于&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;lifetimechuncai&quot;&gt;生存时间&lt;/ul&gt;&lt;ul class=&quot;wcc_mlist&quot; id=&quot;closechuncai&quot;&gt;关闭春菜&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;ul id=&quot;chuncaisaying&quot;&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div id=&quot;getmenu&quot;&gt; &lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;chat_bottom&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;addinput&quot;&gt;&lt;div id=&quot;inp_l&quot;&gt;&lt;input id=&quot;talk&quot; type=&quot;text&quot; name=&quot;mastersay&quot; value=&quot;&quot; /&gt; &lt;input id=&quot;talkto&quot; type=&quot;button&quot; value=&quot; &quot; /&gt;&lt;/div&gt;&lt;div id=&quot;inp_r&quot;&gt; X &lt;/div&gt;&lt;/div&gt;&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;body&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;callchuncai&quot;&gt;召唤春菜&lt;/div&gt;&#x27;</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">&quot;is_closechuncai&quot;</span>);</span><br><span class="line"> <span class="keyword">if</span>(is_closechuncai == <span class="string">&#x27;close&#x27;</span>)&#123;</span><br><span class="line"> <span class="title function_">closechuncai_init</span>();</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="comment">//设置初始状态</span></span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&quot;getnotice&quot;</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">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;left&#x27;</span>, width+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;top&#x27;</span>, height+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;width&#x27;</span>, imagewidth+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;height&#x27;</span>, imageheight+<span class="string">&#x27;px&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">attr</span>(<span class="string">&quot;style&quot;</span>, <span class="string">&quot;top:&quot;</span>+cheight+<span class="string">&quot;px; left:&quot;</span>+cwidth+<span class="string">&quot;px; text-align:center;&quot;</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">&quot;smchuncai&quot;</span>);</span><br><span class="line"> smcc.<span class="property">onmousedown</span> = <span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;smchuncai&quot;</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">&quot;Firefox&quot;</span>)&gt;<span class="number">0</span>)&#123;</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"> &#125; </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>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(moveable)&#123;</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">&quot;px&quot;</span>;</span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">top</span> = y + <span class="string">&quot;px&quot;</span>;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;;</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>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(moveable)&#123;</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">&#x27;px&#x27;</span>, <span class="string">&#x27;&#x27;</span>);</span><br><span class="line"> historyheight = historyheight.<span class="title function_">replace</span>(<span class="string">&#x27;px&#x27;</span>, <span class="string">&#x27;&#x27;</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">&quot;historywidth&quot;</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">&quot;historyheight&quot;</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"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#getmenu&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#shownotice&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&quot;getnotice&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#closechuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;is_closechuncai&quot;</span>, <span class="string">&#x27;&#x27;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#shownotice&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#lifetimechuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&#x27;showlifetime&#x27;</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chatTochuncai&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">showInput</span>();</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#inp_r&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&#x27;不聊天了吗?(→_→)&#x27;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#talkto&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&quot;talking&quot;</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#aboutmanage&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;#getmenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;你想了解我主人?跟我来吧~~~&quot;</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>)&#123;</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"> &#125;, <span class="number">2000</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#foods&quot;</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</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">&quot;foods&quot;</span>);</span><br><span class="line"> &#125;);</span><br><span class="line"><span class="comment">/* smjq(&quot;#showchuncaimenu&quot;).hover(function()&#123;</span></span><br><span class="line"><span class="comment"> &#125;,function()&#123;</span></span><br><span class="line"><span class="comment"> smjq(&quot;#showchuncaimenu&quot;).slideUp(&#x27;slow&#x27;).show();</span></span><br><span class="line"><span class="comment"> &#125;);*/</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>)&#123;</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(&quot;啊,野生的主人出现了! ~~~O口O&quot;);</span></span><br><span class="line"> &#125;</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">&quot;smchuncai&quot;</span>).<span class="property">onmouseover</span> = <span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(talkobj)&#123;</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> &#125;</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"> &#125;</span><br><span class="line"> &#125;);</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>) &#123;</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">&#125;</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>)&#123;</span><br><span class="line"> <span class="keyword">var</span> gettimes = <span class="title function_">getCookie</span>(<span class="string">&quot;eattimes&quot;</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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;主人是个大混蛋!!&quot;</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"> &#125;<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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;.....................肚子要炸了,死也不要再吃了~~!!!TAT&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;<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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;我已经吃饱了,不要再吃啦......&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;<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>))&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&quot;多谢款待,我吃饱啦~~~ ╰( ̄▽ ̄)╭&quot;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> &#125;<span class="keyword">else</span>&#123;</span><br><span class="line"> <span class="keyword">var</span> id = obj.<span class="title function_">replace</span>(<span class="string">&quot;f&quot;</span>,<span class="string">&#x27;&#x27;</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">&#x27;eatsay&#x27;</span>, id);</span><br><span class="line"> &#125;</span><br><span class="line"> eattimes++;</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">&quot;eattimes&quot;</span>, eattimes, <span class="number">60</span>*<span class="number">10</span>*<span class="number">1000</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiMenu</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="comment">//smjq(&quot;#showchuncaimenu&quot;).slideDown(&#x27;fast&#x27;).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">&quot;准备做什么呢?&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#getmenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaisaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeChuncaiMenu</span>(<span class="params"></span>)&#123;</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">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="comment">//smjq(&quot;#chuncaisaying&quot;).css(&quot;display&quot;, &quot;block&quot;);</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">&quot;#getmenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showNotice</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaisaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai</span>(<span class="params"></span>)&#123;</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">&quot;记得再叫我出来哦...&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</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">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);&#125;, <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">&quot;is_closechuncai&quot;</span>, <span class="string">&#x27;close&#x27;</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">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_evil</span>(<span class="params"></span>)&#123;</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">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</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">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);&#125;, <span class="number">2000</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_init</span>(<span class="params"></span>)&#123;</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">&quot;#showchuncaimenu&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#smchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);&#125;, <span class="number">30</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">callchuncai</span>(<span class="params"></span>)&#123;</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">&quot;#smchuncai&quot;</span>).<span class="title function_">fadeIn</span>(<span class="string">&#x27;normal&#x27;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#callchuncai&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</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">&quot;我回来啦~&quot;</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">&quot;is_closechuncai&quot;</span>, <span class="string">&#x27;&#x27;</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">&#125;</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>)&#123;</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">&quot;#tempsaying&quot;</span>).<span class="title function_">append</span>(s);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#tempsaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</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">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearChuncaiSay</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">&quot;tempsaying&quot;</span>).<span class="property">innerHTML</span> = <span class="string">&#x27;&#x27;</span>;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeNotice</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaisaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showInput</span>(<span class="params"></span>)&#123;</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">&quot;............?&quot;</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">&quot;#addinput&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;block&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeInput</span>(<span class="params"></span>)&#123;</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">&quot;#addinput&quot;</span>).<span class="title function_">css</span>(<span class="string">&quot;display&quot;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearInput</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">&quot;talk&quot;</span>).<span class="property">value</span> = <span class="string">&#x27;&#x27;</span>;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">createFace</span>(<span class="params">a, b, c</span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;head&quot;</span>).<span class="title function_">append</span>(<span class="string">&#x27;&lt;div id=&quot;hiddenfaces&quot;&gt;&lt;img id=&quot;hf1&quot; src=&quot;&#x27;</span>+a+<span class="string">&#x27;&quot; /&gt;&lt;img id=&quot;hf2&quot; src=&quot;&#x27;</span>+b+<span class="string">&#x27;&quot; /&gt;&lt;img id=&quot;hf3&quot; src=&quot;&#x27;</span>+c+<span class="string">&#x27;&quot; /&gt;&lt;/div&gt;&#x27;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setFace</span>(<span class="params">num</span>)&#123;</span><br><span class="line"> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">&quot;hf&quot;</span>+num).<span class="property">src</span>;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#chuncaiface&quot;</span>).<span class="title function_">attr</span>(<span class="string">&quot;style&quot;</span>, <span class="string">&quot;background:url(&quot;</span>+obj+<span class="string">&quot;) no-repeat scroll 50% 0% transparent; width:&quot;</span>+imagewidth+<span class="string">&quot;px;height:&quot;</span>+imageheight+<span class="string">&quot;px;&quot;</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getdata</span>(<span class="params">el, id</span>)&#123;</span><br><span class="line"> smjq.<span class="title function_">ajax</span>(&#123;</span><br><span class="line"> <span class="attr">type</span>: <span class="string">&#x27;GET&#x27;</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">&#x27;false&#x27;</span>,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">&#x27;html&#x27;</span>,</span><br><span class="line"> <span class="attr">contentType</span>: <span class="string">&#x27;application/json; charset=utf8&#x27;</span>,</span><br><span class="line"> <span class="attr">beforeSend</span>: <span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="comment">//smjq(&quot;#dialog_chat&quot;).fadeOut(&quot;normal&quot;);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#tempsaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;display&#x27;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#dialog_chat_loading&quot;</span>).<span class="title function_">fadeIn</span>(<span class="string">&quot;normal&quot;</span>);</span><br><span class="line"> &#125;,</span><br><span class="line"> <span class="attr">success</span>: <span class="keyword">function</span>(<span class="params">data</span>)&#123;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#dialog_chat_loading&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;display&#x27;</span>, <span class="string">&quot;none&quot;</span>);</span><br><span class="line"> <span class="comment">//smjq(&quot;#dialog_chat&quot;).fadeIn(&quot;normal&quot;);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">&quot;#tempsaying&quot;</span>).<span class="title function_">css</span>(<span class="string">&#x27;display&#x27;</span>, <span class="string">&quot;&quot;</span>);</span><br><span class="line"> <span class="keyword">var</span> dat = <span class="built_in">eval</span>(<span class="string">&quot;(&quot;</span>+data+<span class="string">&quot;)&quot;</span>);</span><br><span class="line"> <span class="keyword">if</span>(el == <span class="string">&#x27;getnotice&#x27;</span>)&#123;</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"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">&#x27;showlifetime&#x27;</span>)&#123;</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">&quot;我已经与主人 一起生存了 &quot;</span>+daysold+<span class="string">&quot; 天 &quot;</span>+hrsold+<span class="string">&quot; 小时 &quot;</span>+minsold+<span class="string">&quot; 分钟 &quot;</span>+seconds+<span class="string">&quot; 秒的快乐时光啦~*^_^*&quot;</span>);</span><br><span class="line"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">&#x27;talking&#x27;</span>)&#123;</span><br><span class="line"> <span class="keyword">var</span> talkcon = <span class="title function_">smjq</span>(<span class="string">&quot;#talk&quot;</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">&#x27;boolean&#x27;</span>)&#123;</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"> &#125;<span class="keyword">else</span>&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&#x27;.......................嗯?&#x27;</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="title function_">clearInput</span>();</span><br><span class="line"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">&#x27;foods&#x27;</span>)&#123;</span><br><span class="line"> <span class="keyword">var</span> str=<span class="string">&#x27;&#x27;</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)&#123;</span><br><span class="line"> <span class="keyword">if</span>(arr[i] != <span class="string">&#x27;&#x27;</span> &amp;&amp; !preg.<span class="title function_">test</span>(arr[i]) )&#123;</span><br><span class="line"> str +=<span class="string">&#x27;&lt;ul id=&quot;f&#x27;</span>+i+<span class="string">&#x27;&quot; class=&quot;eatfood&quot; onclick=&quot;eatfood(this.id)&quot;&gt;&#x27;</span>+arr[i]+<span class="string">&#x27;&lt;/ul&gt;&#x27;</span>;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">&quot;eatsay&quot;</span>)&#123;</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"> &#125;<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">&quot;talkself&quot;</span>)&#123;</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"> &#125;</span><br><span class="line"> &#125;,</span><br><span class="line"> <span class="attr">error</span>: <span class="keyword">function</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">&#x27;好像出错了,是什么错误呢...请联系管理猿&#x27;</span>);</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;);</span><br><span class="line">&#125;</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>)&#123;</span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr)&#123;</span><br><span class="line"> <span class="keyword">if</span>(arr[i] == str)&#123;</span><br><span class="line"> <span class="keyword">return</span> i;</span><br><span class="line"> &#125;</span><br><span class="line"> &#125;</span><br><span class="line"> <span class="keyword">return</span> <span class="literal">false</span>;</span><br><span class="line">&#125;</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>)&#123;</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">&quot;setTime(&#x27;&quot;</span>+tol+<span class="string">&quot;&#x27;)&quot;</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))&#123;</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">&quot;主人跑到哪里去了呢....&quot;</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"> &#125;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stoptime</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(timenum)&#123;</span><br><span class="line"> <span class="built_in">clearTimeout</span>(timenum);</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</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">&quot;白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?&quot;</span>, <span class="string">&quot;1&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我看见主人熊猫眼又加重了!&quot;</span>, <span class="string">&quot;3&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我是不是很厉害呀~~?&quot;</span>, <span class="string">&quot;2&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;5555...昨天有个小孩子跟我抢棒棒糖吃.....&quot;</span>, <span class="string">&quot;3&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;昨天我好像看见主人又在众人之前卖萌了哦~&quot;</span>, <span class="string">&quot;2&quot;</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>)&#123;</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>))&#123;</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"> &#125;</span><br><span class="line"> talkobj = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">&quot;talkSelf(&quot;</span>+talktime+<span class="string">&quot;)&quot;</span>, <span class="number">1000</span>);</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stopTalkSelf</span>(<span class="params"></span>)&#123;</span><br><span class="line"> <span class="keyword">if</span>(talkobj)&#123;</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">arrayShuffle</span>(<span class="params">arr</span>)&#123;</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--)&#123;</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"> &#125;</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line">&#125;</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>) &#123;</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">&quot;&lt;&quot;</span>)&#123;</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">&quot;&gt;&quot;</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">&quot;&gt;&quot;</span>)+<span class="number">1</span>;</span><br><span class="line"> &#125;</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">&quot;tempsaying&quot;</span>).<span class="property">innerHTML</span> = str;</span><br><span class="line"> txtst = <span class="built_in">setTimeout</span>(<span class="string">&quot;typeWords()&quot;</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>)&#123;</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"> &#125;</span><br><span class="line">&#125;</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>)&#123;</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>)&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">&quot;=&quot;</span>+val+<span class="string">&quot;;&quot;</span>;</span><br><span class="line"> &#125;<span class="keyword">else</span>&#123;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">&quot;=&quot;</span>+val+<span class="string">&quot;; expires=&quot;</span>+times.<span class="title function_">toGMTString</span>();</span><br><span class="line"> &#125;</span><br><span class="line">&#125;</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>)&#123;</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">&quot;(^| )&quot;</span>+name+<span class="string">&quot;=([^;]*)(;|$)&quot;</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">&#125;</span><br></pre></td></tr></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line"> <span class="attr">&quot;notice&quot;</span><span class="punctuation">:</span> <span class="string">&quot;欢迎来到我的新家,没想到在2024我会被人注意到,真幸福~~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;ques&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;早上好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;中午好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;下午好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚上好&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚安&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;ans&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;早上好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;中午好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;下午好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚上好~&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;晚安~&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;foods&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;金坷垃&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;咸梅干&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;eatsay&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">&quot;吃了金坷垃,一刀能秒一万八~!&quot;</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">&quot;吃咸梅干,变超人!哦耶~~~&quot;</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">&quot;showlifetime&quot;</span><span class="punctuation">:</span><span class="string">&quot;02-16-2024 15:30:00&quot;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><br>{blogroot}/source/weichuncai/js/chuncai.json(这个地方可以自行配置)<br><figure class="highlight javascript"><table><tr><td class="code"><pre><span class="line"><span class="keyword">var</span> _about_path = <span class="string">&quot;https://blog.sinzmise.top/about&quot;</span>; <span class="comment">//你的关于页面地址</span></span><br><span class="line"><span class="keyword">var</span> _weichuncai_jsonpath = <span class="string">&quot;/weichuncai/chuncai.json&quot;</span>; <span class="comment">//chuncai.json的位置</span></span><br><span class="line"><span class="keyword">var</span> imagewidth = <span class="string">&#x27;85&#x27;</span>; <span class="comment">//人格长度</span></span><br><span class="line"><span class="keyword">var</span> imageheight = <span class="string">&#x27;152&#x27;</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">&quot;白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?&quot;</span>, <span class="string">&quot;1&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我看见主人熊猫眼又加重了!&quot;</span>, <span class="string">&quot;3&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;我是不是很厉害呀~~?&quot;</span>, <span class="string">&quot;2&quot;</span>],</span><br><span class="line"> [<span class="string">&quot;5555...昨天有个小孩子跟我抢棒棒糖吃.....&quot;</span>, <span class="string">&quot;3&quot;</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">&quot;https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face1.gif&quot;</span>, </span><br><span class="line"> <span class="string">&quot;https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face2.gif&quot;</span>, </span><br><span class="line"> <span class="string">&quot;https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face3.gif&quot;</span></span><br><span class="line">);</span><br></pre></td></tr></table></figure><br>butterfly、anzhiyu主题引入:<br><figure class="highlight yaml"><table><tr><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 &#x27;&lt;/head&gt;&#x27; tag) and the bottom (before &#x27;&lt;/body&gt;&#x27; 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=&quot;https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js&quot;&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=&quot;stylesheet&quot;</span> <span class="string">type=&quot;text/css&quot;</span> <span class="string">href=&quot;/weichuncai/css/style.css&quot;&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src=&quot;/weichuncai/js/common.js&quot;&gt;&lt;/script&gt;</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">&lt;script</span> <span class="string">src=&quot;/weichuncai/wcc-config.js&quot;&gt;&lt;/script&gt;</span></span><br></pre></td></tr></table></figure></p>
1164
- <h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>我为什么会将伪春菜定义为桌面精灵而不是桌宠?<br>是因为相比于桌宠来说,伪春菜比桌宠的功能还多得多<br>因此我即使开着虚拟桌宠模拟器,我有时也会开着伪春菜<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/ssp_OgKZgUjISo.1rssdhcjowjk.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/ssp_OgKZgUjISo.1rssdhcjowjk.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="ssp_OgKZgUjISo"><br>(甚至我电脑卡的时候也会提醒我,虽然我电脑没有卡死QWQ)</p>
1165
- <p>还有,我之前看<a href="https://steve02081504.github.io/2020/02/27/about-kikka/">关于Kikka</a>这篇文章,有一句话很吸引我:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/msedge_h7th45Tk9U.47mkdav98180.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240216/msedge_h7th45Tk9U.47mkdav98180.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_h7th45Tk9U"><br>也据此可以看出,在2020年,伪春菜这个圈子越来越难活下去<br>更何况现在是2024。。。。。。</p>
1166
- <p>但不管怎么说,还是有人在用这个桌面精灵的,至少有我一个。。。。。。<br>后面我打算写个有关伪春菜的配置教程吧。。。。。。</p>
1167
- ]]></content>
1168
- <categories>
1169
- <category>站点折腾</category>
1170
- </categories>
1171
- <tags>
1172
- <tag>站点折腾</tag>
1173
- <tag>悬浮宠物/看板娘</tag>
1174
- </tags>
1175
- </entry>
1176
1176
  <entry>
1177
1177
  <title>自建Meting服务</title>
1178
1178
  <url>/posts/61417/</url>
@@ -1189,32 +1189,32 @@ function loadkaixinmusic() {
1189
1189
  </tags>
1190
1190
  </entry>
1191
1191
  <entry>
1192
- <title>萌ICP备异次元之旅</title>
1193
- <url>/posts/58203/</url>
1194
- <content><![CDATA[<p>今天在修改我那萌备的时候,无意在导航栏上看到了“异次元”这玩意<br>看主页是类似于“开往”,只不过仅跳转到萌备详情页面而不是直接进入站点<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230724/msedge_OyAWChkztM.5m8n4321oak0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230724/msedge_OyAWChkztM.5m8n4321oak0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_OyAWChkztM"><br>又因为我站点已经加入了萌ICP备,所以我就将这玩意添加到底部列表里面了<br><span id="more"></span></p>
1195
- <h1 id="添加方法"><a href="#添加方法" class="headerlink" title="添加方法"></a>添加方法</h1><p>如果没有你没有加入萌ICP备豪华套餐的话,点击这里加入:<a href="https://icp.gov.moe/join.php">加入萌备</a><br>如果你加入了,那么按照 <a href="https://moe.one/thread-254.htm">https://moe.one/thread-254.htm</a> 里的配色方案添加</p>
1192
+ <title>自建不蒜子API</title>
1193
+ <url>/posts/28536/</url>
1194
+ <content><![CDATA[<p><a href="https://busuanzi.ibruce.info/">不蒜子</a>是一款很好用的前端计数工具,但是因为流量日渐变多,经常会出现 502 的情况<br>于是就找到了<a href="https://github.com/soxft/busuanzi">soxft/busuanzi</a>,然后用docker成功在Koyeb上部署不蒜子<br>但是由于这个不蒜子没有Web 管理面板,而如果之前使用的是其他程序统计访问量,切换到使用 busuanzi 来统计,就需要修改访问量<br>所以我基于<a href="https://github.com/yuantuo666/busuanzi">yuantuo666/busuanzi</a>这个版本的不蒜子魔改,然后将其部署到docker和ghcr里面<br>然后这个教程就诞生了(bushi<br><span id="more"></span></p>
1195
+ <h1 id="Koyeb部署"><a href="#Koyeb部署" class="headerlink" title="Koyeb部署"></a>Koyeb部署</h1><h2 id="Redis数据库"><a href="#Redis数据库" class="headerlink" title="Redis数据库"></a>Redis数据库</h2><p>这个不蒜子默认用的Redis数据库,这边推荐<a href="https://upstash.com/">upstash</a><br>直接注册个账号然后新建个项目<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_NKCiPPkXqL.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_NKCiPPkXqL.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>复制这里面的数据库地址(后面的“:”和端口要复制下来!)和密码</p>
1196
+ <h2 id="正式开始部署"><a href="#正式开始部署" class="headerlink" title="正式开始部署"></a>正式开始部署</h2><p>老样子,注册个koyeb账号<br>注册koyeb账号必须开t才没有银行卡验证的选项<br>(注册过koyeb账号且没有部署项目就不用这个步骤)<br>然后再新建个Web Service<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_Kd4LmCDhpM.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_Kd4LmCDhpM.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>选择docker<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rAnK6dlRB5.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rAnK6dlRB5.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>image填写<code>docker.io/szninty/busuanzi:houtai</code>或者<code>ghcr.io/SinzMise/busuanzi</code><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_TZkQypDvYW.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_TZkQypDvYW.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>划到下面,点击Advanced,添加环境变量<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rZ7fnbMSfz.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rZ7fnbMSfz.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>| Name | Value |必选|<br>| —————- | —————- | —————- |<br>|API_SERVER|busuanzi.js API地址 需要转译|√|<br>|REDIS_ADDR|Redis 数据库地址(带端口)|√|<br>|REDIS_PWD|Redis 密码|√|<br>|JWT_SECRET|JWT加密秘钥,可乱填|√|<br>|ADMIN_PASSWORD|后台管理密码|√|<br>|LOG_ENABLE|是否开启日志,默认 true||<br>下面的port改为<code>8080</code><br>准备好了之后可以点击deploy,等一会就可以体验到不蒜子了</p>
1196
1197
  ]]></content>
1197
1198
  <categories>
1198
1199
  <category>站点折腾</category>
1199
1200
  </categories>
1200
1201
  <tags>
1201
1202
  <tag>站点折腾</tag>
1202
- <tag>站点底部魔改</tag>
1203
+ <tag>自建部署</tag>
1203
1204
  </tags>
1204
1205
  </entry>
1205
1206
  <entry>
1206
- <title>自建不蒜子API</title>
1207
- <url>/posts/28536/</url>
1208
- <content><![CDATA[<p><a href="https://busuanzi.ibruce.info/">不蒜子</a>是一款很好用的前端计数工具,但是因为流量日渐变多,经常会出现 502 的情况<br>于是就找到了<a href="https://github.com/soxft/busuanzi">soxft/busuanzi</a>,然后用docker成功在Koyeb上部署不蒜子<br>但是由于这个不蒜子没有Web 管理面板,而如果之前使用的是其他程序统计访问量,切换到使用 busuanzi 来统计,就需要修改访问量<br>所以我基于<a href="https://github.com/yuantuo666/busuanzi">yuantuo666/busuanzi</a>这个版本的不蒜子魔改,然后将其部署到docker和ghcr里面<br>然后这个教程就诞生了(bushi<br><span id="more"></span></p>
1209
- <h1 id="Koyeb部署"><a href="#Koyeb部署" class="headerlink" title="Koyeb部署"></a>Koyeb部署</h1><h2 id="Redis数据库"><a href="#Redis数据库" class="headerlink" title="Redis数据库"></a>Redis数据库</h2><p>这个不蒜子默认用的Redis数据库,这边推荐<a href="https://upstash.com/">upstash</a><br>直接注册个账号然后新建个项目<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_NKCiPPkXqL.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_NKCiPPkXqL.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>复制这里面的数据库地址(后面的“:”和端口要复制下来!)和密码</p>
1210
- <h2 id="正式开始部署"><a href="#正式开始部署" class="headerlink" title="正式开始部署"></a>正式开始部署</h2><p>老样子,注册个koyeb账号<br>注册koyeb账号必须开t才没有银行卡验证的选项<br>(注册过koyeb账号且没有部署项目就不用这个步骤)<br>然后再新建个Web Service<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_Kd4LmCDhpM.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_Kd4LmCDhpM.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>选择docker<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rAnK6dlRB5.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rAnK6dlRB5.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>image填写<code>docker.io/szninty/busuanzi:houtai</code>或者<code>ghcr.io/SinzMise/busuanzi</code><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_TZkQypDvYW.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_TZkQypDvYW.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>划到下面,点击Advanced,添加环境变量<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rZ7fnbMSfz.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/msedge_rZ7fnbMSfz.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""><br>| Name | Value |必选|<br>| —————- | —————- | —————- |<br>|API_SERVER|busuanzi.js API地址 需要转译|√|<br>|REDIS_ADDR|Redis 数据库地址(带端口)|√|<br>|REDIS_PWD|Redis 密码|√|<br>|JWT_SECRET|JWT加密秘钥,可乱填|√|<br>|ADMIN_PASSWORD|后台管理密码|√|<br>|LOG_ENABLE|是否开启日志,默认 true||<br>下面的port改为<code>8080</code><br>准备好了之后可以点击deploy,等一会就可以体验到不蒜子了</p>
1207
+ <title>萌ICP备异次元之旅</title>
1208
+ <url>/posts/58203/</url>
1209
+ <content><![CDATA[<p>今天在修改我那萌备的时候,无意在导航栏上看到了“异次元”这玩意<br>看主页是类似于“开往”,只不过仅跳转到萌备详情页面而不是直接进入站点<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230724/msedge_OyAWChkztM.5m8n4321oak0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230724/msedge_OyAWChkztM.5m8n4321oak0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_OyAWChkztM"><br>又因为我站点已经加入了萌ICP备,所以我就将这玩意添加到底部列表里面了<br><span id="more"></span></p>
1210
+ <h1 id="添加方法"><a href="#添加方法" class="headerlink" title="添加方法"></a>添加方法</h1><p>如果没有你没有加入萌ICP备豪华套餐的话,点击这里加入:<a href="https://icp.gov.moe/join.php">加入萌备</a><br>如果你加入了,那么按照 <a href="https://moe.one/thread-254.htm">https://moe.one/thread-254.htm</a> 里的配色方案添加</p>
1211
1211
  ]]></content>
1212
1212
  <categories>
1213
1213
  <category>站点折腾</category>
1214
1214
  </categories>
1215
1215
  <tags>
1216
1216
  <tag>站点折腾</tag>
1217
- <tag>自建部署</tag>
1217
+ <tag>站点底部魔改</tag>
1218
1218
  </tags>
1219
1219
  </entry>
1220
1220
  <entry>