一分钟搭建影视站,支持Docker等部署方式
fix
developer243b9fe24c4d
diff --git a/index.html b/index.htmlindex 53448f3..bc8ac37 100644--- a/index.html+++ b/index.html@@ -198,26 +198,26 @@<p class="text-gray-400 mb-8">自由观影,畅享精彩</p></header>- <div id="searchArea" class="flex-1 flex flex-col items-center justify-center"></div>++ <div id="searchArea" class="flex-1 flex flex-col items-center justify-center"><h2 class="text-3xl font-bold gradient-text mb-8">视频搜索</h2><div class="w-full max-w-2xl">- <div class="flex">- <!-- 修改返回首页按钮样式,与搜索按钮一致 -->+ <div class="flex items-center mb-3">+ <!-- 首页按钮 --><button onclick="resetToHome()"- class="bg-white text-black px-4 py-4 rounded-l-lg hover:bg-gray-200 transition-colors flex items-center justify-center"- aria-label="返回首页"- title="返回首页">- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />- </svg>+ class="px-6 py-4 bg-white text-black font-medium rounded-l-lg hover:bg-gray-200 transition-colors"+ aria-label="返回首页" title="返回首页">+ 首页</button>+ <!-- 搜索输入 --><input type="text"id="searchInput"- class="w-full bg-[#111] border-y border-r-0 border-l-0 border-[#333] text-white px-6 py-4 focus:outline-none focus:border-white transition-colors"- placeholder="搜索你喜欢的视频..."+ class="flex-1 bg-[#111] border border-[#333] text-white px-6 py-4 focus:outline-none transition-colors"+ placeholder="搜索你喜欢的视频..."aria-label="视频搜索框">+ <!-- 搜索按钮 --><button onclick="search()"- class="px-8 py-4 bg-white text-black font-medium rounded-r-lg hover:bg-gray-200 transition-colors"+ class="px-8 py-4 bg-white text-black font-medium rounded-r-lg hover:bg-gray-200 transition-colors"aria-label="搜索按钮">搜索</button>