修改配置
51
.env.example
@ -1,51 +0,0 @@
|
||||
# 站点信息
|
||||
VITE_SITE_NAME = "無名の主页" # 名称
|
||||
VITE_SITE_ANTHOR = "無名" # 作者
|
||||
VITE_SITE_KEYWORDS = "無名,个人主页" # 关键词
|
||||
VITE_SITE_DES = "一个默默无闻的主页" # 站点简介
|
||||
VITE_SITE_URL = "imsyy.top" # 站点地址
|
||||
VITE_SITE_LOGO = "/images/icon/favicon.ico" # 站点主图标
|
||||
VITE_SITE_MAIN_LOGO = "/images/icon/logo.png" # 主页图标
|
||||
VITE_SITE_APPLE_LOGO = "/images/logo/apple-touch-icon.png" # Apple 端图标
|
||||
|
||||
# 简介文本
|
||||
VITE_DESC_HELLO = "Hello World !"
|
||||
VITE_DESC_TEXT = "一个建立于 21 世纪的小站,存活于互联网的边缘"
|
||||
VITE_DESC_HELLO_OTHER = "Oops !"
|
||||
VITE_DESC_TEXT_OTHER = "哎呀,这都被你发现了( 再点击一次可关闭 )"
|
||||
|
||||
# 社交链接
|
||||
## 请在 src/assets/socialLinks.json 文件中配置
|
||||
|
||||
# 网站链接
|
||||
## 请在 src/assets/siteLinks.json 文件中配置
|
||||
## 网站链接的图标名称可前往 https://www.xicons.org 自行挑选并在 src/components/Links/index.vue 中引入
|
||||
|
||||
# 天气 Key
|
||||
## 请前往 高德开放平台注册 Web服务 Key
|
||||
## 请注意不是 Web端 (JS API),免费申请,每日上限 5000 次
|
||||
## 此处提供的服务可能会超量从而无法访问,请自行申请!请自行申请!请自行申请!
|
||||
## 若此处设为空则调用 教书先生 API https://api.oioweb.cn/doc/weather/GetWeather
|
||||
VITE_WEATHER_KEY = ""
|
||||
|
||||
# 建站日期
|
||||
## 若不需要,请设为空即可
|
||||
## 请按照 YYYY-MM-DD 格式填写或者仅填写年份 YYYY
|
||||
VITE_SITE_START = "2020-10-24"
|
||||
|
||||
# ICP 备案号
|
||||
## 若不需要,请设为空即可
|
||||
VITE_SITE_ICP = "豫ICP备2022018134号-1"
|
||||
|
||||
# 歌曲 API 地址
|
||||
## 请参照 https://github.com/xizeyoupan/Meting-API#deno-deploy 进行 API 服务部署
|
||||
## 此处提供的服务可能会超量从而无法访问,请自行部署
|
||||
## 若使用 QQ 音乐歌单,歌曲数量最好不要超出 50 首
|
||||
## 备用:https://api.wuenci.com/meting/api/
|
||||
VITE_SONG_API = "https://api-meting.imsyy.top/api"
|
||||
# 歌曲服务器 ( netease-网易云, tencent-qq音乐 )
|
||||
VITE_SONG_SERVER = "netease"
|
||||
# 播放类型 ( song-歌曲, playlist-播放列表, album-专辑, search-搜索, artist-艺术家 )
|
||||
VITE_SONG_TYPE = "playlist"
|
||||
# 播放 ID ( 若无需播放器,请设为空即可 )
|
||||
VITE_SONG_ID = "9379831714"
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 377 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 56 KiB |
BIN
public/images/icon/128.ico
Normal file
After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 17 KiB |
BIN
public/images/icon/144.ico
Normal file
After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 20 KiB |
BIN
public/images/icon/16.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/images/icon/16.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
BIN
public/images/icon/192.ico
Normal file
After Width: | Height: | Size: 149 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 24 KiB |
BIN
public/images/icon/32.ico
Normal file
After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
public/images/icon/48.ico
Normal file
After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 6.0 KiB |
BIN
public/images/icon/512.ico
Normal file
After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 95 KiB |
BIN
public/images/icon/64.ico
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
public/images/icon/64.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
BIN
public/images/icon/apple-touch-icon .png
Normal file
After Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 261 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 1.0 MiB |
@ -45,7 +45,7 @@ export const getPlayerList = async (server, type, id) => {
|
||||
|
||||
// 获取一言数据
|
||||
export const getHitokoto = async () => {
|
||||
const res = await fetch("https://v1.hitokoto.cn");
|
||||
const res = await fetch("https://v1.hitokoto.cn/");
|
||||
return await res.json();
|
||||
};
|
||||
|
||||
|
@ -2,36 +2,31 @@
|
||||
{
|
||||
"icon": "Blog",
|
||||
"name": "博客",
|
||||
"link": "https://blog.imsyy.top/"
|
||||
"link": "https://blog.elykia.cn/"
|
||||
},
|
||||
{
|
||||
"icon": "Cloud",
|
||||
"name": "网盘",
|
||||
"link": "https://pan.imsyy.top/"
|
||||
"link": "https://pan.elykia.cn/"
|
||||
},
|
||||
{
|
||||
"icon": "CompactDisc",
|
||||
"name": "音乐",
|
||||
"link": "https://music.imsyy.top/"
|
||||
"link": "https://music.elykia.cn/"
|
||||
},
|
||||
{
|
||||
"icon": "Compass",
|
||||
"name": "起始页",
|
||||
"link": "https://nav.imsyy.top/"
|
||||
},
|
||||
{
|
||||
"icon": "Book",
|
||||
"name": "网址集",
|
||||
"link": "https://web.imsyy.top/"
|
||||
"link": "https://nav.elykia.cn/"
|
||||
},
|
||||
{
|
||||
"icon": "Fire",
|
||||
"name": "今日热榜",
|
||||
"link": "https://hot.imsyy.top/"
|
||||
"link": "https://hot.elykia.cn/"
|
||||
},
|
||||
{
|
||||
"icon": "LaptopCode",
|
||||
"name": "站点监测",
|
||||
"link": "https://status.imsyy.top/"
|
||||
"link": "https://status.elykia.cn/"
|
||||
}
|
||||
]
|
||||
|
@ -3,36 +3,36 @@
|
||||
"name": "Github",
|
||||
"icon": "/images/icon/github.png",
|
||||
"tip": "去 Github 看看",
|
||||
"url": "https://github.com/imsyy"
|
||||
"url": "https://github.com/Elykia-cn"
|
||||
},
|
||||
{
|
||||
"name": "BiliBili",
|
||||
"icon": "/images/icon/bilibili.png",
|
||||
"tip": "(゜-゜)つロ 干杯 ~",
|
||||
"url": "https://space.bilibili.com/98544142"
|
||||
"url": "https://space.bilibili.com/1451399239"
|
||||
},
|
||||
{
|
||||
"name": "QQ",
|
||||
"icon": "/images/icon/qq.png",
|
||||
"tip": "有什么事吗",
|
||||
"url": "https://res.abeim.cn/api/qq/?qq=1539250352"
|
||||
"url": "https://res.abeim.cn/api/qq/?qq=1815303900"
|
||||
},
|
||||
{
|
||||
"name": "Email",
|
||||
"icon": "/images/icon/email.png",
|
||||
"tip": "来封 Email ~",
|
||||
"url": "mailto:one@imsyy.top"
|
||||
"url": "mailto:elykia@qq.com"
|
||||
},
|
||||
{
|
||||
"name": "Twitter",
|
||||
"icon": "/images/icon/twitter.png",
|
||||
"tip": "你懂的 ~",
|
||||
"url": "https://twitter.com/iimmsyy"
|
||||
"url": "https://x.com/Elykia_cn"
|
||||
},
|
||||
{
|
||||
"name": "Telegram",
|
||||
"icon": "/images/icon/telegram.png",
|
||||
"tip": "你懂的 ~",
|
||||
"url": "https://t.me/bottom_user"
|
||||
"tip": "纸飞机 ~",
|
||||
"url": "https://t.me/Elykia_cn"
|
||||
}
|
||||
]
|
||||
|
@ -34,7 +34,7 @@ const emit = defineEmits(["loadComplete"]);
|
||||
|
||||
// 壁纸随机数
|
||||
// 请依据文件夹内的图片个数修改 Math.random() 后面的第一个数字
|
||||
const bgRandom = Math.floor(Math.random() * 10 + 1);
|
||||
const bgRandom = Math.floor(Math.random() * 1 + 1);
|
||||
|
||||
// 更换壁纸链接
|
||||
const changeBg = (type) => {
|
||||
|
@ -117,4 +117,4 @@ const siteUrl = computed(() => {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
@ -6,7 +6,7 @@ export const mainStore = defineStore("main", {
|
||||
imgLoadStatus: false, // 壁纸加载状态
|
||||
innerWidth: null, // 当前窗口宽度
|
||||
coverType: "0", // 壁纸种类
|
||||
siteStartShow: false, // 建站日期显示
|
||||
siteStartShow: true, // 建站日期显示
|
||||
musicClick: false, // 音乐链接是否跳转
|
||||
musicIsOk: false, // 音乐是否加载完成
|
||||
musicVolume: 0, // 音乐音量;
|
||||
@ -90,4 +90,4 @@ export const mainStore = defineStore("main", {
|
||||
"playerOrder",
|
||||
],
|
||||
},
|
||||
});
|
||||
});
|