debug-add-qing-daili
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user