tjy-gitnub / win12

Windows 12 网页版,在线体验 点击下面的链接在线体验
https://tjy-gitnub.github.io/win12/desktop.html
Eclipse Public License 2.0
6.41k stars 762 forks source link

更新蓝屏界面,添加自动跳转的 index.html,以及desktop.html、desktop.js代码小优化 #242

Closed ghost closed 11 months ago

ghost commented 11 months ago

其中 b9fd99b 是我合并了 Fork 之后的 11 次 tjy-gitnub/win12 的提交,可以不理睬。

具体优化项目如下:

  1. bios.html
    • bios.html#L35 进入 BIOS 且当鼠标悬浮到文字中间的空白处时,不应该出现鼠标。 image
  2. bluescreen.html
    • bluescreen.html#L28 不显示鼠标(除了悬浮在链接上时);
    • bluescreen.html#L200 将链接改为无下划线,这样更接近真实的蓝屏情况;
    • bluescreen.html#L204 将 color 从 #bbb 改成 #aaa(颜色更深),这样当鼠标悬浮在连接上时,对比度会更高;
    • bluescreen.html#L214 程序最后 JS 部分的递减执行完毕后,重新加载网页,所以应该更改说明为“重新蓝屏”;
    • bluescreen.html#L218 将 Windows 12 错误代码的 URL 改成 https://www.windows.com/stopcode?version=12.0&channel=Canary,这样看上去更真实
    • bluescreen.html#L222 到 bluescreen.html#279 使用 JavaScript 实现从 0 - 100 的 complete,并且在进度条到达 100% 时将 complete 递减到 0%,然后再使用 window.location.reload() 重新加载网页。
  3. desktop.html
    • desktop.html#L876 将此电脑外层 div 的 class 设为 b,这样图标看起来更自然。 image
  4. vscode.png
    • 这个不知道为啥,每次我一撤销这个 VSCode 就自动加上。
  5. index.html
    • 添加 index.html 自动跳转(可能与 tjy-gitnub.github.io/win12 的介绍重复)。
  6. reload.html
    • reload.html#L45 减少等待的秒数,感觉更自然。
User782Tec commented 11 months ago

行吧