This commit is contained in:
make
2025-04-09 21:15:22 +08:00
parent 1de75bb3f2
commit 9bcfe2719c
4 changed files with 13 additions and 13 deletions

View File

@@ -60,7 +60,7 @@
{block name="logo-html"}
<h2 class="logo">
<a href="/">{$DomainModel->d_name}-小说最新章节</a>
<a href="/">{$DomainModel->d_name}-{$arrNovel['og_novel_book_name']}最新章节</a>
</h2>
{/block}

View File

@@ -33,7 +33,7 @@
<div class="wrap">
<div class="mod mod-search">
<div class="search-list">
<div class="result">搜索<span style="color:red">“{$strKeywords}”</span>相关结果共有 <span style="color:red">{$arrPage.total}</span> 部小说</div>
<div class="result">搜索<span style="color:red">“{$strSearchKeywords}”</span>相关结果共有 <span style="color:red">{$arrPage.total}</span> 部小说</div>
{if empty($arrPage.data)}
<p style="text-align: center;line-height: 60px">没有相关数据</p>
{else}

View File

@@ -151,26 +151,26 @@
`;
} else {
bookElement.innerHTML = `
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}">
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}">
<img src="${book.n_cover_path}">
</a>
<p>
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" >
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" >
<span class="bookName">${book.og_novel_book_name}</span>
</a>
<span class="bookStatus">
<b class="authorSt"><em>${book.og_novel_status}</em>
<a href="/search.html?keyword=${book.og_novel_author}">
<a href="/pc/search.html?keyword=${book.og_novel_author}">
<em class="none">${book.og_novel_author}</em>
</a>
</b>
<b class="authorSt chapterSt">
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<em class="ct">${book.c_name}</em>
</a>
<em class="time">${book.og_novel_update_time}</em></b>
</span>
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<i class="goon">阅读</i>
</a>
</p>
@@ -225,26 +225,26 @@
`;
} else {
bookElement.innerHTML = `
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}">
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}">
<img src="${book.n_cover_path}">
</a>
<p>
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" >
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" >
<span class="bookName">${book.og_novel_book_name}</span>
</a>
<span class="bookStatus">
<b class="authorSt"><em>${book.og_novel_status}</em>
<a href="/search.html?keyword=${book.og_novel_author}">
<a href="/pc/search.html?keyword=${book.og_novel_author}">
<em class="none">${book.og_novel_author}</em>
</a>
</b>
<b class="authorSt chapterSt">
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<em class="ct">${book.c_name}</em>
</a>
<em class="time">${book.og_novel_update_time}</em></b>
</span>
<a href="/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<i class="goon">阅读</i>
</a>
</p>

View File

@@ -191,7 +191,7 @@ function displayBookshelf() {
const DomBookshelfContainer = document.getElementById('bookshelfMod-head');
const DomBookshelfContainerH5 = document.getElementById('list');
arrBookshelf.forEach(book => {
console.log(isMobile())
if (isMobile()) {
const bookElement = document.createElement('li');
bookElement.classList.add('book-shelf'); // 添加类名