We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://test.snty.de/
不显示歌词
src/store/index.js设置如下 export const mainStore = defineStore("main", { state: () => { return { imgLoadStatus: false, // 壁纸加载状态 innerWidth: null, // 当前窗口宽度 coverType: "0", // 壁纸种类 siteStartShow: false, // 建站日期显示 musicClick: false, // 音乐链接是否跳转 musicIsOk: true, // 音乐是否加载完成 musicVolume: 0, // 音乐音量; musicOpenState: true, // 音乐面板开启状态 backgroundShow: false, // 壁纸展示状态 boxOpenState: false, // 盒子开启状态 mobileOpenState: false, // 移动端开启状态 mobileFuncState: false, // 移动端功能区开启状态 setOpenState: false, // 设置页面开启状态 playerState: true, // 当前播放状态 playerTitle: null, // 当前播放歌曲名 playerArtist: null, // 当前播放歌手名 playerLrc: "歌词加载中", // 当前播放歌词 playerLrcShow: true, // 是否显示底栏歌词 footerBlur: true, // 底栏模糊 playerAutoplay: false, // 是否自动播放 playerLoop: "all", // 循环播放 "all", "one", "none" playerOrder: "list", // 循环顺序 "list", "random" }; },
export const mainStore = defineStore("main", { state: () => { return { imgLoadStatus: false, // 壁纸加载状态 innerWidth: null, // 当前窗口宽度 coverType: "0", // 壁纸种类 siteStartShow: false, // 建站日期显示 musicClick: false, // 音乐链接是否跳转 musicIsOk: true, // 音乐是否加载完成 musicVolume: 0, // 音乐音量; musicOpenState: true, // 音乐面板开启状态 backgroundShow: false, // 壁纸展示状态 boxOpenState: false, // 盒子开启状态 mobileOpenState: false, // 移动端开启状态 mobileFuncState: false, // 移动端功能区开启状态 setOpenState: false, // 设置页面开启状态 playerState: true, // 当前播放状态 playerTitle: null, // 当前播放歌曲名 playerArtist: null, // 当前播放歌手名 playerLrc: "歌词加载中", // 当前播放歌词 playerLrcShow: true, // 是否显示底栏歌词 footerBlur: true, // 底栏模糊 playerAutoplay: false, // 是否自动播放 playerLoop: "all", // 循环播放 "all", "one", "none" playerOrder: "list", // 循环顺序 "list", "random" }; },
The text was updated successfully, but these errors were encountered:
@NikoYomi 我大致看了下,可能是由于 Meting 服务器解析数据中,歌词的 Url 地址协议与当前页面协议不一致的原因。可以尝试统一下请求协议,或者添加 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 页面元数据。希望可以解决你的问题。
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
Sorry, something went wrong.
感谢帮助!请问是在src/store/index.js里面加吗?
已解决,感谢大佬! 作者的html里面本身有,但是不知道为什么注释掉这段了。
No branches or pull requests
站点链接
https://test.snty.de/
问题描述
不显示歌词
补充信息
src/store/index.js设置如下
export const mainStore = defineStore("main", { state: () => { return { imgLoadStatus: false, // 壁纸加载状态 innerWidth: null, // 当前窗口宽度 coverType: "0", // 壁纸种类 siteStartShow: false, // 建站日期显示 musicClick: false, // 音乐链接是否跳转 musicIsOk: true, // 音乐是否加载完成 musicVolume: 0, // 音乐音量; musicOpenState: true, // 音乐面板开启状态 backgroundShow: false, // 壁纸展示状态 boxOpenState: false, // 盒子开启状态 mobileOpenState: false, // 移动端开启状态 mobileFuncState: false, // 移动端功能区开启状态 setOpenState: false, // 设置页面开启状态 playerState: true, // 当前播放状态 playerTitle: null, // 当前播放歌曲名 playerArtist: null, // 当前播放歌手名 playerLrc: "歌词加载中", // 当前播放歌词 playerLrcShow: true, // 是否显示底栏歌词 footerBlur: true, // 底栏模糊 playerAutoplay: false, // 是否自动播放 playerLoop: "all", // 循环播放 "all", "one", "none" playerOrder: "list", // 循环顺序 "list", "random" }; },
The text was updated successfully, but these errors were encountered: