# 二次元个人主页引导页(林墨白优化版)

**URL:** <https://forum.rainyun.com/t/topic/6630>\
**Category:** 云服务器 RCS\
**Created:** [2024 年1 月 13 日 17:04 UTC](https://forum.rainyun.com/t/topic/6630 "2024-01-13T17:04:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![LMBlue](https://forum.rainyun.com/user_avatar/forum.rainyun.com/lmblue/32/3271_2.png) [@LMBlue](https://forum.rainyun.com/u/LMBlue)\
发布日期： [2024 年1 月 13 日 17:04 UTC](https://forum.rainyun.com/t/topic/6630/1 "2024-01-13T17:04:54Z")

</div>

# 演示

## 截图

 ![Screenshot_2024_0113_171030.png](https://forum.rainyun.com/uploads/default/original/2X/a/afad932517ad845fc6d46b106df540cfdc6b5303.png)

## 演示网站

**林墨白的小破站：** [www.lmb520.cn](https://www.lmb520.cn)  
**测试站点集中营：** [test.lmb520.cn](https://test.lmb520.cn)  
**2号测试站点(服务器由[鹿小鼠](https://www.lxs.ink/)捐赠)：** [2.test.lmb520.cn](https://2.test.lmb520.cn)

# 部署网站

## 原版

**下载链接：[https://aishuo.lanzout.com/ioRol1gf79kj](https://aishuo.lanzout.com/ioRol1gf79kj)**

## 美化版

**下载链接：[https://github.com/LMB520/2DGRYDY](https://github.com/LMB520/2DGRYDY)**

# 美化版更新信息

## 林墨白美化版v1.0

1. 去掉原版顶图
2. 增加圆形头像并加上底部阴影
3. 增加导航与导航之前的的距离

## 林墨白美化版v1.1

1. 优化头像位置
2. 增加樱花飘落特效(樱花数量在`./asset/xinghua.js`中的第124行修改，在`./index.html`中把134行代码删除就可以取消樱花飘落特效)

## 林墨白美化版v1.2

1. 修复已知Bug
2. 增加注意事项

# 值得注意的问题

**添加导航的时候，请不要完全复制，测速代码需要按顺序更改，比如：第一个导航为`lineMs0`，第二个导航为`lineMs1`后面依次类推，否则无法返回测速时长**

 ![Screenshot_2024_0113_232501.png](https://forum.rainyun.com/uploads/default/original/2X/a/aca1929103f1de592b0358e4760d57fccbf4ae01.png)  
 ![Screenshot_2024_0113_232510.png](https://forum.rainyun.com/uploads/default/original/2X/8/86fda4ce981a7d3efe2ef6fecc5f7a0b06f350e5.png)  
**如果导航超过7个以上了，需要在`./asset/main.js`中按规律增加测速代码，否则无法返回测速时长**  
**这里展示一下`lineMs7`代码**

```JS
if(url==autourl[7]){
		$('#lineMs7').html(str+'ms')
	}

```

 ![Screenshot_2024_0113_234201.png](https://forum.rainyun.com/uploads/default/original/2X/e/e8cae4844a599420b4f82b2f81f77573d54dff77.png)

# 原文链接在这里

> 原文链接🔗  
> 林墨白的博客：[https://blog.lmb520.cn/archives/1024/](https://blog.lmb520.cn/archives/1024/)
