一分钟搭建影视站,支持Docker等部署方式
调整部分元素的层次,解决移动端关闭按钮被遮挡的问题
WLong5ccc3d0dfa6c
diff --git a/index.html b/index.htmlindex df1ebb6..1f60a23 100644--- a/index.html+++ b/index.html@@ -36,7 +36,7 @@</head><body class="page-bg text-white"><!-- 将历史记录按钮移到左上角,并缩小尺寸 -->- <div class="fixed top-4 left-4 z-50">+ <div class="fixed top-4 left-4 z-10"><button onclick="toggleHistory(event)" class="bg-[#222] hover:bg-[#333] border border-[#333] hover:border-white rounded-lg px-3 py-1.5 transition-colors" aria-label="观看历史"><svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>@@ -45,7 +45,7 @@</div><!-- 设置按钮保留在右上角,并缩小尺寸 -->- <div class="fixed top-4 right-4 z-50">+ <div class="fixed top-4 right-4 z-10"><button onclick="toggleSettings(event)" class="bg-[#222] hover:bg-[#333] border border-[#333] hover:border-white rounded-lg px-3 py-1.5 transition-colors" aria-label="打开设置"><svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path>@@ -318,7 +318,7 @@</footer><!-- 详情模态框 -->- <div id="modal" class="fixed inset-0 bg-black/95 hidden flex items-center justify-center transition-opacity duration-300">+ <div id="modal" class="fixed inset-0 bg-black/95 hidden flex items-center justify-center transition-opacity duration-300 z-40"><div class="bg-[#111] p-8 rounded-lg w-11/12 max-w-4xl border border-[#333] max-h-[90vh] flex flex-col"><div class="flex justify-between items-center mb-6 flex-none"><h2 id="modalTitle" class="text-2xl font-bold gradient-text break-words pr-4 max-w-[80%]"></h2>diff --git a/js/app.js b/js/app.jsindex a0007fc..4974525 100644--- a/js/app.js+++ b/js/app.js@@ -889,7 +889,7 @@ async function showDetails(id, vod_name, sourceCode) {episodesReversed = false; // 默认正序modalContent.innerHTML = `<div class="flex justify-end mb-2">- <button onclick="toggleEpisodeOrder('${sourceCode}')" class="px-4 py-2 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-semibold rounded-full shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1 flex items-center justify-center space-x-2">+ <button onclick="toggleEpisodeOrder('${sourceCode}')" class="px-4 py-2 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-semibold rounded-full shadow-lg hover:shadow-xl transition-all duration-300 transform flex items-center justify-center space-x-2"><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v3.586L7.707 9.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 10.586V7z" clip-rule="evenodd" /></svg>diff --git a/js/douban.js b/js/douban.jsindex 2b582ec..a8f7a22 100644--- a/js/douban.js+++ b/js/douban.js@@ -559,7 +559,7 @@ function showTagManageModal() {// 创建模态框元素modal = document.createElement('div');modal.id = 'tagManageModal';- modal.className = 'fixed inset-0 bg-black bg-opacity-75 flex items-center justify-center z-50';+ modal.className = 'fixed inset-0 bg-black bg-opacity-75 flex items-center justify-center z-40';// 当前使用的标签类型和默认标签const isMovie = doubanMovieTvCurrentSwitch === 'movie';