debug-add-qing-daili

This commit is contained in:
make
2025-05-22 01:51:03 +08:00
parent 94a3595c18
commit de07f06a67
3 changed files with 20 additions and 9 deletions

View File

@@ -124,7 +124,7 @@ function handleRedirect() {
} else {
if (!isInPcPathArray) {
const newPath = strCurrentPath === '/' ? `${strPcPath}/` : `${strPcPath}${strCurrentPath}`;
const newPath = strCurrentPath === '/' ? `/` : `${strCurrentPath}`;
window.location.href = buildUrl(newPath);
}else{
// 如果包含,则先判断是不是当前模板的 url如果不是 则替换成当前模板的 url
@@ -233,17 +233,17 @@ function displayShujia() {
bookElement.innerHTML = `
<div class="item">
<div class="image">
<a href='${strPcPath}${strNovelUrl}'>
<a href='${strNovelUrl}'>
<img style="min-height:120px;" src="${book.n_cover_path}" alt="${book.n_name}">
</a>
</div>
<dl>
<dt>
<span>${book.n_author}</span>
<a href='${strPcPath}${strNovelUrl}'>${book.n_name}</a>
<a href='${strNovelUrl}'>${book.n_name}</a>
</dt>
<dd style="height:90px">
<a href='${strPcPath}${strNovelChapterUrl}'
<a href='${strNovelChapterUrl}'
style="color: #555">${book.c_name}</a>
</dd>
</dl>