一分钟搭建影视站,支持Docker等部署方式
优化搜索区域布局,调整按钮和输入框样式
developer8c5013c162eb
diff --git a/index.html b/index.htmlindex 417764b..2277776 100644--- a/index.html+++ b/index.html@@ -201,22 +201,22 @@<div id="searchArea" class="flex-1 flex flex-col items-center justify-center"><div class="w-full max-w-2xl">- <div class="flex items-center mb-3">+ <div class="flex items-stretch mb-3 h-14 shadow-lg rounded-lg overflow-hidden"><!-- 首页按钮 --><button onclick="resetToHome()"- class="px-6 py-4 bg-white text-black font-medium rounded-l-lg hover:bg-gray-200 transition-colors"+ class="px-6 flex items-center justify-center bg-white text-black font-medium hover:bg-gray-200 transition-colors min-w-[90px]"aria-label="返回首页" title="返回首页">首页</button><!-- 搜索输入 --><input type="text"id="searchInput"- class="flex-1 bg-[#111] border border-[#333] text-white px-6 py-4 focus:outline-none transition-colors"+ class="flex-1 bg-[#111] border-y border-[#333] text-white px-6 py-0 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 flex items-center justify-center bg-white text-black font-medium hover:bg-gray-200 transition-colors min-w-[90px]"aria-label="搜索按钮">搜索</button>