This commit is contained in:
make
2025-04-27 21:36:34 +08:00
parent ff8b838f6f
commit 01873ad043

View File

@@ -221,8 +221,8 @@ 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 => {
let strNovelUrl = formatNovelUrl(book.og_novel_pin_yin, book.n_id) let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.og_novel_pin_yin, book.n_id, book.c_sort_num) let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num)
let strSearchUrl = formatSearchUrl(book.n_author, 1) let strSearchUrl = formatSearchUrl(book.n_author, 1)
if (isMobile()) { if (isMobile()) {
const bookElement = document.createElement('li'); const bookElement = document.createElement('li');
@@ -349,8 +349,8 @@ function displayHistory() {
const DomHistoryContainer = document.getElementById('bookshelfMod-head'); const DomHistoryContainer = document.getElementById('bookshelfMod-head');
const DomBookshelfContainerH5 = document.getElementById('list'); const DomBookshelfContainerH5 = document.getElementById('list');
arrHistory.forEach(book => { arrHistory.forEach(book => {
let strNovelUrl = formatNovelUrl(book.og_novel_pin_yin, book.n_id) let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.og_novel_pin_yin, book.n_id, book.c_sort_num) let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num)
let strSearchUrl = formatSearchUrl(book.n_author, 1) let strSearchUrl = formatSearchUrl(book.n_author, 1)
if (isMobile()) { if (isMobile()) {
const bookElement = document.createElement('li'); const bookElement = document.createElement('li');