sinzmise-cetastories 2.0.0-1731117033698 → 2.0.0-1731119021680
Sign up to get free protection for your applications and to get access to all the features.
- package/404/index.html +1 -1
- package/about/index.html +1 -1
- package/album/index.html +1 -1
- package/archives/2021/12/index.html +1 -1
- package/archives/2021/index.html +1 -1
- package/archives/2022/12/index.html +1 -1
- package/archives/2022/index.html +1 -1
- package/archives/2023/01/index.html +1 -1
- package/archives/2023/02/index.html +1 -1
- package/archives/2023/03/index.html +1 -1
- package/archives/2023/04/index.html +1 -1
- package/archives/2023/07/index.html +1 -1
- package/archives/2023/08/index.html +1 -1
- package/archives/2023/09/index.html +1 -1
- package/archives/2023/10/index.html +1 -1
- package/archives/2023/11/index.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/2023/page/2/index.html +1 -1
- package/archives/2023/page/3/index.html +1 -1
- package/archives/2024/01/index.html +1 -1
- package/archives/2024/02/index.html +1 -1
- package/archives/2024/03/index.html +1 -1
- package/archives/2024/04/index.html +1 -1
- package/archives/2024/05/index.html +1 -1
- package/archives/2024/06/index.html +1 -1
- package/archives/2024/07/index.html +1 -1
- package/archives/2024/08/index.html +1 -1
- package/archives/2024/09/index.html +1 -1
- package/archives/2024/10/index.html +1 -1
- package/archives/2024/index.html +1 -1
- package/archives/2024/page/2/index.html +1 -1
- package/archives/index.html +1 -1
- package/archives/page/2/index.html +1 -1
- package/archives/page/3/index.html +1 -1
- package/archives/page/4/index.html +1 -1
- package/archives/page/5/index.html +1 -1
- package/atom.xml +31 -31
- package/bbs/bbs.html +1 -1
- package/bbs/index.html +1 -1
- package/categories/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/charts/index.html +1 -1
- package/comments/index.html +1 -1
- package/essay/index.html +1 -1
- package/fcircle/index.html +1 -1
- package/games +18 -4
- package/images/siteicon/android/android-launchericon-144-144.png +0 -0
- package/images/siteicon/android/android-launchericon-192-192.png +0 -0
- package/images/siteicon/android/android-launchericon-48-48.png +0 -0
- package/images/siteicon/android/android-launchericon-512-512.png +0 -0
- package/images/siteicon/android/android-launchericon-72-72.png +0 -0
- package/images/siteicon/android/android-launchericon-96-96.png +0 -0
- package/images/siteicon/ios/100.png +0 -0
- package/images/siteicon/ios/1024.png +0 -0
- package/images/siteicon/ios/114.png +0 -0
- package/images/siteicon/ios/120.png +0 -0
- package/images/siteicon/ios/128.png +0 -0
- package/images/siteicon/ios/144.png +0 -0
- package/images/siteicon/ios/152.png +0 -0
- package/images/siteicon/ios/16.png +0 -0
- package/images/siteicon/ios/167.png +0 -0
- package/images/siteicon/ios/180.png +0 -0
- package/images/siteicon/ios/192.png +0 -0
- package/images/siteicon/ios/20.png +0 -0
- package/images/siteicon/ios/256.png +0 -0
- package/images/siteicon/ios/29.png +0 -0
- package/images/siteicon/ios/32.png +0 -0
- package/images/siteicon/ios/40.png +0 -0
- package/images/siteicon/ios/50.png +0 -0
- package/images/siteicon/ios/512.png +0 -0
- package/images/siteicon/ios/57.png +0 -0
- package/images/siteicon/ios/58.png +0 -0
- package/images/siteicon/ios/60.png +0 -0
- package/images/siteicon/ios/64.png +0 -0
- package/images/siteicon/ios/72.png +0 -0
- package/images/siteicon/ios/76.png +0 -0
- package/images/siteicon/ios/80.png +0 -0
- package/images/siteicon/ios/87.png +0 -0
- package/images/siteicon/windows11/LargeTile.scale-100.png +0 -0
- package/images/siteicon/windows11/LargeTile.scale-125.png +0 -0
- package/images/siteicon/windows11/LargeTile.scale-150.png +0 -0
- package/images/siteicon/windows11/LargeTile.scale-200.png +0 -0
- package/images/siteicon/windows11/LargeTile.scale-400.png +0 -0
- package/images/siteicon/windows11/SmallTile.scale-100.png +0 -0
- package/images/siteicon/windows11/SmallTile.scale-125.png +0 -0
- package/images/siteicon/windows11/SmallTile.scale-150.png +0 -0
- package/images/siteicon/windows11/SmallTile.scale-200.png +0 -0
- package/images/siteicon/windows11/SmallTile.scale-400.png +0 -0
- package/images/siteicon/windows11/SplashScreen.scale-100.png +0 -0
- package/images/siteicon/windows11/SplashScreen.scale-125.png +0 -0
- package/images/siteicon/windows11/SplashScreen.scale-150.png +0 -0
- package/images/siteicon/windows11/SplashScreen.scale-200.png +0 -0
- package/images/siteicon/windows11/SplashScreen.scale-400.png +0 -0
- package/images/siteicon/windows11/Square150x150Logo.scale-100.png +0 -0
- package/images/siteicon/windows11/Square150x150Logo.scale-125.png +0 -0
- package/images/siteicon/windows11/Square150x150Logo.scale-150.png +0 -0
- package/images/siteicon/windows11/Square150x150Logo.scale-200.png +0 -0
- package/images/siteicon/windows11/Square150x150Logo.scale-400.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-16.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-20.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-24.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-256.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-30.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-32.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-36.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-40.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-44.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-48.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-60.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-64.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-72.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-80.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-lightunplated_targetsize-96.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-16.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-20.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-24.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-256.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-30.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-32.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-36.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-40.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-44.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-48.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-60.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-64.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-72.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-80.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.altform-unplated_targetsize-96.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.scale-100.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.scale-125.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.scale-150.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.scale-200.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.scale-400.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-16.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-20.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-24.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-256.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-30.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-32.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-36.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-40.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-44.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-48.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-60.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-64.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-72.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-80.png +0 -0
- package/images/siteicon/windows11/Square44x44Logo.targetsize-96.png +0 -0
- package/images/siteicon/windows11/StoreLogo.scale-100.png +0 -0
- package/images/siteicon/windows11/StoreLogo.scale-125.png +0 -0
- package/images/siteicon/windows11/StoreLogo.scale-150.png +0 -0
- package/images/siteicon/windows11/StoreLogo.scale-200.png +0 -0
- package/images/siteicon/windows11/StoreLogo.scale-400.png +0 -0
- package/images/siteicon/windows11/Wide310x150Logo.scale-100.png +0 -0
- package/images/siteicon/windows11/Wide310x150Logo.scale-125.png +0 -0
- package/images/siteicon/windows11/Wide310x150Logo.scale-150.png +0 -0
- package/images/siteicon/windows11/Wide310x150Logo.scale-200.png +0 -0
- package/images/siteicon/windows11/Wide310x150Logo.scale-400.png +0 -0
- package/index.html +1 -1
- package/link/index.html +1 -1
- package/manifest.json +1 -1
- package/maps/sw.js.map +1 -1
- package/music/index.html +1 -1
- package/package.json +1 -1
- package/page/2/index.html +1 -1
- package/page/3/index.html +1 -1
- package/page/4/index.html +1 -1
- package/page/5/index.html +1 -1
- package/posts/10021/index.html +3 -3
- package/posts/10045/index.html +1 -1
- package/posts/10733/index.html +1 -1
- package/posts/10996/index.html +3 -3
- package/posts/12779/index.html +1 -1
- package/posts/13624/index.html +1 -1
- package/posts/15688/index.html +1 -1
- package/posts/15748/index.html +3 -3
- package/posts/15799/index.html +1 -1
- package/posts/15842/index.html +3 -3
- package/posts/16107/index.html +1 -1
- package/posts/18063/index.html +1 -1
- package/posts/20412/index.html +1 -1
- package/posts/21375/index.html +1 -1
- package/posts/22945/index.html +2 -2
- package/posts/23021/index.html +1 -1
- package/posts/27531/index.html +3 -3
- package/posts/28536/index.html +1 -1
- package/posts/28733/index.html +1 -1
- package/posts/29196/index.html +1 -1
- package/posts/38917/index.html +1 -1
- package/posts/38964/index.html +1 -1
- package/posts/42487/index.html +1 -1
- package/posts/42580/index.html +1 -1
- package/posts/45875/index.html +1 -1
- package/posts/46640/index.html +1 -1
- package/posts/48762/index.html +1 -1
- package/posts/50710/index.html +1 -1
- package/posts/52677/index.html +1 -1
- package/posts/53662/index.html +1 -1
- package/posts/54386/index.html +1 -1
- package/posts/54481/index.html +1 -1
- package/posts/54787/index.html +3 -3
- package/posts/56467/index.html +1 -1
- package/posts/57692/index.html +1 -1
- package/posts/58203/index.html +1 -1
- package/posts/61417/index.html +1 -1
- package/posts/61712/index.html +1 -1
- package/posts/646/index.html +1 -1
- package/posts/64856/index.html +1 -1
- package/posts/64935/index.html +1 -1
- package/search.xml +84 -84
- package/seas/index.html +1 -1
- package/sw.js +1 -1
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
- package/tags/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
- package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
- 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
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/update/index.html +1 -1
package/search.xml
CHANGED
@@ -9,24 +9,6 @@
|
|
9
9
|
<h1 id="玩过的游戏(加粗为常玩)"><a href="#玩过的游戏(加粗为常玩)" class="headerlink" title="玩过的游戏(加粗为常玩)"></a>玩过的游戏(加粗为常玩)</h1><p><strong>赛马娘(台服)</strong><br><strong>蔚蓝档案(台服)</strong><br>重返未来1999 (暂退)<br>Minecraft <psw>(放心不是冈易那个MC)</psw><br>Roblox<br>光·遇(安小歪推荐的)<br>Phigros<br>Sonolus<br>节奏大师回归版<br>BanG Dream<br>荒野乱斗(现实朋友推荐的)<br>暗区突围(千寻推荐的)</p>
|
10
10
|
<h1 id="后记"><a href="#后记" class="headerlink" title="后记"></a>后记</h1><p>2023年即将到来,我也将我友链页面的“博客描述”改成:欢迎旅行者,来到这个平凡但又记载了许多故事的小屋<br>并且将中弦局图标更新:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/SinZero%E6%96%B0%E5%9B%BE%E6%A0%87.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/MYPictures@master/SinZero%E6%96%B0%E5%9B%BE%E6%A0%87.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="中弦局新图标"><br><psw>(虽然有点缺陷,但后面会优化)</psw></p>
|
11
11
|
<p>最后你有没有想对2023说的话?请写在评论区吧<br>再见,2023<br>你好,2024</p>
|
12
|
-
]]></content>
|
13
|
-
<categories>
|
14
|
-
<category>个人小记</category>
|
15
|
-
</categories>
|
16
|
-
<tags>
|
17
|
-
<tag>个人小记</tag>
|
18
|
-
</tags>
|
19
|
-
</entry>
|
20
|
-
<entry>
|
21
|
-
<title>2024-02小记</title>
|
22
|
-
<url>/posts/15842/</url>
|
23
|
-
<content><![CDATA[<div class="note success"><p>本文章已经同步到xLog:<a href="https://xlog.sinzmise.top/write-2024-02">https://xlog.sinzmise.top/write-2024-02</a> </p></div>
|
24
|
-
<p>时间真快,转眼间,新年、2月过去了<br>就让这里写下我2月做了什么吧<br><span id="more"></span></p>
|
25
|
-
<h1 id="伺か(伪春菜),我并未忘记"><a href="#伺か(伪春菜),我并未忘记" class="headerlink" title="伺か(伪春菜),我并未忘记"></a>伺か(伪春菜),我并未忘记</h1><p>从之前我就想将明猪大佬的网页版伪春菜看板娘搞到Hexo里去,因为时间等原因我并未实施<br>现在我把它搞上去了,效果如下:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/msedge_KiupgoTMYf.101wojo3eg.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/msedge_KiupgoTMYf.101wojo3eg.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_KiupgoTMYf"><br>目前所使用的人格是落鸟,后面如果有时间的话我写个Hexo插件,然后在插件里切换人格<br>还有有关聊天功能嘛。。。。。我是打算用AI来实现啦。。。。。。。</p>
|
26
|
-
<p>(2024-05 因为新博客部署伪春菜的时候出现了一些问题,导致春菜没到新家,很抱歉!目前正在修复)</p>
|
27
|
-
<p>现在因为开学了,所以不能经常打开ssp看橘花和绿坝娘(没错,也有人做绿坝娘的ssp人格,甚至还是有配音的)<br>但是我依然没有忘掉他们。。。。。。<br>就像我之前的文章里说的,希望伪春菜这个圈子能跟以前一样在国内重新爆发活力<br>(虽然代价是圈子变臭,还不如让很少人了解这个圈子。。。。。)</p>
|
28
|
-
<h1 id="Memos又寄了。。。。。。"><a href="#Memos又寄了。。。。。。" class="headerlink" title="Memos又寄了。。。。。。"></a>Memos又寄了。。。。。。</h1><p>我是没想到Koyeb会暂停部署,Kuma来了也没管用<br>算了,后面我找个免费方法再搞Memos吧<br>反正现在还能访问,{ psw 这个干脆就做简短点啦。。。。。(bushi) }</p>
|
29
|
-
<h1 id="GTA-V,启动!"><a href="#GTA-V,启动!" class="headerlink" title="GTA V,启动!"></a>GTA V,启动!</h1><p>别问为啥要把这个放在二月小记,我只能在周末才能碰到电脑,也因此只能在假期写文章<br>{ psw 也别问我为啥不在手机上写,我Qexo都没搞。。。。。。 }<br>经过小何的邀请下,我决定入坑GTA5,并且在小何的帮助下成功用15块钱搞到了GTA5白号<br>他带我打了个差事,然后抢抢便利店,最后还打了死亡对战(虽然平局了)<br>怎么说呢。。。。。。。虽然我玩的游戏很多,但因为我很少玩游戏,所以不知道怎么评价<br>但怎么说呢,总归也入坑了一款我没玩过的游戏呢</p>
|
30
12
|
]]></content>
|
31
13
|
<categories>
|
32
14
|
<category>个人小记</category>
|
@@ -62,14 +44,15 @@
|
|
62
44
|
</tags>
|
63
45
|
</entry>
|
64
46
|
<entry>
|
65
|
-
<title>2024-
|
66
|
-
<url>/posts/
|
67
|
-
<content><![CDATA[<div class="note success"><p>本文章已经同步到xLog:<a href="https://xlog.sinzmise.top/write-2024-
|
68
|
-
<p
|
69
|
-
<h1 id="
|
70
|
-
<
|
71
|
-
<p
|
72
|
-
<h1 id="
|
47
|
+
<title>2024-02小记</title>
|
48
|
+
<url>/posts/15842/</url>
|
49
|
+
<content><![CDATA[<div class="note success"><p>本文章已经同步到xLog:<a href="https://xlog.sinzmise.top/write-2024-02">https://xlog.sinzmise.top/write-2024-02</a> </p></div>
|
50
|
+
<p>时间真快,转眼间,新年、2月过去了<br>就让这里写下我2月做了什么吧<br><span id="more"></span></p>
|
51
|
+
<h1 id="伺か(伪春菜),我并未忘记"><a href="#伺か(伪春菜),我并未忘记" class="headerlink" title="伺か(伪春菜),我并未忘记"></a>伺か(伪春菜),我并未忘记</h1><p>从之前我就想将明猪大佬的网页版伪春菜看板娘搞到Hexo里去,因为时间等原因我并未实施<br>现在我把它搞上去了,效果如下:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/msedge_KiupgoTMYf.101wojo3eg.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/msedge_KiupgoTMYf.101wojo3eg.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_KiupgoTMYf"><br>目前所使用的人格是落鸟,后面如果有时间的话我写个Hexo插件,然后在插件里切换人格<br>还有有关聊天功能嘛。。。。。我是打算用AI来实现啦。。。。。。。</p>
|
52
|
+
<p>(2024-05 因为新博客部署伪春菜的时候出现了一些问题,导致春菜没到新家,很抱歉!目前正在修复)</p>
|
53
|
+
<p>现在因为开学了,所以不能经常打开ssp看橘花和绿坝娘(没错,也有人做绿坝娘的ssp人格,甚至还是有配音的)<br>但是我依然没有忘掉他们。。。。。。<br>就像我之前的文章里说的,希望伪春菜这个圈子能跟以前一样在国内重新爆发活力<br>(虽然代价是圈子变臭,还不如让很少人了解这个圈子。。。。。)</p>
|
54
|
+
<h1 id="Memos又寄了。。。。。。"><a href="#Memos又寄了。。。。。。" class="headerlink" title="Memos又寄了。。。。。。"></a>Memos又寄了。。。。。。</h1><p>我是没想到Koyeb会暂停部署,Kuma来了也没管用<br>算了,后面我找个免费方法再搞Memos吧<br>反正现在还能访问,{ psw 这个干脆就做简短点啦。。。。。(bushi) }</p>
|
55
|
+
<h1 id="GTA-V,启动!"><a href="#GTA-V,启动!" class="headerlink" title="GTA V,启动!"></a>GTA V,启动!</h1><p>别问为啥要把这个放在二月小记,我只能在周末才能碰到电脑,也因此只能在假期写文章<br>{ psw 也别问我为啥不在手机上写,我Qexo都没搞。。。。。。 }<br>经过小何的邀请下,我决定入坑GTA5,并且在小何的帮助下成功用15块钱搞到了GTA5白号<br>他带我打了个差事,然后抢抢便利店,最后还打了死亡对战(虽然平局了)<br>怎么说呢。。。。。。。虽然我玩的游戏很多,但因为我很少玩游戏,所以不知道怎么评价<br>但怎么说呢,总归也入坑了一款我没玩过的游戏呢</p>
|
73
56
|
]]></content>
|
74
57
|
<categories>
|
75
58
|
<category>个人小记</category>
|
@@ -79,15 +62,14 @@
|
|
79
62
|
</tags>
|
80
63
|
</entry>
|
81
64
|
<entry>
|
82
|
-
<title>2024-
|
83
|
-
<url>/posts/
|
84
|
-
<content><![CDATA[<p
|
85
|
-
<
|
86
|
-
<p><
|
87
|
-
<h1 id="
|
88
|
-
<
|
89
|
-
<p
|
90
|
-
<p>以上(虽然还有一场考试。。。。。但是是在下周四)</p>
|
65
|
+
<title>2024-04小记</title>
|
66
|
+
<url>/posts/15748/</url>
|
67
|
+
<content><![CDATA[<div class="note success"><p>本文章已经同步到xLog:<a href="https://xlog.sinzmise.top/write-2024-04">https://xlog.sinzmise.top/write-2024-04</a> </p></div>
|
68
|
+
<p>先祝大家劳动节快乐(虽然已经过了一天),也提前祝大家五四青年节快乐!<br>然后,正片开始!<br><span id="more"></span></p>
|
69
|
+
<h1 id="Akilar群寄了"><a href="#Akilar群寄了" class="headerlink" title="Akilar群寄了"></a>Akilar群寄了</h1><p>这件事还是小何告诉我的<psw>(小何没告诉我之前我还不知道)</psw><br>看店长的文章我才知道大概是有群友转发了含R18内容的聊天记录,然后Akliar才把群给解散的<br>Akilar的通知:<br><div class="tag link"><a class="link-card" title="关于群聊更换的紧急通知" href="https://akilar.top/posts/c215d440/"><div class="left"><img src="https://npm.elemecdn.com/akiblog@1.0.2/img/siteicon/favicon.png" class="lazyload" data-srcset="https://npm.elemecdn.com/akiblog@1.0.2/img/siteicon/favicon.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="/></div><div class="right"><p class="text">关于群聊更换的紧急通知</p><p class="url">https://akilar.top/posts/c215d440/</p></div></a></div><br>Akilar新群:<br><div class="tag link"><a class="link-card" title="Akilarの糖果屋-新群" href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=foNxpbHAuNFbc_cGIcPS_Qjc2Zk1uy-u&authKey=%2FO6mPpYjRlwIjqfWE7AnMfJpYW9zfDAkaHRACm1Wn9Mg7cjkyAcbkGTwpsqMIno9&noverify=0&group_code=725597418"><div class="left"><img src="https://npm.elemecdn.com/akiblog@1.0.2/img/siteicon/favicon.png" class="lazyload" data-srcset="https://npm.elemecdn.com/akiblog@1.0.2/img/siteicon/favicon.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="/></div><div class="right"><p class="text">Akilarの糖果屋-新群</p><p class="url">http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=foNxpbHAuNFbc_cGIcPS_Qjc2Zk1uy-u&authKey=%2FO6mPpYjRlwIjqfWE7AnMfJpYW9zfDAkaHRACm1Wn9Mg7cjkyAcbkGTwpsqMIno9&noverify=0&group_code=725597418</p></div></a></div><br>然后洪mac一年一月八日<del>(bushi)</del>(也就是2024年五月三日),我加入了Akilar的新群</p>
|
70
|
+
<h1 id="加入笔墨迹"><a href="#加入笔墨迹" class="headerlink" title="加入笔墨迹"></a>加入笔墨迹</h1><p>Blogs·CN(笔墨迹)是一个位于中国境内的平台,致力于发掘和分享”优秀个人独立博客”。</p>
|
71
|
+
<p>我老早之前就想加入了,但是那天由于博客要重新装修,所以我没加入<br>现在装修好了,可以加入了<br>目前已经通过</p>
|
72
|
+
<h1 id="博客更新"><a href="#博客更新" class="headerlink" title="博客更新"></a>博客更新</h1><p>请看这个:<br><div class="tag link"><a class="link-card" title="更新记录" href="/update/"><div class="left"><img src="https://jsd.cdn.storisinz.site/npm/volantis-static@0.0.1660614606622/media/org.volantis/logo/256/safari.png" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/npm/volantis-static@0.0.1660614606622/media/org.volantis/logo/256/safari.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="/></div><div class="right"><p class="text">更新记录</p><p class="url">/update/</p></div></a></div></p>
|
91
73
|
]]></content>
|
92
74
|
<categories>
|
93
75
|
<category>个人小记</category>
|
@@ -113,6 +95,24 @@
|
|
113
95
|
<p>至于我那 xLog 站点的名字,既然我给 Hexo 的主题 UI 是 CetaStories(名字修改于希腊字母 Theta)</p>
|
114
96
|
<p>那名字决定了!那个xLog博客名字就叫星空魔法书・Delta 吧!<br>我的xLog链接:<a href="https://xlog.sinzmise.top/">https://xlog.sinzmise.top/</a></p>
|
115
97
|
<p>以上</p>
|
98
|
+
]]></content>
|
99
|
+
<categories>
|
100
|
+
<category>个人小记</category>
|
101
|
+
</categories>
|
102
|
+
<tags>
|
103
|
+
<tag>个人小记</tag>
|
104
|
+
</tags>
|
105
|
+
</entry>
|
106
|
+
<entry>
|
107
|
+
<title>2024-06小记</title>
|
108
|
+
<url>/posts/64935/</url>
|
109
|
+
<content><![CDATA[<p>很好,马上就快到暑假了,但我得7月11日才开始正式放暑假。。。。。。<br>(bobo和小何、安小歪都已经开始放暑假了。。。。。。)<br>算了,正片开始吧<br><span id="more"></span></p>
|
110
|
+
<h1 id="全站npm化成功"><a href="#全站npm化成功" class="headerlink" title="全站npm化成功"></a>全站npm化成功</h1><p>经历了多次翻车之后,本站的全站npm化终于成功了<br>我那全站npm化的方案与byer那篇文章不同,我的方案是将hexo-swpp和<a href="https://blog.eurekac.cn/p/d3c51290.html">cyanfalse大佬的教程</a>结合起来<br>实现了npm版本自定义更新、采用CacheStorage存储来实现ServiceWorker的全局变量持久化</p>
|
111
|
+
<p><del>(结果因为英文站那边出现问题,导致我不得不再次放弃全站npm化)</del>(修好了)</p>
|
112
|
+
<h1 id="成功搞indleweb"><a href="#成功搞indleweb" class="headerlink" title="成功搞indleweb"></a>成功搞indleweb</h1><p>之前我说过,要把indleweb搞好的<br>现在终于好了<br>并且已经加入了indleweb webring<br>英文站的话。。。。。还在测试,因为并不是完全是英文的,还在修改</p>
|
113
|
+
<h1 id="收藏了几台手机"><a href="#收藏了几台手机" class="headerlink" title="收藏了几台手机"></a>收藏了几台手机</h1><p>这些都是之前在闲鱼上看见的<br>其中有一台说是配件机,说是不能开机<br>结果被我搞开机了</p>
|
114
|
+
<p>然后这三台我都给它们换了主题<br>换完主题的效果:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240705/d76602a274135b80c62d56bd26c758a.4xuf2npsag.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240705/d76602a274135b80c62d56bd26c758a.4xuf2npsag.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="d76602a274135b80c62d56bd26c758a"><br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240705/0dbf4a6d201aa874c099abce975c7cb.1lbp8a96lv.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20240705/0dbf4a6d201aa874c099abce975c7cb.1lbp8a96lv.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="0dbf4a6d201aa874c099abce975c7cb"></p>
|
115
|
+
<p>以上(虽然还有一场考试。。。。。但是是在下周四)</p>
|
116
116
|
]]></content>
|
117
117
|
<categories>
|
118
118
|
<category>个人小记</category>
|
@@ -199,6 +199,22 @@
|
|
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"><<span class="name">script</span> <span class="attr">src</span>=<span class="string">"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">src</span>=<span class="string">"https://cdnjs.cloudflare.com/ajax/libs/jquery-browser/0.0.8/jquery.browser.min.js"</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">script</span>></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>){</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> && $.browser.<span class="property">versionNumber</span> >= <span class="number">45</span>) { <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>({ <span class="attr">title</span>: <span class="string">'游戏标题'</span>, <span class="attr">file</span>: <span class="string">'游戏链接'</span>, <span class="attr">type</span>: <span class="string">"unity"</span>, <span class="attr">width</span>: <span class="number">800</span>, <span class="attr">height</span>: <span class="number">600</span> });</span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">try</span>{ <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"> }<span class="keyword">catch</span>(e){ </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"> }</span></span><br><span class="line"><span class="language-javascript"> </span></span><br><span class="line"><span class="language-javascript"> $(<span class="string">'#unityPlayer .missing'</span>).<span class="title function_">prepend</span>(<span class="string">'<center><a href="gameload://'</span> + insert_data + <span class="string">'/"><img alt="Play game with Gameload!" src="http://data.gameload.top/download/playgameload.png" /></a><br /><br />Install Gameload to play Unity games<br /><a href="http://data.gameload.top/download/gameload.exe" title="Install Gameload now!"><img alt="Install Gameload now!" src="http://data.gameload.top/download/getgameload.png" /></a></center>'</span>);</span></span><br><span class="line"><span class="language-javascript"> }</span></span><br><span class="line"><span class="language-javascript">});</span></span><br><span class="line"><span class="language-javascript"></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">div</span> <span class="attr">id</span>=<span class="string">"unityPlayer"</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"missing"</span>></span><span class="tag"></<span class="name">div</span>></span></span><br><span class="line"><span class="tag"></<span class="name">div</span>></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>
|
202
218
|
<entry>
|
203
219
|
<title>2024-10小记</title>
|
204
220
|
<url>/posts/61712/</url>
|
@@ -217,22 +233,6 @@
|
|
217
233
|
<tag>个人小记</tag>
|
218
234
|
</tags>
|
219
235
|
</entry>
|
220
|
-
<entry>
|
221
|
-
<title>GameLoad</title>
|
222
|
-
<url>/posts/21375/</url>
|
223
|
-
<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>
|
224
|
-
<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>
|
225
|
-
<h1 id="下载链接"><a href="#下载链接" class="headerlink" title="下载链接"></a>下载链接</h1><p><a href="https://www.gameload.top/">https://www.gameload.top/</a></p>
|
226
|
-
<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"><<span class="name">script</span> <span class="attr">src</span>=<span class="string">"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">src</span>=<span class="string">"https://cdnjs.cloudflare.com/ajax/libs/jquery-browser/0.0.8/jquery.browser.min.js"</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">script</span>></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>){</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> && $.browser.<span class="property">versionNumber</span> >= <span class="number">45</span>) { <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>({ <span class="attr">title</span>: <span class="string">'游戏标题'</span>, <span class="attr">file</span>: <span class="string">'游戏链接'</span>, <span class="attr">type</span>: <span class="string">"unity"</span>, <span class="attr">width</span>: <span class="number">800</span>, <span class="attr">height</span>: <span class="number">600</span> });</span></span><br><span class="line"><span class="language-javascript"> <span class="keyword">try</span>{ <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"> }<span class="keyword">catch</span>(e){ </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"> }</span></span><br><span class="line"><span class="language-javascript"> </span></span><br><span class="line"><span class="language-javascript"> $(<span class="string">'#unityPlayer .missing'</span>).<span class="title function_">prepend</span>(<span class="string">'<center><a href="gameload://'</span> + insert_data + <span class="string">'/"><img alt="Play game with Gameload!" src="http://data.gameload.top/download/playgameload.png" /></a><br /><br />Install Gameload to play Unity games<br /><a href="http://data.gameload.top/download/gameload.exe" title="Install Gameload now!"><img alt="Install Gameload now!" src="http://data.gameload.top/download/getgameload.png" /></a></center>'</span>);</span></span><br><span class="line"><span class="language-javascript"> }</span></span><br><span class="line"><span class="language-javascript">});</span></span><br><span class="line"><span class="language-javascript"></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">div</span> <span class="attr">id</span>=<span class="string">"unityPlayer"</span>></span></span><br><span class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"missing"</span>></span><span class="tag"></<span class="name">div</span>></span></span><br><span class="line"><span class="tag"></<span class="name">div</span>></span></span><br></pre></td></tr></table></figure></p>
|
227
|
-
]]></content>
|
228
|
-
<categories>
|
229
|
-
<category>游戏相关</category>
|
230
|
-
</categories>
|
231
|
-
<tags>
|
232
|
-
<tag>游戏相关</tag>
|
233
|
-
<tag>其它游戏</tag>
|
234
|
-
</tags>
|
235
|
-
</entry>
|
236
236
|
<entry>
|
237
237
|
<title>Gameload示例</title>
|
238
238
|
<url>/posts/20412/</url>
|
@@ -914,21 +914,6 @@ function loadkaixinmusic() {
|
|
914
914
|
<tag>个人小记</tag>
|
915
915
|
</tags>
|
916
916
|
</entry>
|
917
|
-
<entry>
|
918
|
-
<title>如果你觉得不开心的话,就来听一下这些纯音乐吧</title>
|
919
|
-
<url>/posts/54386/</url>
|
920
|
-
<content><![CDATA[<p>如果你觉得不开心,或者有些压力的话,就来听一下这些歌曲吧<br>希望这些歌曲能够温暖你的心灵<br><span id="more"></span></p>
|
921
|
-
<h1 id="轻音乐"><a href="#轻音乐" class="headerlink" title="轻音乐"></a>轻音乐</h1>
|
922
|
-
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=450 src="//music.163.com/outchain/player?type=0&id=8706644516&auto=0&height=430"></iframe>
|
923
|
-
|
924
|
-
]]></content>
|
925
|
-
<categories>
|
926
|
-
<category>歌曲收集</category>
|
927
|
-
</categories>
|
928
|
-
<tags>
|
929
|
-
<tag>歌曲收集</tag>
|
930
|
-
</tags>
|
931
|
-
</entry>
|
932
917
|
<entry>
|
933
918
|
<title>游玩mud游戏</title>
|
934
919
|
<url>/posts/38917/</url>
|
@@ -972,6 +957,21 @@ function loadkaixinmusic() {
|
|
972
957
|
<tag>其它游戏</tag>
|
973
958
|
</tags>
|
974
959
|
</entry>
|
960
|
+
<entry>
|
961
|
+
<title>如果你觉得不开心的话,就来听一下这些纯音乐吧</title>
|
962
|
+
<url>/posts/54386/</url>
|
963
|
+
<content><![CDATA[<p>如果你觉得不开心,或者有些压力的话,就来听一下这些歌曲吧<br>希望这些歌曲能够温暖你的心灵<br><span id="more"></span></p>
|
964
|
+
<h1 id="轻音乐"><a href="#轻音乐" class="headerlink" title="轻音乐"></a>轻音乐</h1>
|
965
|
+
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=450 src="//music.163.com/outchain/player?type=0&id=8706644516&auto=0&height=430"></iframe>
|
966
|
+
|
967
|
+
]]></content>
|
968
|
+
<categories>
|
969
|
+
<category>歌曲收集</category>
|
970
|
+
</categories>
|
971
|
+
<tags>
|
972
|
+
<tag>歌曲收集</tag>
|
973
|
+
</tags>
|
974
|
+
</entry>
|
975
975
|
<entry>
|
976
976
|
<title>我使用过的头像</title>
|
977
977
|
<url>/posts/42487/</url>
|
@@ -1125,6 +1125,24 @@ function loadkaixinmusic() {
|
|
1125
1125
|
<tag>加载动画</tag>
|
1126
1126
|
</tags>
|
1127
1127
|
</entry>
|
1128
|
+
<entry>
|
1129
|
+
<title>给你的站点添加个可可爱爱的看板娘——伪春菜</title>
|
1130
|
+
<url>/posts/54787/</url>
|
1131
|
+
<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>
|
1132
|
+
<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>
|
1133
|
+
<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> {<span class="attribute">opacity</span>:<span class="number">0.85</span>;<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">position</span>:fixed;<span class="attribute">top</span>:<span class="number">400px</span>;<span class="attribute">left</span>:<span class="number">800px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#smchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#chuncaiface</span> {<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">background-repeat</span>:no-repeat;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:<span class="number">0px</span>;}</span><br><span class="line"><span class="comment">/*#chuncaimenu {width:46px;line-height:16px;float:left;font-size:12px;cursor:pointer;background-color:#666;color:#FFF;text-align:center;}*/</span></span><br><span class="line"><span class="selector-id">#showchuncaimenu</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="comment">/*#showchuncaimenu ul, */</span><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">margin</span>:<span class="number">1px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">5px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-class">.wcc_mlist</span> {<span class="attribute">text-align</span>:center;<span class="attribute">width</span>:<span class="number">47%</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">4px</span> <span class="number">0px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">width</span>:<span class="number">96%</span>;}</span><br><span class="line"><span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:fixed;<span class="attribute">width</span>:<span class="number">60px</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">display</span>:none;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#dialog_chat</span> {<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:-<span class="number">205px</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_loading</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">30px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/loading.gif"</span>) no-repeat center center;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#chat_top</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">5px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_top.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span>, <span class="selector-id">#chuncaisaying</span>, <span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding-left</span>:<span class="number">0px</span>;<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">background-color</span>:<span class="number">#ffffee</span>;}</span><br><span class="line"><span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span>,<span class="selector-id">#chuncaisaying</span> {<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">2px</span>; <span class="attribute">width</span>:<span class="number">196px</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span> {<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">border-left</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">border-right</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;}</span><br><span class="line"><span class="selector-id">#chat_bottom</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">10px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_bottom.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#chat_top</span>, <span class="selector-id">#chat_bottom</span> {}</span><br><span class="line"><span class="selector-id">#tempsaying</span>, <span class="selector-id">#hiddenfaces</span> {<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#getmenu</span> {<span class="attribute">width</span>:<span class="number">95%</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/menu.jpg"</span>) no-repeat top right;}</span><br><span class="line"><span class="selector-id">#addinput</span> {<span class="attribute">width</span>:<span class="number">240px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">150px</span>;<span class="attribute">left</span>:-<span class="number">260px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#888</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;<span class="attribute">padding-top</span>:<span class="number">2px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#inp_l</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">220px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;}</span><br><span class="line"><span class="selector-id">#inp_r</span> {<span class="attribute">float</span><span class="selector-pseudo">:right</span>;<span class="attribute">width</span>:<span class="number">20px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">text-align</span>:center;<span class="attribute">cursor</span>:pointer;}</span><br><span class="line"><span class="selector-id">#talk</span> {<span class="attribute">border</span>:none;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">180px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;}</span><br><span class="line"><span class="selector-id">#talkto</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">border</span>:none;<span class="attribute">width</span>:<span class="number">30px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/ok.jpg"</span>);<span class="attribute">cursor</span>:pointer;}</span><br></pre></td></tr></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">''</span>;</span><br><span class="line"><span class="title function_">smjq</span>(<span class="variable language_">document</span>).<span class="title function_">ready</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> getwidth = <span class="title function_">getCookie</span>(<span class="string">"historywidth"</span>);</span><br><span class="line"> <span class="keyword">var</span> getheight = <span class="title function_">getCookie</span>(<span class="string">"historyheight"</span>);</span><br><span class="line"> <span class="keyword">if</span>(getwidth != <span class="literal">null</span> && getheight != <span class="literal">null</span>){</span><br><span class="line"> <span class="keyword">var</span> width = getwidth;</span><br><span class="line"> <span class="keyword">var</span> height = getheight;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> width = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>- <span class="number">200</span> - imagewidth;</span><br><span class="line"> <span class="keyword">var</span> height = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>- <span class="number">180</span> - imageheight;</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> cwidth = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>-<span class="number">100</span>;</span><br><span class="line"> <span class="keyword">var</span> cheight = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>-<span class="number">20</span>;</span><br><span class="line"> <span class="comment">//var height = document.body.clientHeight-200;</span></span><br><span class="line"> <span class="keyword">var</span> moveX = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveY = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveTop = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveLeft = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveable = <span class="literal">false</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseMoveEvent = <span class="variable language_">document</span>.<span class="property">onmousemove</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseUpEvent = <span class="variable language_">document</span>.<span class="property">onmouseup</span>;</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'<div id="smchuncai" onfocus="this.blur();" style="color:#626262;z-index:999;"><div id="chuncaiface"></div><div id="dialog_chat"><div id="chat_top"></div><div id="dialog_chat_contents"><div id="dialog_chat_loading"></div><div id="tempsaying"></div><div id="showchuncaimenu"><ul class="wcc_mlist" id="shownotice">显示公告</ul><ul class="wcc_mlist" id="chatTochuncai">聊&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;天</ul><ul class="wcc_mlist" id="foods">吃 零 食</ul><ul class="wcc_mlist" id="aboutmanage">关&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;于</ul><ul class="wcc_mlist" id="lifetimechuncai">生存时间</ul><ul class="wcc_mlist" id="closechuncai">关闭春菜</ul></div><div><ul id="chuncaisaying"></ul></div><div id="getmenu"> </div></div><div id="chat_bottom"></div></div></div>'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">append</span>(<span class="string">'<div id="addinput"><div id="inp_l"><input id="talk" type="text" name="mastersay" value="" /> <input id="talkto" type="button" value=" " /></div><div id="inp_r"> X </div></div>'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'<div id="callchuncai">召唤春菜</div>'</span>);</span><br><span class="line"> <span class="comment">//判断春菜是否处于隐藏状态</span></span><br><span class="line"> <span class="keyword">var</span> is_closechuncai = <span class="title function_">getCookie</span>(<span class="string">"is_closechuncai"</span>);</span><br><span class="line"> <span class="keyword">if</span>(is_closechuncai == <span class="string">'close'</span>){</span><br><span class="line"> <span class="title function_">closechuncai_init</span>();</span><br><span class="line"> }</span><br><span class="line"> <span class="comment">//设置初始状态</span></span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'left'</span>, width+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'top'</span>, height+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'width'</span>, imagewidth+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'height'</span>, imageheight+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"top:"</span>+cheight+<span class="string">"px; left:"</span>+cwidth+<span class="string">"px; text-align:center;"</span>);</span><br><span class="line"></span><br><span class="line"> smcc = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> smcc.<span class="property">onmousedown</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> moveable = <span class="literal">true</span>;</span><br><span class="line"> moveX = ent.<span class="property">clientX</span>;</span><br><span class="line"> moveY = ent.<span class="property">clientY</span>;</span><br><span class="line"> <span class="keyword">var</span> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> moveTop = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">top</span>);</span><br><span class="line"> moveLeft = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">left</span>);</span><br><span class="line"> <span class="keyword">if</span>(isFirefox=navigator.<span class="property">userAgent</span>.<span class="title function_">indexOf</span>(<span class="string">"Firefox"</span>)><span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="title function_">getSelection</span>().<span class="title function_">removeAllRanges</span>();</span><br><span class="line"> } </span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> <span class="keyword">var</span> x = moveLeft + ent.<span class="property">clientX</span> - moveX;</span><br><span class="line"> <span class="keyword">var</span> y = moveTop + ent.<span class="property">clientY</span> - moveY;</span><br><span class="line"> <span class="keyword">var</span> w = <span class="number">200</span>;</span><br><span class="line"> <span class="keyword">var</span> h = <span class="number">200</span>; <span class="comment">//w,h为浮层宽高</span></span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">left</span> = x + <span class="string">"px"</span>;</span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">top</span> = y + <span class="string">"px"</span>;</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> historywidth = obj.<span class="property">style</span>.<span class="property">left</span>;</span><br><span class="line"> <span class="keyword">var</span> historyheight = obj.<span class="property">style</span>.<span class="property">top</span>;</span><br><span class="line"> historywidth = historywidth.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> historyheight = historyheight.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historywidth"</span>, historywidth, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historyheight"</span>, historyheight, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = docMouseMoveEvent;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = docMouseUpEvent;</span><br><span class="line"> moveable = <span class="literal">false</span>; </span><br><span class="line"> moveX = <span class="number">0</span>;</span><br><span class="line"> moveY = <span class="number">0</span>;</span><br><span class="line"> moveTop = <span class="number">0</span>;</span><br><span class="line"> moveLeft = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#closechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">callchuncai</span>();</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#lifetimechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'showlifetime'</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chatTochuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">showInput</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#inp_r"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'不聊天了吗?(→_→)'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#talkto"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"talking"</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#aboutmanage"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"你想了解我主人?跟我来吧~~~"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="property">location</span>.<span class="property">href</span> = _about_path ;</span><br><span class="line"> }, <span class="number">2000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#foods"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"foods"</span>);</span><br><span class="line"> });</span><br><span class="line"><span class="comment">/* smjq("#showchuncaimenu").hover(function(){</span></span><br><span class="line"><span class="comment"> },function(){</span></span><br><span class="line"><span class="comment"> smjq("#showchuncaimenu").slideUp('slow').show();</span></span><br><span class="line"><span class="comment"> });*/</span></span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> tol = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">setTime</span>();</span><br><span class="line"> <span class="comment">//chuncaiSay("啊,野生的主人出现了! ~~~O口O");</span></span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>).<span class="property">onmouseover</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line"> talktime = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getEvent</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">return</span> <span class="variable language_">window</span>.<span class="property">event</span> || <span class="variable language_">arguments</span>.<span class="property">callee</span>.<span class="property">caller</span>.<span class="property">arguments</span>[<span class="number">0</span>];</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> eattimes = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">eatfood</span>(<span class="params">obj</span>){</span><br><span class="line"> <span class="keyword">var</span> gettimes = <span class="title function_">getCookie</span>(<span class="string">"eattimes"</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) > <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人是个大混蛋!!"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai_evil</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) > <span class="built_in">parseInt</span>(<span class="number">7</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">".....................肚子要炸了,死也不要再吃了~~!!!TAT"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">5</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经吃饱了,不要再吃啦......"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">3</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"多谢款待,我吃饱啦~~~ ╰( ̄▽ ̄)╭"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> id = obj.<span class="title function_">replace</span>(<span class="string">"f"</span>,<span class="string">''</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'eatsay'</span>, id);</span><br><span class="line"> }</span><br><span class="line"> eattimes++;</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"eattimes"</span>, eattimes, <span class="number">60</span>*<span class="number">10</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#showchuncaimenu").slideDown('fast').show();</span></span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"准备做什么呢?"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeChuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#chuncaisaying").css("display", "block");</span></span><br><span class="line"> <span class="title function_">showNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"记得再叫我出来哦..."</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line"> <span class="comment">//保存关闭状态的春菜</span></span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">'close'</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_evil</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_init</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">30</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">callchuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeIn</span>(<span class="string">'normal'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我回来啦~"</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiSay</span>(<span class="params">s</span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">append</span>(s);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> weichuncai_text = s;</span><br><span class="line"> <span class="title function_">typeWords</span>();</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearChuncaiSay</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"............?"</span>);</span><br><span class="line"> <span class="comment">//setFace(1);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"talk"</span>).<span class="property">value</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">createFace</span>(<span class="params">a, b, c</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"head"</span>).<span class="title function_">append</span>(<span class="string">'<div id="hiddenfaces"><img id="hf1" src="'</span>+a+<span class="string">'" /><img id="hf2" src="'</span>+b+<span class="string">'" /><img id="hf3" src="'</span>+c+<span class="string">'" /></div>'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setFace</span>(<span class="params">num</span>){</span><br><span class="line"> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"hf"</span>+num).<span class="property">src</span>;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaiface"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"background:url("</span>+obj+<span class="string">") no-repeat scroll 50% 0% transparent; width:"</span>+imagewidth+<span class="string">"px;height:"</span>+imageheight+<span class="string">"px;"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getdata</span>(<span class="params">el, id</span>){</span><br><span class="line"> smjq.<span class="title function_">ajax</span>({</span><br><span class="line"> <span class="attr">type</span>: <span class="string">'GET'</span>,</span><br><span class="line"> <span class="attr">url</span>: _weichuncai_jsonpath,</span><br><span class="line"> <span class="attr">cache</span>: <span class="string">'false'</span>,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">'html'</span>,</span><br><span class="line"> <span class="attr">contentType</span>: <span class="string">'application/json; charset=utf8'</span>,</span><br><span class="line"> <span class="attr">beforeSend</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeOut("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">fadeIn</span>(<span class="string">"normal"</span>);</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">success</span>: <span class="keyword">function</span>(<span class="params">data</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeIn("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">""</span>);</span><br><span class="line"> <span class="keyword">var</span> dat = <span class="built_in">eval</span>(<span class="string">"("</span>+data+<span class="string">")"</span>);</span><br><span class="line"> <span class="keyword">if</span>(el == <span class="string">'getnotice'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">notice</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'showlifetime'</span>){</span><br><span class="line"> <span class="title class_">BirthDay</span>=<span class="keyword">new</span> <span class="title class_">Date</span>(dat.<span class="property">showlifetime</span>);<span class="comment">//建站日期</span></span><br><span class="line"> today=<span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> timeold=(today.<span class="title function_">getTime</span>()-<span class="title class_">BirthDay</span>.<span class="title function_">getTime</span>());</span><br><span class="line"> sectimeold=timeold/<span class="number">1000</span></span><br><span class="line"> secondsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(sectimeold);</span><br><span class="line"> msPerDay=<span class="number">24</span>*<span class="number">60</span>*<span class="number">60</span>*<span class="number">1000</span></span><br><span class="line"> e_daysold=timeold/msPerDay</span><br><span class="line"> daysold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_daysold);</span><br><span class="line"> e_hrsold=(daysold-e_daysold)*-<span class="number">24</span>;</span><br><span class="line"> hrsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_hrsold);</span><br><span class="line"> e_minsold=(hrsold-e_hrsold)*-<span class="number">60</span>;</span><br><span class="line"> minsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>((hrsold-e_hrsold)*-<span class="number">60</span>);</span><br><span class="line"> seconds=<span class="title class_">Math</span>.<span class="title function_">floor</span>((minsold-e_minsold)*-<span class="number">60</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经与主人 一起生存了 "</span>+daysold+<span class="string">" 天 "</span>+hrsold+<span class="string">" 小时 "</span>+minsold+<span class="string">" 分钟 "</span>+seconds+<span class="string">" 秒的快乐时光啦~*^_^*"</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'talking'</span>){</span><br><span class="line"> <span class="keyword">var</span> talkcon = <span class="title function_">smjq</span>(<span class="string">"#talk"</span>).<span class="title function_">val</span>();</span><br><span class="line"> <span class="keyword">var</span> i = <span class="title function_">in_array</span>(talkcon, dat.<span class="property">ques</span>);</span><br><span class="line"> <span class="keyword">var</span> types = <span class="title function_">typeof</span>(i);</span><br><span class="line"> <span class="keyword">if</span>(types != <span class="string">'boolean'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">ans</span>[i]);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'.......................嗯?'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">clearInput</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'foods'</span>){</span><br><span class="line"> <span class="keyword">var</span> str=<span class="string">''</span>;</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">foods</span>;</span><br><span class="line"> <span class="keyword">var</span> preg = <span class="regexp">/function/</span>; </span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] != <span class="string">''</span> && !preg.<span class="title function_">test</span>(arr[i]) ){</span><br><span class="line"> str +=<span class="string">'<ul id="f'</span>+i+<span class="string">'" class="eatfood" onclick="eatfood(this.id)">'</span>+arr[i]+<span class="string">'</ul>'</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"eatsay"</span>){</span><br><span class="line"> <span class="keyword">var</span> str = dat.<span class="property">eatsay</span>[id];</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"talkself"</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">talkself</span>;</span><br><span class="line"> <span class="keyword">return</span> arr;</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">error</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'好像出错了,是什么错误呢...请联系管理猿'</span>);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">in_array</span>(<span class="params">str, arr</span>){</span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] == str){</span><br><span class="line"> <span class="keyword">return</span> i;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> <span class="literal">false</span>;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> timenum;</span><br><span class="line"><span class="keyword">var</span> tol=<span class="number">0</span>;</span><br><span class="line"><span class="comment">//10分钟后页面没有响应就停止活动</span></span><br><span class="line"><span class="keyword">var</span> goal = <span class="number">10</span>*<span class="number">60</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setTime</span>(<span class="params"></span>){</span><br><span class="line"> tol++;</span><br><span class="line"> <span class="comment">//document.body.innerHTML(tol);</span></span><br><span class="line"> timenum = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"setTime('"</span>+tol+<span class="string">"')"</span>, <span class="number">1000</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(tol) == <span class="built_in">parseInt</span>(goal)){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人跑到哪里去了呢...."</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stoptime</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(timenum){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(timenum);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">var</span> talktime = <span class="number">0</span>;</span><br><span class="line"><span class="comment">//设置自言自语频率(单位:秒)</span></span><br><span class="line"><span class="keyword">var</span> talkself = <span class="number">60</span>;</span><br><span class="line"><span class="keyword">var</span> talkobj;</span><br><span class="line"><span class="keyword">var</span> tsi = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"昨天我好像看见主人又在众人之前卖萌了哦~"</span>, <span class="string">"2"</span>]</span><br><span class="line">];</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">talkSelf</span>(<span class="params">talktime</span>){</span><br><span class="line"> talktime++;</span><br><span class="line"> <span class="keyword">var</span> yushu = talktime%talkself;</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(yushu) == <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> tsi = <span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>() * talkself_arr.<span class="property">length</span> + <span class="number">1</span>)-<span class="number">1</span>;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(talkself_arr[tsi][<span class="number">0</span>]);</span><br><span class="line"> <span class="title function_">setFace</span>(talkself_arr[tsi][<span class="number">1</span>]);</span><br><span class="line"> }</span><br><span class="line"> talkobj = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"talkSelf("</span>+talktime+<span class="string">")"</span>, <span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stopTalkSelf</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">arrayShuffle</span>(<span class="params">arr</span>){</span><br><span class="line"> <span class="keyword">var</span> result = [],</span><br><span class="line"> len = arr.<span class="property">length</span>;</span><br><span class="line"> <span class="keyword">while</span>(len--){</span><br><span class="line"> result[result.<span class="property">length</span>] = arr.<span class="title function_">splice</span>(<span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>()*(len+<span class="number">1</span>)),<span class="number">1</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">typeWords</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">var</span> p = <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">var</span> str = weichuncai_text.<span class="title function_">substr</span>(<span class="number">0</span>,_typei);</span><br><span class="line"> <span class="keyword">var</span> w = weichuncai_text.<span class="title function_">substr</span>(_typei,<span class="number">1</span>);</span><br><span class="line"> <span class="keyword">if</span>(w==<span class="string">"<"</span>){</span><br><span class="line"> str += weichuncai_text.<span class="title function_">substr</span>(_typei,weichuncai_text.<span class="title function_">substr</span>(_typei).<span class="title function_">indexOf</span>(<span class="string">">"</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">">"</span>)+<span class="number">1</span>;</span><br><span class="line"> }</span><br><span class="line"> _typei+=p;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = str;</span><br><span class="line"> txtst = <span class="built_in">setTimeout</span>(<span class="string">"typeWords()"</span>,<span class="number">20</span>);</span><br><span class="line"> <span class="keyword">if</span> (_typei> weichuncai_text.<span class="property">length</span>){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(txtst);</span><br><span class="line"> _typei = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setCookie</span>(<span class="params">name, val, ex</span>){</span><br><span class="line"> <span class="keyword">var</span> times = <span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> times.<span class="title function_">setTime</span>(times.<span class="title function_">getTime</span>() + ex);</span><br><span class="line"> <span class="keyword">if</span>(ex == <span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">";"</span>;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">"; expires="</span>+times.<span class="title function_">toGMTString</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getCookie</span>(<span class="params">name</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = <span class="variable language_">document</span>.<span class="property">cookie</span>.<span class="title function_">match</span>(<span class="keyword">new</span> <span class="title class_">RegExp</span>(<span class="string">"(^| )"</span>+name+<span class="string">"=([^;]*)(;|$)"</span>)); </span><br><span class="line"> <span class="keyword">if</span>(arr != <span class="literal">null</span>) <span class="keyword">return</span> <span class="built_in">unescape</span>(arr[<span class="number">2</span>]); <span class="keyword">return</span> <span class="literal">null</span>;</span><br><span class="line">}</span><br></pre></td></tr></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">{</span></span><br><span class="line"> <span class="attr">"notice"</span><span class="punctuation">:</span> <span class="string">"欢迎来到我的新家,没想到在2024我会被人注意到,真幸福~~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ques"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ans"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"foods"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"金坷垃"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"咸梅干"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"eatsay"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"吃了金坷垃,一刀能秒一万八~!"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"吃咸梅干,变超人!哦耶~~~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"showlifetime"</span><span class="punctuation">:</span><span class="string">"02-16-2024 15:30:00"</span></span><br><span class="line"><span class="punctuation">}</span></span><br></pre></td></tr></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">"https://blog.sinzmise.top/about"</span>; <span class="comment">//你的关于页面地址</span></span><br><span class="line"><span class="keyword">var</span> _weichuncai_jsonpath = <span class="string">"/weichuncai/chuncai.json"</span>; <span class="comment">//chuncai.json的位置</span></span><br><span class="line"><span class="keyword">var</span> imagewidth = <span class="string">'85'</span>; <span class="comment">//人格长度</span></span><br><span class="line"><span class="keyword">var</span> imageheight = <span class="string">'152'</span>; <span class="comment">//人格高度</span></span><br><span class="line"><span class="comment">//设置人格的自言自语,前面的双引号是内容后面的双引号是人格表情,后面的1、2、3对应createFace设置的第几个表情</span></span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>]</span><br><span class="line">];</span><br><span class="line"><span class="comment">//设置表情</span></span><br><span class="line"><span class="title function_">createFace</span>(</span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face1.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face2.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face3.gif"</span></span><br><span class="line">);</span><br></pre></td></tr></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 '</head>' tag) and the bottom (before '</body>' tag)</span></span><br><span class="line"><span class="comment"># 插入代码到头部 </head> 之前 和 底部 </body> 之前</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"><script</span> <span class="string">src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js"></script></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"><link</span> <span class="string">rel="stylesheet"</span> <span class="string">type="text/css"</span> <span class="string">href="/weichuncai/css/style.css"></span></span><br><span class="line"> <span class="bullet">-</span> <span class="string"><script</span> <span class="string">src="/weichuncai/js/common.js"></script></span></span><br><span class="line"> <span class="bullet">-</span> <span class="string"><script</span> <span class="string">src="/weichuncai/wcc-config.js"></script></span></span><br></pre></td></tr></table></figure></p>
|
1134
|
+
<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>
|
1135
|
+
<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>
|
1136
|
+
<p>但不管怎么说,还是有人在用这个桌面精灵的,至少有我一个。。。。。。<br>后面我打算写个有关伪春菜的配置教程吧。。。。。。</p>
|
1137
|
+
]]></content>
|
1138
|
+
<categories>
|
1139
|
+
<category>站点折腾</category>
|
1140
|
+
</categories>
|
1141
|
+
<tags>
|
1142
|
+
<tag>站点折腾</tag>
|
1143
|
+
<tag>悬浮宠物/看板娘</tag>
|
1144
|
+
</tags>
|
1145
|
+
</entry>
|
1128
1146
|
<entry>
|
1129
1147
|
<title>站点装修与国庆小记</title>
|
1130
1148
|
<url>/posts/10733/</url>
|
@@ -1149,24 +1167,6 @@ function loadkaixinmusic() {
|
|
1149
1167
|
<tag>个人小记</tag>
|
1150
1168
|
</tags>
|
1151
1169
|
</entry>
|
1152
|
-
<entry>
|
1153
|
-
<title>给你的站点添加个可可爱爱的看板娘——伪春菜</title>
|
1154
|
-
<url>/posts/54787/</url>
|
1155
|
-
<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>
|
1156
|
-
<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>
|
1157
|
-
<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> {<span class="attribute">opacity</span>:<span class="number">0.85</span>;<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">position</span>:fixed;<span class="attribute">top</span>:<span class="number">400px</span>;<span class="attribute">left</span>:<span class="number">800px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#smchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#chuncaiface</span> {<span class="attribute">width</span>:<span class="number">160px</span>;<span class="attribute">height</span>:<span class="number">160px</span>;<span class="attribute">background-repeat</span>:no-repeat;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:<span class="number">0px</span>;}</span><br><span class="line"><span class="comment">/*#chuncaimenu {width:46px;line-height:16px;float:left;font-size:12px;cursor:pointer;background-color:#666;color:#FFF;text-align:center;}*/</span></span><br><span class="line"><span class="selector-id">#showchuncaimenu</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="comment">/*#showchuncaimenu ul, */</span><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">margin</span>:<span class="number">1px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">5px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">100%</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-class">.wcc_mlist</span> {<span class="attribute">text-align</span>:center;<span class="attribute">width</span>:<span class="number">47%</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">4px</span> <span class="number">0px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">overflow</span>:hidden;}</span><br><span class="line"><span class="selector-id">#tempsaying</span> <span class="selector-tag">ul</span> {<span class="attribute">width</span>:<span class="number">96%</span>;}</span><br><span class="line"><span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:fixed;<span class="attribute">width</span>:<span class="number">60px</span>;<span class="attribute">line-height</span>:<span class="number">16px</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">display</span>:none;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;}</span><br><span class="line">* <span class="selector-tag">html</span> <span class="selector-id">#callchuncai</span> {<span class="attribute">position</span>:absolute;}</span><br><span class="line"><span class="selector-id">#dialog_chat</span> {<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">0px</span>;<span class="attribute">left</span>:-<span class="number">205px</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">text-align</span><span class="selector-pseudo">:left</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_loading</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">30px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/loading.gif"</span>) no-repeat center center;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#chat_top</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">5px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_top.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span>, <span class="selector-id">#chuncaisaying</span>, <span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding-left</span>:<span class="number">0px</span>;<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">line-height</span>:<span class="number">23px</span>;<span class="attribute">background-color</span>:<span class="number">#ffffee</span>;}</span><br><span class="line"><span class="selector-id">#getmenu</span>, <span class="selector-id">#tempsaying</span>,<span class="selector-id">#chuncaisaying</span> {<span class="attribute">padding</span>:<span class="number">0px</span> <span class="number">0px</span> <span class="number">0px</span> <span class="number">2px</span>; <span class="attribute">width</span>:<span class="number">196px</span>;}</span><br><span class="line"><span class="selector-id">#dialog_chat_contents</span> {<span class="attribute">width</span>:<span class="number">198px</span>;<span class="attribute">border-left</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;<span class="attribute">border-right</span>:<span class="number">1px</span> solid <span class="number">#e87a73</span>;}</span><br><span class="line"><span class="selector-id">#chat_bottom</span> {<span class="attribute">width</span>:<span class="number">200px</span>;<span class="attribute">height</span>:<span class="number">10px</span>;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/chat_bottom.gif"</span>) no-repeat;}</span><br><span class="line"><span class="selector-id">#chat_top</span>, <span class="selector-id">#chat_bottom</span> {}</span><br><span class="line"><span class="selector-id">#tempsaying</span>, <span class="selector-id">#hiddenfaces</span> {<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#getmenu</span> {<span class="attribute">width</span>:<span class="number">95%</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">margin</span>:<span class="number">0</span>;<span class="attribute">padding</span>:<span class="number">0</span>;<span class="attribute">cursor</span>:pointer;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/menu.jpg"</span>) no-repeat top right;}</span><br><span class="line"><span class="selector-id">#addinput</span> {<span class="attribute">width</span>:<span class="number">240px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">position</span>:absolute;<span class="attribute">top</span>:<span class="number">150px</span>;<span class="attribute">left</span>:-<span class="number">260px</span>;<span class="attribute">border</span>:<span class="number">1px</span> solid <span class="number">#888</span>;<span class="attribute">background-color</span>:<span class="number">#FFF</span>;<span class="attribute">padding-top</span>:<span class="number">2px</span>;<span class="attribute">overflow</span>:hidden;<span class="attribute">display</span>:none;}</span><br><span class="line"><span class="selector-id">#inp_l</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">220px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;}</span><br><span class="line"><span class="selector-id">#inp_r</span> {<span class="attribute">float</span><span class="selector-pseudo">:right</span>;<span class="attribute">width</span>:<span class="number">20px</span>;<span class="attribute">height</span>:<span class="number">20px</span>;<span class="attribute">font-size</span>:<span class="number">12px</span>;<span class="attribute">text-align</span>:center;<span class="attribute">cursor</span>:pointer;}</span><br><span class="line"><span class="selector-id">#talk</span> {<span class="attribute">border</span>:none;<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">width</span>:<span class="number">180px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;}</span><br><span class="line"><span class="selector-id">#talkto</span> {<span class="attribute">float</span><span class="selector-pseudo">:left</span>;<span class="attribute">border</span>:none;<span class="attribute">width</span>:<span class="number">30px</span>;<span class="attribute">height</span>:<span class="number">16px</span>;<span class="attribute">background</span>:<span class="built_in">url</span>(<span class="string">"../imgs/ok.jpg"</span>);<span class="attribute">cursor</span>:pointer;}</span><br></pre></td></tr></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">''</span>;</span><br><span class="line"><span class="title function_">smjq</span>(<span class="variable language_">document</span>).<span class="title function_">ready</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> getwidth = <span class="title function_">getCookie</span>(<span class="string">"historywidth"</span>);</span><br><span class="line"> <span class="keyword">var</span> getheight = <span class="title function_">getCookie</span>(<span class="string">"historyheight"</span>);</span><br><span class="line"> <span class="keyword">if</span>(getwidth != <span class="literal">null</span> && getheight != <span class="literal">null</span>){</span><br><span class="line"> <span class="keyword">var</span> width = getwidth;</span><br><span class="line"> <span class="keyword">var</span> height = getheight;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> width = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>- <span class="number">200</span> - imagewidth;</span><br><span class="line"> <span class="keyword">var</span> height = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>- <span class="number">180</span> - imageheight;</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> cwidth = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientWidth</span>-<span class="number">100</span>;</span><br><span class="line"> <span class="keyword">var</span> cheight = <span class="variable language_">document</span>.<span class="property">documentElement</span>.<span class="property">clientHeight</span>-<span class="number">20</span>;</span><br><span class="line"> <span class="comment">//var height = document.body.clientHeight-200;</span></span><br><span class="line"> <span class="keyword">var</span> moveX = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveY = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveTop = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveLeft = <span class="number">0</span>;</span><br><span class="line"> <span class="keyword">var</span> moveable = <span class="literal">false</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseMoveEvent = <span class="variable language_">document</span>.<span class="property">onmousemove</span>;</span><br><span class="line"> <span class="keyword">var</span> docMouseUpEvent = <span class="variable language_">document</span>.<span class="property">onmouseup</span>;</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'<div id="smchuncai" onfocus="this.blur();" style="color:#626262;z-index:999;"><div id="chuncaiface"></div><div id="dialog_chat"><div id="chat_top"></div><div id="dialog_chat_contents"><div id="dialog_chat_loading"></div><div id="tempsaying"></div><div id="showchuncaimenu"><ul class="wcc_mlist" id="shownotice">显示公告</ul><ul class="wcc_mlist" id="chatTochuncai">聊&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;天</ul><ul class="wcc_mlist" id="foods">吃 零 食</ul><ul class="wcc_mlist" id="aboutmanage">关&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;于</ul><ul class="wcc_mlist" id="lifetimechuncai">生存时间</ul><ul class="wcc_mlist" id="closechuncai">关闭春菜</ul></div><div><ul id="chuncaisaying"></ul></div><div id="getmenu"> </div></div><div id="chat_bottom"></div></div></div>'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">append</span>(<span class="string">'<div id="addinput"><div id="inp_l"><input id="talk" type="text" name="mastersay" value="" /> <input id="talkto" type="button" value=" " /></div><div id="inp_r"> X </div></div>'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"body"</span>).<span class="title function_">append</span>(<span class="string">'<div id="callchuncai">召唤春菜</div>'</span>);</span><br><span class="line"> <span class="comment">//判断春菜是否处于隐藏状态</span></span><br><span class="line"> <span class="keyword">var</span> is_closechuncai = <span class="title function_">getCookie</span>(<span class="string">"is_closechuncai"</span>);</span><br><span class="line"> <span class="keyword">if</span>(is_closechuncai == <span class="string">'close'</span>){</span><br><span class="line"> <span class="title function_">closechuncai_init</span>();</span><br><span class="line"> }</span><br><span class="line"> <span class="comment">//设置初始状态</span></span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'left'</span>, width+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'top'</span>, height+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'width'</span>, imagewidth+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">'height'</span>, imageheight+<span class="string">'px'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"top:"</span>+cheight+<span class="string">"px; left:"</span>+cwidth+<span class="string">"px; text-align:center;"</span>);</span><br><span class="line"></span><br><span class="line"> smcc = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> smcc.<span class="property">onmousedown</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> moveable = <span class="literal">true</span>;</span><br><span class="line"> moveX = ent.<span class="property">clientX</span>;</span><br><span class="line"> moveY = ent.<span class="property">clientY</span>;</span><br><span class="line"> <span class="keyword">var</span> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>);</span><br><span class="line"> moveTop = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">top</span>);</span><br><span class="line"> moveLeft = <span class="built_in">parseInt</span>(obj.<span class="property">style</span>.<span class="property">left</span>);</span><br><span class="line"> <span class="keyword">if</span>(isFirefox=navigator.<span class="property">userAgent</span>.<span class="title function_">indexOf</span>(<span class="string">"Firefox"</span>)><span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="title function_">getSelection</span>().<span class="title function_">removeAllRanges</span>();</span><br><span class="line"> } </span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> ent = <span class="title function_">getEvent</span>();</span><br><span class="line"> <span class="keyword">var</span> x = moveLeft + ent.<span class="property">clientX</span> - moveX;</span><br><span class="line"> <span class="keyword">var</span> y = moveTop + ent.<span class="property">clientY</span> - moveY;</span><br><span class="line"> <span class="keyword">var</span> w = <span class="number">200</span>;</span><br><span class="line"> <span class="keyword">var</span> h = <span class="number">200</span>; <span class="comment">//w,h为浮层宽高</span></span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">left</span> = x + <span class="string">"px"</span>;</span><br><span class="line"> obj.<span class="property">style</span>.<span class="property">top</span> = y + <span class="string">"px"</span>;</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(moveable){</span><br><span class="line"> <span class="keyword">var</span> historywidth = obj.<span class="property">style</span>.<span class="property">left</span>;</span><br><span class="line"> <span class="keyword">var</span> historyheight = obj.<span class="property">style</span>.<span class="property">top</span>;</span><br><span class="line"> historywidth = historywidth.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> historyheight = historyheight.<span class="title function_">replace</span>(<span class="string">'px'</span>, <span class="string">''</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historywidth"</span>, historywidth, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"historyheight"</span>, historyheight, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = docMouseMoveEvent;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmouseup</span> = docMouseUpEvent;</span><br><span class="line"> moveable = <span class="literal">false</span>; </span><br><span class="line"> moveX = <span class="number">0</span>;</span><br><span class="line"> moveY = <span class="number">0</span>;</span><br><span class="line"> moveTop = <span class="number">0</span>;</span><br><span class="line"> moveLeft = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> };</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"getnotice"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#closechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">callchuncai</span>();</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#shownotice"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#lifetimechuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'showlifetime'</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chatTochuncai"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">showInput</span>();</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#inp_r"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'不聊天了吗?(→_→)'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#talkto"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"talking"</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#aboutmanage"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"你想了解我主人?跟我来吧~~~"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">window</span>.<span class="property">location</span>.<span class="property">href</span> = _about_path ;</span><br><span class="line"> }, <span class="number">2000</span>);</span><br><span class="line"> });</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#foods"</span>).<span class="title function_">click</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">"foods"</span>);</span><br><span class="line"> });</span><br><span class="line"><span class="comment">/* smjq("#showchuncaimenu").hover(function(){</span></span><br><span class="line"><span class="comment"> },function(){</span></span><br><span class="line"><span class="comment"> smjq("#showchuncaimenu").slideUp('slow').show();</span></span><br><span class="line"><span class="comment"> });*/</span></span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">onmousemove</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> tol = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">setTime</span>();</span><br><span class="line"> <span class="comment">//chuncaiSay("啊,野生的主人出现了! ~~~O口O");</span></span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"smchuncai"</span>).<span class="property">onmouseover</span> = <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line"> talktime = <span class="number">0</span>;</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getEvent</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">return</span> <span class="variable language_">window</span>.<span class="property">event</span> || <span class="variable language_">arguments</span>.<span class="property">callee</span>.<span class="property">caller</span>.<span class="property">arguments</span>[<span class="number">0</span>];</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> eattimes = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">eatfood</span>(<span class="params">obj</span>){</span><br><span class="line"> <span class="keyword">var</span> gettimes = <span class="title function_">getCookie</span>(<span class="string">"eattimes"</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) > <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人是个大混蛋!!"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">closechuncai_evil</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) > <span class="built_in">parseInt</span>(<span class="number">7</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">".....................肚子要炸了,死也不要再吃了~~!!!TAT"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">5</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经吃饱了,不要再吃啦......"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(gettimes) == <span class="built_in">parseInt</span>(<span class="number">3</span>)){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"多谢款待,我吃饱啦~~~ ╰( ̄▽ ̄)╭"</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="keyword">var</span> id = obj.<span class="title function_">replace</span>(<span class="string">"f"</span>,<span class="string">''</span>);</span><br><span class="line"> <span class="title function_">getdata</span>(<span class="string">'eatsay'</span>, id);</span><br><span class="line"> }</span><br><span class="line"> eattimes++;</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"eattimes"</span>, eattimes, <span class="number">60</span>*<span class="number">10</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#showchuncaimenu").slideDown('fast').show();</span></span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"准备做什么呢?"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeChuncaiMenu</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#chuncaisaying").css("display", "block");</span></span><br><span class="line"> <span class="title function_">showNotice</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#getmenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"记得再叫我出来哦..."</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line"> <span class="comment">//保存关闭状态的春菜</span></span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">'close'</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_evil</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeOut</span>(<span class="number">1200</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">2000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closechuncai_init</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#showchuncaimenu"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="built_in">setTimeout</span>(<span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);}, <span class="number">30</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">callchuncai</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">talkSelf</span>(talktime);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#smchuncai"</span>).<span class="title function_">fadeIn</span>(<span class="string">'normal'</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#callchuncai"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我回来啦~"</span>);</span><br><span class="line"> <span class="title function_">setCookie</span>(<span class="string">"is_closechuncai"</span>, <span class="string">''</span>, <span class="number">60</span>*<span class="number">60</span>*<span class="number">24</span>*<span class="number">30</span>*<span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">chuncaiSay</span>(<span class="params">s</span>){</span><br><span class="line"> <span class="title function_">clearChuncaiSay</span>();</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">append</span>(s);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line"> weichuncai_text = s;</span><br><span class="line"> <span class="title function_">typeWords</span>();</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearChuncaiSay</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeNotice</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaisaying"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">showInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"............?"</span>);</span><br><span class="line"> <span class="comment">//setFace(1);</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"block"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">closeInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#addinput"</span>).<span class="title function_">css</span>(<span class="string">"display"</span>, <span class="string">"none"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">clearInput</span>(<span class="params"></span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"talk"</span>).<span class="property">value</span> = <span class="string">''</span>;</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">createFace</span>(<span class="params">a, b, c</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"head"</span>).<span class="title function_">append</span>(<span class="string">'<div id="hiddenfaces"><img id="hf1" src="'</span>+a+<span class="string">'" /><img id="hf2" src="'</span>+b+<span class="string">'" /><img id="hf3" src="'</span>+c+<span class="string">'" /></div>'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setFace</span>(<span class="params">num</span>){</span><br><span class="line"> obj = <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"hf"</span>+num).<span class="property">src</span>;</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#chuncaiface"</span>).<span class="title function_">attr</span>(<span class="string">"style"</span>, <span class="string">"background:url("</span>+obj+<span class="string">") no-repeat scroll 50% 0% transparent; width:"</span>+imagewidth+<span class="string">"px;height:"</span>+imageheight+<span class="string">"px;"</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getdata</span>(<span class="params">el, id</span>){</span><br><span class="line"> smjq.<span class="title function_">ajax</span>({</span><br><span class="line"> <span class="attr">type</span>: <span class="string">'GET'</span>,</span><br><span class="line"> <span class="attr">url</span>: _weichuncai_jsonpath,</span><br><span class="line"> <span class="attr">cache</span>: <span class="string">'false'</span>,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">'html'</span>,</span><br><span class="line"> <span class="attr">contentType</span>: <span class="string">'application/json; charset=utf8'</span>,</span><br><span class="line"> <span class="attr">beforeSend</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeOut("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">fadeIn</span>(<span class="string">"normal"</span>);</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">success</span>: <span class="keyword">function</span>(<span class="params">data</span>){</span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#dialog_chat_loading"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">"none"</span>);</span><br><span class="line"> <span class="comment">//smjq("#dialog_chat").fadeIn("normal");</span></span><br><span class="line"> <span class="title function_">smjq</span>(<span class="string">"#tempsaying"</span>).<span class="title function_">css</span>(<span class="string">'display'</span>, <span class="string">""</span>);</span><br><span class="line"> <span class="keyword">var</span> dat = <span class="built_in">eval</span>(<span class="string">"("</span>+data+<span class="string">")"</span>);</span><br><span class="line"> <span class="keyword">if</span>(el == <span class="string">'getnotice'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">notice</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">1</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'showlifetime'</span>){</span><br><span class="line"> <span class="title class_">BirthDay</span>=<span class="keyword">new</span> <span class="title class_">Date</span>(dat.<span class="property">showlifetime</span>);<span class="comment">//建站日期</span></span><br><span class="line"> today=<span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> timeold=(today.<span class="title function_">getTime</span>()-<span class="title class_">BirthDay</span>.<span class="title function_">getTime</span>());</span><br><span class="line"> sectimeold=timeold/<span class="number">1000</span></span><br><span class="line"> secondsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(sectimeold);</span><br><span class="line"> msPerDay=<span class="number">24</span>*<span class="number">60</span>*<span class="number">60</span>*<span class="number">1000</span></span><br><span class="line"> e_daysold=timeold/msPerDay</span><br><span class="line"> daysold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_daysold);</span><br><span class="line"> e_hrsold=(daysold-e_daysold)*-<span class="number">24</span>;</span><br><span class="line"> hrsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>(e_hrsold);</span><br><span class="line"> e_minsold=(hrsold-e_hrsold)*-<span class="number">60</span>;</span><br><span class="line"> minsold=<span class="title class_">Math</span>.<span class="title function_">floor</span>((hrsold-e_hrsold)*-<span class="number">60</span>);</span><br><span class="line"> seconds=<span class="title class_">Math</span>.<span class="title function_">floor</span>((minsold-e_minsold)*-<span class="number">60</span>);</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"我已经与主人 一起生存了 "</span>+daysold+<span class="string">" 天 "</span>+hrsold+<span class="string">" 小时 "</span>+minsold+<span class="string">" 分钟 "</span>+seconds+<span class="string">" 秒的快乐时光啦~*^_^*"</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'talking'</span>){</span><br><span class="line"> <span class="keyword">var</span> talkcon = <span class="title function_">smjq</span>(<span class="string">"#talk"</span>).<span class="title function_">val</span>();</span><br><span class="line"> <span class="keyword">var</span> i = <span class="title function_">in_array</span>(talkcon, dat.<span class="property">ques</span>);</span><br><span class="line"> <span class="keyword">var</span> types = <span class="title function_">typeof</span>(i);</span><br><span class="line"> <span class="keyword">if</span>(types != <span class="string">'boolean'</span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(dat.<span class="property">ans</span>[i]);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'.......................嗯?'</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">clearInput</span>();</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el == <span class="string">'foods'</span>){</span><br><span class="line"> <span class="keyword">var</span> str=<span class="string">''</span>;</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">foods</span>;</span><br><span class="line"> <span class="keyword">var</span> preg = <span class="regexp">/function/</span>; </span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] != <span class="string">''</span> && !preg.<span class="title function_">test</span>(arr[i]) ){</span><br><span class="line"> str +=<span class="string">'<ul id="f'</span>+i+<span class="string">'" class="eatfood" onclick="eatfood(this.id)">'</span>+arr[i]+<span class="string">'</ul>'</span>;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"eatsay"</span>){</span><br><span class="line"> <span class="keyword">var</span> str = dat.<span class="property">eatsay</span>[id];</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(str);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">2</span>);</span><br><span class="line"> }<span class="keyword">else</span> <span class="keyword">if</span>(el = <span class="string">"talkself"</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = dat.<span class="property">talkself</span>;</span><br><span class="line"> <span class="keyword">return</span> arr;</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> <span class="attr">error</span>: <span class="keyword">function</span>(<span class="params"></span>){</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">'好像出错了,是什么错误呢...请联系管理猿'</span>);</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">in_array</span>(<span class="params">str, arr</span>){</span><br><span class="line"> <span class="keyword">for</span>(<span class="keyword">var</span> i <span class="keyword">in</span> arr){</span><br><span class="line"> <span class="keyword">if</span>(arr[i] == str){</span><br><span class="line"> <span class="keyword">return</span> i;</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> <span class="literal">false</span>;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">var</span> timenum;</span><br><span class="line"><span class="keyword">var</span> tol=<span class="number">0</span>;</span><br><span class="line"><span class="comment">//10分钟后页面没有响应就停止活动</span></span><br><span class="line"><span class="keyword">var</span> goal = <span class="number">10</span>*<span class="number">60</span>;</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setTime</span>(<span class="params"></span>){</span><br><span class="line"> tol++;</span><br><span class="line"> <span class="comment">//document.body.innerHTML(tol);</span></span><br><span class="line"> timenum = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"setTime('"</span>+tol+<span class="string">"')"</span>, <span class="number">1000</span>);</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(tol) == <span class="built_in">parseInt</span>(goal)){</span><br><span class="line"> <span class="title function_">stopTalkSelf</span>();</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(<span class="string">"主人跑到哪里去了呢...."</span>);</span><br><span class="line"> <span class="title function_">setFace</span>(<span class="number">3</span>);</span><br><span class="line"> <span class="title function_">stoptime</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stoptime</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(timenum){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(timenum);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">var</span> talktime = <span class="number">0</span>;</span><br><span class="line"><span class="comment">//设置自言自语频率(单位:秒)</span></span><br><span class="line"><span class="keyword">var</span> talkself = <span class="number">60</span>;</span><br><span class="line"><span class="keyword">var</span> talkobj;</span><br><span class="line"><span class="keyword">var</span> tsi = <span class="number">0</span>;</span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"昨天我好像看见主人又在众人之前卖萌了哦~"</span>, <span class="string">"2"</span>]</span><br><span class="line">];</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">talkSelf</span>(<span class="params">talktime</span>){</span><br><span class="line"> talktime++;</span><br><span class="line"> <span class="keyword">var</span> yushu = talktime%talkself;</span><br><span class="line"> <span class="keyword">if</span>(<span class="built_in">parseInt</span>(yushu) == <span class="built_in">parseInt</span>(<span class="number">9</span>)){</span><br><span class="line"> <span class="title function_">closeChuncaiMenu</span>();</span><br><span class="line"> <span class="title function_">closeNotice</span>();</span><br><span class="line"> <span class="title function_">closeInput</span>();</span><br><span class="line"> tsi = <span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>() * talkself_arr.<span class="property">length</span> + <span class="number">1</span>)-<span class="number">1</span>;</span><br><span class="line"> <span class="title function_">chuncaiSay</span>(talkself_arr[tsi][<span class="number">0</span>]);</span><br><span class="line"> <span class="title function_">setFace</span>(talkself_arr[tsi][<span class="number">1</span>]);</span><br><span class="line"> }</span><br><span class="line"> talkobj = <span class="variable language_">window</span>.<span class="built_in">setTimeout</span>(<span class="string">"talkSelf("</span>+talktime+<span class="string">")"</span>, <span class="number">1000</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">stopTalkSelf</span>(<span class="params"></span>){</span><br><span class="line"> <span class="keyword">if</span>(talkobj){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(talkobj);</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"><span class="keyword">function</span> <span class="title function_">arrayShuffle</span>(<span class="params">arr</span>){</span><br><span class="line"> <span class="keyword">var</span> result = [],</span><br><span class="line"> len = arr.<span class="property">length</span>;</span><br><span class="line"> <span class="keyword">while</span>(len--){</span><br><span class="line"> result[result.<span class="property">length</span>] = arr.<span class="title function_">splice</span>(<span class="title class_">Math</span>.<span class="title function_">floor</span>(<span class="title class_">Math</span>.<span class="title function_">random</span>()*(len+<span class="number">1</span>)),<span class="number">1</span>);</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">typeWords</span>(<span class="params"></span>) {</span><br><span class="line"> <span class="keyword">var</span> p = <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">var</span> str = weichuncai_text.<span class="title function_">substr</span>(<span class="number">0</span>,_typei);</span><br><span class="line"> <span class="keyword">var</span> w = weichuncai_text.<span class="title function_">substr</span>(_typei,<span class="number">1</span>);</span><br><span class="line"> <span class="keyword">if</span>(w==<span class="string">"<"</span>){</span><br><span class="line"> str += weichuncai_text.<span class="title function_">substr</span>(_typei,weichuncai_text.<span class="title function_">substr</span>(_typei).<span class="title function_">indexOf</span>(<span class="string">">"</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">">"</span>)+<span class="number">1</span>;</span><br><span class="line"> }</span><br><span class="line"> _typei+=p;</span><br><span class="line"> <span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"tempsaying"</span>).<span class="property">innerHTML</span> = str;</span><br><span class="line"> txtst = <span class="built_in">setTimeout</span>(<span class="string">"typeWords()"</span>,<span class="number">20</span>);</span><br><span class="line"> <span class="keyword">if</span> (_typei> weichuncai_text.<span class="property">length</span>){</span><br><span class="line"> <span class="built_in">clearTimeout</span>(txtst);</span><br><span class="line"> _typei = <span class="number">0</span>;</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">setCookie</span>(<span class="params">name, val, ex</span>){</span><br><span class="line"> <span class="keyword">var</span> times = <span class="keyword">new</span> <span class="title class_">Date</span>();</span><br><span class="line"> times.<span class="title function_">setTime</span>(times.<span class="title function_">getTime</span>() + ex);</span><br><span class="line"> <span class="keyword">if</span>(ex == <span class="number">0</span>){</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">";"</span>;</span><br><span class="line"> }<span class="keyword">else</span>{</span><br><span class="line"> <span class="variable language_">document</span>.<span class="property">cookie</span> = name+<span class="string">"="</span>+val+<span class="string">"; expires="</span>+times.<span class="title function_">toGMTString</span>();</span><br><span class="line"> }</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="keyword">function</span> <span class="title function_">getCookie</span>(<span class="params">name</span>){</span><br><span class="line"> <span class="keyword">var</span> arr = <span class="variable language_">document</span>.<span class="property">cookie</span>.<span class="title function_">match</span>(<span class="keyword">new</span> <span class="title class_">RegExp</span>(<span class="string">"(^| )"</span>+name+<span class="string">"=([^;]*)(;|$)"</span>)); </span><br><span class="line"> <span class="keyword">if</span>(arr != <span class="literal">null</span>) <span class="keyword">return</span> <span class="built_in">unescape</span>(arr[<span class="number">2</span>]); <span class="keyword">return</span> <span class="literal">null</span>;</span><br><span class="line">}</span><br></pre></td></tr></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">{</span></span><br><span class="line"> <span class="attr">"notice"</span><span class="punctuation">:</span> <span class="string">"欢迎来到我的新家,没想到在2024我会被人注意到,真幸福~~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ques"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"ans"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"早上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"中午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"下午好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚上好~"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"晚安~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"foods"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"金坷垃"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"咸梅干"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"eatsay"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="string">"吃了金坷垃,一刀能秒一万八~!"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="string">"吃咸梅干,变超人!哦耶~~~"</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"showlifetime"</span><span class="punctuation">:</span><span class="string">"02-16-2024 15:30:00"</span></span><br><span class="line"><span class="punctuation">}</span></span><br></pre></td></tr></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">"https://blog.sinzmise.top/about"</span>; <span class="comment">//你的关于页面地址</span></span><br><span class="line"><span class="keyword">var</span> _weichuncai_jsonpath = <span class="string">"/weichuncai/chuncai.json"</span>; <span class="comment">//chuncai.json的位置</span></span><br><span class="line"><span class="keyword">var</span> imagewidth = <span class="string">'85'</span>; <span class="comment">//人格长度</span></span><br><span class="line"><span class="keyword">var</span> imageheight = <span class="string">'152'</span>; <span class="comment">//人格高度</span></span><br><span class="line"><span class="comment">//设置人格的自言自语,前面的双引号是内容后面的双引号是人格表情,后面的1、2、3对应createFace设置的第几个表情</span></span><br><span class="line"><span class="keyword">var</span> talkself_arr = [</span><br><span class="line"> [<span class="string">"白日依山尽,黄河入海流,欲穷千里目,更上.....一层楼?"</span>, <span class="string">"1"</span>],</span><br><span class="line"> [<span class="string">"我看见主人熊猫眼又加重了!"</span>, <span class="string">"3"</span>],</span><br><span class="line"> [<span class="string">"我是不是很厉害呀~~?"</span>, <span class="string">"2"</span>],</span><br><span class="line"> [<span class="string">"5555...昨天有个小孩子跟我抢棒棒糖吃....."</span>, <span class="string">"3"</span>]</span><br><span class="line">];</span><br><span class="line"><span class="comment">//设置表情</span></span><br><span class="line"><span class="title function_">createFace</span>(</span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face1.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face2.gif"</span>, </span><br><span class="line"> <span class="string">"https://dqapi.sininno.eu.org/weichuncai/skin/rakutori/face3.gif"</span></span><br><span class="line">);</span><br></pre></td></tr></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 '</head>' tag) and the bottom (before '</body>' tag)</span></span><br><span class="line"><span class="comment"># 插入代码到头部 </head> 之前 和 底部 </body> 之前</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"><script</span> <span class="string">src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js"></script></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"><link</span> <span class="string">rel="stylesheet"</span> <span class="string">type="text/css"</span> <span class="string">href="/weichuncai/css/style.css"></span></span><br><span class="line"> <span class="bullet">-</span> <span class="string"><script</span> <span class="string">src="/weichuncai/js/common.js"></script></span></span><br><span class="line"> <span class="bullet">-</span> <span class="string"><script</span> <span class="string">src="/weichuncai/wcc-config.js"></script></span></span><br></pre></td></tr></table></figure></p>
|
1158
|
-
<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>
|
1159
|
-
<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>
|
1160
|
-
<p>但不管怎么说,还是有人在用这个桌面精灵的,至少有我一个。。。。。。<br>后面我打算写个有关伪春菜的配置教程吧。。。。。。</p>
|
1161
|
-
]]></content>
|
1162
|
-
<categories>
|
1163
|
-
<category>站点折腾</category>
|
1164
|
-
</categories>
|
1165
|
-
<tags>
|
1166
|
-
<tag>站点折腾</tag>
|
1167
|
-
<tag>悬浮宠物/看板娘</tag>
|
1168
|
-
</tags>
|
1169
|
-
</entry>
|
1170
1170
|
<entry>
|
1171
1171
|
<title>自建Meting服务</title>
|
1172
1172
|
<url>/posts/61417/</url>
|