2023.04.08
NOxONE 4/8/2023 建站日记
# 1. 一些优化
- 去除移动端点击显示默认蓝色底框(太丑了)
- 看板娘消息框样式优化及提示语修改
- 将一些资源文件迁移,托管在Github上的NOxONE资源库 (opens new window)中,并部署线上:https://dragon-chen777.github.io/assets/ (opens new window)
- 鉴于第3条,在
config.js
文件中对noxone播放器
音乐列表配置传入方式进行调整具体如下
之前是这样
module.exports = {
// ...
plugins: [
[
"@noxone/vuepress-plugin-music-player",
{
musicList: [
{
cover: 'https://dragon-chen777.github.io/music/Mojito.png',
title: 'Mojito',
link: 'https://dragon-chen777.github.io/music/Mojito.mp3'
},
// ...
]
}
]
]
}
现在是这样
const BASE_URL = 'https://dragon-chen777.github.io'
const NOXONE_MUSIC_LIST = [
'カナタハルカ',
'なんでもないや',
'打上花火',
'愛にできることはまだあるかい',
'张三的歌'
].map(music => ({
cover: `${BASE_URL}/assets/music/${music}.png`,
title: music,
link: `${BASE_URL}/assets/music/${music}.mp3`
}))
module.exports = {
// ...
plugins: [
[
"@noxone/vuepress-plugin-music-player",
{
musicList: NOXONE_MUSIC_LIST
}
]
]
}
# 2. 自定义鼠标样式
正如你所见的那样~
嗯... 今天的工作差不多就这样啦~