feat: 更新頁腳配置,增加導航欄和版權信息,改進樣式和結構

fix: 修改 getBgPath 函數以使用 this.url_for 獲取圖片的正確路徑
feat: 增加右側配置按鈕的動畫效果
This commit is contained in:
Jerry
2025-03-23 23:20:12 +08:00
Unverified
parent a3f6b625ed
commit ca030589fb
10 changed files with 136 additions and 60 deletions

View File

@@ -1,8 +1,8 @@
script.
(function() {
const abcjsInit = function() {
const abcjsFn = function() {
setTimeout(function() {
(() = {
const abcjsInit = () => {
const abcjsFn = () => {
setTimeout(() => {
const sheets = document.querySelectorAll(".abc-music-sheet")
for (let i = 0; i < sheets.length; i++) {
const ele = sheets[i]

View File

@@ -60,9 +60,9 @@ script.
document.addEventListener('pjax:error', e => {
if (e.request.status === 404) {
const usePjax = !{theme.pjax && theme.pjax.enable}
!{theme.error_404 && theme.error_404.enable}
!{theme.error_404 && theme.error_404.enable}
? (usePjax ? pjax.loadUrl('!{url_for("/404.html")}') : window.location.href = '!{url_for("/404.html")}')
: window.location.href = e.request.responseURL
}
})
})()
})()

View File

@@ -87,7 +87,7 @@ case source
when 3
script.
function subtitleType () {
btf.getScript('https://sdk.jinrishi8ci.com/v2/browser/jinrishici.js')
btf.getScript('https://sdk.jinrishici.com/v2/browser/jinrishici.js')
.then(() => {
jinrishici.load(result => {
if (result && result.data && result.data.content) {