Skip to content

FrecklyComb1728/home

Repository files navigation

MiFengの主页

二改于Imsyy/home 仅自用不建议使用我的

部署

如果你并不知道怎么部署请看 这里

天气

天气api换成了MIFENG API

字体

采用 HarmonyOS Sans 开源字体,采用字体拆分,提升加载速度 (用的哔哩哔哩加速CDN!)

https://s1.hdslb.com/bfs/static/jinkela/long/font/regular.css

网站图标及网站背景

网站背景

可以在 public/home-image 中修改网站背景

如果想要添加更多的本地图片作为网站背景,可以将图片重命名 background+数字 的形式,并在 src/components/Background.vue 中进行修改:

// 壁纸随机数
// 请依据文件夹内的图片个数修改 Math.random() 后面的第一个数字
const bgRandom = Math.floor(Math.random() * 10 + 1);