debug
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
{block name="logo-html"}
|
{block name="logo-html"}
|
||||||
<h2 class="logo">
|
<h2 class="logo">
|
||||||
<a href="/">{$DomainModel->d_name}-小说最新章节</a>
|
<a href="/">{$DomainModel->d_name}-{$arrNovel['og_novel_book_name']}最新章节</a>
|
||||||
</h2>
|
</h2>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="mod mod-search">
|
<div class="mod mod-search">
|
||||||
<div class="search-list">
|
<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)}
|
{if empty($arrPage.data)}
|
||||||
<p style="text-align: center;line-height: 60px">没有相关数据</p>
|
<p style="text-align: center;line-height: 60px">没有相关数据</p>
|
||||||
{else}
|
{else}
|
||||||
|
|||||||
@@ -151,26 +151,26 @@
|
|||||||
`;
|
`;
|
||||||
} else {
|
} else {
|
||||||
bookElement.innerHTML = `
|
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}">
|
<img src="${book.n_cover_path}">
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<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>
|
<span class="bookName">${book.og_novel_book_name}</span>
|
||||||
</a>
|
</a>
|
||||||
<span class="bookStatus">
|
<span class="bookStatus">
|
||||||
<b class="authorSt"><em>${book.og_novel_status}</em>
|
<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>
|
<em class="none">${book.og_novel_author}</em>
|
||||||
</a>
|
</a>
|
||||||
</b>
|
</b>
|
||||||
<b class="authorSt chapterSt">
|
<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>
|
<em class="ct">${book.c_name}</em>
|
||||||
</a>
|
</a>
|
||||||
<em class="time">${book.og_novel_update_time}</em></b>
|
<em class="time">${book.og_novel_update_time}</em></b>
|
||||||
</span>
|
</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>
|
<i class="goon">阅读</i>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -225,26 +225,26 @@
|
|||||||
`;
|
`;
|
||||||
} else {
|
} else {
|
||||||
bookElement.innerHTML = `
|
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}">
|
<img src="${book.n_cover_path}">
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<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>
|
<span class="bookName">${book.og_novel_book_name}</span>
|
||||||
</a>
|
</a>
|
||||||
<span class="bookStatus">
|
<span class="bookStatus">
|
||||||
<b class="authorSt"><em>${book.og_novel_status}</em>
|
<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>
|
<em class="none">${book.og_novel_author}</em>
|
||||||
</a>
|
</a>
|
||||||
</b>
|
</b>
|
||||||
<b class="authorSt chapterSt">
|
<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>
|
<em class="ct">${book.c_name}</em>
|
||||||
</a>
|
</a>
|
||||||
<em class="time">${book.og_novel_update_time}</em></b>
|
<em class="time">${book.og_novel_update_time}</em></b>
|
||||||
</span>
|
</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>
|
<i class="goon">阅读</i>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ function displayBookshelf() {
|
|||||||
const DomBookshelfContainer = document.getElementById('bookshelfMod-head');
|
const DomBookshelfContainer = document.getElementById('bookshelfMod-head');
|
||||||
const DomBookshelfContainerH5 = document.getElementById('list');
|
const DomBookshelfContainerH5 = document.getElementById('list');
|
||||||
arrBookshelf.forEach(book => {
|
arrBookshelf.forEach(book => {
|
||||||
|
console.log(isMobile())
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
const bookElement = document.createElement('li');
|
const bookElement = document.createElement('li');
|
||||||
bookElement.classList.add('book-shelf'); // 添加类名
|
bookElement.classList.add('book-shelf'); // 添加类名
|
||||||
|
|||||||
Reference in New Issue
Block a user