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

@@ -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'); // 添加类名